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 ____________________*/ |
---|
12 | |
---|
13 | input.tiny, textarea.tiny, select.tiny, |
---|
14 | input.small, textarea.small, select.small, |
---|
15 | input.medium, textarea.medium, select.medium, |
---|
16 | input.large, textarea.large, select.large { margin: 0 0.5em 0 0; } |
---|
17 | |
---|
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; } |
---|
25 | |
---|
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; } |
---|
30 | |
---|
31 | /*_____________________ UTILITIES ____________________*/ |
---|
32 | .nowrap { white-space: nowrap; } |
---|
33 | .clearboth { clear: both; } |
---|
34 | .center { text-align: center; } |
---|
35 | .right { text-align: right; } |
---|
36 | .padright { padding: 0 10px 0 0; } |
---|
37 | .padleft { padding: 0 0 0 10px; } |
---|
38 | .help { color: #999; font-weight: normal; } |
---|
39 | .monospaced { font-family: monaco, courier; font-weight: normal; } |
---|
40 | |
---|
41 | /* .pkg class wraps enclosing block element around inner floated elements */ |
---|
42 | .pkg:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0.0; } |
---|
43 | * html .pkg { display: block; } |
---|
44 | /* no ie mac \*/ |
---|
45 | * html .pkg { height: 1%; } |
---|
46 | .pkg { display: block; } |
---|
47 | /* */ |
---|