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

Last change on this file since 270 was 270, checked in by quinn, 17 years ago

Updated admin css, tweaked services html.

File size: 5.6 KB
RevLine 
[1]1/**
2 * admin.css
3 * code by strangecode :: www.strangecode.com :: this document contains copyrighted information
4 *
5 * CSS for the Strangecode administration sites.
6 */
7
8/*_____________________ GLOBAL ____________________*/
[98]9body {
[1]10    background: #fff;
11    margin: 0;
12    padding: 0;
13    font-family: verdana,geneva,arial,sans-serif;
14    color: #000;
15}
16
[98]17a:link,
18a:visited { color: #336; text-decoration: underline; }
19a:hover   { color: #C30; text-decoration: none; }
20a:active  { color: #336; }
[1]21
22/*_____________________ MISC ____________________*/
23
24/* 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? */
25
[20]26/* Why does having a form change the presentation of the page? Don't do that. */
[98]27form { margin: 0; }
[20]28
[98]29form label {
[1]30    font-size: 70%;
[20]31    max-width: 25em;
[28]32    font-weight: bold;
[1]33}
34
[98]35.help,
[254]36.sc-help,
[270]37.commandtext,
38.commanditem { font-size: 70%; }
[1]39
[267]40/* For fv err applied to tds. */
41td.sc-msg-warning,
42td.sc-msg-error,
43td.sc-msg-success,
44td.sc-msg-notice {
45    background: #fff;
46    color: #f00;
47    border: none;
48}
49
50
[1]51/*_____________________ HEADER ____________________*/
[98]52#userinfo {
[1]53    width: 98%;
[270]54    margin: 4px auto 2px;
[1]55    background-color: #fff;
56    color: #333;
57    text-align: right;
58}
59
[98]60#userinfo p {
[1]61    margin: 0;
62    padding: 0;
63}
64
[98]65#container {
[1]66    width: 98%;
67    margin: 0 auto 10px;
68    background-color: #EEE;
69    border: 1px solid gray;
70}
71
[98]72#top {
[1]73    border-bottom: 1px solid gray;
74    background-color: #CCC;
75    padding: .5em;
76}
77
[98]78#top h1 {
[1]79    margin: 0;
80    padding: 0;
[270]81    font-size: 150%;
[1]82    color: #000;
83}
84
85/*_____________________ NAVIGATION ____________________*/
[98]86#leftnav {
[1]87    float: left;
88    width: 9em;
[21]89    margin: 0 0 10px 0;
[1]90    border-right: 1px solid gray;
91    padding: 0;
92    background-color: #EEE;
93}
94
[98]95#leftnav ul {
[1]96    padding: 0;
97    margin: 0;
98    width: 9em;
99}
100
[98]101#leftnav #navlist li {
[1]102    list-style: none;
103    margin: 0;
[270]104    border-bottom: 1px solid #ccc;
[1]105    margin-left: 0em;
106    padding: 1px 0 2px 6px;
[270]107    font-size: 70%;
108    font-weight: bold;
[1]109}
110
[98]111#leftnav #navlist li a {
[1]112    text-decoration: none;
113    padding: 1px;
114}
115
[98]116#leftnav #navlist li.label {
[21]117    color: #999;
[270]118    padding-top: 15px;
119    font-size: 90%;
120    font-weight: bold;
[21]121}
122
[270]123#leftnav a.addlink {
124    margin-left: 0.5em;
125    letter-spacing: -0.1em;
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;
141    padding: 0.75em 0.5em;
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.