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