[295] | 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 | background: #fff; |
---|
| 11 | margin: 0; |
---|
| 12 | padding: 0; |
---|
| 13 | font-family: verdana,geneva,arial,sans-serif; |
---|
| 14 | color: #000; |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | a:link, |
---|
| 18 | a:visited { color: #336; text-decoration: underline; } |
---|
| 19 | a:hover { color: #C30; text-decoration: none; } |
---|
| 20 | a:active { color: #336; } |
---|
| 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 | |
---|
| 26 | /* Why does having a form change the presentation of the page? Don't do that. */ |
---|
| 27 | /* form { margin: 0; } |
---|
| 28 | |
---|
| 29 | form label { |
---|
| 30 | font-size: 70%; |
---|
| 31 | max-width: 25em; |
---|
| 32 | font-weight: bold; |
---|
| 33 | } |
---|
| 34 | */ |
---|
| 35 | .help, |
---|
| 36 | .sc-help, |
---|
| 37 | .commandtext, |
---|
| 38 | .commanditem { font-size: 70%; } |
---|
| 39 | |
---|
| 40 | /* For fv err applied to tds. */ |
---|
| 41 | td.sc-msg-warning, |
---|
| 42 | td.sc-msg-error, |
---|
| 43 | td.sc-msg-success, |
---|
| 44 | td.sc-msg-notice { |
---|
| 45 | background: #fff; |
---|
| 46 | color: #f00; |
---|
| 47 | border: none; |
---|
| 48 | } |
---|
| 49 | |
---|
[297] | 50 | img { |
---|
| 51 | border: 0; |
---|
| 52 | vertical-align: middle; |
---|
| 53 | } |
---|
[295] | 54 | |
---|
[323] | 55 | #container-columns { |
---|
| 56 | width: 100%; |
---|
| 57 | } |
---|
| 58 | |
---|
[295] | 59 | /*_____________________ HEADER ____________________*/ |
---|
| 60 | #userinfo { |
---|
| 61 | width: 98%; |
---|
| 62 | margin: 4px auto 2px; |
---|
| 63 | background-color: #fff; |
---|
| 64 | color: #333; |
---|
| 65 | text-align: right; |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | #userinfo p { |
---|
| 69 | margin: 0; |
---|
| 70 | padding: 0; |
---|
| 71 | } |
---|
| 72 | |
---|
| 73 | #container { |
---|
| 74 | width: 98%; |
---|
| 75 | margin: 0 auto 10px; |
---|
[333] | 76 | background-color: #fff; |
---|
[295] | 77 | border: 1px solid gray; |
---|
| 78 | } |
---|
| 79 | |
---|
| 80 | #top { |
---|
| 81 | border-bottom: 1px solid gray; |
---|
| 82 | background-color: #CCC; |
---|
| 83 | padding: .5em; |
---|
| 84 | } |
---|
| 85 | |
---|
| 86 | #top h1 { |
---|
| 87 | margin: 0; |
---|
| 88 | padding: 0; |
---|
| 89 | font-size: 150%; |
---|
| 90 | color: #000; |
---|
| 91 | } |
---|
| 92 | |
---|
| 93 | /*_____________________ NAVIGATION ____________________*/ |
---|
| 94 | #leftnav { |
---|
[323] | 95 | /* float: left; */ |
---|
[295] | 96 | width: 9em; |
---|
[334] | 97 | /* min-width: 9em; */ |
---|
[295] | 98 | margin: 0 0 10px 0; |
---|
| 99 | padding: 0; |
---|
| 100 | background-color: #EEE; |
---|
| 101 | } |
---|
| 102 | |
---|
| 103 | #leftnav ul { |
---|
| 104 | padding: 0; |
---|
| 105 | margin: 0; |
---|
| 106 | } |
---|
| 107 | |
---|
| 108 | #leftnav #navlist li { |
---|
| 109 | list-style: none; |
---|
| 110 | margin: 0; |
---|
| 111 | border-bottom: 1px solid #ccc; |
---|
| 112 | margin-left: 0em; |
---|
| 113 | padding: 1px 0 2px 6px; |
---|
| 114 | font-size: 70%; |
---|
| 115 | font-weight: bold; |
---|
| 116 | } |
---|
| 117 | |
---|
| 118 | #leftnav #navlist li a { |
---|
| 119 | text-decoration: none; |
---|
| 120 | padding: 1px; |
---|
| 121 | } |
---|
| 122 | |
---|
| 123 | #leftnav #navlist li.label { |
---|
| 124 | color: #999; |
---|
| 125 | padding-top: 15px; |
---|
| 126 | font-size: 90%; |
---|
| 127 | font-weight: bold; |
---|
| 128 | } |
---|
| 129 | |
---|
| 130 | #leftnav a.addlink { |
---|
[320] | 131 | margin-left: 0.25em; |
---|
[295] | 132 | font-weight: normal; |
---|
| 133 | } |
---|
| 134 | |
---|
| 135 | #leftnav #navlist li a:link, #navlist li a:visited { |
---|
| 136 | color: #336; |
---|
| 137 | } |
---|
| 138 | |
---|
| 139 | #leftnav #navlist li a:hover, #navlist li a:active { |
---|
| 140 | color: #C00; |
---|
| 141 | } |
---|
| 142 | |
---|
| 143 | /*_____________________ CONTENT ____________________*/ |
---|
[333] | 144 | |
---|
| 145 | #content-table { |
---|
| 146 | width: 100%; |
---|
| 147 | } |
---|
| 148 | |
---|
[295] | 149 | #content { |
---|
[323] | 150 | /* width: 100%; */ |
---|
[295] | 151 | /* margin-left: 1em; */ |
---|
[323] | 152 | /* border-left: 1px solid gray; */ |
---|
[295] | 153 | padding: 0.75em 0.5em 15px 0.75em; |
---|
| 154 | background-color: #FFF; |
---|
| 155 | } |
---|
| 156 | |
---|
| 157 | #content h1, #content h2, #content h3, #content h4, #content h5 { |
---|
| 158 | margin: 0 0 .5em 0; |
---|
| 159 | } |
---|
| 160 | #content h1 { font-size: 130%; } |
---|
| 161 | #content h2 { font-size: 110%; } |
---|
| 162 | #content h3 { font-size: 90%; } |
---|
| 163 | #content h4 { font-size: 75%; } |
---|
| 164 | |
---|
| 165 | #content p { |
---|
| 166 | margin: 0 0 .5em 0; |
---|
| 167 | font-size: 70%; |
---|
| 168 | line-height: 130%; |
---|
| 169 | } |
---|
| 170 | |
---|
| 171 | #content li { |
---|
| 172 | margin: 0 0 0 0; |
---|
| 173 | font-size: 70%; |
---|
| 174 | line-height: 100%; |
---|
| 175 | } |
---|
| 176 | |
---|
| 177 | /*_____________________ TABLES ____________________*/ |
---|
| 178 | /* BEAU: I copied this from NEXT. Please help! */ |
---|
| 179 | table { |
---|
| 180 | border-size: 1px; |
---|
| 181 | border-collapse: collapse; |
---|
| 182 | border-spacing: 0; |
---|
| 183 | } |
---|
| 184 | |
---|
| 185 | th { |
---|
| 186 | padding: 2px; |
---|
| 187 | text-align: left; |
---|
| 188 | vertical-align: middle; |
---|
| 189 | white-space: nowrap; |
---|
| 190 | } |
---|
| 191 | |
---|
| 192 | td { |
---|
| 193 | vertical-align: top; |
---|
| 194 | padding: 8px 6px 0 0; |
---|
| 195 | } |
---|
| 196 | |
---|
| 197 | table.list { |
---|
| 198 | border-size: 1px; |
---|
| 199 | width: 100%; |
---|
| 200 | margin: 4px 0; |
---|
| 201 | } |
---|
| 202 | |
---|
| 203 | table.list th { |
---|
| 204 | padding: 0 6px 1px 2px; |
---|
| 205 | font-size: 70%; |
---|
| 206 | border-top: 2px solid #eee; |
---|
| 207 | border-bottom: 2px solid #eee; |
---|
| 208 | background-color: #ddd; |
---|
| 209 | /* border-bottom: 1px solid #000; */ |
---|
| 210 | } |
---|
| 211 | |
---|
| 212 | table.list td, #commandbox table td { |
---|
| 213 | font-size: 70%; |
---|
| 214 | padding: 2px 6px 2px 2px; |
---|
| 215 | border-bottom: 1px dotted #ccc; |
---|
| 216 | vertical-align: top; |
---|
| 217 | } |
---|
| 218 | |
---|
| 219 | table.list tr:hover, #commandbox table tr:hover { |
---|
| 220 | background: #FAF8C7; |
---|
| 221 | } |
---|
| 222 | |
---|
| 223 | /*_____________________ COMMANDS ____________________*/ |
---|
| 224 | |
---|
| 225 | /* Should this be an ID??? */ |
---|
| 226 | #commandbox |
---|
| 227 | { |
---|
| 228 | padding: 3px 5px 5px 5px; |
---|
| 229 | margin: 0 0 10px 0; |
---|
| 230 | border: 2px solid #eee; |
---|
| 231 | background-color: #ddd; |
---|
| 232 | color: inherit; |
---|
| 233 | } |
---|
| 234 | |
---|
| 235 | .commanditem |
---|
| 236 | { |
---|
| 237 | padding: 0 10px 5px 0; |
---|
| 238 | white-space: nowrap; |
---|
| 239 | } |
---|
| 240 | |
---|
| 241 | #commandbox form { |
---|
| 242 | margin: 8px 0 0 0; |
---|
| 243 | } |
---|
| 244 | |
---|
| 245 | /* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */ |
---|
| 246 | .commandtext |
---|
| 247 | { |
---|
| 248 | padding-right: 1em; |
---|
| 249 | } |
---|
| 250 | |
---|
| 251 | .command_left |
---|
| 252 | { |
---|
| 253 | float: left; |
---|
| 254 | white-space: nowrap; |
---|
| 255 | } |
---|
| 256 | |
---|
| 257 | .command_right |
---|
| 258 | { |
---|
| 259 | position: relative; |
---|
| 260 | visibility: visible; |
---|
| 261 | white-space: nowrap; |
---|
| 262 | float: right; |
---|
| 263 | } |
---|
| 264 | |
---|
| 265 | |
---|
| 266 | /*_____________________ FOOTER ____________________*/ |
---|
| 267 | #footer { |
---|
| 268 | clear: both; |
---|
| 269 | margin: 0; |
---|
| 270 | padding: 6px; |
---|
| 271 | color: #333; |
---|
| 272 | background-color: #DDD; |
---|
| 273 | border-top: 1px solid gray; |
---|
| 274 | font-size: 70%; |
---|
| 275 | line-height: 100%; |
---|
| 276 | } |
---|
| 277 | |
---|
| 278 | #footer a:link, |
---|
| 279 | #footer a:visited { |
---|
| 280 | color: #333; |
---|
| 281 | text-decoration: none; |
---|
| 282 | } |
---|
| 283 | |
---|
| 284 | #footer a:active, |
---|
| 285 | #footer a:hover { |
---|
| 286 | color: #333; |
---|
| 287 | text-decoration: underline; |
---|
| 288 | } |
---|
| 289 | |
---|
| 290 | /* Form Defaults ---------------------------------------------------- */ |
---|
| 291 | |
---|
| 292 | .sc-form { |
---|
| 293 | width: 100%; |
---|
| 294 | margin: 1em 0; |
---|
| 295 | } |
---|
| 296 | |
---|
| 297 | .sc-form-row { |
---|
[320] | 298 | margin: .5em 0; |
---|
[295] | 299 | } |
---|
| 300 | .sc-form-row:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0; } /* clear floats - Ydnar Hack */ |
---|
| 301 | |
---|
| 302 | fieldset { |
---|
| 303 | margin: 1em 0 0 0; |
---|
| 304 | padding: 0; |
---|
| 305 | border: 0; |
---|
| 306 | } |
---|
| 307 | |
---|
| 308 | legend { |
---|
| 309 | font-size: 90%; |
---|
| 310 | font-weight: bold; |
---|
| 311 | padding: 0; |
---|
| 312 | margin: 0; |
---|
| 313 | } |
---|
| 314 | |
---|
| 315 | .sc-form textarea, |
---|
| 316 | .sc-tiny, |
---|
| 317 | .sc-small, |
---|
| 318 | .sc-medium, |
---|
| 319 | .sc-large, |
---|
| 320 | .sc-full, |
---|
| 321 | #sc-captcha-input, |
---|
| 322 | input[type="text"], |
---|
| 323 | input[type="password"], |
---|
| 324 | textarea, |
---|
| 325 | select { |
---|
| 326 | border: 1px solid #ccc; |
---|
| 327 | padding: 2px; |
---|
| 328 | } |
---|
| 329 | label.sc-full { |
---|
| 330 | border: none; |
---|
| 331 | } |
---|
| 332 | |
---|
| 333 | textarea { |
---|
| 334 | padding: 0 2px; |
---|
| 335 | } |
---|
| 336 | |
---|
| 337 | .sc-form-row label { |
---|
| 338 | font-size: 70%; |
---|
[320] | 339 | padding-top: 0.25em; |
---|
[295] | 340 | } |
---|
| 341 | |
---|
[335] | 342 | .sc-form-row label { /* Modified by Matt. Was .sc-form-row>label:first-child */ |
---|
[295] | 343 | display: block; |
---|
| 344 | width: 120px; |
---|
| 345 | float: left; |
---|
| 346 | text-align: right; |
---|
| 347 | padding-right: 10px; |
---|
| 348 | font-style: italic; |
---|
| 349 | } |
---|
| 350 | |
---|
[350] | 351 | .sc-form-row label.sc-label-secondary { |
---|
| 352 | display: inline; |
---|
| 353 | width: auto; |
---|
| 354 | float: none; |
---|
| 355 | text-align: left; |
---|
| 356 | padding-right: 10px; |
---|
| 357 | font-style: normal; |
---|
| 358 | } |
---|
| 359 | |
---|
[295] | 360 | .sc-form label span { |
---|
| 361 | visibility: hidden; |
---|
| 362 | } |
---|
| 363 | |
---|
| 364 | .sc-form input { |
---|
| 365 | padding: 2px; |
---|
| 366 | } |
---|
| 367 | |
---|
| 368 | input[type="submit"], |
---|
| 369 | input[type="button"] { |
---|
| 370 | margin-right: 5px; |
---|
[320] | 371 | padding: 0.4em 0.6em; |
---|
[295] | 372 | border: 1px solid #ccc; |
---|
[320] | 373 | background-color: #eee; |
---|
[295] | 374 | } |
---|
| 375 | |
---|
| 376 | .sc-submit-buttons { |
---|
[320] | 377 | margin: 20px 0 20px 130px; |
---|
[295] | 378 | } |
---|
| 379 | .sc-form-row .sc-help { |
---|
| 380 | margin-left: 130px; |
---|
| 381 | } |
---|
| 382 | |
---|
| 383 | input.sc-medium, |
---|
| 384 | textarea.sc-medium, |
---|
| 385 | select.sc-medium, |
---|
| 386 | label.sc-medium { |
---|
| 387 | width: 21.25em; |
---|
| 388 | } |
---|
| 389 | |
---|
| 390 | label.sc-radio-label { |
---|
| 391 | width: auto; |
---|
| 392 | /* padding-right: 0; |
---|
| 393 | padding-top: 0; |
---|
| 394 | font-style: normal; |
---|
| 395 | */} |
---|