[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 ____________________*/ |
---|
| 9 | body |
---|
| 10 | { |
---|
| 11 | background: #fff; |
---|
| 12 | margin: 0; |
---|
| 13 | padding: 0; |
---|
| 14 | font-family: verdana,geneva,arial,sans-serif; |
---|
| 15 | color: #000; |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | a:link |
---|
| 19 | { |
---|
| 20 | color: #336; |
---|
| 21 | text-decoration: underline; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | a:visited |
---|
| 25 | { |
---|
| 26 | color: #336; |
---|
| 27 | text-decoration: underline; |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | a:hover |
---|
| 31 | { |
---|
| 32 | color: #C30; |
---|
| 33 | text-decoration: none; |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | a:active |
---|
| 37 | { |
---|
| 38 | color: #336; |
---|
| 39 | text-decoration: none; |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | /*_____________________ MISC ____________________*/ |
---|
| 43 | |
---|
| 44 | /* 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? */ |
---|
| 45 | |
---|
[308] | 46 | form label, |
---|
| 47 | form legend |
---|
[1] | 48 | { |
---|
| 49 | font-size: 70%; |
---|
| 50 | max-width: 20em; |
---|
| 51 | /* BEAU: I added class="right" to the <TD> to make them align right as they were before. Do you know a better way? */ |
---|
| 52 | /*float: right;*/ |
---|
| 53 | } |
---|
[308] | 54 | form fieldset |
---|
| 55 | { |
---|
| 56 | border: 1px solid #ddd; |
---|
| 57 | margin: 0; |
---|
| 58 | padding: 0.5em 0 0.5em 0.5em; |
---|
| 59 | } |
---|
[289] | 60 | form .formtext label |
---|
| 61 | { |
---|
| 62 | font-size: 100%; |
---|
| 63 | font-weight: normal; |
---|
| 64 | padding: 0; |
---|
| 65 | } |
---|
[1] | 66 | |
---|
[386] | 67 | form>table>tbody>tr>td { |
---|
[77] | 68 | padding-top: 0.5em; |
---|
| 69 | } |
---|
| 70 | |
---|
[1] | 71 | .help |
---|
| 72 | { |
---|
| 73 | font-size: 70%; |
---|
| 74 | } |
---|
| 75 | |
---|
| 76 | .commandtext |
---|
| 77 | { |
---|
| 78 | font-size: 70%; |
---|
| 79 | } |
---|
| 80 | |
---|
[387] | 81 | .sc-list-token { |
---|
| 82 | color: #fff; |
---|
| 83 | background-color: #ccc; |
---|
| 84 | margin-top: 2px; |
---|
| 85 | margin-bottom: 2px; |
---|
| 86 | padding: 2px; |
---|
| 87 | border-radius: 5px; |
---|
| 88 | -webkit-border-radius: 5px; |
---|
| 89 | -moz-border-radius: 5px; |
---|
[388] | 90 | font-size: 8px; |
---|
[387] | 91 | } |
---|
[1] | 92 | |
---|
| 93 | /*_____________________ HEADER ____________________*/ |
---|
| 94 | #userinfo |
---|
| 95 | { |
---|
| 96 | width: 98%; |
---|
| 97 | margin: 10px auto 2px; |
---|
| 98 | color: #333; |
---|
| 99 | text-align: right; |
---|
| 100 | } |
---|
| 101 | |
---|
| 102 | #userinfo p |
---|
| 103 | { |
---|
| 104 | margin: 0; |
---|
| 105 | padding: 0; |
---|
| 106 | font-size: 60%; |
---|
| 107 | } |
---|
| 108 | |
---|
| 109 | #container |
---|
| 110 | { |
---|
| 111 | width: 98%; |
---|
| 112 | margin: 0 auto 10px; |
---|
| 113 | background-color: #EEE; |
---|
| 114 | border: 1px solid gray; |
---|
| 115 | } |
---|
| 116 | |
---|
| 117 | #top |
---|
| 118 | { |
---|
| 119 | border-bottom: 1px solid gray; |
---|
| 120 | background-color: #CCC; |
---|
| 121 | padding: .5em; |
---|
| 122 | } |
---|
| 123 | |
---|
| 124 | #top h1 |
---|
| 125 | { |
---|
| 126 | margin: 0; |
---|
| 127 | padding: 0; |
---|
| 128 | font-size: 120%; |
---|
| 129 | color: #000; |
---|
| 130 | } |
---|
| 131 | |
---|
| 132 | /*_____________________ NAVIGATION ____________________*/ |
---|
[310] | 133 | #leftnav { |
---|
[1] | 134 | float: left; |
---|
| 135 | width: 9em; |
---|
[310] | 136 | margin: 0 0 10px 0; |
---|
| 137 | /* border-right: 1px solid gray; */ |
---|
[1] | 138 | padding: 0; |
---|
| 139 | background-color: #EEE; |
---|
| 140 | } |
---|
| 141 | |
---|
[310] | 142 | #leftnav ul { |
---|
[1] | 143 | padding: 0; |
---|
| 144 | margin: 0; |
---|
| 145 | width: 9em; |
---|
| 146 | } |
---|
| 147 | |
---|
[310] | 148 | #leftnav #navlist li { |
---|
[1] | 149 | list-style: none; |
---|
| 150 | margin: 0; |
---|
[310] | 151 | border-bottom: 1px solid #ccc; |
---|
[1] | 152 | margin-left: 0em; |
---|
| 153 | padding: 1px 0 2px 6px; |
---|
[310] | 154 | font-size: 70%; |
---|
| 155 | font-weight: bold; |
---|
[1] | 156 | } |
---|
| 157 | |
---|
[310] | 158 | #leftnav #navlist li a { |
---|
[1] | 159 | text-decoration: none; |
---|
| 160 | padding: 1px; |
---|
| 161 | } |
---|
| 162 | |
---|
[310] | 163 | #leftnav #navlist li.label { |
---|
| 164 | color: #999; |
---|
| 165 | padding-top: 15px; |
---|
| 166 | font-size: 90%; |
---|
| 167 | font-weight: bold; |
---|
| 168 | } |
---|
| 169 | |
---|
| 170 | #leftnav a.addlink { |
---|
| 171 | margin-left: 0.5em; |
---|
| 172 | font-weight: normal; |
---|
| 173 | } |
---|
| 174 | |
---|
| 175 | #leftnav #navlist li a:link, #navlist li a:visited { |
---|
[1] | 176 | color: #336; |
---|
| 177 | } |
---|
| 178 | |
---|
[310] | 179 | #leftnav #navlist li a:hover, #navlist li a:active { |
---|
[1] | 180 | color: #C00; |
---|
| 181 | } |
---|
| 182 | |
---|
| 183 | /*_____________________ CONTENT ____________________*/ |
---|
| 184 | #content |
---|
| 185 | { |
---|
| 186 | margin-left: 9em; |
---|
| 187 | border-left: 1px solid gray; |
---|
[284] | 188 | padding: 1px 10px 20px 10px; |
---|
[1] | 189 | background-color: #FFF; |
---|
| 190 | } |
---|
| 191 | |
---|
| 192 | #content h2 |
---|
| 193 | { |
---|
| 194 | font-size: 100%; |
---|
[284] | 195 | margin: 1.5em 0 .5em 0; |
---|
[1] | 196 | } |
---|
| 197 | |
---|
| 198 | #content h3 |
---|
| 199 | { |
---|
| 200 | font-size: 85%; |
---|
[284] | 201 | margin: 1em 0 .5em 0; |
---|
[1] | 202 | } |
---|
| 203 | |
---|
| 204 | #content h4 |
---|
| 205 | { |
---|
| 206 | font-size: 70%; |
---|
[284] | 207 | margin: .5em 0 .5em 0; |
---|
[1] | 208 | } |
---|
| 209 | |
---|
| 210 | #content p |
---|
| 211 | { |
---|
| 212 | margin: 0 0 .5em 0; |
---|
| 213 | font-size: 70%; |
---|
| 214 | /* max-width: 36em; */ |
---|
| 215 | line-height: 130%; |
---|
| 216 | } |
---|
| 217 | |
---|
| 218 | #content li |
---|
| 219 | { |
---|
| 220 | margin: 0 0 0 0; |
---|
| 221 | font-size: 70%; |
---|
| 222 | /* max-width: 36em; */ |
---|
| 223 | line-height: 100%; |
---|
| 224 | } |
---|
| 225 | |
---|
| 226 | /*_____________________ TABLES ____________________*/ |
---|
| 227 | /* BEAU: I copied this from NEXT. Please help! */ |
---|
| 228 | table |
---|
| 229 | { |
---|
| 230 | border: 1; |
---|
| 231 | border-collapse: collapse; |
---|
| 232 | border-spacing: 0; |
---|
| 233 | } |
---|
| 234 | |
---|
| 235 | th |
---|
| 236 | { |
---|
| 237 | padding: 2px; |
---|
| 238 | text-align: left; |
---|
| 239 | vertical-align: middle; |
---|
| 240 | white-space: nowrap; |
---|
| 241 | } |
---|
| 242 | |
---|
| 243 | td |
---|
| 244 | { |
---|
| 245 | vertical-align: top; |
---|
| 246 | padding-right: 6px; |
---|
| 247 | } |
---|
| 248 | |
---|
| 249 | table.list |
---|
| 250 | { |
---|
| 251 | border: 1; |
---|
| 252 | width: 100%; |
---|
| 253 | margin: 4px 0; |
---|
| 254 | } |
---|
| 255 | |
---|
| 256 | table.list th |
---|
| 257 | { |
---|
| 258 | padding-right: 6px; |
---|
| 259 | font-size: 70%; |
---|
| 260 | background-color: #CCC; |
---|
| 261 | border-bottom: 1px solid #000; |
---|
| 262 | } |
---|
| 263 | |
---|
| 264 | table.list td |
---|
| 265 | { |
---|
| 266 | font-size: 70%; |
---|
[289] | 267 | padding: 2px 6px 2px 2px; |
---|
[1] | 268 | border-bottom: 1px dotted #000; |
---|
| 269 | } |
---|
| 270 | |
---|
| 271 | /*_____________________ FOOTER ____________________*/ |
---|
| 272 | #footer |
---|
| 273 | { |
---|
| 274 | clear: both; |
---|
| 275 | margin: 0; |
---|
| 276 | padding: 6px; |
---|
| 277 | color: #333; |
---|
| 278 | background-color: #DDD; |
---|
| 279 | border-top: 1px solid gray; |
---|
| 280 | font-size: 60%; |
---|
| 281 | line-height: 100%; |
---|
| 282 | } |
---|
| 283 | |
---|
| 284 | #footer a:link, |
---|
| 285 | #footer a:visited |
---|
| 286 | { |
---|
| 287 | color: #333; |
---|
| 288 | text-decoration: none; |
---|
| 289 | } |
---|
| 290 | |
---|
| 291 | #footer a:active, |
---|
| 292 | #footer a:hover |
---|
| 293 | { |
---|
| 294 | color: #333; |
---|
| 295 | text-decoration: underline; |
---|
[387] | 296 | } |
---|