- Timestamp:
- Nov 17, 2005 3:00:00 AM (18 years ago)
- Location:
- trunk/css
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/css/admin.inc.css
r19 r20 44 44 /* 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? */ 45 45 46 /* Why does having a form change the presentation of the page? Don't do that. */ 47 form 48 { 49 margin: 0; 50 } 51 46 52 form label 47 53 { 48 54 font-size: 70%; 49 max-width: 2 0em;55 max-width: 25em; 50 56 /* BEAU: I added class="right" to the <TD> to make them align right as they were before. Do you know a better way? */ 51 57 /*float: right;*/ … … 216 222 { 217 223 vertical-align: top; 218 padding -right: 6px;224 padding: 8px 6px 0 0 ; 219 225 } 220 226 -
trunk/css/utilities.inc.css
r19 r20 15 15 { 16 16 color: #000; 17 margin: 0 4px0 0;17 margin: 0 0.5em 0 0; 18 18 padding: 0; 19 19 } … … 23 23 { 24 24 font-weight: bold; 25 margin: 1px; 26 } 27 28 /* 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? */ 29 select 30 { 31 width: 250px; 32 margin: 4px 4px 0 0; 25 margin: 0.5em; 33 26 } 34 27 35 28 input 36 29 { 37 margin: 4px 4px0 0;30 margin: 0.5em 0.5em 0 0; 38 31 } 39 32 … … 46 39 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. 47 40 */ 48 input.t ext, textarea.text41 input.tiny, textarea.tiny 49 42 { 50 width: 250px;43 width: 5em; 51 44 } 52 45 53 input. textsmall, textarea.textsmall46 input.small, textarea.small 54 47 { 55 width: 150px;48 width: 10em; 56 49 } 57 50 58 input. texthalf, textarea.texthalf51 input.medium, textarea.medium 59 52 { 60 width: 121px; 61 /* 125 minus 4 to account for the 4px padding on the right */ 53 width: 20.5em; 54 } 55 56 input.large, textarea.large 57 { 58 width: 41.5em; 62 59 } 63 60 … … 67 64 } 68 65 69 /* BEAU: Again, here, "small", "medium", "large" denominations make sense. But how to diferentiate width from height? */ 70 textarea.twoliner 66 textarea.twolines 71 67 { 72 68 height: 3em; 73 69 } 74 70 75 textarea. paragraphs71 textarea.short 76 72 { 77 height: 20em; 73 height: 8em; 74 } 75 76 textarea.tall 77 { 78 height: 25em; 79 } 80 81 textarea.fullscreen 82 { 83 height: 40em; 84 } 85 86 /* 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? */ 87 select.small 88 { 89 width: 10em; 90 } 91 92 select.medium 93 { 94 width: 20.5em; 78 95 } 79 96
Note: See TracChangeset
for help on using the changeset viewer.