source: extensions/blancmontxl/theme.css @ 20461

Last change on this file since 20461 was 18647, checked in by plg, 11 years ago

bug fixed: no margin when menubar is displayed on picture.php

File size: 11.0 KB
Line 
1* { margin: 0; padding: 0; border: 0; }
2
3body {
4        background: #fff;
5        font-size:0.7em;
6        font-family: Verdana,Arial,Helvetica,sans-serif;
7        color:#fff;
8}
9
10* { outline: none }
11
12/* Common styles
13-------------------------------------------------------- */
14h2, h3 { color:#969696; }
15ul { list-style: none; }
16ul li { list-style: none; }
17
18a, a:link, a:hover { color:#ff9933; text-decoration: none; border:0 !important; }
19a:hover { text-decoration: none; border-bottom:1px solid #ff9933;}
20/*a:visited { color:#333333;}*/
21
22pre { overflow: auto; width: 100%; height: auto; }
23.left { float: left; }
24.right { float: right; }
25
26img{ border: 0; }
27
28/* Stuffs
29-------------------------------------------------------- */
30.middle_block { width: auto !important; }
31
32/* Infos Errors
33-------------------------------------------------------- */
34.infos, .errors {
35  margin: 20px;
36  height: 30px;
37}
38.infos {
39        background-color: #670467;
40        color: #ffffff;
41}
42.errors {
43        background-color: red;
44        color: #ffe1e1;
45}
46/* Page
47-------------------------------------------------------- */
48BODY#thePicturePage,BODY#theCategoryPage, BODY#theTagsPage {}
49
50#the_page {
51        width: 940px;
52        margin: 0 auto;
53        background: transparent url(img/background.jpg) repeat-y top center;
54}
55
56.content div.titrePage { padding: 10px 3px; }
57
58/* Header
59-------------------------------------------------------- */
60#theHeader {
61        background: transparent url(img/header.jpg) no-repeat center bottom;
62        height: 200px;
63        margin: 0 auto;
64        position:relative;
65}
66
67#theHeader h1 { 
68        font-size: 2em; 
69        margin: 0;
70        /*      padding: 170px 34px 0 34px; */
71        color: #fff; 
72        text-align: left; 
73        position: absolute;
74        left: 30px;
75        top: 170px;
76}
77
78#theHeader p {display:none;}
79
80.content, BODY#theAdminPage .content, BODY#theTagsPage .content {
81        width: 860px;
82        margin: 0 auto !important;
83}
84
85/*=========================================================================================*/
86
87.row1 { background-color: #cccccc;}
88.throw { background-color: #cccccc;}
89
90/*      Page Catégories
91-----------------------------------------------------------------------------------------------*/
92.content div.thumbnailCategory { 
93        padding: 2px; 
94/*      text-align: center;    */
95}
96.content div.thumbnailCategory:hover {
97        border:1px solid #ff9933;
98        background-color: #111;
99}
100.content ul.thumbnailCategories li { width:49.9%; }
101
102/*      Page Image
103-----------------------------------------------------------------------------------------------*/
104
105#imageToolBar, #imageHeaderBar {
106        width: 860px;
107        margin: 10px auto;
108}
109#imageHeaderBar{
110        background: #0a0a0a;
111        border: 1px solid #323232;
112        border-width: 1px 0;
113        padding: 5px 8px;
114}
115
116#theImage IMG {
117  padding: 5px;
118  border: 1px solid #555;
119}
120
121#imageHeaderBar H2 { 
122        border: none;
123        clear: both;
124        padding: 0;
125        text-align: center;
126        padding: 0.5em 0 0 0;
127}
128#imageHeaderBar .browsePath a { color:#ff9933; text-decoration: none; }
129#imageHeaderBar .browsePath a:hover { color:#cccccc; }
130
131#imageToolBar .imageNumber {
132  margin-top: -30px;
133}
134
135.infoTable{ margin: 20px auto; }
136#linkPrev{ margin: 20px 0 0 20px; }
137#linkNext{ margin: 20px 20px 0 0;}
138a#thumbPrev, a#thumbNext { text-decoration: none; border:0; }
139
140#addComment label { width: 100%; margin-top: 1em; }
141
142/*      commentaires
143-----------------------------------------------------------------------------------------------*/
144
145#comments{ width: 860px; margin: 20px auto; }
146#comments DIV.comment BLOCKQUOTE { border: 1px solid #5f5f5f; border-left: 2px solid #969696; }
147
148FIELDSET, INPUT, SELECT, TEXTAREA, TABLE.table2, #infos,
149.content DIV.comment  A.illustration IMG, .content DIV.thumbnailCategory { border: 1px solid #7f7f7f; }
150#comments ul.thumbnailCategories li { margin: 5px auto; }
151
152textarea { width: 100%; }
153
154/*      miniatures
155-----------------------------------------------------------------------------------------------*/
156.content DIV.thumbnailCategory DIV.illustration a:hover { border:0; }
157
158.content DIV.comment BLOCKQUOTE {
159  margin-left: 172px;   /*maximum thumbnail width + ~10px */
160}
161.content DIV.thumbnailCategory DIV.description  p { text-align: left; }
162
163/*.content ul.thumbnails span.wrap1 { margin: 0 10px; }*/
164.content UL.thumbnails SPAN.wrap2 img { padding: 5px; border: 1px solid #333333; }
165.content UL.thumbnails SPAN.wrap2 img:hover { border-color: #ff9933; }
166
167.content UL.thumbnails LI.thumbCat SPAN.wrap2 { border-style: hidden; background-color: #333355; }
168.content UL.thumbnails LI.thumbCat SPAN.wrap2:hover { border-style: solid; }
169
170.content ul.thumbnails span.thumbLegend {
171/*    height: auto;*/
172    padding: 0.5em 0;
173}
174.zero { display: none }
175.nb-hits { color: #996633; }
176.nb-comments { color: #0066dd; }
177}
178
179/*      Menu
180-----------------------------------------------------------------------------------------------*/
181
182#menubar { position: relative; z-index: 2; }
183.content { z-index: 1; }
184
185.content div.thumbnailCategory div.description {
186        overflow: hidden; /* bug in FF 1.0 (not 1.5) */
187}
188
189/* horizontal menubar */
190#menubar, BODY#theAdminPage #menubar {
191        float: none;
192        width: 898px;
193        margin: 5px auto;
194        border: none;
195        display: block;
196}
197
198/* Filter button */
199#menubar .button {float:right;} 
200#menubar P, #menubar P.totalImages{ clear: both; margin: 0; text-align: center; padding: 0.2em }
201#mbCategories .menubarFilter {display:none;}
202
203/* set menubar height (not for IE) */
204#the_page > #menubar, BODY#theAdminPage #the_page > #menubar {
205  height: 2.1em;
206  padding: 0;
207}
208#menubar DL>DT {
209  padding: 0.2em 0.4em;
210}
211
212/* general UL formating */
213#menubar UL, #menubar DL, #menubar UL#menuTagCloud {
214  list-style: none;
215  margin: 0;
216  padding: 0;
217  float: left;
218}
219#menubar DL { display: inline; padding: 0 2.1em; }
220BODY#theAdminPage #the_page > #menubar DL { padding: 0 0.5em;}
221
222#menubar UL {  width: 20em; }
223#menubar ul li a {  padding-right: 3em; }
224
225#menubar P, #menubar P.totalImages, FORM#quickconnect {
226  clear: both;
227  margin: 0;
228  text-align: center;
229  padding: 0.2em;
230}
231
232/* titles and links */
233#menubar A, #menubar DT { display: block; }
234
235/* positioning */
236#menubar LI { position: relative;}
237#menubar DD { position: absolute; z-index: 500;}
238#menubar DD UL UL {
239  position: absolute;
240  top: 0px;
241  left: 100%;
242  z-index: 500;
243}
244#menubar LI SPAN,#menubar LI IMG { position: absolute; top: 0;}
245#menubar LI SPAN { right: 7px;}
246#menubar LI IMG { right: 3em;}
247
248/* hiding and revealing up to 6 menu levels */
249DIV#menubar DD,
250DIV#menubar UL UL,
251DIV#menubar UL LI:hover UL UL,
252DIV#menubar UL UL LI:hover UL UL,
253DIV#menubar UL UL UL LI:hover UL UL,
254DIV#menubar UL UL UL UL LI:hover UL UL { display: none; }
255
256DIV#menubar DL:hover DD,
257DIV#menubar UL LI:hover UL,
258DIV#menubar UL UL LI:hover UL,
259DIV#menubar UL UL UL LI:hover UL,
260DIV#menubar UL UL UL UL LI:hover UL,
261DIV#menubar UL UL UL UL UL LI:hover UL { display: block; }
262
263/* styles */
264#menubar, #menubar DT, #menubar DD, #menubar UL {
265        background-color: #999;
266        color: #000;
267        border: 0;
268}
269#menubar a, #menubar DT a, #menubar DD a { 
270        color: #000; 
271        display: block; 
272        text-decoration: none; 
273        border: 0;
274}
275
276#menubar A:hover { color: #000; }
277#menubar DD A { padding: 0.5em; }
278#menubar DD A:hover { background-color: #666; }
279
280FORM#quicksearch { width: 220px; }
281
282/*      quickconnect
283-----------------------------------------------------------------------------------------------*/
284FORM#quickconnect FIELDSET { text-align: left; width: 220px; padding-top: 5px;}
285FORM#quickconnect LABEL { clear: left; /*margin: 0;*/ }
286FORM#quickconnect LABEL INPUT { font-size: 1em; /*width: 15em;*/ }
287FORM#quickconnect P, FORM#quickconnect A { border: none; padding: 0; }
288FORM#quickconnect .button { position:relative; top: -20px; left: 50px}
289
290/*      menuTagCloud
291-----------------------------------------------------------------------------------------------*/
292
293#menubar #menuTagCloud a { display: inline; }
294#menubar #menuTagCloud span {
295  display: block;
296  padding: 0.5em 0;
297  text-align: left;
298}
299
300/* Tags - Page des tags
301-------------------------------------------------------- */
302
303ul#fullTagCloud {
304        position: relative;
305        border: 1px solid #171717;
306        border-width: 1px 0;
307        background: #040404;
308        padding: 5px;
309        margin: 8px 0 20px 0;
310        overflow: hidden;
311        height: 100%;
312        font-size: 120%;
313}
314        ul#fullTagCloud li {
315                display: block;
316                float: left;
317                margin: 4px;
318                padding: 1px 5px;
319                height: 18px;
320                line-height: 18px;
321                background: none;
322        }
323        ul#fullTagCloud li a:link, ul#fullTagCloud li a:visited {
324                color: #ffa266;
325                text-decoration: none;
326                white-space: nowrap;
327        }
328        ul#fullTagCloud li a:hover { text-decoration: underline; border: 0; }
329        ul#fullTagCloud li a:focus, ul#fullTagCloud li a:active { background: #ffa266; color: #000; }
330
331.tagLevel5 { font-size:160%; }
332.tagLevel4 { font-size:140%; }
333.tagLevel3 { font-size:120%; }
334.tagLevel2 { font-size:100%; }
335.tagLevel1 { font-size:80%; }
336
337#theTagsPage fieldset.tagLetter { width:181px; }
338
339/* others */
340.pleaseNote {
341        margin: 20px auto;
342        width: 700px;
343    background: #fff;
344    color: #005d99;
345        border: 1px solid #005d99;
346    padding: 1ex;
347    font-weight: bold;
348}
349
350.header_notes { background-position:left center; padding: 5px 0px; }
351
352li.categoryLi {
353        float:left;
354        margin:2px;
355        width:46%;
356}
357
358input.rateButton { color: #cc9966; }
359input.rateButtonSelected { color:#969696; }
360INPUT.rateButton:hover { color: #7a7b9f;}
361
362/*      calendar
363-----------------------------------------------------------------------------------------------*/
364
365UL.categoryActions, DIV.calendarViews {
366  padding-top: 5px;
367  padding-right: 6px;
368}
369
370/*calendar elements*/
371SPAN.calItemEmpty { color: #3f3f3f; }
372
373SPAN.calItem, SPAN.calItemEmpty { border: 1px solid #7f7f7f; }
374
375/* nice looking month calendar*/
376TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid #7f7f7f;}
377
378TD.calDayCellEmpty { color: #3f3f3f; }
379
380.calBackDate { color: #fff; }
381.calForeDate { color: #000; }
382
383/* Footer
384-------------------------------------------------------- */
385#copyright {
386        background: /*transparent*/ url(img/footer.jpg) no-repeat center bottom;
387        clear: both;
388        margin: 0 auto;
389        padding: 10px 0;
390        text-align: center;
391        font-weight: bold;
392}
393#copyright a:link, #copyright a:visited { text-decoration: underline; color: #fff; }
394#copyright a:hover { text-decoration: none; color: #fff; border: 0; }
395
396/* About page */
397#piwigoAbout UL { margin: 15px 0; }
398
399
400.browsePath .button {margin-left:2px}
401h2 .button {margin-left:2px;margin-bottom:2px}
402
403
404
405
406
407
408
409
410
411A:hover .pwg-icon {
412  background-image: url(../default/s26/outline_ff7700.png);
413}
414
415#thePicturePage #derivativeSwitchLink {display:none;}
416#thePicturePage .contentWithMenu {margin-left:0;}
417
418.switchBox, #languageSwitchBox {
419  background-color: black !important;
420  border: 1px solid #666 !important;
421  border-radius:0 !important;
422  color:#ccc;
423}
424
425.switchBoxTitle, #languageSwitchBox .switchBoxTitle {
426  border-bottom:1px solid #666 !important;
427}
428
429.switchBox a, #languageSwitchBox a {
430  color: #ccc !important;
431}
432
433.switchBox a:hover, #languageSwitchBox a:hover {
434  color: #ff9933 !important;
435}
Note: See TracBrowser for help on using the repository browser.