- Timestamp:
- Apr 16, 2006 10:18:33 AM (18 years ago)
- Location:
- trunk/css
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/css/admin.inc.css
r97 r98 7 7 8 8 /*_____________________ GLOBAL ____________________*/ 9 body 10 { 9 body { 11 10 background: #fff; 12 11 margin: 0; … … 16 15 } 17 16 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 } 17 a:link, 18 a:visited { color: #336; text-decoration: underline; } 19 a:hover { color: #C30; text-decoration: none; } 20 a:active { color: #336; } 41 21 42 22 /*_____________________ MISC ____________________*/ … … 45 25 46 26 /* Why does having a form change the presentation of the page? Don't do that. */ 47 form 48 { 49 margin: 0; 50 } 51 52 form label 53 { 27 form { margin: 0; } 28 29 form label { 54 30 font-size: 70%; 55 31 max-width: 25em; 56 32 font-weight: bold; 57 /* BEAU: I added class="right" to the <TD> to make them align right as they were before. Do you know a better way? */ 58 /*float: right;*/ 59 } 60 61 .help 62 { 63 font-size: 70%; 64 } 65 66 .commandtext 67 { 68 font-size: 70%; 69 } 70 71 33 } 34 35 .help, 36 .commandtext { font-size: 70%; } 72 37 73 38 /*_____________________ HEADER ____________________*/ 74 #userinfo 75 { 39 #userinfo { 76 40 width: 98%; 77 41 margin: 10px auto 2px; … … 81 45 } 82 46 83 #userinfo p 84 { 47 #userinfo p { 85 48 margin: 0; 86 49 padding: 0; … … 88 51 } 89 52 90 #container 91 { 53 #container { 92 54 width: 98%; 93 55 margin: 0 auto 10px; … … 96 58 } 97 59 98 #top 99 { 60 #top { 100 61 border-bottom: 1px solid gray; 101 62 background-color: #CCC; … … 103 64 } 104 65 105 #top h1 106 { 66 #top h1 { 107 67 margin: 0; 108 68 padding: 0; … … 112 72 113 73 /*_____________________ NAVIGATION ____________________*/ 114 #leftnav 115 { 74 #leftnav { 116 75 float: left; 117 76 width: 9em; … … 122 81 } 123 82 124 #leftnav ul 125 { 83 #leftnav ul { 126 84 padding: 0; 127 85 margin: 0; … … 129 87 } 130 88 131 #leftnav #navlist li 132 { 89 #leftnav #navlist li { 133 90 list-style: none; 134 91 margin: 0; … … 139 96 } 140 97 141 #leftnav #navlist li a 142 { 98 #leftnav #navlist li a { 143 99 text-decoration: none; 144 100 padding: 1px; 145 101 } 146 102 147 #leftnav #navlist li.label 148 { 103 #leftnav #navlist li.label { 149 104 color: #999; 150 105 padding-top: 10px; … … 153 108 } 154 109 155 #leftnav #navlist li a:link, #navlist li a:visited 156 { 110 #leftnav #navlist li a:link, #navlist li a:visited { 157 111 color: #336; 158 112 } 159 113 160 #leftnav #navlist li a:hover, #navlist li a:active 161 { 114 #leftnav #navlist li a:hover, #navlist li a:active { 162 115 color: #C00; 163 116 } 164 117 165 #leftnav a.addlink 166 { 118 #leftnav a.addlink { 167 119 margin-left: 0.5em; 168 120 } 169 121 170 122 /*_____________________ CONTENT ____________________*/ 171 #content 172 { 123 #content { 173 124 margin-left: 9em; 174 125 border-left: 1px solid gray; … … 177 128 } 178 129 179 #content h2 180 { 130 #content h2 { 181 131 font-size: 100%; 182 132 margin: 0 0 .5em 0; 183 133 } 184 134 185 #content h3 186 { 135 #content h3 { 187 136 font-size: 85%; 188 137 margin: 0 0 .5em 0; 189 138 } 190 139 191 #content h4 192 { 193 font-size: 70%; 194 margin: 0 0 .5em 0; 195 } 196 197 #content p 198 { 199 margin: 0 0 .5em 0; 200 font-size: 70%; 201 /* max-width: 36em; */ 140 #content h4 { 141 font-size: 70%; 142 margin: 0 0 .5em 0; 143 } 144 145 #content p { 146 margin: 0 0 .5em 0; 147 font-size: 70%; 202 148 line-height: 130%; 203 149 } 204 150 205 #content li 206 { 151 #content li { 207 152 margin: 0 0 0 0; 208 153 font-size: 70%; 209 /* max-width: 36em; */210 154 line-height: 100%; 211 155 } … … 213 157 /*_____________________ TABLES ____________________*/ 214 158 /* BEAU: I copied this from NEXT. Please help! */ 215 table 216 { 159 table { 217 160 border-size: 1px; 218 161 border-collapse: collapse; … … 220 163 } 221 164 222 th 223 { 165 th { 224 166 padding: 2px; 225 167 text-align: left; … … 228 170 } 229 171 230 td 231 { 172 td { 232 173 vertical-align: top; 233 174 padding: 8px 6px 0 0; 234 175 } 235 176 236 table.list 237 { 177 table.list { 238 178 border-size: 1px; 239 179 width: 100%; … … 241 181 } 242 182 243 table.list th 244 { 183 table.list th { 245 184 padding-right: 6px; 246 185 font-size: 70%; … … 249 188 } 250 189 251 table.list td 252 { 190 table.list td { 253 191 font-size: 70%; 254 192 padding: 2px; … … 257 195 258 196 /* BEAU: The old stuff that was here... 259 #content table 260 { 197 #content table { 261 198 background-color: #FFF; 262 199 } 263 200 264 #content th 265 { 201 #content th { 266 202 padding: 2px; 267 203 text-align: left; … … 270 206 } 271 207 272 #content td 273 { 208 #content td { 274 209 vertical-align: top; 275 210 } 276 211 277 #content table.list 278 { 212 #content table.list { 279 213 width: 99%; 280 214 margin: 4px 0; … … 282 216 } 283 217 284 #content table.list th 285 { 218 #content table.list th { 286 219 padding-right: 6px; 287 220 font-size: 70%; … … 290 223 } 291 224 292 #content table.list td 293 { 225 #content table.list td { 294 226 font-size: 70%; 295 227 padding: 2px; … … 298 230 */ 299 231 /*_____________________ FOOTER ____________________*/ 300 #footer 301 { 232 #footer { 302 233 clear: both; 303 234 margin: 0; … … 311 242 312 243 #footer a:link, 313 #footer a:visited 314 { 244 #footer a:visited { 315 245 color: #333; 316 246 text-decoration: none; … … 318 248 319 249 #footer a:active, 320 #footer a:hover 321 { 250 #footer a:hover { 322 251 color: #333; 323 252 text-decoration: underline; -
trunk/css/codebase.inc.css
r97 r98 9 9 */ 10 10 11 /*_____________________ SC Messaging ____________________*/ 12 .sc-msg { font-family: verdana,geneva,arial,sans-serif; } 11 13 12 /*_____________________ MESSAGING SYSTEM ____________________*/ 13 .codebasemsg 14 { 15 font-family: verdana,geneva,arial,sans-serif; 16 } 17 18 .success, .notice, .warning, .error 19 { 14 .sc-msg-warning 15 .sc-msg-error 16 .sc-msg-success 17 .sc-msg-notice { 20 18 margin: 0 0 6px 0; 21 19 padding: 5px; 22 20 background: #fff; 23 border: 1px solid white; 21 color: #f00; 22 border: 1px solid #f00; 23 } 24 .sc-msg-success { color: #090; border-color: #090; } 25 .sc-msg-notice { color: #C60; border-color: #C60; } 26 27 /*_____________________ pEdit Forms ____________________*/ 28 29 .sc-pedit-form {} 30 31 .sc-pedit-item, 32 .sc-pedit-buttons { margin: .75em 0; } 33 34 #sc-pedit-versions-table { 35 margin-bottom: .75em; 36 border-collapse: collapse; 37 border-spacing: 0; 24 38 } 25 39 26 .success 27 { 28 color: #090; 29 border-color: #090; 40 #sc-pedit-versions-table th, 41 #sc-pedit-versions-table td { 42 border-bottom: 1px solid #CC9; 43 margin: 0; 44 padding: 2px 10px; 45 vertical-align: baseline; 30 46 } 31 32 .notice 33 { 34 color: #C60; 35 border-color: #C60; 47 #sc-pedit-versions-table th { 48 white-space: nowrap; 36 49 } 37 38 .warning, .error39 {40 color: #f00;41 border-color: #f00;42 }43 /* BEAU: How about a seperate class for the $fv->err() function to print?44 At the moment it uses the above error definition, but we could use a "form error {" one too. */45 46 47 /*_____________________ pEdit Forms ____________________*/48 #sc-pedit-form input[type="text"], textarea {49 width: 100%;50 }51 #sc-pedit-form textarea {52 height: 30em;53 }54 -
trunk/css/utilities.inc.css
r97 r98 9 9 */ 10 10 11 /* BEAU: I format my CSS using BBEdit's Markup->CSS->Format command. Would you like to use that as well so our code looks consistant? */12 11 /*_____________________ FORMS ____________________*/ 13 14 /* BEAU: Had to comment-out all generic definitions... They fucked golbon. I guess the only things to have that are safe are custom class identifiers. Maybe we should standardize on classes we define in the codebase so they never conflict with other people's css, like: codebase_small, or cb_small? */15 /*16 input, select, submit17 {18 color: #000;19 margin: 0 0.5em 0 0;20 padding: 0;21 }22 23 submit24 {25 font-weight: bold;26 margin: 0.5em;27 }28 */29 30 /*31 form table select, form table input32 {33 margin-top: 0;34 }35 */36 37 /*38 BEAU: I want more text box widths! I find need for boxes that fit 5em, 10em, 20em, and 40em widths. These should be in EMs so text can resize and still fit. Since it is useful to apply a width to other form elements to have them similar sizes (not always a text box, such as <select multiple>) I propose renaming them to "input.tiny", "input.small", "input.medium", "input.large", and "input.half" (not sure how you would do "half" in EMs however. DONE.39 */40 12 41 13 input.tiny, textarea.tiny, select.tiny, 42 14 input.small, textarea.small, select.small, 43 15 input.medium, textarea.medium, select.medium, 44 input.large, textarea.large, select.large 45 { 46 margin: 0 0.5em 0 0; 47 } 16 input.large, textarea.large, select.large { margin: 0 0.5em 0 0; } 48 17 49 input.tiny, textarea.tiny, select.tiny 50 { 51 width: 4.75em; 52 } 18 input.tiny, textarea.tiny, select.tiny { width: 4.75em; } 19 input.small, textarea.small, select.small { width: 10em; } 20 input.medium, textarea.medium, select.medium { width: 20.5em; } 21 input.large, textarea.large, select.large { width: 41.5em; } 22 input.full, textarea.full, select.full { width: 100%; } 23 select.small { width: 10em; } 24 select.medium { width: 20.5em; } 53 25 54 input.small, textarea.small, select.small 55 { 56 width: 10em; 57 } 58 59 input.medium, textarea.medium, select.medium 60 { 61 width: 20.5em; 62 } 63 64 input.large, textarea.large, select.large 65 { 66 width: 41.5em; 67 } 68 69 textarea.twolines, select.twolines 70 { 71 height: 3em; 72 } 73 74 textarea.short, select.short 75 { 76 height: 8em; 77 } 78 79 textarea.tall, select.tall 80 { 81 height: 25em; 82 } 83 84 textarea.fullscreen, select.fullscreen 85 { 86 height: 40em; 87 } 88 89 /* BEAU: Should be in EMs? Also, sometimes it is nice to have the select menu be only the width as its contents. How to override this? */ 90 select.small 91 { 92 width: 10em; 93 } 94 95 select.medium 96 { 97 width: 20.5em; 98 } 99 100 /* 101 form label 102 { 103 padding: 7px 0px 0px 0px; 104 font-weight: bold; 105 } 106 */ 107 108 /* BEAU: We need a .formtext substitute...something like a label tag but not bold! Maybe use "form p { }"? */ 109 26 textarea.twolines, select.twolines { height: 3em; } 27 textarea.short, select.short { height: 8em; } 28 textarea.tall, select.tall { height: 25em; } 29 textarea.fullscreen, select.fullscreen { height: 40em; } 110 30 111 31 /*_____________________ COMMANDS ____________________*/ 112 32 113 /* Should this be an ID??? */114 #commandbox115 {116 padding: 5px;117 margin: 0 0 .5em 0;118 border: black 1px dotted;119 background-color: #DDD;120 }121 122 .commanditem123 {124 margin: 0 10px 0 0;125 white-space: nowrap;126 }127 128 .commandtext129 {130 padding-right: 1em;131 }132 133 .command_left134 {135 float: left;136 white-space: nowrap;137 }138 139 .command_right140 {141 position: relative;142 visibility: visible;143 white-space: nowrap;144 float: right;145 }146 147 33 /*_____________________ UTILITIES ____________________*/ 148 .nowrap 149 { 150 white-space: nowrap; 151 } 152 153 .clearboth 154 { 155 clear: both; 156 } 157 158 .center 159 { 160 text-align: center; 161 } 162 163 .right 164 { 165 text-align: right; 166 } 167 168 .padright 169 { 170 padding: 0 10px 0 0; 171 } 172 173 .padleft 174 { 175 padding: 0 0 0 10px; 176 } 177 178 .help 179 { 180 color: #666; 181 font-weight: normal; 182 } 183 184 .monospaced 185 { 186 font-family: monaco, courier; 187 font-weight: normal; 188 } 34 .nowrap { white-space: nowrap; } 35 .clearboth { clear: both; } 36 .center { text-align: center; } 37 .right { text-align: right; } 38 .padright { padding: 0 10px 0 0; } 39 .padleft { padding: 0 0 0 10px; } 40 .help { color: #999; font-weight: normal; } 41 .monospaced { font-family: monaco, courier; font-weight: normal; } 189 42 190 43 /* .pkg class wraps enclosing block element around inner floated elements */ 191 .pkg:after 192 { 193 content: " "; 194 display: block; 195 visibility: hidden; 196 clear: both; 197 height: 0.1px; 198 font-size: 0.1em; 199 line-height: 0.0; 200 } 44 .pkg:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0.0; } 201 45 * html .pkg { display: block; } 202 46 /* no ie mac \*/
Note: See TracChangeset
for help on using the changeset viewer.