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

Last change on this file since 16799 was 16799, checked in by flop25, 12 years ago

bug:2688
changing the padding
adding a prefilter to a height for .thumbnailCategory .description .text
adding rounded border

  • Property svn:eol-style set to LF
File size: 10.1 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/* contentWithMenu */
170.contentWithMenu {
171    margin-left: 290px;
172}
173.contentWithMenu #comments {
174  padding: 0 0 5px 0;
175}
176.contentWithMenu #imageToolBar {
177  padding-left: 0;
178}
179.contentWithMenu #imageHeaderBar .browsePath {
180    margin-left: 0;
181}
182
183/* Category thumbnails on main page */
184.thumbnailCategories li {
185        background:#222 url(images/cat_bottom-right.gif) no-repeat scroll right bottom; 
186        width:49%; 
187        margin: 0; 
188        padding:0; 
189}
190.thumbnailCategory { 
191        background:transparent url(images/cat_bottom-left.gif) no-repeat scroll left bottom; 
192        padding: 0 0 2px; 
193        margin:0; 
194}
195.thumbnailCategory .illustration { 
196        background:transparent url(images/cat_top-left.gif) no-repeat scroll left top; 
197        padding: 0 0 0 10px; 
198        margin: 0 !important; 
199}
200.thumbnailCategory .illustration a { 
201        display: block; 
202        margin: 0; 
203        padding: 15px 4px 0; 
204  border:0;
205}
206.thumbnailCategory .illustration img {
207  border-radius: 0 10px 0 10px;
208  -moz-border-radius: 0 10px 0 10px;
209  -webkit-border-radius: 0 10px 0 10px;
210}
211.thumbnailCategory .description { 
212        background:transparent url(images/cat_top-right.gif) no-repeat scroll right top;
213        margin: 0; 
214        padding:15px 10px 3px 0; 
215        overflow: hidden !important; 
216  height:158px;
217}
218.thumbnailCategory .description .text { 
219        display:block; 
220        margin:10px 2px 0 0;
221        overflow: auto; 
222        overflow-x:hidden; 
223        padding:0 0 5px; 
224}
225.thumbnailCategory .description p.dates { 
226        margin: 0 15px 0 15px; 
227        text-align: right; 
228}
229.thumbnailCategory .description H3 { 
230        display: block; 
231}
232.thumbnailCategories li:hover { 
233        background-color:#111; 
234}
235
236/* header */
237#theHeader { 
238        min-height:110px;
239        height:110px; 
240}
241
242.header_msgs { 
243        background:transparent url(images/header_msgs-bg.gif) repeat scroll left top;
244        border:0; 
245        color:#333; 
246        font-size:24px; 
247        left:0; 
248        margin:0; 
249        padding:10px 0 6px 0; 
250        text-align:center; 
251        top:0; 
252        width:100%; 
253        z-index:99; 
254}
255.header_notes {
256        background:transparent url(images/header_msgs-bg.gif) repeat scroll left top;
257        border:0 none;
258        color:#333;
259        font-size:16px;
260        margin:0;
261        padding:0;
262        position:absolute;
263        top:0;
264        width:100%;
265        z-index:99;
266}
267.infos { 
268        color:#f70; 
269        border:0; 
270        background:transparent url(icon/infos.png) no-repeat center right;
271        margin-left:40px;
272        text-align:left; 
273}
274.errors { 
275        color:#f33; 
276        border:0; 
277        background:transparent url(icon/errors.png) no-repeat center right;
278        margin-left:40px;
279        text-align:left; 
280        font-weight:bold; 
281}
282.infos li, .errors li { 
283        list-style-type:none; 
284}
285
286/* User comments */
287#comments {
288        margin: 0 10px 5px 10px;
289}
290.content .commentElement {
291        border: 1px solid #666; 
292}
293.content .commentElement.odd { 
294        background-color: #222; 
295}
296.content .commentElement.even { 
297        background-color: #111; 
298}
299.content .commentElement .illustration { 
300        margin: 2px;
301  text-align: center;
302}
303.content .commentElement .description { 
304        padding:15px 10px 3px 0; 
305        overflow-x: hidden !important; 
306}
307
308#comments .commentsList hr {display:none;}
309#comments .filter input[type="submit"] { margin-top:1.8em; }
310
311/* Thumbnails */
312.thumbnails .wrap2 {
313        border: 1px solid #666; /* thumbnails border color and style */
314        border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ 
315}
316.thumbnails .wrap2:hover { 
317        color:#666;
318        background-color:#111; 
319        border:1px solid #ff3363;       /* thumbnails border color when mouse cursor is over it */ 
320}
321.calItem {
322        border:1px solid #666; 
323        margin:0 5px; 
324        padding:2px 5px 0 8px;
325}
326.calItemEmpty, td.calDayCellEmpty, td.calDayCellFull {
327        border:1px solid #666;
328}
329
330
331/**
332 * Picture
333 */
334#imageToolBar { 
335        padding:0 7%; 
336}
337#imageHeaderBar .imageNumber { 
338        margin-right:7%; 
339}
340#imageHeaderBar .browsePath { 
341        margin-left:7%; 
342}
343#imageHeaderBar, #imageToolBar A:hover { 
344        background-color: transparent; 
345}
346#imageHeaderBar H2 { 
347        border: 0; 
348}
349
350#theImage A, .illustration A, A.navThumb, A.navThumb { 
351        border-bottom-width: 0; 
352}
353.rateButtonStarFull, .rateButtonStarEmpty {     
354        background-image: url('icon/rating-stars.gif'); 
355}
356
357#thePicturePage .commentElement {
358        padding: 15px 2px 6px 12px; 
359        border: 1px solid #666; 
360}
361#thePicturePage .commentsList { 
362        padding-left: 12px; 
363        padding-right: 12px; 
364  overflow: visible;
365  width: auto;
366}
367#thePicturePage .odd { 
368        background-color: #222; 
369}
370
371.pictureContent {
372        margin:0 7px 7px 290px;
373}
374
375#addComment fieldset {
376  color: #f70;
377        border-color: #f70;
378}
379#addComment fieldset  label {
380  color: #666;
381}
382
383
384/**
385 * Default Layout
386 */
387*, *:focus, *:active, input:active, a:active, input:focus, a:focus { 
388        outline: none; 
389}
390BODY { 
391        background:#111 url(images/bottom-left-bg.jpg) no-repeat fixed left bottom;
392        margin:0; 
393        min-height: 100%; 
394        height: 100%; 
395        padding:0; 
396}
397BODY, H1, H3, DT, INPUT.rateButtonSelected, H2, #menubar DT { 
398        color:#666; 
399}
400
401/* forms */
402FIELDSET, INPUT, SELECT, TEXTAREA { 
403        border: 1px solid #666; 
404}
405input[type="text"], input[type="password"], input[type="button"], input[type="submit"], input[type="reset"], input[type="file"] {
406        background-color:#444; 
407        color:#999; 
408} /* stupid Line but needed  due to inpact on other themes and deadline of Piwigo 2.0 */
409input[type="file"] {
410        background-color:#222; 
411        border: 1px solid #666;
412}
413INPUT, select, textarea { 
414        color:#999; 
415        background-color:#444; 
416}
417input[type="radio"], input[type="checkbox"], input[type="button"].rateButtonStarEmpty, input[type="button"].rateButtonStarFull { 
418        background-color: transparent; 
419}
420input[type="button"], input[type="submit"], input[type="reset"] {
421        color:#ff3363; 
422        background-color:#222; 
423        border-color:#ff3363; 
424}
425input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
426        color:#999; 
427        border-color:#666; 
428}
429
430/* links */
431A, .rateButton { 
432        color:#f70; 
433        border-width: 0; 
434}
435A:hover, A:active { 
436        color:#f33; 
437        border-bottom: 1px solid #ff3363; 
438        cursor: pointer; 
439}
440a.external { 
441        color:#ff3363; 
442        border:0; 
443        text-decoration: none; 
444}
445a.external:hover { 
446        color:#ff7700; 
447        border:0; 
448}
449a.Piwigo {
450  font-family: verdana, arial, helvetica, sans-serif !important;
451  font-size: 11px; font-weight: normal; letter-spacing: 0;
452  color : #F33; text-decoration: none; border: 0; }
453a.Piwigo:hover {
454  border-bottom: 1px solid #ff3363;
455}
456
457.titrePage img.button[alt="x"] { margin: 0 3px 3px; }
458tr.tagLine, fieldset.tagLetter, legend.tagLetterLegend {
459        border-color: #666;
460}
461#debug { 
462        margin: 15px 15px 5px 248px; 
463        font-size:12px; 
464        clear: both; 
465}
466
467/* sprites */
468.pwg-icon {
469        background-image: url(../default/s26/outline_ff3363.png);
470}
471A:hover .pwg-icon {
472        background-image: url(../default/s26/outline_ff7700.png);
473}
474
475.message {
476  color:white;
477  background-color:#666;
478}
479
480.switchBox {
481    background-color: #222222;
482    border: 1px solid #FF3363;
483    border-radius: 0 15px 0 15px;
484}
485
486.switchBoxTitle {
487  border-color:#666;
488}
Note: See TracBrowser for help on using the repository browser.