source: trunk/template/default/default.css @ 579

Last change on this file since 579 was 579, checked in by z0rglub, 20 years ago
  • refactoring of comments.php
  • creation of function get_thumbnail_src used everywhere a thumbnail must be displayed
  • creation of function parse_comment_content (used in comments.php and picture.php)
  • concerning undefined index on arrays retrieved in database, instead of testing possibly unset values, use of @ operator (smarter...)
  • add pre tag in default.css stylesheet for debugging purpose (need to have left aligned text)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.1 KB
Line 
1/* BACKGROUND */
2body { background-color:#000000;}
3.main, .throw, .admin { background-color:#3F3F3F;}
4.row1,input,select,textarea, .table1, .home { background-color:#5F5F5F;}
5.table2, .commentTitle { background-color: #797979;}
6.errors { background-color:red;}
7
8.titreMenu,.titrePage,.imgMenu a:hover { background-image: url(theme/tableh1_bg.gif);}
9.bouton, .imgMenu a, #imgBarMenu { background-image: url(theme/button_bg.gif);}
10
11/* POSITION */
12#gauche,#droite
13{
14  float:left;
15  width:30%;
16  text-align:left;
17}
18
19#centre
20{
21  float:left;
22  width:40%;
23  text-align:center;
24}
25
26#droite
27{
28  text-align:right;
29}
30
31#left
32{
33  float:left; 
34}
35
36#right
37{
38  float:right; 
39}
40
41/* MAIN STYLES */
42
43body {
44  font-family: Verdana, Geneva, Arial, sans-serif;
45  font-size:12px;
46  color:#E0E0E0;
47  margin:5px;
48}
49
50h1 {
51        font:                   bold 18pt 'Trebuchet MS', Verdana, sans-serif;
52        text-decoration:none; 
53        line-height:    120%; 
54}
55h2 {
56        font:                   bold 12pt Arial, Helvetica, sans-serif;
57        text-decoration:none; 
58        line-height:    120%; 
59}
60
61/* ANCHORS */
62
63a { text-decoration:none; color:#FFFFFF;}
64a:hover { text-decoration:none; color:#FFF48E;}
65a.none:hover { text-decoration:none;}
66a.image:hover { text-decoration:none;}
67a.thumbLink:hover { text-decoration:none;}
68
69/* LAYOUT STYLE */
70
71.main {
72        border: 1px solid #E0E0E0; 
73        width:100%;
74        padding-bottom:30px;
75        text-align:center;
76        display:block;
77}
78
79/* Navigation styles */
80
81.titreMenu,.titrePage
82{
83  padding-right: 10px;
84  padding-left: 10px;
85  border-bottom: 1px solid #000000;
86  border-right: 1px solid #000000;
87  height: 25px;
88  line-height: 25px;
89  font-size:12px;
90  color:#E0E0E0;
91  font-weight:600;
92  text-align:center;
93}
94
95.titrePage
96{
97  font-family: 'Trebuchet MS', Verdana, sans-serif;
98  text-align:left;
99  font-size:16px;
100}
101
102.menu {
103  margin:10px 5px 10px 5px;
104  white-space:nowrap;
105  font-size:11px;
106  text-align:left;
107}
108
109ul.menu {
110  text-align:left;
111  list-style-type: square ;
112  padding-left:15px;
113  margin:5px;
114}
115
116.menuCategorySelected {
117  font-weight:bold;
118}
119
120.menuCategoryNotSelected {
121  font-weight:normal;
122}
123
124.navigationBar {
125  text-align:center;
126  margin-top:10px;
127  margin-bottom:10px;
128}
129
130 /* Image related styles */
131 
132.image {
133        border : 3px solid #FFFFFF;
134        margin : 10px 4px 10px 4px;
135}
136
137#imgBarMenu
138{
139  width:100%;
140  display:block;
141  height:25px;
142  border-bottom: 1px solid #000000;
143}
144 
145.imgMenu
146{
147  width:48px;
148  border:none;
149  float:left;
150}
151
152.imgMenu img
153{
154 border:none;
155 text-align:center;
156 margin-top:4px;
157}
158 
159.imgMenu a
160{
161  display:block;
162  height: 25px;
163  border-bottom: 1px solid #000000;
164  border-left: 1px solid #838383;
165  border-right: 1px solid #000000;
166}
167
168.imgMenu a:hover
169{
170  border-bottom: 1px solid #3F3F3F;
171  border-left: 1px solid #3F3F3F;
172  border-right: 1px solid #3F3F3F;
173}
174
175.commentImage {
176  text-align:justify;
177  font-style:italic;
178  font-size:16px;
179  margin-top: 10px;
180  margin-bottom: 10px;
181}
182
183.nameImage {
184  text-align:center;
185  font-size:20px;
186}
187/* Table styles */
188
189.table1, .home
190{
191  border: 1px solid #000000;
192  display:block;
193}
194
195.home
196{
197  text-align:center;
198  width:100%;
199}
200 
201.table2 {
202        border: 1px solid #000000; 
203        margin: 0px 10px 0px 0px;
204        padding:0px;
205}
206
207.tablecompact{
208  width:100%;
209  border-collapse:collapse;
210}
211
212.row1,.row2 {
213  text-align:left;
214  padding:5px 0px 5px 0px;
215  height:20px;
216} 
217
218.throw {
219  color:#FFFFCC;
220  text-align:center;
221  font-weight:bold;
222  border-top: 1px solid #000000; 
223  border-bottom: 1px solid #000000; 
224  height:20px;
225}
226
227td.throw{
228  text-align:left;
229  width:auto;
230}
231/* Thumbnails styles */
232
233.thumbnail {
234        font-size:11px;
235        text-align:center;
236        vertical-align: baseline;
237        white-space: nowrap;
238}
239
240table.thumbnail {
241  border-collapse:separate;
242  display:inline-table;
243}
244
245.thumbLink {
246        border-style: solid;
247        border-width:1px;
248        border-color: #A0A0A0;
249        margin: 2px;
250}
251
252/* Comment styles */
253.commentTitle {
254  font-family: Arial, Helvetica, sans-serif;
255  font-size:12px;
256  font-weight:bold;
257  padding: 15px 5px 10px 5px;
258}
259
260.commentDate {
261  font-weight:lighter;
262  text-align:right;
263  color:#999999;
264  border-top: 1px solid #000000; 
265  border-bottom: 1px solid #000000;
266}
267
268.comment{
269  color:#C6B78E; 
270}
271/* Form styles */
272
273form{
274  text-align:left;
275  padding:10px;
276}
277
278.bouton {
279  border: 1px solid #404750;
280  color:#FFFFFF;
281  padding-left: 3px;
282  padding-right: 3px;
283  font-weight:500;
284  background-position : bottom;
285  margin-top:10px;
286}
287
288input,select,textarea {
289 text-indent:2px;
290 border: 1px solid #797979;
291 padding: 0;
292 color:#FFFFCC;
293}
294
295.radio{
296  border:0;
297}
298/* Admin styles */
299
300.adminMenu {
301  text-align:center;
302  font-size:12px;
303}
304
305div.adminMenu{
306margin:10px 50px 10px 50px; 
307}
308
309.admin {
310font-weight:bold;
311margin:0px 0px 12px 0px;
312text-align: center;
313padding:0px;
314color : #FFF48E;
315}
316
317/* Other styles */
318.info {
319  color:#FFF48E;
320  margin:5px 0px 5px 0px;
321  white-space:nowrap;
322  text-align:center;
323  font-size:16px;
324}
325.menuInfoCat {
326  font-family:sans-serif;
327  font-size:11px;
328}
329.totalImages {
330  text-align:center;
331  margin-top:5px;
332  font-family:sans-serif;
333  font-size:11px;
334}
335
336.infoCat {
337  margin-top:10px;
338  margin-bottom:10px;
339  text-align:left;
340}
341
342.copyright {
343  font-size:10px;
344  text-align:center;
345  letter-spacing:-1px;
346}
347
348.errors {
349  text-align:left;
350  margin-top:5px;
351  margin-bottom:5px;
352  font-weight:bold;
353  border:1px solid black;
354  color:white;
355}
356
357div.information {
358  text-align:center;
359  border:2px solid #E0E0E0;
360  margin:10px;
361  padding:5px;
362}
363
364span.dateSelected, span.pageNumberSelected {
365  text-decoration:underline;
366}
367
368/**
369 * in calendar category, year or month currently focused
370 */
371span.dateSelected {
372}
373
374/**
375 * in navigation bar, page number currently focused
376 */
377span.pageNumberSelected {
378}
379
380span.thumb_picture {
381  font-weight:normal;
382}
383
384span.thumb_category {
385  font-weight:normal;
386}
387
388span.update_error_element, span.update_category_error {
389  color:orange;
390}
391
392.update_summary_new {
393  color:#9cb4ce;
394}
395
396.update_summary_del {
397  color:#ffe1e1;
398}
399
400div.remoteOutput, div.remoteLocal {
401  background-color:#444444;
402  border:1px solid black;
403  margin:10px;
404  text-align:left;
405  padding:5px;
406}
407
408li.remoteInfo {
409  color:gray;
410}
411
412li.remoteWarning {
413  color:#ffe1e1;
414}
415
416li.remoteError {
417  color:orange;
418}
419
420div.remoteLocal {
421  text-align:center;
422}
423
424/* for debugging purpose */
425pre {
426  text-align:left;
427}
Note: See TracBrowser for help on using the repository browser.