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

Last change on this file since 14028 was 14028, checked in by rvelices, 12 years ago
  • css (removed unused, merge rules, simplified overly complicated selectors)
  • Property svn:eol-style set to LF
File size: 10.0 KB
Line 
1/* thumbnail wrap size */
2.thumbnailCategory .illustration { 
3        min-width:165px !important; /* Usable range 162px-360px , optimal : Thumbnail width + 40px */ 
4}
5 .commentElement .illustration { 
6        min-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.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.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.thumbnailCategory .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.thumbnailCategory .illustration a { 
188        display: block; 
189        margin: 0; 
190        padding:20px 0 0 8px; 
191  border:0;
192}
193.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.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.thumbnailCategory .description p.dates { 
208        margin: 0 15px 0 15px; 
209        text-align: right; 
210}
211.thumbnailCategory .description H3 { 
212        display: block; 
213}
214.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#comments {
270        padding: 0 0 5px 10px;
271}
272.content .commentsList li { 
273        padding: 0 0; 
274        margin:0; 
275}
276.content .commentElement {
277        padding: 15px 2px 6px 12px; 
278  margin:0;
279        border: 1px solid #666; 
280}
281.content .commentElement.odd { 
282        background-color: #222; 
283        border-top:0 !important; 
284}
285.content .commentElement.even { 
286        background-color: #111; 
287}
288.content .commentElement .illustration { 
289        padding: 0 0 0 10px; 
290        margin: 0 !important; 
291}
292.content .commentElement .illustration a { 
293        display: block; 
294        margin: 0; 
295        padding:20px 0 0 8px; 
296  border:0;
297}
298.content .commentElement .description { 
299        margin: 0; 
300        padding:15px 10px 3px 0; 
301        overflow-x: hidden !important; 
302  height:158px;
303}
304
305#comments .commentsList hr {display:none;}
306#comments .filter input[type="submit"] { margin-top:1.8em; }
307
308/* Thumbnails */
309.thumbnails .wrap2 {
310        border: 1px solid #666; /* thumbnails border color and style */
311        border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ 
312}
313.thumbnails .wrap2:hover { 
314        color:#666;
315        background-color:#111; 
316        border:1px solid #ff3363;       /* thumbnails border color when mouse cursor is over it */ 
317}
318.calItem {
319        border:1px solid #666; 
320        margin:0 5px; 
321        padding:2px 5px 0 8px;
322}
323.calItemEmpty, td.calDayCellEmpty, td.calDayCellFull {
324        border:1px solid #666;
325}
326
327
328/**
329 * Picture
330 */
331#imageToolBar { 
332        padding:0 7%; 
333}
334#imageHeaderBar .imageNumber { 
335        margin-right:7%; 
336}
337#imageHeaderBar .browsePath { 
338        margin-left:7%; 
339}
340#imageHeaderBar, #imageToolBar A:hover { 
341        background-color: transparent; 
342}
343#imageHeaderBar H2 { 
344        border: 0; 
345}
346
347#theImage A, .illustration A, A.navThumb, A.navThumb { 
348        border-bottom-width: 0; 
349}
350.rateButtonStarFull, .rateButtonStarEmpty {     
351        background-image: url('icon/rating-stars.gif'); 
352}
353
354#thePicturePage .commentElement {
355        padding: 15px 2px 6px 12px; 
356        border: 1px solid #666; 
357}
358#thePicturePage .commentsList { 
359        padding-left: 12px; 
360        padding-right: 12px; 
361}
362#thePicturePage .odd { 
363        background-color: #222; 
364        border-top:0 !important; 
365}
366
367.pictureContent {
368        margin:0 7px 7px 290px;
369}
370
371#addComment fieldset {
372  color: #f70;
373        border-color: #f70;
374}
375#addComment fieldset  label {
376  color: #666;
377}
378
379
380/**
381 * Default Layout
382 */
383*, *:focus, *:active, input:active, a:active, input:focus, a:focus { 
384        outline: none; 
385}
386BODY { 
387        background:#111 url(images/bottom-left-bg.jpg) no-repeat fixed left bottom;
388        margin:0; 
389        min-height: 100%; 
390        height: 100%; 
391        padding:0; 
392}
393BODY, H1, H3, DT, INPUT.rateButtonSelected, H2, #menubar DT { 
394        color:#666; 
395}
396
397/* forms */
398FIELDSET, INPUT, SELECT, TEXTAREA { 
399        border: 1px solid #666; 
400}
401input[type="text"], input[type="password"], input[type="button"], input[type="submit"], input[type="reset"], input[type="file"] {
402        background-color:#444; 
403        color:#999; 
404} /* stupid Line but needed  due to inpact on other themes and deadline of Piwigo 2.0 */
405input[type="file"] {
406        background-color:#222; 
407        border: 1px solid #666;
408}
409INPUT, select, textarea { 
410        color:#999; 
411        background-color:#444; 
412}
413input[type="radio"], input[type="checkbox"], input[type="button"].rateButtonStarEmpty, input[type="button"].rateButtonStarFull { 
414        background-color: transparent; 
415}
416input[type="button"], input[type="submit"], input[type="reset"] {
417        color:#ff3363; 
418        background-color:#222; 
419        border-color:#ff3363; 
420}
421input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
422        color:#999; 
423        border-color:#666; 
424}
425
426/* links */
427A, .rateButton { 
428        color:#f70; 
429        border-width: 0; 
430}
431A:hover, A:active { 
432        color:#f33; 
433        border-bottom: 1px solid #ff3363; 
434        cursor: pointer; 
435}
436a.external { 
437        color:#ff3363; 
438        border:0; 
439        text-decoration: none; 
440}
441a.external:hover { 
442        color:#ff7700; 
443        border:0; 
444}
445a.Piwigo {
446  font-family: verdana, arial, helvetica, sans-serif !important;
447  font-size: 11px; font-weight: normal; letter-spacing: 0;
448  color : #F33; text-decoration: none; border: 0; }
449a.Piwigo:hover {
450  border-bottom: 1px solid #ff3363;
451}
452
453.titrePage img.button[alt="x"] { margin: 0 3px 3px; }
454tr.tagLine, fieldset.tagLetter, legend.tagLetterLegend {
455        border-color: #666;
456}
457#debug { 
458        margin: 15px 15px 5px 248px; 
459        font-size:12px; 
460        clear: both; 
461}
462
463/* sprites */
464.pwg-icon {
465        background-image: url(../default/s26/outline_ff3363.png);
466}
467A:hover .pwg-icon {
468        background-image: url(../default/s26/outline_ff7700.png);
469}
470
471.message {
472  color:white;
473  background-color:#666;
474}
475
476.switchBox {
477    background-color: #222222;
478    border: 1px solid #FF3363;
479    border-radius: 0 15px 0 15px;
480}
481
482.switchBoxTitle {
483  border-color:#666;
484}
Note: See TracBrowser for help on using the repository browser.