]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/sidebar.css
Fixed the bug of the varying editdate position in different browsers, other positioni...
[SourceForge/phpwiki.git] / themes / Sidebar / sidebar.css
1 /**
2  * $Id: sidebar.css,v 1.12 2002-02-14 06:21:41 carstenklapp Exp $
3  *
4  * This incarnation of this stylesheet is a complete rewrite from the
5  * ground up.
6  * 
7  * It renders excellent with Mozilla and very good with IE5.1Mac.
8  * 
9  * No floats are used, for older versions of ie (which apparently hang).
10  *
11  * OmniWeb is totally useless with this stylesheet.
12  * This also has not yet been tested against NS4.
13  * 
14  */
15 @import url("../../phpwiki.css");
16
17
18 /**
19  * General settings
20  */
21 body {
22   margin-top: 6ex; /* area under fixed h1 */
23   margin-left: 13em;
24   padding-bottom: 4ex; /* area under fixed #actionbar (editdate) */ 
25 }
26
27 div.wikitext {
28   margin-left: 0.5em;
29   /* "paper" borders */
30   border-top:  1px solid #e8e6df;
31   border-left: 1px solid #e8e6df;
32   border-bottom: 1px solid #b2b2b2;
33   border-right:  1px solid #b2b2b2;
34 }
35
36 /** some border colors
37  ** to play with
38   #d3d2c8;
39   #e8e6df;
40   #6d6a5c;
41   #b3ae97;
42  **/
43
44 div#logo img {
45   position: fixed;
46   left: 1em;
47   top:  1.5ex;
48 }
49
50 h1 {
51   position: fixed;
52   top:  0;
53   background: ivory;
54   padding-top: 0.5ex;
55   padding-bottom: 0.5ex;
56   padding-left: 0.25em;
57   width: 100%;
58   border-bottom: 2px solid black;
59 }
60
61 h1 a.backlinks { text-decoration: none; }
62
63
64 /**
65  * Common toolbar settings
66  * Note that div.toolbar is used for other toolbars besides
67  * #navbar and #actionbar, such as in editpage and removepage
68  */
69 #navbar hr, #actionbar hr { display: none; }
70
71 #navbuttons, #actionbuttons, #signin { line-height: 2.4ex; }
72
73 /* Make the buttons as wide as the containing box */
74 a.wikiaction, a.wikiadmin {
75   display: block;
76   margin-bottom: -2ex;
77   line-height: 100%;
78   text-align: center;
79   /* ie5.1mac ignores this! */
80 *  width: 9.25em;*/
81   max-width: 9.25em;
82 }
83
84 #navbuttons, #actionbuttons, #signin {
85   color: black;
86   background: white;
87   text-align: left;
88   position: fixed;
89   left:   0.5em;
90
91   /* ie5.1 ignores max-width and sets the box
92      width to the width of the whole page.
93      ARGH! The buttons look so much better
94      with max-width instead of width... */
95   width: 10.5em;
96   max-width: 10.5em;
97
98   padding-left: 0.5em;
99   padding-right: 0.5em;
100   padding-top: 0.5ex;
101   /* This hack provides enough room for the
102      last actionbutton. Unfortunately when 
103      the last line isn't an actionbutton
104      (like PhpWikiAdministration)
105      this creates an extra blank line. */
106   padding-bottom: 2.5ex;
107
108   border-top:  1px solid #e8e6df;
109   border-left: 1px solid #e8e6df;
110   border-bottom: 1px solid #d3d2c8;
111   border-right:  1px solid #e8e6df;
112 }
113 #navbuttons input { margin-bottom: 0.5ex; }
114
115
116 /**
117  * Navigation links
118  */
119 div#navbuttons:before {
120   /* bonus for css2 browsers */
121   display: block;
122   content: "PhpWiki Navigation"; /* localise with dynamic css? */
123   border-bottom: 2px solid black;
124 }
125 #navbuttons { top: 10ex; }
126
127
128 /**
129  * Action links
130  */
131 div#actionbuttons:before {
132   /* bonus for css2 browsers */
133   display: block;
134   content: "Actions"; /* localise with dynamic css? */
135 }
136 div#actionbuttons { bottom: 11ex; }
137
138
139 /**
140  * Sign In
141  */
142 div#signin { bottom: 1ex; }
143
144
145 /**
146  * Last edited
147  *
148  * Really the only thing left in in #actionbar
149    at this point is the date, everything else
150    has been plucked out. */
151 p.editdate {
152   background: white;
153   padding: 0.25ex 0.5em;
154   border-top:  1px solid #e8e6df;
155   border-left: 1px solid #e8e6df;
156   border-bottom: 1px solid #d3d2c8;
157   border-right:  1px solid #e8e6df;
158
159   margin-left:  0.5em;
160   margin-right: 1em;
161   margin-top:   0.5ex;
162   margin-bottom: 0.5ex;
163 }
164
165 div#actionbar {
166   color: black;
167   background: ivory;
168   border-top: 1px solid #b2b2b2;
169   width: auto;
170   position: fixed;
171   left:  13em;
172   bottom: 0;
173   margin: 0;
174 }
175
176
177 /**
178  * Other
179  */
180 .debug {
181   position: fixed;
182   left: 0.5em;
183   top: 38ex;
184   width: 12em;
185   max-width: 12em; /* ie ignores this */
186 }
187
188 /*
189 */
190 div#xhtml-validator { display: none; }
191
192 div#xhtml-validator {
193   position: fixed;
194   right: 0.75em;
195   top: 1ex;
196 }
197
198
199 /* For emacs users
200  *
201  * Local Variables:
202  * mode: c
203  * c-file-style: cc-mode
204  * End:
205  */