source: extensions/modus/css/menuh.css.tpl @ 25794

Last change on this file since 25794 was 25794, checked in by rvelices, 10 years ago
File size: 3.6 KB
Line 
1#menubar UL {
2        list-style: none;
3        padding: 0 0 0 2px;
4        margin: 0; /*various default user agent css*/
5}
6
7#menubar LI.selected>A {
8        font-weight: bold;
9}
10
11#menubar .menuInfoCatByChild {
12        font-size: 80%;
13        font-style: italic;
14}
15
16#menubar INPUT {
17        text-indent: 2px;
18        -moz-box-sizing: border-box;
19        box-sizing: border-box;
20}
21
22#quickconnect FIELDSET {
23        margin: 0 5px 0 0;
24        padding: 0 5px;
25}
26
27
28#menuTagCloud {
29        text-align: center;
30}
31
32#menuTagCloud A {
33        white-space: nowrap;
34        margin-right: 5px;
35}
36
37
38
39
40
41/* Horizontal menu */
42#menubar {
43        margin: 0;
44        width: 100%;
45        padding: 5px 0 8px;
46        background-color: {$skin.menubar.backgroundColor};
47{if !empty($skin.menubar.gradient)}
48        {$skin.menubar.gradient|cssGradient}
49{/if}
50{if !empty($skin.menubar.color)}
51        color: {$skin.menubar.color};
52{/if}
53}
54
55{if !empty($skin.menubar.link.color)}
56#menubar DT A {
57        color: {$skin.menubar.link.color};
58}
59{/if}
60
61{if !empty($skin.menubar.linkHover.color)}
62#menubar DT A:hover {
63        color: {$skin.menubar.linkHover.color};
64}
65{/if}
66
67#menubar DL {
68        display: inline;
69        float: left;
70        margin: 0 0.25em;
71        padding: 0 0.25em;
72}
73
74#menubar DT {
75        display: inline;
76        cursor: pointer;
77        font-size: 120%;
78        font-weight: bold;
79        text-align: center;
80}
81
82#menubar DD {
83        display: none;
84        position: absolute;
85        margin: 0;
86        padding: 10px;
87        line-height: 150%;
88        max-width: 300px;
89        box-shadow: 2px 2px 5px gray;
90        background-color: {$skin.dropdowns.backgroundColor};
91{if !empty($skin.menubar.color)}
92        color: {$skin.BODY.color};
93{/if}
94}
95
96#menubar DD A {
97                font-size: 14px;
98}
99
100
101#menubar DL:hover > DD {
102        display: block;
103        z-index: 5;
104}
105
106#content {
107        clear: both;
108}
109
110#qsearchInput {
111        width: 13%;
112        max-width: 180px;
113}
114
115
116
117
118#menuSwitcher {
119        display: none;
120}
121
122@media screen and (max-width:980px) {
123        #mbProfile {
124                display: none !important;
125        }
126        #mbTags {
127                display: none !important;
128        }
129}
130
131@media screen and (max-width:840px) {
132        #mbMostVisited {
133                display: none !important;
134        }
135}
136
137@media screen and (max-width:640px) {
138        #mbBestRated {
139                display: none !important;
140        }
141
142        #menuSwitcher {
143                display: block;
144                position: absolute;
145                padding-top: 2px;
146{if !empty($skin.pageTitle.link.color)}
147                color: {$skin.pageTitle.link.color};/*switcher is outside page title so not inherited*/
148{/if}
149        }
150
151{if !empty($skin.pageTitle.linkHover.color)}
152        #menuSwitcher:hover {
153                color: {$skin.pageTitle.linkHover.color};/*switcher is outside page title so not inherited*/
154        }
155{/if}
156
157        .titrePage H2,
158        .browsePath {
159                text-indent: 25px; /*make space for menu switcher*/
160                letter-spacing: -0.5px;
161        }
162
163        .titrePage H2:first-line,
164        .browsePath:first-line {
165                line-height: 28px; /*long bread crumbs go on second line and would run into menu switcher*/
166        }
167
168        #menubar {
169                display: none;
170                position: absolute;
171                width: auto;
172                box-shadow: 2px 2px 5px gray;
173                opacity: 0.95;
174                z-index: 5;
175                min-width: 40%;
176{if $skin.menubar.backgroundColor != $skin.dropdowns.backgroundColor}
177                background-color: {$skin.dropdowns.backgroundColor};
178{/if}
179{if !empty($skin.menubar.gradient)}
180                background-image: none;
181{/if}
182{if !empty($skin.menubar.color)}
183                color: inherit;
184{/if}
185        }
186
187{if !empty($skin.menubar.link.color)}
188        #menubar DT A {
189                        color: {$skin.A.color}; /*update link color because background is dropdowns; don't care about hover as this is mobile probably...*/
190        }
191{/if}
192
193        #menubar DL {
194                display: block;
195                float: none;
196                margin-top: 4px;
197                margin-bottom: 4px;
198        }
199
200        #menubar DT {
201                display: block;
202                text-align: left;
203                font-size: 20px;
204                font-weight: normal;
205        }
206
207        #menubar DL:hover > DD { /*reset large wifth hover effect*/
208                display: none;
209        }
210       
211        #menubar DD {
212                position: static;
213                box-shadow: none; /*reset std*/
214                padding-top: 5px; /*reduce from standard*/
215        }
216
217        #qsearchInput {
218                width: 100%;
219                max-width: none;
220                margin: 5px 0;
221        }
222
223}
Note: See TracBrowser for help on using the repository browser.