Changeset 467 for branches/eli_branch/css/utilities.inc.css
- Timestamp:
- Feb 19, 2014 2:28:00 AM (10 years ago)
- Location:
- branches/eli_branch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eli_branch
-
branches/eli_branch/css/utilities.inc.css
r406 r467 1 1 /** 2 * utilities. css2 * utilities.inc.css 3 3 * 4 4 * CSS used often in Strangecode applications. Do not arbitrarily … … 14 14 input.sc-medium, textarea.sc-medium, select.sc-medium, 15 15 input.sc-large, textarea.sc-large, select.sc-large, 16 input.sc-full, textarea.sc-full, select.sc-full { margin: 0 0.5em 0 0; }16 input.sc-full, textarea.sc-full, select.sc-full { margin: 0 0.5em 0 0; padding: 3px 0.25em; border-width: 1px; } 17 17 18 input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny { width: 4.75em; } 19 input.sc-small, textarea.sc-small, select.sc-small, label.sc-small { width: 10em; } 20 input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium { width: 20.5em; } 21 input.sc-large, textarea.sc-large, select.sc-large, label.sc-large { width: 41.5em; } 18 /* 19 The following widths are calculated using `width = (maxwidth - (1.2 * multiple)) / multiple` 20 where width is the saught value, maxwidth is the width of a sc-large, and multiple is the number 21 of times an element fits within maxwidth (i.e. sc-tiny has a multiple of 8). 22 The values are dependent on the margin, padding, and border set above. 23 */ 24 input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny { width: 4.54em; } 25 input.sc-small, textarea.sc-small, select.sc-small, label.sc-small { width: 10.15em; } 26 input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium { width: 21.42em; } 27 input.sc-large, textarea.sc-large, select.sc-large, label.sc-large { width: 44em; } 22 28 input.sc-full, textarea.sc-full, select.sc-full, label.sc-full { width: 100%; } 23 29 … … 47 53 } 48 54 .sc-note:hover { cursor: help; } 55 .sc-ellipsis { 56 overflow: hidden; 57 white-space: nowrap; 58 text-overflow: ellipsis; 59 } 49 60 50 61 /* .sc-pkg class wraps enclosing block element around inner floated elements */
Note: See TracChangeset
for help on using the changeset viewer.