source: trunk/css/utilities.inc.css @ 270

Last change on this file since 270 was 270, checked in by quinn, 17 years ago

Updated admin css, tweaked services html.

File size: 2.4 KB
Line 
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
13input.sc-tiny, textarea.sc-tiny, select.sc-tiny,
14input.sc-small, textarea.sc-small, select.sc-small,
15input.sc-medium, textarea.sc-medium, select.sc-medium,
16input.sc-large, textarea.sc-large, select.sc-large,
17input.sc-full, textarea.sc-full, select.sc-full { margin: 0 0.5em 0 0; }
18
19input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny          { width: 4.75em; }
20input.sc-small, textarea.sc-small, select.sc-small, label.sc-small      { width: 10em; }
21input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium  { width: 20.5em; }
22input.sc-large, textarea.sc-large, select.sc-large, label.sc-large      { width: 41.5em; }
23input.sc-full, textarea.sc-full, select.sc-full, label.sc-full          { width: 100%; }
24
25select.sc-small     { width: 10em; }
26select.sc-medium    { width: 20.5em; }
27
28textarea.sc-twolines, select.sc-twolines              { height: 3em; }
29textarea.sc-short, select.sc-short                    { height: 8em; }
30textarea.sc-tall, select.sc-tall                      { height: 25em; }
31textarea.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/* */
Note: See TracBrowser for help on using the repository browser.