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

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

B - pEdit formatting ticket #1

File size: 2.1 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/*_____________________ COMMANDS ____________________*/
32
33/*_____________________ UTILITIES ____________________*/
34.nowrap { white-space: nowrap; }
35.clearboth { clear: both; }
36.center { text-align: center; }
37.right { text-align: right; }
38.padright { padding: 0 10px 0 0; }
39.padleft { padding: 0 0 0 10px; }
40.help { color: #999; font-weight: normal; }
41.monospaced { font-family: monaco, courier; font-weight: normal; }
42
43/* .pkg class wraps enclosing block element around inner floated elements */
44.pkg:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0.0; }
45* html .pkg { display: block; }
46/* no ie mac \*/
47* html .pkg { height: 1%; }
48.pkg { display: block; }
49/* */
Note: See TracBrowser for help on using the repository browser.