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

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

feature 2587: theme elegant, new version

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