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

Last change on this file since 154 was 106, checked in by scdev, 18 years ago

Q - Updated codebase css

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