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.sc-tiny, textarea.sc-tiny, select.sc-tiny, |
---|
14 | input.sc-small, textarea.sc-small, select.sc-small, |
---|
15 | input.sc-medium, textarea.sc-medium, select.sc-medium, |
---|
16 | input.sc-large, textarea.sc-large, select.sc-large, |
---|
17 | input.sc-full, textarea.sc-full, select.sc-full { margin: 0 0.5em 0 0; } |
---|
18 | |
---|
19 | input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny { width: 4.75em; } |
---|
20 | input.sc-small, textarea.sc-small, select.sc-small, label.sc-small { width: 10em; } |
---|
21 | input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium { width: 20.5em; } |
---|
22 | input.sc-large, textarea.sc-large, select.sc-large, label.sc-large { width: 41.5em; } |
---|
23 | input.sc-full, textarea.sc-full, select.sc-full, label.sc-full { width: 100%; } |
---|
24 | |
---|
25 | select.sc-small { width: 10em; } |
---|
26 | select.sc-medium { width: 20.5em; } |
---|
27 | |
---|
28 | textarea.sc-twolines, select.sc-twolines { height: 3em; } |
---|
29 | textarea.sc-short, select.sc-short { height: 8em; } |
---|
30 | textarea.sc-tall, select.sc-tall { height: 25em; } |
---|
31 | textarea.sc-fullscreen, select.sc-fullscreen { height: 40em; } |
---|
32 | |
---|
33 | /*_____________________ UTILITIES ____________________*/ |
---|
34 | .sc-center { text-align: center; } |
---|
35 | .sc-clearboth { clear: both; } |
---|
36 | .sc-help { color: #999; font-weight: normal; } |
---|
37 | .sc-hidden { display: none; visibility: hidden; } |
---|
38 | .sc-monospaced { font-family: monospace; } |
---|
39 | .sc-padleft { padding-left: 10px; } |
---|
40 | .sc-padright { padding-right: 10px; } |
---|
41 | .sc-right { text-align: right; } |
---|
42 | .sc-normal { font-weight: normal; } |
---|
43 | .sc-nowrap { white-space: nowrap; } |
---|
44 | .sc-dim { |
---|
45 | filter:alpha(opacity=25); |
---|
46 | -moz-opacity:.25; |
---|
47 | opacity:.25; |
---|
48 | } |
---|
49 | |
---|
50 | /* .sc-pkg class wraps enclosing block element around inner floated elements */ |
---|
51 | .sc-pkg:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0.0; } |
---|
52 | * html .sc-pkg { display: block; } |
---|
53 | /* no ie mac \*/ |
---|
54 | * html .sc-pkg { height: 1%; } |
---|
55 | .sc-pkg { display: block; } |
---|
56 | /* */ |
---|