Changeset 741 for trunk/css/admin2.inc.css
- Timestamp:
- Dec 29, 2020 3:18:44 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/css/admin2.inc.css
r731 r741 1 /** 2 * admin2.inc.css 3 * 4 * CSS for the Strangecode administration sites. 5 */ 1 /* 2 * admin2.inc.css 3 */ 6 4 7 /*_____________________ GLOBAL ____________________*/ 5 /* 6 GLOBAL 7 */ 8 8 body { 9 9 background: #fff; … … 13 13 color: #000; 14 14 } 15 16 15 a:link, 17 16 a:visited { color: #227899; text-decoration: none; border: none; } 18 17 a:hover { color: #000; text-decoration: none; border: none; } 19 18 a:active { color: #00b8ff; text-decoration: none; border: none; } 20 21 19 pre { margin: 0; } 22 23 /*_____________________ MISC ____________________*/ 24 25 /* 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? */ 26 27 /* Why does having a form change the presentation of the page? Don't do that. */ 28 /* form { margin: 0; } 29 30 form label { 31 font-size: 70%; 32 max-width: 25em; 33 font-weight: bold; 34 } 35 */ 20 /* 21 MISC 22 */ 36 23 .help, 37 24 .sc-help, 38 25 .commandtext, 39 26 .commanditem { font-size: 0.7rem; } 40 41 27 /* For fv err applied to tds. */ 42 28 td.sc-msg-warning, … … 48 34 border: none; 49 35 } 50 51 36 img { 52 37 border: 0; 53 38 vertical-align: middle; 54 39 } 55 56 40 #container-columns { 57 41 width: 100%; 58 42 } 59 60 /*_____________________ HEADER ____________________*/ 43 /* 44 HEADER 45 */ 61 46 #userinfo { 62 47 width: 98%; … … 65 50 text-align: right; 66 51 } 67 68 52 #userinfo p { 69 53 margin: 0; 70 54 padding: 0; 71 55 } 72 73 56 #container { 74 57 width: 98%; … … 77 60 border: 1px solid gray; 78 61 } 79 80 62 #top { 81 63 border-bottom: 1px solid gray; … … 83 65 padding: .5em; 84 66 } 85 86 67 #top h1 { 87 68 margin: 0; … … 90 71 color: #000; 91 72 } 92 93 /*_____________________ NAVIGATION ____________________*/ 73 /* 74 NAVIGATION 75 */ 94 76 #leftnav { 95 77 /* float: left; */ … … 101 83 background-color: #EEE; 102 84 } 103 104 85 #leftnav ul { 105 86 padding: 0; 106 87 margin: 0; 107 88 } 108 109 89 #leftnav #navlist li { 110 90 list-style: none; … … 116 96 font-weight: bold; 117 97 } 118 119 98 #leftnav #navlist li a { 120 99 text-decoration: none; 121 100 padding: 1px; 122 101 } 123 124 102 #leftnav #navlist li.label { 125 103 color: #999; … … 128 106 font-weight: bold; 129 107 } 130 131 108 #leftnav a.addlink { 132 109 margin-left: 0.25em; 133 110 font-weight: normal; 134 111 } 135 136 #leftnav #navlist li a:link, #navlist li a:visited { 137 /* color: #336; */ 138 } 139 140 #leftnav #navlist li a:hover, #navlist li a:active { 141 /* color: #C00; */ 142 } 143 144 /*_____________________ CONTENT ____________________*/ 145 112 /* 113 CONTENT 114 */ 146 115 #content-table { 147 116 width: 100%; 148 117 } 149 150 118 #content { 151 /* width: 100%; */152 /* margin-left: 1em; */153 /* border-left: 1px solid gray; */154 119 padding: 0.75em 0.5em 15px 0.75em; 155 120 background-color: #FFF; 156 121 } 157 158 122 #content h1, #content h2, #content h3, #content h4, #content h5 { 159 123 margin: 0 0 .5em 0; … … 163 127 #content h3 { font-size: 0.9rem; } 164 128 #content h4 { font-size: 0.75rem; } 165 166 129 #content p, 167 130 #content ul, … … 171 134 line-height: 130%; 172 135 } 173 174 /* li:not(.ui-tab) {175 list-style-position: inside;176 list-style: disc;177 margin-left: 1.2em;178 } */179 136 ul.normal li, 180 137 ol.normal li { … … 183 140 margin-left: 1.2em; 184 141 } 185 186 /*_____________________ TABLES ____________________*/ 142 /* 143 TABLES 144 */ 187 145 table { 188 146 border-size: 1px; … … 190 148 border-spacing: 0; 191 149 } 192 193 150 th { 194 151 padding: 2px; … … 197 154 white-space: nowrap; 198 155 } 199 200 156 td { 201 157 vertical-align: top; 202 158 padding: 8px 6px 0 0; 203 159 } 204 205 160 table.list { 206 161 border-size: 1px; … … 208 163 margin: 6px 0; 209 164 } 210 211 165 table.list th { 212 166 padding: 0 6px 1px 2px; … … 215 169 border-bottom: 2px solid #eee; 216 170 background-color: #ddd; 217 /* border-bottom: 1px solid #000; */ 218 } 219 171 } 220 172 table.list td, #commandbox table td, .commandbox table td { 221 173 font-size: 0.7rem; … … 224 176 vertical-align: top; 225 177 } 226 227 178 table.list tr:hover, #commandbox table tr:hover, .commandbox table tr:hover { 228 179 background: #FAF8C7 !important; 229 180 } 230 231 /*_____________________ COMMANDS ____________________*/ 232 233 /* We were using an ID, now using class. */ 181 /* 182 COMMANDS 183 */ 234 184 #commandbox, .commandbox 235 185 { … … 240 190 color: inherit; 241 191 } 242 243 192 .commanditem 244 193 { … … 246 195 white-space: nowrap; 247 196 } 248 249 197 #commandbox form, .commandbox form { 250 198 margin: 8px 0 0 0; 251 199 } 252 253 /* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */ 200 /* Keep for backwards-compatibility. */ 254 201 .commandtext 255 202 { 256 203 padding-right: 1em; 257 204 } 258 259 205 .command_left 260 206 { … … 262 208 white-space: nowrap; 263 209 } 264 265 210 .command_right 266 211 { … … 270 215 float: right; 271 216 } 272 273 274 /*_____________________ FOOTER ____________________*/217 /* 218 FOOTER 219 */ 275 220 #footer { 276 221 clear: both; … … 283 228 line-height: 100%; 284 229 } 285 286 230 #footer a:link, 287 231 #footer a:visited { … … 289 233 text-decoration: none; 290 234 } 291 292 235 #footer a:active, 293 236 #footer a:hover { … … 295 238 text-decoration: underline; 296 239 } 297 298 /* Form Defaults ---------------------------------------------------- */ 299 240 /* 241 Form Defaults 242 */ 300 243 .sc-form { 301 244 width: 100%; 302 245 margin: 1em 0; 303 246 } 304 305 247 .sc-form-row { 306 248 margin: .5em 0; 307 249 } 308 250 .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 */ 309 310 251 fieldset { 311 252 margin: 1em 0 0 0; … … 313 254 border: 0; 314 255 } 315 316 256 legend { 317 257 font-size: 90%; … … 320 260 margin: 0; 321 261 } 322 323 262 .sc-form textarea, 324 263 .sc-tiny, … … 340 279 border: none; 341 280 } 342 343 281 textarea { 344 282 padding: 0 2px; 345 283 } 346 347 284 .sc-form-row label { 348 285 font-size: 0.7rem; 349 286 padding-top: 0.25em; 350 287 } 351 352 .sc-form-row label { /* Modified by Matt. Was .sc-form-row>label:first-child */ 288 .sc-form-row label { 353 289 display: block; 354 290 width: 120px; … … 358 294 font-style: italic; 359 295 } 360 361 296 .sc-form-row label.sc-label-secondary { 362 297 display: inline; … … 367 302 font-style: normal; 368 303 } 369 370 304 .sc-form label span { 371 305 visibility: hidden; 372 306 } 373 374 /*.sc-form-row input + input {375 margin-top: .5rem;376 margin-bottom: .5rem;377 } */378 379 307 input[type="submit"], 380 308 input[type="button"] { … … 384 312 background-color: #eee; 385 313 } 386 387 314 .sc-submit-buttons { 388 315 margin: 20px 0 20px 130px; … … 391 318 margin-left: 130px; 392 319 } 393 394 320 label.sc-radio-label { 395 321 width: auto; 396 322 } 397 398 323 /* Hide foundation elements for sites still using old admin css. */ 399 324 .sc-msg .close {
Note: See TracChangeset
for help on using the changeset viewer.