source: branches/branch-1_5/template/yoga/menubar.css @ 994

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

fix bug 254: Quickconnect items are currently outside the sidebar with Opera 7.x till 8.51

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1#menubar {
2    /* Do not put font-size: 90% here for it makes it harder to have correct
3       margin for contentarea */
4    float: left;
5    left: 0px;
6
7    width: 22em;
8    margin: 0 0 10px 1em;
9    padding: 0;
10    /* Fix against the "double margin of a floated item" IE bug */
11    /* Damned: that screws up top_navbar in opera 7.54/Linux! */
12    display: inline;
13    text-align: left; /* follow-up of the "be nice to IE5" rule */
14}
15
16BODY#theAdminPage #menubar {
17    width: 12em;
18}
19
20#menubar DL, #menubar DT, #menubar DD {
21    margin: 0; padding: 0; display: block;
22}
23
24/* H2 properties copied here */
25#menubar DT {
26    font-weight: bold; /* default for h2 */
27
28    margin: 0;
29    padding: 5px 10px;
30    font-size: 120%;
31
32    text-align: center;
33}
34
35#menubar UL,
36#menubar HR,
37#menubar FORM,
38#menubar P, /* ooh, careful... */
39#menubar .totalImages {
40    font-size: 92%;
41    margin: 10px 0 10px 10px;
42}
43#menubar UL {
44    list-style-type: square;
45    list-style-position: inside;
46    padding: 0 0 0 2px;
47}
48#menubar UL UL {
49    font-size: 100%;
50    margin-top: 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 HR {
62    display: block;
63    margin: 10px auto;
64    width: 90%;
65}
66#menubar FORM P {
67    margin: 5px;
68    font-size: 100%;
69}
70#menubar INPUT {
71    text-indent: 2px;
72}
73
74/* quickconnect form */
75FORM#quickconnect { 
76  margin: 0;
77  padding: 5px;
78}
79
80FORM#quickconnect FIELDSET {
81  margin: 0;
82  padding: 0 0 0.5em 0;
83  overflow: hidden;     /* Correct float issue with Opera 7.5 */
84  width: 100%;          /*        //                          */
85}
86
87FORM#quickconnect P {
88  float: left;
89}
90
91FORM#quickconnect P INPUT {
92  margin: 0;
93}
94
95FORM#quickconnect UL.actions {
96  display: inline;
97  float: right;
98  padding: 0;
99  text-align: right;    /* Opera 7.5 */
100  width: 40%;           /* Opera 7.5 cannot find why width:auto fails :-( */
101}
102
103FORM#quickconnect UL.actions,
104FORM#quickconnect P, 
105FORM#quickconnect LABEL {
106  margin: 0 0.5em 0 0.5em;
107}
108
Note: See TracBrowser for help on using the repository browser.