[1] | 1 | /** |
---|
| 2 | * utilities.css |
---|
| 3 | * code by strangecode :: www.strangecode.com :: this document contains copyrighted information |
---|
| 4 | * |
---|
| 5 | * CSS used often in Strangecode applications. Do not arbitrarily |
---|
| 6 | * edit this code! This file is used between many sites and modifying it may result |
---|
| 7 | * in something breaking. Instead, overwrite these values in a specific site by |
---|
| 8 | * adding new definitions to a screen.css file. |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | /*_____________________ FORMS ____________________*/ |
---|
[25] | 12 | |
---|
| 13 | input.tiny, textarea.tiny, select.tiny, |
---|
| 14 | input.small, textarea.small, select.small, |
---|
| 15 | input.medium, textarea.medium, select.medium, |
---|
[98] | 16 | input.large, textarea.large, select.large { margin: 0 0.5em 0 0; } |
---|
[25] | 17 | |
---|
[98] | 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; } |
---|
[1] | 25 | |
---|
[98] | 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; } |
---|
[1] | 30 | |
---|
| 31 | /*_____________________ COMMANDS ____________________*/ |
---|
[25] | 32 | |
---|
[1] | 33 | /*_____________________ UTILITIES ____________________*/ |
---|
[98] | 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; } |
---|
[1] | 42 | |
---|
[51] | 43 | /* .pkg class wraps enclosing block element around inner floated elements */ |
---|
[98] | 44 | .pkg:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0.0; } |
---|
[51] | 45 | * html .pkg { display: block; } |
---|
| 46 | /* no ie mac \*/ |
---|
| 47 | * html .pkg { height: 1%; } |
---|
| 48 | .pkg { display: block; } |
---|
| 49 | /* */ |
---|