source: tags/2.1.5/css/utilities.inc.css

Last change on this file was 362, checked in by quinn, 15 years ago

Added a GPL license info header to all source files. Updated license to GPL v3.

File size: 2.3 KB
Line 
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 ____________________*/
11
12input.sc-tiny, textarea.sc-tiny, select.sc-tiny,
13input.sc-small, textarea.sc-small, select.sc-small,
14input.sc-medium, textarea.sc-medium, select.sc-medium,
15input.sc-large, textarea.sc-large, select.sc-large,
16input.sc-full, textarea.sc-full, select.sc-full { margin: 0 0.5em 0 0; }
17
18input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny          { width: 4.75em; }
19input.sc-small, textarea.sc-small, select.sc-small, label.sc-small      { width: 10em; }
20input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium  { width: 20.5em; }
21input.sc-large, textarea.sc-large, select.sc-large, label.sc-large      { width: 41.5em; }
22input.sc-full, textarea.sc-full, select.sc-full, label.sc-full          { width: 100%; }
23
24select.sc-small     { width: 10em; }
25select.sc-medium    { width: 20.5em; }
26
27textarea.sc-twolines, select.sc-twolines              { height: 3em; }
28textarea.sc-short, select.sc-short                    { height: 8em; }
29textarea.sc-tall, select.sc-tall                      { height: 25em; }
30textarea.sc-fullscreen, select.sc-fullscreen          { height: 40em; }
31
32/*_____________________ UTILITIES ____________________*/
33.sc-center { text-align: center; }
34.sc-clearboth { clear: both; }
35.sc-help { color: #999; font-weight: normal; }
36.sc-hidden { display: none; visibility: hidden; }
37.sc-monospaced { font-family: monospace; }
38.sc-padleft { padding-left: 10px; }
39.sc-padright { padding-right: 10px; }
40.sc-right { text-align: right; }
41.sc-normal { font-weight: normal; }
42.sc-nowrap { white-space: nowrap; }
43.sc-dim {
44    filter:alpha(opacity=25);
45    -moz-opacity:.25;
46    opacity:.25;
47}
48
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; }
52/* no ie mac \*/
53* html .sc-pkg { height: 1%; }
54.sc-pkg { display: block; }
55/* */
Note: See TracBrowser for help on using the repository browser.