source: branches/1.6/template/yoga/menubar.css @ 3251

Last change on this file since 3251 was 1514, checked in by chrisaga, 18 years ago

merge from trunk r1512:1513 into branch 1.6 (better fix for bug 490)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 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/* H2 properties copied here */
16#menubar DT {
17    font-weight: bold; /* default for h2 */
18    margin: 0;
19    padding: 5px 5px 5px 5px;
20    font-size: 120%;
21    text-align: center;
22}
23
24#menubar UL,
25#menubar HR,
26#menubar FORM,
27#menubar P, /* ooh, careful... */
28#menubar .totalImages {
29    font-size: 92%;
30    margin: 10px 0 10px 10px;
31}
32#menubar UL {
33    list-style-type: square;
34    list-style-position: inside;
35    padding: 0 0 0 2px;
36}
37#menubar UL UL {
38    font-size: 100%;
39    margin-top: 0;
40}
41
42#menubar LI.selected A {
43  font-weight: bold;
44}
45
46#menubar LI.selected LI A {
47  font-weight: normal;
48}
49
50#menubar HR {
51    display: block;
52    margin: 10px auto;
53    width: 90%;
54}
55#menubar INPUT {
56    text-indent: 2px;
57}
58
59/* quickconnect form */
60FORM#quickconnect { 
61  margin: 0;
62  padding: 5px;
63}
64
65FORM#quickconnect FIELDSET {
66  margin: 0;
67  padding: 0 0 0.5em 0;
68}
69
70FORM#quickconnect P {
71  margin-left: 0;
72  font-size: 100%;
73  float: left;
74  clear: left;
75}
76
77FORM#quickconnect P INPUT {
78  margin: 0;
79}
80
81FORM#quickconnect UL.actions {
82  display: inline;
83  float: right;
84  padding: 0;
85  text-align: right;    /* Opera 7.5 */
86}
87FORM#quickconnect FIELDSET>UL.actions {
88  width: 40%;           /* Opera 7.5 cannot find why width:auto fails :-( */
89}
90
91FORM#quickconnect UL.actions,
92FORM#quickconnect P,
93FORM#quickconnect LABEL {
94  padding: 0 0.5em 0 0.5em;
95}
96
97FORM#quickconnect LABEL {
98  margin:0;
99  width: 100%;
100 /* -moz-box-sizing: padding-box;*/
101  box-sizing: border-box;
102  -moz-box-sizing: border-box;
103}
104
105FORM#quickconnect INPUT[type=text],
106FORM#quickconnect INPUT[type=password] {
107  width: 100%;  /* mozilla can handle 100% */
108}
109/* same as above for IE with inputfix.htc              */
110/* unfortunately IE doesn't handle that correctly      */
111/* so you should set a width in em in local_layout.css */
112/*FORM#quickconnect INPUT.text,
113FORM#quickconnect INPUT.password {
114  width: 95%;
115}*/
116
117#menubar #menuTagCloud {
118  text-align: center;
119  margin: 5px 0;
120}
121
122#menubar #menuTagCloud LI
123{
124  display: inline;      /* FF doesn't see the inline-block below */
125  white-space: nowrap;  /* No line break in the LI but Opera set nowrap to */
126  display: inline-block;/* the whole UL, inline-block fix it.              */
127  /* IE wants inline in fix-ie5-ie6.css */
128}
Note: See TracBrowser for help on using the repository browser.