[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] | 9 | body { |
---|
[1] | 10 | background: #fff; |
---|
| 11 | margin: 0; |
---|
| 12 | padding: 0; |
---|
| 13 | font-family: verdana,geneva,arial,sans-serif; |
---|
| 14 | color: #000; |
---|
| 15 | } |
---|
| 16 | |
---|
[98] | 17 | a:link, |
---|
| 18 | a:visited { color: #336; text-decoration: underline; } |
---|
| 19 | a:hover { color: #C30; text-decoration: none; } |
---|
| 20 | a: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] | 27 | form { margin: 0; } |
---|
[20] | 28 | |
---|
[98] | 29 | form 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. */ |
---|
| 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 | |
---|
[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 | font-weight: normal; |
---|
| 126 | } |
---|
| 127 | |
---|
[98] | 128 | #leftnav #navlist li a:link, #navlist li a:visited { |
---|
[1] | 129 | color: #336; |
---|
| 130 | } |
---|
| 131 | |
---|
[98] | 132 | #leftnav #navlist li a:hover, #navlist li a:active { |
---|
[1] | 133 | color: #C00; |
---|
| 134 | } |
---|
| 135 | |
---|
| 136 | /*_____________________ CONTENT ____________________*/ |
---|
[98] | 137 | #content { |
---|
[1] | 138 | margin-left: 9em; |
---|
| 139 | border-left: 1px solid gray; |
---|
[295] | 140 | padding: 0.75em 0.5em 2em 0.5em; |
---|
[1] | 141 | background-color: #FFF; |
---|
| 142 | } |
---|
| 143 | |
---|
[270] | 144 | #content h1, #content h2, #content h3, #content h4, #content h5 { |
---|
[1] | 145 | margin: 0 0 .5em 0; |
---|
| 146 | } |
---|
[270] | 147 | #content h1 { font-size: 130%; } |
---|
| 148 | #content h2 { font-size: 110%; } |
---|
| 149 | #content h3 { font-size: 90%; } |
---|
| 150 | #content h4 { font-size: 75%; } |
---|
[1] | 151 | |
---|
[98] | 152 | #content p { |
---|
[1] | 153 | margin: 0 0 .5em 0; |
---|
| 154 | font-size: 70%; |
---|
| 155 | line-height: 130%; |
---|
| 156 | } |
---|
| 157 | |
---|
[98] | 158 | #content li { |
---|
[1] | 159 | margin: 0 0 0 0; |
---|
| 160 | font-size: 70%; |
---|
| 161 | line-height: 100%; |
---|
| 162 | } |
---|
| 163 | |
---|
| 164 | /*_____________________ TABLES ____________________*/ |
---|
| 165 | /* BEAU: I copied this from NEXT. Please help! */ |
---|
[98] | 166 | table { |
---|
[39] | 167 | border-size: 1px; |
---|
[1] | 168 | border-collapse: collapse; |
---|
| 169 | border-spacing: 0; |
---|
| 170 | } |
---|
| 171 | |
---|
[98] | 172 | th { |
---|
[1] | 173 | padding: 2px; |
---|
| 174 | text-align: left; |
---|
| 175 | vertical-align: middle; |
---|
| 176 | white-space: nowrap; |
---|
| 177 | } |
---|
| 178 | |
---|
[98] | 179 | td { |
---|
[1] | 180 | vertical-align: top; |
---|
[254] | 181 | padding: 8px 6px 0 0; |
---|
[1] | 182 | } |
---|
| 183 | |
---|
[98] | 184 | table.list { |
---|
[39] | 185 | border-size: 1px; |
---|
[1] | 186 | width: 100%; |
---|
| 187 | margin: 4px 0; |
---|
| 188 | } |
---|
| 189 | |
---|
[98] | 190 | table.list th { |
---|
[270] | 191 | padding: 0 6px 1px 2px; |
---|
[1] | 192 | font-size: 70%; |
---|
[270] | 193 | border-top: 2px solid #eee; |
---|
| 194 | border-bottom: 2px solid #eee; |
---|
| 195 | background-color: #ddd; |
---|
| 196 | /* border-bottom: 1px solid #000; */ |
---|
[1] | 197 | } |
---|
| 198 | |
---|
[270] | 199 | table.list td, #commandbox table td { |
---|
[1] | 200 | font-size: 70%; |
---|
[270] | 201 | padding: 2px 6px 2px 2px; |
---|
| 202 | border-bottom: 1px dotted #ccc; |
---|
| 203 | vertical-align: top; |
---|
[1] | 204 | } |
---|
| 205 | |
---|
[270] | 206 | table.list tr:hover, #commandbox table tr:hover { |
---|
[254] | 207 | background: #FAF8C7; |
---|
| 208 | } |
---|
| 209 | |
---|
| 210 | |
---|
[1] | 211 | /* BEAU: The old stuff that was here... |
---|
[98] | 212 | #content table { |
---|
[1] | 213 | background-color: #FFF; |
---|
| 214 | } |
---|
| 215 | |
---|
[98] | 216 | #content th { |
---|
[1] | 217 | padding: 2px; |
---|
| 218 | text-align: left; |
---|
| 219 | vertical-align: middle; |
---|
| 220 | white-space: nowrap; |
---|
| 221 | } |
---|
| 222 | |
---|
[98] | 223 | #content td { |
---|
[1] | 224 | vertical-align: top; |
---|
| 225 | } |
---|
| 226 | |
---|
[98] | 227 | #content table.list { |
---|
[1] | 228 | width: 99%; |
---|
| 229 | margin: 4px 0; |
---|
| 230 | background-color: #FFF; |
---|
| 231 | } |
---|
| 232 | |
---|
[98] | 233 | #content table.list th { |
---|
[1] | 234 | padding-right: 6px; |
---|
| 235 | font-size: 70%; |
---|
| 236 | background-color: #CCC; |
---|
| 237 | border-bottom: 1px solid #000; |
---|
| 238 | } |
---|
| 239 | |
---|
[98] | 240 | #content table.list td { |
---|
[1] | 241 | font-size: 70%; |
---|
| 242 | padding: 2px; |
---|
| 243 | border-bottom: 1px dotted #000; |
---|
| 244 | } |
---|
| 245 | */ |
---|
[106] | 246 | |
---|
| 247 | /*_____________________ COMMANDS ____________________*/ |
---|
| 248 | |
---|
| 249 | /* Should this be an ID??? */ |
---|
| 250 | #commandbox |
---|
| 251 | { |
---|
[270] | 252 | padding: 3px 5px 5px 5px; |
---|
| 253 | margin: 0 0 10px 0; |
---|
| 254 | border: 2px solid #eee; |
---|
| 255 | background-color: #ddd; |
---|
[106] | 256 | color: inherit; |
---|
| 257 | } |
---|
| 258 | |
---|
| 259 | .commanditem |
---|
| 260 | { |
---|
[270] | 261 | padding: 0 10px 5px 0; |
---|
[106] | 262 | white-space: nowrap; |
---|
| 263 | } |
---|
| 264 | |
---|
[270] | 265 | #commandbox .form { |
---|
| 266 | margin-top: 8px; |
---|
| 267 | } |
---|
| 268 | |
---|
| 269 | /* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */ |
---|
[106] | 270 | .commandtext |
---|
| 271 | { |
---|
| 272 | padding-right: 1em; |
---|
| 273 | } |
---|
| 274 | |
---|
| 275 | .command_left |
---|
| 276 | { |
---|
| 277 | float: left; |
---|
| 278 | white-space: nowrap; |
---|
| 279 | } |
---|
| 280 | |
---|
| 281 | .command_right |
---|
| 282 | { |
---|
| 283 | position: relative; |
---|
| 284 | visibility: visible; |
---|
| 285 | white-space: nowrap; |
---|
| 286 | float: right; |
---|
| 287 | } |
---|
| 288 | |
---|
| 289 | |
---|
[1] | 290 | /*_____________________ FOOTER ____________________*/ |
---|
[98] | 291 | #footer { |
---|
[1] | 292 | clear: both; |
---|
| 293 | margin: 0; |
---|
| 294 | padding: 6px; |
---|
| 295 | color: #333; |
---|
| 296 | background-color: #DDD; |
---|
| 297 | border-top: 1px solid gray; |
---|
[270] | 298 | font-size: 70%; |
---|
[1] | 299 | line-height: 100%; |
---|
| 300 | } |
---|
| 301 | |
---|
| 302 | #footer a:link, |
---|
[98] | 303 | #footer a:visited { |
---|
[1] | 304 | color: #333; |
---|
| 305 | text-decoration: none; |
---|
| 306 | } |
---|
| 307 | |
---|
| 308 | #footer a:active, |
---|
[98] | 309 | #footer a:hover { |
---|
[1] | 310 | color: #333; |
---|
| 311 | text-decoration: underline; |
---|
[98] | 312 | } |
---|