source: trunk/themes/elegant/theme.css @ 13821

Last change on this file since 13821 was 13821, checked in by Zaphod, 12 years ago

feature 2587: css update

File size: 8.4 KB
Line 
1/* backgorunds */
2
3html, body                                                                      { background-color: #111;}
4
5#content, .content                                                      { background-color: #222;}
6.content .titrePage                                                     { background-color: #111;}
7
8#menubar, #the_page #menuSwitcher.menuhidden    { background-color: #222;}
9
10#thePicturePage, #imageHeaderBar                        { background-color: #111;}
11#imageInfos, #infoSwitcher.infohidden           { background-color: #333;}
12#thePicturePage #comments                                       { background-color: #333;}
13#pictureCommentList li                                          { background-color: #444;}
14
15.calendarTitle                                                          { background-color: #222;}
16
17.switchBox, .header_notes                                       { background-color: #555;}
18.thumbnailCategory , .commentElement                    { background-color: #333;}
19.message                                                                        { background-color: #666;}
20
21INPUT[type="text"], INPUT[type="password"],
22INPUT[type="button"], INPUT[type="submit"],
23INPUT[type="reset"], INPUT[type="file"],
24SELECT, TEXTAREA                                                        { background-color: #555;}
25INPUT:focus, SELECT:focus, TEXTAREA:focus       { background-color: #666;}
26
27
28/* font colors */
29
30body, legend                                                                    { color: #aaa;}
31a                                                                                       { color: #ccc;}
32a:hover                                                                                 { color: #fff;}
33INPUT.rateButton                                                        { color: #fff;}
34H1, H3, INPUT.rateButtonSelected                        { color: #ccc;}
35.message                                                                        { color: #fff;}
36.commentContent .comments_toggle:hover          { color: #fff;}
37INPUT[type="text"], INPUT[type="password"],
38INPUT[type="button"], INPUT[type="submit"],
39INPUT[type="reset"], INPUT[type="file"],
40SELECT, TEXTAREA                                                        { color: #ccc;}
41INPUT:focus, SELECT:focus, TEXTAREA:focus       { color: #fff;}
42
43
44/* borders */
45
46#content,.content, .content .titrePage          { border-bottom: 2px solid #444;}
47#imageHeaderBar                                                                 { border: solid 0 #444; border-bottom-width:2px;}
48#copyright                                                                      { border-top-width:2px;}
49#content .calendarTitleBar                                      { border-bottom: none;}
50.calendarTitle                                                          { border-top: 2px solid #444;}
51.switchBox                                                                      { border: 1px solid #000;}
52.switchBoxTitle                                                                 { border-bottom: 1px solid #444;}
53FIELDSET, INPUT, SELECT, TEXTAREA                       { border: 1px solid #777;}
54
55
56/* icons */ 
57
58.pwg-icon                                                                       { background-image: url(../default/s26/outline_808080.png);}
59A:hover .pwg-icon                                                       { background-image: url(../default/s26/outline_ffffff.png);}
60
61
62/* general rules */
63
64body            { margin: 5px 0;}
65a:hover                 { border-bottom: none;}
66#copyright      { padding:0 4px 0 0; text-align:right;}
67
68
69/* content */
70
71#the_page  #content.menushown, #the_page > .content.menushown, .contentWithMenu         { margin-left: 240px;}
72#the_page  #content.menuhidden, #the_page > .content.menuhidden                                         { margin-left: 35px;}
73#the_page  #content, #the_page > .content                                                                                       { margin-right: 0;}
74
75#content,.content                       { margin-bottom: 4px; padding-bottom: 4px;}
76#thePicturePage #content        { padding-bottom: 0;}
77.content .titrePage                     { padding:0; margin-bottom:4px;}
78.content .titrePage H2          { line-height: 20px; margin: 0; padding: 8px 0 0 2px;}
79
80
81/* menubar */
82
83#menubar  {
84        display: inline;
85        width: 230px;
86        float: left;
87        margin: 28px 8px 10px 0;
88        padding: 0;
89}
90#menubar DT                             { text-align: left;}
91#menubar dd                             { padding: 0 0 1em 1em;}
92#menubar .pwg-icon-filter { display: none;}
93
94
95/* switchers */
96
97#menuSwitcher {
98        display: block;
99        text-align: center;
100        height: 32px;
101        cursor: pointer;
102        float: left;
103        margin: 28px 0 0 -34px;
104}
105
106
107#imageInfos, #infoSwitcher.infohidden           { border-radius: 10px 0 0 10px;}
108#menubar, #the_page #menuSwitcher.menuhidden    { border-radius: 0 10px 10px 0;}
109#the_page #menuSwitcher.menuhidden                      { width: 25px; margin-left: 0;}
110
111#infoSwitcher {
112        display: block;
113        text-align: center;
114        height: 32px;
115        cursor: pointer;
116        position:absolute;
117        left:75%;
118        top:0;
119        margin: 10px 0 0 7px;
120        z-index:99;
121}
122
123#infoSwitcher.infohidden {
124        width:25px;
125        top:10px;
126        right:0;
127        left:auto;
128        margin:0;
129}
130
131#slideshow #theImage                    { width: 100%; margin: auto; overflow: visible;}
132#theImage.infohidden            { width: 100%;}
133
134#commentsSwitcher                                       { float: left; margin: 2px 0; cursor:pointer;}
135.noCommentContent #commentsSwitcher     { display: none;}
136
137.switchArrow                            { width: 16px; height: 16px; margin: 8px 5px 8px 4px;}
138.switchArrow                            { background: transparent url("icon/arrows_ccc.png");}
139.switchArrow:hover                      { background: transparent url("icon/arrows_fff.png");}
140.menuhidden .switchArrow                { background-position: 0 0;}
141.menushown   .switchArrow               { background-position: -16px 0;}
142.infohidden .switchArrow                { background-position: -16px 0;}
143.infoshown   .switchArrow               { background-position: 0 0;}
144.commentshidden .switchArrow    { background-position: -48px 0;}
145.commentsshown   .switchArrow   { background-position: -32px 0;}
146
147
148/* switchboxes */
149
150.switchBox {
151    border-radius: 4px 4px 4px 4px;
152    padding: 0.5em 10px;
153    text-align: left;
154    z-index: 100;
155}
156.derivativeSizeDetails                          { display: none;}
157
158/* thumbnails */
159
160#thumbnails                                             { padding-top: 5px;}
161.thumbnails IMG                                                 { margin-bottom: 0; vertical-align: middle;}
162.thumbnailCategory DIV.illustration,
163.commentElement .illustration           { margin: 2px; text-align: center;}
164
165
166/* picture page */
167
168.contentWithMenu #imageHeaderBar        { padding: 0;}
169#imageHeaderBar                                                 { padding: 0 0 0 10px;}
170#imageHeaderBar                                                 { width: auto;}
171#imageHeaderBar h2                                      { font-size: 100%; font-weight: inherit;}
172#imageHeaderBar .browsePath {
173        display:inline-block;
174        float:none;
175        font-size:120%;
176        line-height:20px;
177        padding: 8px 0 0 2px;
178        font-weight:bold;
179        margin:0;
180}
181#imageToolBar .imageNumber                      { display: inline-block; float: right; line-height: 26px; margin: 0 2px 0 0; min-width: 40px; text-align: center;}
182#imageToolBar                                           { margin-top: -28px; margin-bottom: 0; float: right;}
183#thePicturePage .pwg-button                     { width: 26px;}
184#thePicturePage .actionButtons          { margin-right: 26px;}
185
186#theImageAndInfos {
187        display: block;
188        width: 100%;
189        position: relative;
190}
191#theImage {
192        display: inline-block;
193        width: 75%;
194        vertical-align: top;
195        overflow: auto;
196        padding: 10px 0 5px 0;
197}
198
199.rateButtonStarFull                                     { background: url('icon/rating-stars.png') no-repeat -16px center; width:16px;}
200.rateButtonStarEmpty                            { background: url('icon/rating-stars.png') no-repeat 0 center; width:16px;}
201
202
203/* image infos */
204
205#imageInfos {
206        display: inline-block;
207        width: 24.5%;
208        vertical-align: top;
209        padding-top: 35px;
210        padding-bottom: 5px;
211        margin: 10px 0 10px 0.5%;
212        word-wrap:break-word;
213}
214
215#imageInfos .navThumbs                          { width: 250px; height: 130px; margin: auto; padding: 0 5px;}
216#imageInfos .navThumb                           { position: relative; width: 120px; height: 120px; margin: 0; overflow: hidden;}
217#imageInfos #linkPrev                           { float: left;}
218#imageInfos #linkNext                           { float: right;} 
219#imageInfos .thumbHover                                 { position: absolute; width: 100%; height: 100%;}
220#imageInfos .prevThumbHover                     { background: transparent url(icon/none.png) no-repeat center center;}
221#imageInfos .prevThumbHover:hover       { background: transparent url(icon/img_prev.png) no-repeat center center;}
222#imageInfos .nextThumbHover                     { background: transparent url(icon/none.png) no-repeat center center;}
223#imageInfos .nextThumbHover:hover       { background: transparent url(icon/img_next.png) no-repeat center center;}
224
225#imageInfos dl.imageInfoTable           { display: block; padding: 0 15px; margin: 12px auto;}
226#imageInfos .imageInfo                          { display: block; line-height: 16px;}
227#imageInfos .imageInfo dt                               { display: block; font-weight: bold; text-align: left; padding: 0;}
228#imageInfos .imageInfo dd                       { display: block; text-align: left; margin: 0 0 5px 20px;}
229#imageInfos h3                                          { margin: 20px 0 10px;}
230
231
232/* image comments */
233
234#thePicturePage #comments                       { padding: 2px 5px;}
235#thePicturePage #comments h3                    { margin: 10px 0;}
236#thePicturePage #comments form          { margin: 10px 0;}
237#thePicturePage #comments fieldset              { margin: 0 1em;}
238
239.commentshidden #pictureComments                { display: none;}
240.commentContent .comments_toggle        { cursor: pointer;}
241
242#commentAdd, #pictureCommentList        { width: 48%; padding: 0 1%;}
243#commentAdd                                             { float: left; }
244#pictureCommentList                                     { float: right; }
245
246#commentAdd input[type="text"],
247#commentAdd textarea {
248        min-width: 95%;
249        max-width: 95%;
250        width: 95%;
251        font-family: Arial,Helvetica,sans-serif;
252        font-size: 100%;
253}
254
255#pictureCommentList .commentsOrder      { float: left; margin-bottom: 5px;}
256#pictureCommentList .navigationBar      { float: right; margin-bottom: 5px;}
257#pictureComments h4                                     { margin: 0;}
258#pictureComments form p                         { margin: 5px 0;}
259#pictureComments form p textarea                { margin: 10px 0;}
260#pictureComments INPUT                          { margin: 10px;}
261#pictureComments INPUT[type=submit]     { margin: 0;}
262.commentElement .description            { padding: 5px;} 
263
264
265/* calendar */
266
267.calendarViews          { margin-top: 4px;}
268
269/* plugins */
270
271#the_page .content .stuffs              { margin: 0!important}
272.categoryActions .theme_menuf   { display: none;}
Note: See TracBrowser for help on using the repository browser.