[1] | 1 | /** |
---|
| 2 | * utilities.css |
---|
| 3 | * |
---|
| 4 | * CSS used often in Strangecode applications. Do not arbitrarily |
---|
| 5 | * edit this code! This file is used between many sites and modifying it may result |
---|
| 6 | * in something breaking. Instead, overwrite these values in a specific site by |
---|
| 7 | * adding new definitions to a screen.css file. |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | /*_____________________ FORMS ____________________*/ |
---|
[25] | 11 | |
---|
[121] | 12 | input.sc-tiny, textarea.sc-tiny, select.sc-tiny, |
---|
| 13 | input.sc-small, textarea.sc-small, select.sc-small, |
---|
| 14 | input.sc-medium, textarea.sc-medium, select.sc-medium, |
---|
[168] | 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; } |
---|
[25] | 17 | |
---|
[160] | 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; } |
---|
| 22 | input.sc-full, textarea.sc-full, select.sc-full, label.sc-full { width: 100%; } |
---|
[1] | 23 | |
---|
[160] | 24 | select.sc-small { width: 10em; } |
---|
| 25 | select.sc-medium { width: 20.5em; } |
---|
| 26 | |
---|
[121] | 27 | textarea.sc-twolines, select.sc-twolines { height: 3em; } |
---|
| 28 | textarea.sc-short, select.sc-short { height: 8em; } |
---|
| 29 | textarea.sc-tall, select.sc-tall { height: 25em; } |
---|
| 30 | textarea.sc-fullscreen, select.sc-fullscreen { height: 40em; } |
---|
[1] | 31 | |
---|
| 32 | /*_____________________ UTILITIES ____________________*/ |
---|
[160] | 33 | .sc-center { text-align: center; } |
---|
[121] | 34 | .sc-clearboth { clear: both; } |
---|
| 35 | .sc-help { color: #999; font-weight: normal; } |
---|
[160] | 36 | .sc-hidden { display: none; visibility: hidden; } |
---|
[267] | 37 | .sc-monospaced { font-family: monospace; } |
---|
[259] | 38 | .sc-padleft { padding-left: 10px; } |
---|
| 39 | .sc-padright { padding-right: 10px; } |
---|
[160] | 40 | .sc-right { text-align: right; } |
---|
[254] | 41 | .sc-normal { font-weight: normal; } |
---|
[269] | 42 | .sc-nowrap { white-space: nowrap; } |
---|
[270] | 43 | .sc-dim { |
---|
| 44 | filter:alpha(opacity=25); |
---|
| 45 | -moz-opacity:.25; |
---|
| 46 | opacity:.25; |
---|
| 47 | } |
---|
[1] | 48 | |
---|
[121] | 49 | /* .sc-pkg class wraps enclosing block element around inner floated elements */ |
---|
| 50 | .sc-pkg:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0.0; } |
---|
| 51 | * html .sc-pkg { display: block; } |
---|
[51] | 52 | /* no ie mac \*/ |
---|
[121] | 53 | * html .sc-pkg { height: 1%; } |
---|
| 54 | .sc-pkg { display: block; } |
---|
[51] | 55 | /* */ |
---|