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

Last change on this file since 362 was 362, checked in by quinn, 15 years ago

Added a GPL license info header to all source files. Updated license to GPL v3.

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