source: trunk/themes/Sylvia/theme.css @ 13683

Last change on this file since 13683 was 13683, checked in by plg, 12 years ago

feature 2598: add sizes XXS and XS

new label for sizes

On picture.php, the current size is "checked" and javascript refreshed when switched (with jQuery)

jQuery loaded by default on header.tpl (already loaded by thumbnails.tpl)

  • Property svn:eol-style set to LF
File size: 10.2 KB
Line 
1/* thumbnail wrap size */
2.content .thumbnailCategory div.illustration { 
3        width:165px !important; /* Usable range 162px-360px , optimal : Thumbnail width + 40px */ 
4}
5#comments .thumbnailCategory div.illustration { 
6        width:220px !important; /* Usable range 219px-360px , optimal : Thumbnail width + 95px */ 
7}
8
9/**
10 * Menubar
11 */
12#menubar DL { 
13        background:transparent url(images/menuBox_top.gif) no-repeat scroll left top;
14        margin:0 0 5px 40px; 
15        padding:0; 
16        width: 231px; 
17        min-width: 231px; 
18        border: 0; 
19        min-height: 32px; 
20        overflow-x: hidden;
21}
22#menubar DT { 
23        background-color:#111; 
24        border:0; 
25        display:inline; 
26        margin-left:8px; 
27        text-align:left; 
28}
29#menubar DD { 
30        background:transparent url(images/menuBox_bottom.gif) no-repeat scroll left bottom;
31        margin:14px 0 0 0; 
32        padding:0 0 22px; 
33        width: 231px; 
34        min-width: 231px; 
35        border: 0; 
36        overflow-x: hidden;
37}
38#menubar DD P {
39  background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom; 
40  padding: 2px 16px 0; 
41  margin: 0;
42}
43#menubar UL, #menubar #mbCategories p, #menubar .illustration  { 
44        background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom;
45        margin:0; 
46}
47#menubar DT A { 
48        font-size: 100%; 
49}
50#menubar UL { 
51        color:#333; 
52        font-size: 16px; 
53        line-height: 15px; 
54}
55#menubar UL SPAN.menuInfoCat { 
56        color:#666;
57}
58#menubar LI { 
59        padding-left: 12px; 
60}
61#menubar LI UL {
62  background: transparent url(images/transparent.gif);
63}
64#menubar A, .menuInfoCat { 
65        font-size: 13px; 
66}
67#menubar form { 
68        background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom; 
69        margin:0; 
70}
71#menubar p { 
72        padding: 16px 16px 0; 
73}
74
75.menubarFilter {
76        position: relative; 
77        right: 8px; 
78        top: 16px; 
79}
80
81#menubar #mbIdentification { 
82        background:transparent url(images/menuId_top.gif) no-repeat scroll left top !important;
83}
84#menubar #mbIdentification DD { 
85        background:transparent url(images/menuId_bottom.gif) no-repeat scroll left bottom; 
86}
87#menubar #mbIdentification UL, #menubar #mbIdentification p, #menubar #mbIdentification .illustration  { 
88        background:transparent url(images/menuId_sides.gif) repeat-y scroll left bottom; 
89}
90#menubar #mbIdentification form { 
91        background:transparent url(images/menuId_sides.gif) repeat-y scroll left bottom; 
92}
93#menubar #mbIdentification form  p { 
94        background:transparent none repeat-y scroll left bottom; 
95}
96#menubar #mbIdentification p { 
97        padding: 2px 16px 0; 
98        margin: 0;
99}
100#menubar #mbIdentification fieldset div input[type="text"] { 
101        margin: 0 0 3px; 
102        width: 174px; 
103        display: inline; 
104}
105#menubar #mbIdentification .button { 
106        height:24px; 
107        width:24px; 
108        right:0px; 
109        top:-40px; 
110}
111#menubar #mbIdentification fieldset { 
112        border:0; 
113        margin:0 24px 0 23px; 
114}
115#menubar #mbIdentification legend { 
116        display: none; 
117}
118#mbIdentification p, .totalImages { 
119        color:#666; 
120}
121
122#menubar #menuTagCloud { 
123        background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom;
124        margin:0; 
125        padding: 0 12px; 
126}
127
128#qsearchInput:focus, input:focus, select:focus, textarea:focus, input.focus, form .focus { 
129        background-color:#444;
130        color:#999; 
131}
132#qsearchInput { 
133        color:#999;
134}
135
136
137/**
138 * Content
139 */
140.content { 
141        background:#222 url(images/fillet.gif) repeat-x scroll left top; 
142        min-height:466px; 
143        border: 1px solid #000; 
144        border-top: 0; 
145        margin:21px 7px 0 290px !important; 
146        padding-top:7px; 
147}
148
149#the_page { 
150        background:transparent url(images/top-left-bg.jpg) no-repeat scroll left top;
151        left:0; 
152        margin:0; 
153        padding:0; 
154        position:absolute; 
155        top:0; 
156        z-index:0; 
157        width: 100%; 
158        min-width: 100%; 
159}
160
161.content h2 { 
162        margin:0; 
163        padding:0px 10px 15px 15px; 
164        border:0;
165}
166.content .navigationBar {
167        color:#666;
168}
169
170/* Category thumbnails on main page */
171.content .thumbnailCategories li {
172        background:#222 url(images/cat_bottom-right.gif) no-repeat scroll right bottom; 
173        width:49%; 
174        margin: 0; 
175        padding:0; 
176}
177.content .thumbnailCategory { 
178        background:transparent url(images/cat_bottom-left.gif) no-repeat scroll left bottom; 
179        padding: 0 0 2px; 
180        margin:0; 
181}
182.content .thumbnailCategory div.illustration { 
183        background:transparent url(images/cat_top-left.gif) no-repeat scroll left top; 
184        padding: 0 0 0 10px; 
185        margin: 0 !important; 
186}
187.content .thumbnailCategory div.illustration a { 
188        display: block; 
189        margin: 0; 
190        padding:20px 0 0 8px; 
191  border:0;
192}
193.content .thumbnailCategory .description { 
194        background:transparent url(images/cat_top-right.gif) no-repeat scroll right top;
195        margin: 0; 
196        padding:15px 10px 3px 0; 
197        overflow-x: hidden !important; 
198  height:158px;
199}
200.content .thumbnailCategory .description .text { 
201        display:block; 
202        margin:10px 2px 0 0;
203        overflow: auto; 
204        overflow-x:hidden; 
205        padding:0 0 5px; 
206}
207.content .thumbnailCategory .description p.dates { 
208        margin: 0 15px 0 15px; 
209        text-align: right; 
210}
211.content .thumbnailCategory .description H3 { 
212        display: block; 
213}
214.content .thumbnailCategories li:hover { 
215        background-color:#111; 
216}
217
218/* header */
219#theHeader { 
220        min-height:110px;
221        height:110px; 
222}
223
224.header_msgs { 
225        background:transparent url(images/header_msgs-bg.gif) repeat scroll left top;
226        border:0; 
227        color:#333; 
228        font-size:24px; 
229        left:0; 
230        margin:0; 
231        padding:10px 0 6px 0; 
232        text-align:center; 
233        top:0; 
234        width:100%; 
235        z-index:99; 
236}
237.header_notes {
238        background:transparent url(images/header_msgs-bg.gif) repeat scroll left top;
239        border:0 none;
240        color:#333;
241        font-size:16px;
242        margin:0;
243        padding:0;
244        position:absolute;
245        top:0;
246        width:100%;
247        z-index:99;
248}
249.infos { 
250        color:#f70; 
251        border:0; 
252        background:transparent url(icon/infos.png) no-repeat center right;
253        margin-left:40px;
254        text-align:left; 
255}
256.errors { 
257        color:#f33; 
258        border:0; 
259        background:transparent url(icon/errors.png) no-repeat center right;
260        margin-left:40px;
261        text-align:left; 
262        font-weight:bold; 
263}
264.infos li, .errors li { 
265        list-style-type:none; 
266}
267
268/* User comments */
269#theCommentsPage .content .thumbnailCategories li,
270#theCommentsPage .content .thumbnailCategory ,
271#theCommentsPage .content .thumbnailCategory .description,
272#theCommentsPage .content .thumbnailCategory div.illustration { 
273        background-image: none;
274}
275#theCommentsPage .content .thumbnailCategory {
276        padding: 15px 2px 6px 12px; 
277        border: 1px solid #666; 
278}
279#theCommentsPage .content .odd { 
280        background-color: #222; 
281        border-top:0 !important; 
282}
283#theCommentsPage .content .even { 
284        background-color: #111; 
285}
286#theCommentsPage .content .thumbnailCategories li:hover { 
287        background-color: transparent; 
288}
289#theCommentsPage #comments {
290        padding: 0 0 5px 10px;
291}
292
293#comments .thumbnailCategories hr {display:none;}
294#comments .filter input[type="submit"] { margin-top:1.8em; }
295
296/* Thumbnails */
297.thumbnails .wrap2 {
298        border: 1px solid #666; /* thumbnails border color and style */
299        border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ 
300}
301.thumbnails .wrap2:hover { 
302        color:#666;
303        background-color:#111; 
304        border:1px solid #ff3363;       /* thumbnails border color when mouse cursor is over it */ 
305}
306.calItem {
307        border:1px solid #666; 
308        margin:0 5px; 
309        padding:2px 5px 0 8px;
310}
311.calItemEmpty, td.calDayCellEmpty, td.calDayCellFull {
312        border:1px solid #666;
313}
314
315
316/**
317 * Picture
318 */
319#imageToolBar { 
320        padding:0 7%; 
321}
322#imageHeaderBar .imageNumber { 
323        margin-right:7%; 
324}
325#imageHeaderBar .browsePath { 
326        margin-left:7%; 
327}
328#imageHeaderBar, #imageToolBar A:hover { 
329        background-color: transparent; 
330}
331#imageHeaderBar H2 { 
332        border: 0; 
333}
334
335#theImage A, .illustration A, A.navThumb, A.navThumb { 
336        border-bottom-width: 0; 
337}
338.rateButtonStarFull, .rateButtonStarEmpty {     
339        background-image: url('icon/rating-stars.gif'); 
340}
341
342#thePicturePage .thumbnailCategory {
343        padding: 15px 2px 6px 12px; 
344        border: 1px solid #666; 
345}
346#thePicturePage .thumbnailCategory  .date, #thePicturePage .thumbnailCategory  .author {
347        font-weight:bold;
348}
349#thePicturePage .thumbnailCategories { 
350        padding-left: 12px; 
351        padding-right: 12px; 
352}
353#thePicturePage .odd { 
354        background-color: #222; 
355        border-top:0 !important; 
356}
357
358.pictureContent {
359        margin:0 7px 7px 290px;
360}
361
362#addComment fieldset {
363  color: #f70;
364        border-color: #f70;
365}
366#addComment fieldset  label {
367  color: #666;
368}
369
370
371/**
372 * Default Layout
373 */
374*, *:focus, *:active, input:active, a:active, input:focus, a:focus { 
375        outline: none; 
376}
377BODY { 
378        background:#111 url(images/bottom-left-bg.jpg) no-repeat fixed left bottom;
379        margin:0; 
380        min-height: 100%; 
381        height: 100%; 
382        padding:0; 
383}
384BODY, H1, H3, DT, INPUT.rateButtonSelected, H2, #menubar DT { 
385        color:#666; 
386}
387
388/* forms */
389FIELDSET, INPUT, SELECT, TEXTAREA { 
390        border: 1px solid #666; 
391}
392input[type="text"], input[type="password"], input[type="button"], input[type="submit"], input[type="reset"], input[type="file"] {
393        background-color:#444; 
394        color:#999; 
395} /* stupid Line but needed  due to inpact on other themes and deadline of Piwigo 2.0 */
396input[type="file"] {
397        background-color:#222; 
398        border: 1px solid #666;
399}
400INPUT, select, textarea { 
401        color:#999; 
402        background-color:#444; 
403}
404input[type="radio"], input[type="checkbox"], input[type="button"].rateButtonStarEmpty, input[type="button"].rateButtonStarFull { 
405        background-color: transparent; 
406}
407input[type="button"], input[type="submit"], input[type="reset"] {
408        color:#ff3363; 
409        background-color:#222; 
410        border-color:#ff3363; 
411}
412input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
413        color:#999; 
414        border-color:#666; 
415}
416
417/* links */
418A, .rateButton { 
419        color:#f70; 
420        border-width: 0; 
421}
422A:hover, A:active { 
423        color:#f33; 
424        border-bottom: 1px solid #ff3363; 
425        cursor: pointer; 
426}
427a.external { 
428        color:#ff3363; 
429        border:0; 
430        text-decoration: none; 
431}
432a.external:hover { 
433        color:#ff7700; 
434        border:0; 
435}
436a.Piwigo {
437  font-family: verdana, arial, helvetica, sans-serif !important;
438  font-size: 11px; font-weight: normal; letter-spacing: 0;
439  color : #F33; text-decoration: none; border: 0; }
440a.Piwigo:hover {
441  border-bottom: 1px solid #ff3363;
442}
443
444.titrePage img.button[alt="x"] { margin: 0 3px 3px; }
445tr.tagLine, fieldset.tagLetter, legend.tagLetterLegend {
446        border-color: #666;
447}
448#debug { 
449        margin: 15px 15px 5px 248px; 
450        font-size:12px; 
451        clear: both; 
452}
453
454/* sprites */
455.pwg-icon {
456        background-image: url(../default/s26/outline_ff3363.png);
457}
458A:hover .pwg-icon {
459        background-image: url(../default/s26/outline_ff7700.png);
460}
461
462.message {
463  color:white;
464  background-color:#666;
465}
466
467#derivativeSwitchBox, #sortOrderBox {
468    background-color: #222222;
469    border: 1px solid #FF3363;
470    border-radius: 0 15px 0 15px;
471}
472
473.switchBoxTitle {
474  border-color:#666;
475}
Note: See TracBrowser for help on using the repository browser.