Changeset 741 for trunk/css/utilities.inc.css
- Timestamp:
- Dec 29, 2020 3:18:44 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/css/utilities.inc.css
r666 r741 1 1 /** 2 * utilities.inc.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 */ 2 * utilities.inc.css 3 * Global utility styles often in Strangecode applications. 4 */ 9 5 10 /*_____________________ FORMS ____________________*/ 11 6 /* 7 FORMS 8 */ 12 9 input.sc-micro, textarea.sc-micro, select.sc-micro, 13 10 input.sc-tiny, textarea.sc-tiny, select.sc-tiny, … … 19 16 box-sizing: border-box; 20 17 } 21 22 18 /* 23 19 The following widths are calculated to include a small right-margin and be equally divisible so the right edges align. … … 39 35 input.sc-large, textarea.sc-large, select.sc-large, label.sc-large { width: 43.5rem; } 40 36 input.sc-full, textarea.sc-full, select.sc-full, label.sc-full { width: 100%; } 41 42 37 textarea.sc-twolines, select.sc-twolines { height: 3.5rem; } 43 38 textarea.sc-short, select.sc-short { height: 8rem; } 44 39 textarea.sc-tall, select.sc-tall { height: 25rem; } 45 40 textarea.sc-fullscreen, select.sc-fullscreen { height: 40rem; } 46 47 /*_____________________ UTILITIES ____________________*/ 41 /* 42 UTILITIES 43 */ 48 44 .sc-center { text-align: center; } 49 45 .sc-clearboth { clear: both; } … … 77 73 text-overflow: ellipsis; 78 74 } 79 80 75 /* .sc-pkg class wraps enclosing block element around inner floated elements */ 81 76 .sc-pkg:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0.0; }
Note: See TracChangeset
for help on using the changeset viewer.