source: trunk/template/yoga/menubar.css @ 2379

Last change on this file since 2379 was 2356, checked in by rvelices, 17 years ago
  • merge r2355 from 1.7 to trunk: fix display of menubar related tags in IE7
  • optimized sql query in permalinks
  • remove some unused global variable declarations
  • fix bug in admin/themeconf.inc.php
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1#menubar {
2    float: left;
3    margin: 0 0 10px 1em;
4    padding: 0;
5    /* Fix against the "double margin of a floated item" IE bug */
6    /* Damned: that screws up top_navbar in opera 7.54/Linux! */
7    display: inline;
8    text-align: left; /* follow-up of the "be nice to IE5" rule */
9}
10
11#menubar DL, #menubar DT, #menubar DD {
12    margin: 0; padding: 0; display: block;
13}
14
15#menubar .button {
16  margin: 0 2px;
17  width: auto;
18  padding: 0;
19  text-indent: 0;
20  list-style: none;
21  text-align: center;
22  float: right;
23}
24
25/* H2 properties copied here */
26#menubar DT {
27    font-weight: bold; /* default for h2 */
28    margin: 0;
29    padding: 5px 5px 5px 5px;
30    font-size: 120%;
31    text-align: center;
32}
33
34#menubar UL,
35#menubar HR,
36#menubar FORM,
37#menubar P, /* ooh, careful... */
38#menubar .totalImages {
39    font-size: 92%;
40    margin: 10px 0 10px 10px;
41}
42#menubar UL {
43    list-style-type: square;
44    list-style-position: inside;
45    padding: 0 0 0 2px;
46}
47#menubar UL UL {
48    font-size: 100%;
49    margin-top: 0;
50    margin-bottom: 0;
51}
52
53#menubar LI.selected A {
54  font-weight: bold;
55}
56
57#menubar LI.selected LI A {
58  font-weight: normal;
59}
60
61#menubar .menuInfoCatByChild {
62  font-size: 80%;
63  font-style: italic;
64}
65
66#menubar HR {
67    display: block;
68    margin: 10px auto;
69    width: 90%;
70}
71#menubar INPUT {
72    text-indent: 2px;
73}
74
75/* quickconnect form */
76FORM#quickconnect {
77  margin: 0;
78  padding: 5px;
79}
80
81FORM#quickconnect FIELDSET {
82  margin: 0;
83  padding: 0 0 0.5em 0;
84}
85
86FORM#quickconnect P {
87  margin-left: 0;
88  font-size: 100%;
89  float: left;
90  clear: left;
91}
92
93FORM#quickconnect P INPUT {
94  margin: 0;
95}
96
97FORM#quickconnect UL.actions {
98  display: inline;
99  float: right;
100  padding: 0;
101  text-align: right;    /* Opera 7.5 */
102}
103FORM#quickconnect FIELDSET>UL.actions {
104  width: 40%;           /* Opera 7.5 cannot find why width:auto fails :-( */
105}
106
107FORM#quickconnect UL.actions,
108FORM#quickconnect P,
109FORM#quickconnect LABEL {
110  padding: 0 0.5em 0 0.5em;
111}
112
113FORM#quickconnect LABEL {
114  margin:0;
115  width: 100%;
116  box-sizing: border-box; /* CSS3 */
117}
118
119FORM#quickconnect INPUT[type=text],
120FORM#quickconnect INPUT[type=password] {
121  width: 100%;  /* mozilla can handle 100% */
122}
123/* same as above for IE with inputfix.htc              */
124/* unfortunately IE doesn't handle that correctly      */
125/* so you should set a width in em in local_layout.css */
126/*FORM#quickconnect INPUT.text,
127FORM#quickconnect INPUT.password {
128  width: 95%;
129}*/
130
131FORM#quicksearch {
132  margin-top: 4px;
133  margin-bottom: 1px;
134}
135input#qsearchInput { 
136  width: 90%;
137}
138#menubar #mbMenu p { margin: 0px; padding: 0px; }
139
140#menubar #menuTagCloud {
141  text-align: center;
142  margin: 5px 0;
143}
144
145#menubar #menuTagCloud LI
146{
147  display: inline;
148  white-space: nowrap;  /* No line break in the LI but Opera set nowrap to */
149}
Note: See TracBrowser for help on using the repository browser.