source: trunk/css/admin.inc.css @ 365

Last change on this file since 365 was 365, checked in by quinn, 14 years ago
File size: 5.5 KB
RevLine 
[1]1/**
2 * admin.css
3 *
4 * CSS for the Strangecode administration sites.
5 */
6
7/*_____________________ GLOBAL ____________________*/
[98]8body {
[1]9    background: #fff;
10    margin: 0;
11    padding: 0;
12    font-family: verdana,geneva,arial,sans-serif;
13    color: #000;
14}
15
[98]16a:link,
17a:visited { color: #336; text-decoration: underline; }
18a:hover   { color: #C30; text-decoration: none; }
19a:active  { color: #336; }
[1]20
[365]21pre { margin: 0; }
22
[1]23/*_____________________ MISC ____________________*/
24
25/* The following are here in addition to in utilities.inc.css only because I want the font size 70%. Is there a more general way to do this? There currently are NO font-size specifications in utilities.inc.css or codebase.inc.css. That seems safest, but requires that they are redefined anyways (like here for eg). Have you figured out how to do font sizes correctly? */
26
[20]27/* Why does having a form change the presentation of the page? Don't do that. */
[98]28form { margin: 0; }
[20]29
[98]30form label {
[1]31    font-size: 70%;
[20]32    max-width: 25em;
[28]33    font-weight: bold;
[1]34}
35
[98]36.help,
[254]37.sc-help,
[270]38.commandtext,
39.commanditem { font-size: 70%; }
[1]40
[267]41/* For fv err applied to tds. */
42td.sc-msg-warning,
43td.sc-msg-error,
44td.sc-msg-success,
45td.sc-msg-notice {
46    background: #fff;
47    color: #f00;
48    border: none;
49}
50
51
[1]52/*_____________________ HEADER ____________________*/
[98]53#userinfo {
[1]54    width: 98%;
[270]55    margin: 4px auto 2px;
[1]56    background-color: #fff;
57    color: #333;
58    text-align: right;
59}
60
[98]61#userinfo p {
[1]62    margin: 0;
63    padding: 0;
64}
65
[98]66#container {
[1]67    width: 98%;
68    margin: 0 auto 10px;
69    background-color: #EEE;
70    border: 1px solid gray;
71}
72
[98]73#top {
[1]74    border-bottom: 1px solid gray;
75    background-color: #CCC;
76    padding: .5em;
77}
78
[98]79#top h1 {
[1]80    margin: 0;
81    padding: 0;
[270]82    font-size: 150%;
[1]83    color: #000;
84}
85
86/*_____________________ NAVIGATION ____________________*/
[98]87#leftnav {
[1]88    float: left;
89    width: 9em;
[21]90    margin: 0 0 10px 0;
[1]91    border-right: 1px solid gray;
92    padding: 0;
93    background-color: #EEE;
94}
95
[98]96#leftnav ul {
[1]97    padding: 0;
98    margin: 0;
99    width: 9em;
100}
101
[98]102#leftnav #navlist li {
[1]103    list-style: none;
104    margin: 0;
[270]105    border-bottom: 1px solid #ccc;
[1]106    margin-left: 0em;
107    padding: 1px 0 2px 6px;
[270]108    font-size: 70%;
109    font-weight: bold;
[1]110}
111
[98]112#leftnav #navlist li a {
[1]113    text-decoration: none;
114    padding: 1px;
115}
116
[98]117#leftnav #navlist li.label {
[21]118    color: #999;
[270]119    padding-top: 15px;
120    font-size: 90%;
121    font-weight: bold;
[21]122}
123
[270]124#leftnav a.addlink {
125    margin-left: 0.5em;
126    font-weight: normal;
127}
128
[98]129#leftnav #navlist li a:link, #navlist li a:visited {
[1]130    color: #336;
131}
132
[98]133#leftnav #navlist li a:hover, #navlist li a:active {
[1]134    color: #C00;
135}
136
137/*_____________________ CONTENT ____________________*/
[98]138#content {
[1]139    margin-left: 9em;
140    border-left: 1px solid gray;
[295]141    padding: 0.75em 0.5em 2em 0.5em;
[1]142    background-color: #FFF;
143}
144
[270]145#content h1, #content h2, #content h3, #content h4, #content h5 {
[1]146    margin: 0 0 .5em 0;
147}
[270]148#content h1 { font-size: 130%; }
149#content h2 { font-size: 110%; }
150#content h3 { font-size: 90%; }
151#content h4 { font-size: 75%; }
[1]152
[98]153#content p {
[1]154    margin: 0 0 .5em 0;
155    font-size: 70%;
156    line-height: 130%;
157}
158
[98]159#content li {
[1]160    margin: 0 0 0 0;
161    font-size: 70%;
162    line-height: 100%;
163}
164
165/*_____________________ TABLES ____________________*/
166/* BEAU: I copied this from NEXT. Please help! */
[98]167table {
[39]168    border-size: 1px;
[1]169    border-collapse: collapse;
170    border-spacing: 0;
171}
172
[98]173th {
[1]174    padding: 2px;
175    text-align: left;
176    vertical-align: middle;
177    white-space: nowrap;
178}
179
[98]180td {
[1]181    vertical-align: top;
[254]182    padding: 8px 6px 0 0;
[1]183}
184
[98]185table.list {
[39]186    border-size: 1px;
[1]187    width: 100%;
188    margin: 4px 0;
189}
190
[98]191table.list th {
[270]192    padding: 0 6px 1px 2px;
[1]193    font-size: 70%;
[270]194    border-top: 2px solid #eee;
195    border-bottom: 2px solid #eee;
196    background-color: #ddd;
197/*  border-bottom: 1px solid #000; */
[1]198}
199
[270]200table.list td, #commandbox table td {
[1]201    font-size: 70%;
[270]202    padding: 2px 6px 2px 2px;
203    border-bottom: 1px dotted #ccc;
204    vertical-align: top;
[1]205}
206
[270]207table.list tr:hover, #commandbox table tr:hover {
[254]208    background: #FAF8C7;
209}
210
211
[1]212/* BEAU: The old stuff that was here...
[98]213#content table {
[1]214         background-color: #FFF;
215}
216
[98]217#content th {
[1]218    padding: 2px;
219    text-align: left;
220    vertical-align: middle;
221    white-space: nowrap;
222}
223
[98]224#content td {
[1]225    vertical-align: top;
226}
227
[98]228#content table.list {
[1]229    width: 99%;
230    margin: 4px 0;
231    background-color: #FFF;
232}
233
[98]234#content table.list th {
[1]235    padding-right: 6px;
236    font-size: 70%;
237    background-color: #CCC;
238    border-bottom: 1px solid #000;
239}
240
[98]241#content table.list td {
[1]242    font-size: 70%;
243    padding: 2px;
244    border-bottom: 1px dotted #000;
245}
246*/
[106]247
248/*_____________________ COMMANDS ____________________*/
249
250/* Should this be an ID??? */
251#commandbox
252{
[270]253    padding: 3px 5px 5px 5px;
254    margin: 0 0 10px 0;
255    border: 2px solid #eee;
256    background-color: #ddd;
[106]257    color: inherit;
258}
259
260.commanditem
261{
[270]262    padding: 0 10px 5px 0;
[106]263    white-space: nowrap;
264}
265
[270]266#commandbox .form {
267    margin-top: 8px;
268}
269
270/* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */
[106]271.commandtext
272{
273    padding-right: 1em;
274}
275
276.command_left
277{
278    float: left;
279    white-space: nowrap;
280}
281
282.command_right
283{
284    position: relative;
285    visibility: visible;
286    white-space: nowrap;
287    float: right;
288}
289
290
[1]291/*_____________________ FOOTER ____________________*/
[98]292#footer {
[1]293    clear: both;
294    margin: 0;
295    padding: 6px;
296    color: #333;
297    background-color: #DDD;
298    border-top: 1px solid gray;
[270]299    font-size: 70%;
[1]300    line-height: 100%;
301}
302
303#footer a:link, 
[98]304#footer a:visited {
[1]305    color: #333;
306    text-decoration: none;
307}
308
309#footer a:active, 
[98]310#footer a:hover {
[1]311    color: #333;
312    text-decoration: underline;
[98]313}
Note: See TracBrowser for help on using the repository browser.