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

Last change on this file since 121 was 121, checked in by scdev, 18 years ago

Q - Added "sc-" to all css class selectors; Finished reworking Upload and ImageThumb? (now with GD support!); More PHP 5 upgrades.

File size: 2.2 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       { margin: 0 0.5em 0 0; }
17
18input.sc-tiny, textarea.sc-tiny, select.sc-tiny          { width: 4.75em; }
19input.sc-small, textarea.sc-small, select.sc-small       { width: 10em; }
20input.sc-medium, textarea.sc-medium, select.sc-medium    { width: 20.5em; }
21input.sc-large, textarea.sc-large, select.sc-large       { width: 41.5em; }
22input.sc-full, textarea.sc-full, select.sc-full          { width: 100%; }
23select.sc-small                                    { width: 10em; }
24select.sc-medium                                   { width: 20.5em; }
25
26textarea.sc-twolines, select.sc-twolines              { height: 3em; }
27textarea.sc-short, select.sc-short                    { height: 8em; }
28textarea.sc-tall, select.sc-tall                      { height: 25em; }
29textarea.sc-fullscreen, select.sc-fullscreen          { height: 40em; }
30
31/*_____________________ UTILITIES ____________________*/
32.sc-nowrap { white-space: nowrap; }
33.sc-clearboth { clear: both; }
34.sc-center { text-align: center; }
35.sc-right { text-align: right; }
36.sc-padright { padding: 0 10px 0 0; }
37.sc-padleft { padding: 0 0 0 10px; }
38.sc-help { color: #999; font-weight: normal; }
39.sc-monospaced { font-family: monaco, courier; font-weight: normal; }
40
41/* .sc-pkg class wraps enclosing block element around inner floated elements */
42.sc-pkg:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0.0; }
43* html .sc-pkg { display: block; }
44/* no ie mac \*/
45* html .sc-pkg { height: 1%; }
46.sc-pkg { display: block; }
47/* */
Note: See TracBrowser for help on using the repository browser.