source: trunk/template/yoga/default-layout.css @ 3197

Last change on this file since 3197 was 2884, checked in by patdenice, 16 years ago
  • Replace some mysql_query by pwg_query function.
  • Add home button after upgrade.php.
  • Add utf8 charset for access denied message.
  • Replace some #content by .content in css files.
  • Fix menubar blocks borders with IE.
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 4.3 KB
RevLine 
[859]1/* $Id: default-layout.css 2884 2008-11-19 15:44:04Z patdenice $ */
2BODY {
[2480]3        margin: 5px;
4        padding: 0;
5        font-size: 0.8em;
[2593]6        font-family: Arial,Helvetica,sans-serif;
[859]7}
8
9
10H1 {
[2480]11        text-align: center;
12        font-size: 150%;
13        font-weight: bold;
14        padding: 0;
15        margin: 0.5em 0 1em 0;
[859]16}
17
18H2 {
[2288]19        margin: 0;
20        padding: 5px 0.5em 5px 0.5em;
21        text-align: left;
22        font-size: 120%;
[859]23}
[2288]24
[859]25A {
[2288]26        text-decoration:none;
27        border-bottom: 1px dotted #005e89;
[859]28}
29A:hover {
[2288]30        border-bottom: 1px solid #858460;
[859]31}
[2630]32
[859]33IMG {
[2288]34        border: none;
[859]35}
36
37HR.separation {
[2480]38        visibility: hidden;
39        clear: both;
[859]40}
41
42#copyright {
[2480]43        clear: both;
44        font-size: 83%;
45        text-align: center;
46        margin: 0 0 10px 0;
[859]47}
48
[1506]49INPUT, SELECT {
[2480]50        margin: 0;
51        font-size: 1em; /* <= some browsers don't set it correctly */
[1506]52}
[2480]53
54TABLE { /* horizontaly centered */
55        margin-left: auto;
56        margin-right: auto;
[1253]57}
[859]58
59
[2480]60FORM { padding: 0; margin: 0; }
[859]61
[1339]62FORM P {
[859]63        text-align: center;
64        margin-top: 2em;
65        margin-bottom: 2em;
66}
[1866]67
68FORM FIELDSET P {
69        margin-top: 1em;
70        margin-bottom: 0;
71}
72
[1444]73SELECT.categoryList {
[2480]74        height: 20em;
[2795]75        width: 500px;
[1444]76}
77
[1450]78
[859]79/**
80 * Filter forms are displayed label by label with the input (or select...)
[1268]81 * below the label. Use an UL to make a group (radiobox for instance).
82 * Use a SPAN to group objects in line
[859]83 */
84FIELDSET {
[2480]85        padding: 1em;
86        margin: 1em;
87        overflow: hidden; /* <- makes Opera happy */
[859]88}
89
[1268]90FORM.filter FIELDSET UL {
91  margin: 0;
92}
93FORM.filter FIELDSET UL,
[859]94FORM.filter FIELDSET LABEL {
[2480]95        display: block;
96        float: left;
97        margin-right: 1em;
98        padding: 0;
[859]99}
[1268]100
101FORM.filter FIELDSET LI {
[2480]102        list-style: none;
103        margin-bottom: 0.5em;
[1268]104}
105
106FORM.filter FIELDSET LI LABEL {
[2480]107        display: inline;
108        float: none;
[1255]109}
[859]110
[1268]111FORM.filter FIELDSET UL.tagSelection LABEL {
[2480]112        display: inline;
113        float: none;
114        margin-right:0.5em;/*reduce from above*/
[1268]115}
116
[1255]117/* cannot use FIELDSET>LABEL because of IE<=6 */
[924]118FORM.filter FIELDSET LABEL INPUT,
119FORM.filter FIELDSET LABEL SELECT,
[1255]120FORM.filter FIELDSET LABEL SPAN,
[924]121FORM.filter FIELDSET LABEL TEXTAREA {
[859]122  display: block;
123  margin: 0.5em 0;
124}
[1255]125FORM.filter FIELDSET * LABEL INPUT,
126FORM.filter FIELDSET * LABEL SELECT,
127FORM.filter FIELDSET * LABEL TEXTAREA,
[1268]128FORM.filter FIELDSET LABEL SPAN INPUT,
129FORM.filter FIELDSET LABEL SPAN SELECT,
130FORM.filter FIELDSET LABEL SPAN TEXTAREA {
[2489]131        display: inline;
132        vertical-align: top;
133        margin: 0 0.5em 0 0;
[1255]134}
[859]135
[1274]136FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
[2489]137        margin-right:0;
[1274]138}
139
[1255]140/* following declaration is important to avoid strange FF behaviour */
141FORM.filter FIELDSET LABEL SPAN SELECT {
[2489]142        margin: 0;
[1255]143}
144
[1356]145FORM.filter FIELDSET P
[1255]146{
[2479]147        clear: left;
148        display: block;
[859]149}
150
151FORM.filter INPUT[type="submit"] {
[2479]152        margin-top: 1em;
[859]153}
154
[2479]155FORM.properties UL {
156        list-style-type: none;
157        margin: 0;
158        padding: 0;
[859]159}
160
[2479]161FORM.properties LI {
162        margin-bottom: 0.5em;
163        padding: 0;
164        line-height: 1.8em;
165        clear: left;
[859]166}
167
[1129]168FORM.properties SPAN.property {
[2480]169        font-weight: bold;
170        float: left;
171        width: 50%;
172        text-align: right;
173        margin: 0;
174        padding: 0 0.5em 0 0;
[859]175}
176
[972]177/* button tools */
178UL.actions {
[2480]179        text-indent: 0;
180        list-style: none;
[972]181}
[2480]182UL.actions LI {
183        display: inline;
[972]184}
[2480]185UL.actions A, UL.actions IMG {
186        border: none;
[972]187}
188
[1119]189UL.tagSelection {
[2480]190        width: 99%;
191        margin: 1em 0 1em 0;
192        padding: 0;
[1119]193}
194
195UL.tagSelection LI {
[2480]196        display: inline;
197        white-space: nowrap;
[1120]198}
199
[1537]200#fullTagCloud {
[2480]201        font-size: 120%;
202        text-align: justify;
203        padding: 0;
204        margin: 1em 2em 1em 2em;
[1537]205}
[1120]206
[2648]207#fullTagCloud SPAN {
[2480]208        white-space: nowrap;
209        margin: 0 2px;
[1537]210}
[1120]211
[1537]212
[1120]213.tagLevel5 { font-size: 150%; }
214.tagLevel4 { font-size: 140%; }
215.tagLevel3 { font-size: 120%; }
216.tagLevel2 { font-size: 100%; }
[1180]217.tagLevel1 { font-size: 90%; }
[2091]218
219
220/* Popup help page */
221BODY#thePopuphelpPage #copyright {
[2480]222        display: none;
[2091]223}
224
[2677]225#theNotificationPage p { padding: 0.5em; }
[2352]226BODY#thePopuphelpPage .content P {
[2480]227        text-align: justify;
228        padding: 0.5em;
[2091]229}
230
[2352]231BODY#thePopuphelpPage .content OL LI,
232BODY#thePopuphelpPage .content UL LI
[2091]233{
[2480]234        margin-bottom: 0.5em;
[2091]235}
236
[2362]237TR.tagLine {
[2480]238        border-bottom: 1px solid #ddd;
[2362]239}
240TD.nbEntries {
[2480]241        text-align: right;
242        font-style: italic;
243        font-size: 90%;
[2362]244}
245
246FIELDSET.tagLetter {
[2480]247        border: 1px solid #d3d3d3;
248        width: 200px;
249        margin: 0.5em;
250        padding: 10px;
[2362]251}
252
253LEGEND.tagLetterLegend {
[2480]254        border: 1px solid #d3d3d3;
255        font-size:120%;
256        font-weight: bold;
257        padding: 0 5px;
258        font-style: normal;
[2362]259}
260
261TABLE.tagLetterContent {
[2480]262        width:100%;
263        font-size:80%;
264        border-collapse : collapse;
[2362]265}
[2572]266
[2550]267#theHeader {text-align: center;}
[2677]268
[2824]269#theNotificationPage DL,
270#thePopuphelpPage DL { margin: 0 25px 25px; }
[2884]271.content #comments UL.thumbnailCategories LI { width:99%; }
[2704]272/* jQuery datepicker */
[2824]273IMG.ui-datepicker-trigger {
[2704]274        cursor : pointer;
275}
Note: See TracBrowser for help on using the repository browser.