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

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

Q - Updated codebase css

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