|
1 | | -/* Keep in mind that wherever you see 'Required property' it means that the property must exist */ |
2 | | - |
3 | | -/* ------------------------------------------------------------------------------ */ |
4 | | - |
5 | | - /* Generals */ |
6 | | - .uniForm fieldset{} |
7 | | - .uniForm fieldset legend{ color: #333; font-weight: bold; font-size: 100%; margin: 0; padding: 1.5em 1.5em 1.5em 0; } |
8 | | - |
9 | | - /* This is the main unit that contains our form elements */ |
10 | | - .uniForm .ctrlHolder{ padding: 3px; border-bottom: 1px dotted #dfdfdf; } |
11 | | - |
12 | | - .uniForm .buttonHolder{ |
13 | | - text-align: right; |
14 | | - background: #CEDEEF url("../../images/buttonHolder_bg.gif") no-repeat right; |
15 | | - margin: 1em 0; |
16 | | - padding: 8px; |
17 | | - } |
18 | | - .uniForm .resetButton{ float: left; } |
19 | | - .uniForm .primaryAction{ font-weight: bold; } |
20 | | - |
21 | | - /* This class gets added to div.ctrlHolder to highlight the row */ |
22 | | - .uniForm .focused{ background: #fffcdf; } |
23 | | - |
24 | | - /* .inlineLabel is used for inputs within labels - checkboxes and radio buttons */ |
25 | | - .uniForm .inlineLabel input, |
26 | | - .uniForm .inlineLabels .inlineLabel input, |
27 | | - .uniForm .blockLabels .inlineLabel input{ float: left; margin: 0 .4em 0 0; } |
28 | | - .uniForm .inlineLabel span{ float: left; width: 90%; } |
29 | | - |
30 | | -/* ------------------------------------------------------------------------------ */ |
31 | | - |
32 | | - /* .blockLabels (default style, will be applied even if you don't class the parent element) */ |
33 | | - .uniForm .blockLabels .ctrlHolder{} |
34 | | - |
35 | | - .uniForm label, |
36 | | - .uniForm .blockLabels label, |
37 | | - .uniForm .blockLabels .label{ margin: 0 0 .5em 0; } |
38 | | - |
39 | | - .uniForm .textInput, |
40 | | - .uniForm .blockLabels .textInput, |
41 | | - .uniForm .blockLabels .fileUpload{ width: 43%; /* <- Required property */ } |
42 | | - |
43 | | - .uniForm .selectInput, |
44 | | - .uniForm select, |
45 | | - .uniForm .blockLabels .selectInput, |
46 | | - .uniForm .blockLabels select{ width: 43.5%; /* <- Required property */ } |
47 | | - .uniForm textarea, |
48 | | - .uniForm .blockLabels textarea{ width: 43%; /* <- Required property */ height: 12em; } |
49 | | - |
50 | | - .uniForm .formHint, |
51 | | - .uniForm .blockLabels .formHint{ width: 55%; /* <- Required property */ font-size: .9em; color: #777; position: relative; top: -.5em; } |
52 | | - |
53 | | - .uniForm .multiField, |
54 | | - .uniForm .blockLabels .multiField{ width: 43%; } |
55 | | - .uniForm .multiField .inlineLabel, |
56 | | - .uniForm .blockLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 0; } |
57 | | - .uniForm .multiField .blockLabel, |
58 | | - .uniForm .blockLabels .multiField .blockLabel{ width: 30%; margin: 0 10px 0 0; } |
59 | | - .uniForm .multiField .blockLabel .textInput, |
60 | | - .uniForm .multiField .blockLabel .selectInput, |
61 | | - .uniForm .multiField .blockLabel select, |
62 | | - .uniForm .blockLabels .multiField .blockLabel .textInput, |
63 | | - .uniForm .blockLabels .multiField .blockLabel .selectInput, |
64 | | - .uniForm .blockLabels .multiField .blockLabel select{ width: 100%; margin: .3em 0 0 0; } |
65 | | - |
66 | | -/* ------------------------------------------------------------------------------ */ |
67 | | - |
68 | | - /* .inlineLabels */ |
69 | | - .uniForm .inlineLabels .ctrlHolder{} |
70 | | - |
71 | | - .uniForm .inlineLabels label, |
72 | | - .uniForm .inlineLabels .label{ width: 35%; /* <- Required property */ margin: .3em 2% 0 0; /* <- Required property */ } |
73 | | - |
74 | | - .uniForm .inlineLabels .textInput, |
75 | | - .uniForm .inlineLabels .fileUpload{ width: 35%; /* <- Required property */ } |
76 | | - |
77 | | - .uniForm .inlineLabels .selectInput, |
78 | | - .uniForm .inlineLabels select{ width: 35%; /* <- Required property */ } |
79 | | - |
80 | | - .uniForm .inlineLabels textarea{ width: 35%; /* <- Required property */ height: 12em; } |
81 | | - |
82 | | - .uniForm .inlineLabels .formHint{ margin-top: 0; margin-left: 37%; font-size: .9em; color: #777; position: static; } |
83 | | - |
84 | | - .uniForm .inlineLabels .multiField{ width: 60%; /* <- Required property */ margin: 0 0 .3em 0; } |
85 | | - .uniForm .inlineLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 0; } |
86 | | - .uniForm .inlineLabels .multiField .blockLabel{ float: left; width: 26%; margin: 0 3% 0 0; } |
87 | | - .uniForm .inlineLabels .multiField .blockLabel .textInput, |
88 | | - .uniForm .inlineLabels .multiField .blockLabel .selectInput, |
89 | | - .uniForm .inlineLabels .multiField .blockLabel select{ width: 100%; margin: .3em 0 0 0; } |
90 | | - |
91 | | -/* Focus pseudoclasses */ |
92 | | -.uniForm .ctrlHolder .textInput:focus{ outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ } |
93 | | -.uniForm .ctrlHolder textarea:focus{ outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ } |
94 | | -.uniForm div.focused .formHint{ color: #333; } |
95 | | - |
96 | | -/* Columns (they are floated left by default) */ |
97 | | -.uniForm .col{ width: 37.9%; /* <- Required property */ margin: 0 2% 20px 0; } |
98 | | -/* Use .first and .last classes to control the layout/spacing of your columns */ |
99 | | -.uniForm .col.first{ width: 39%; /* <- Required property */ float: left; clear: none; } |
100 | | -.uniForm .col.last{ width: 39%; /* <- Required property */ float: right; clear: none; margin-right: 0; } |
101 | | - |
102 | | -/* Messages */ |
103 | | -.uniForm #errorMsg{ background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; margin: 1.5em 0 1.5em 0; padding: 7px; } |
104 | | -.uniForm .error{ background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; } |
105 | | - |
106 | | - .uniForm #errorMsg dt, .uniForm #errorMsg h3{ margin: 0 0 .5em 0; font-size: 100%; line-height: 100%; font-weight: bold; } |
107 | | - .uniForm #errorMsg dd{ margin: 0; padding: 0; } |
108 | | - .uniForm #errorMsg ol{ margin: 0; padding: 0; } |
109 | | - .uniForm #errorMsg ol li{ margin: 0; padding: 2px; list-style-position: inside; border-bottom: 1px dotted #df7d7d; position: relative; } |
110 | | - .uniForm .errorField{ color: #af4c4c; margin: 0 0 6px 0; padding: 4px; background: #ffbfbf; } |
111 | | - |
112 | | -.uniForm #OKMsg{ background: #C8FFBF; border: 1px solid #A2EF95; border-width: 1px 0; margin: 1.5em 0 1.5em 0; padding: 7px; } |
113 | | - .uniForm #OKMsg p{ margin: 0; } |
114 | | - |
115 | | -/* |
116 | | -IT IS STRONGLY ADVISED TO MAKE YOUR CHANGES AFTER THIS COMMENT BY REPEATING (COPYING) THE SELECTOR FROM ABOVE, |
117 | | -AND MODIFYING IT WITH YOUR OWN PROPERTIES/VALUES. THIS IS RECOMMENDED BECAUSE IF YOU HAPPEN TO RUN INTO TROUBLE, |
118 | | -YOU CAN VERY EASILY REVERT TO A GENERIC STYLE OF UNI-FORM. BEST OF LUCK... |
119 | | -*/ |
120 | | - |
121 | | -/* ------------------------------------------------------------------------------ */ |
122 | | - |
123 | | -/* This is the main unit that contains our form elements */ |
124 | | - |
125 | | -.uniForm .textInput, .uniForm .selectInput, .uniForm textarea { |
126 | | - background:#FFFFFF none repeat scroll 0 0; |
127 | | - border: 2px solid #DFDFDF; |
128 | | - padding: 2px; |
129 | | -} |
130 | | -
|
| 1 | +/* Keep in mind that wherever you see 'Required property' it means that the property must exist */ |
| 2 | + |
| 3 | +/* ------------------------------------------------------------------------------ */ |
| 4 | + |
| 5 | + /* Generals */ |
| 6 | + .uniForm fieldset{} |
| 7 | + .uniForm fieldset legend{ color: #333; font-weight: bold; font-size: 100%; margin: 0; padding: 1.5em 1.5em 1.5em 0; } |
| 8 | + |
| 9 | + /* This is the main unit that contains our form elements */ |
| 10 | + .uniForm .ctrlHolder{ padding: 3px; border-bottom: 1px dotted #dfdfdf; } |
| 11 | + |
| 12 | + .uniForm .buttonHolder{ |
| 13 | + text-align: right; |
| 14 | + background: #CEDEEF url("../../images/buttonHolder_bg.gif") no-repeat right; |
| 15 | + margin: 1em 0; |
| 16 | + padding: 8px; |
| 17 | + } |
| 18 | + .uniForm .resetButton{ float: left; } |
| 19 | + .uniForm .primaryAction{ font-weight: bold; } |
| 20 | + |
| 21 | + /* This class gets added to div.ctrlHolder to highlight the row */ |
| 22 | + .uniForm .focused{ background: #fffcdf; } |
| 23 | + |
| 24 | + /* .inlineLabel is used for inputs within labels - checkboxes and radio buttons */ |
| 25 | + .uniForm .inlineLabel input, |
| 26 | + .uniForm .inlineLabels .inlineLabel input, |
| 27 | + .uniForm .blockLabels .inlineLabel input{ float: left; margin: 0 .4em 0 0; } |
| 28 | + .uniForm .inlineLabel span{ float: left; width: 90%; } |
| 29 | + |
| 30 | +/* ------------------------------------------------------------------------------ */ |
| 31 | + |
| 32 | + /* .blockLabels (default style, will be applied even if you don't class the parent element) */ |
| 33 | + .uniForm .blockLabels .ctrlHolder{} |
| 34 | + |
| 35 | + .uniForm label, |
| 36 | + .uniForm .blockLabels label, |
| 37 | + .uniForm .blockLabels .label{ margin: 0 0 .5em 0; } |
| 38 | + |
| 39 | + .uniForm .textInput, |
| 40 | + .uniForm .blockLabels .textInput, |
| 41 | + .uniForm .blockLabels .fileUpload{ width: 43%; /* <- Required property */ } |
| 42 | + |
| 43 | + .uniForm .selectInput, |
| 44 | + .uniForm select, |
| 45 | + .uniForm .blockLabels .selectInput, |
| 46 | + .uniForm .blockLabels select{ width: 43.5%; /* <- Required property */ } |
| 47 | + .uniForm textarea, |
| 48 | + .uniForm .blockLabels textarea{ width: 43%; /* <- Required property */ height: 12em; } |
| 49 | + |
| 50 | + .uniForm .formHint, |
| 51 | + .uniForm .blockLabels .formHint{ width: 55%; /* <- Required property */ font-size: .9em; color: #777; position: relative; top: -.5em; } |
| 52 | + |
| 53 | + .uniForm .multiField, |
| 54 | + .uniForm .blockLabels .multiField{ width: 43%; } |
| 55 | + .uniForm .multiField .inlineLabel, |
| 56 | + .uniForm .blockLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 0; } |
| 57 | + .uniForm .multiField .blockLabel, |
| 58 | + .uniForm .blockLabels .multiField .blockLabel{ width: 30%; margin: 0 10px 0 0; } |
| 59 | + .uniForm .multiField .blockLabel .textInput, |
| 60 | + .uniForm .multiField .blockLabel .selectInput, |
| 61 | + .uniForm .multiField .blockLabel select, |
| 62 | + .uniForm .blockLabels .multiField .blockLabel .textInput, |
| 63 | + .uniForm .blockLabels .multiField .blockLabel .selectInput, |
| 64 | + .uniForm .blockLabels .multiField .blockLabel select{ width: 100%; margin: .3em 0 0 0; } |
| 65 | + |
| 66 | +/* ------------------------------------------------------------------------------ */ |
| 67 | + |
| 68 | + /* .inlineLabels */ |
| 69 | + .uniForm .inlineLabels .ctrlHolder{} |
| 70 | + |
| 71 | + .uniForm .inlineLabels label, |
| 72 | + .uniForm .inlineLabels .label{ width: 15%; /* <- Required property */ margin: .3em 2% 0 0; /* <- Required property */ } |
| 73 | + |
| 74 | + .uniForm .inlineLabels .textInput, |
| 75 | + .uniForm .inlineLabels .fileUpload{ width: 35%; /* <- Required property */ } |
| 76 | + |
| 77 | + .uniForm .inlineLabels .selectInput, |
| 78 | + .uniForm .inlineLabels select{ width: 35%; /* <- Required property */ } |
| 79 | + |
| 80 | + .uniForm .inlineLabels textarea{ width: 35%; /* <- Required property */ height: 12em; } |
| 81 | + |
| 82 | + .uniForm .inlineLabels .formHint{ margin-top: 0; margin-left: 37%; font-size: .9em; color: #777; position: static; } |
| 83 | + |
| 84 | + .uniForm .inlineLabels .multiField{ width: 60%; /* <- Required property */ margin: 0 0 .3em 0; } |
| 85 | + .uniForm .inlineLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 0; } |
| 86 | + .uniForm .inlineLabels .multiField .blockLabel{ float: left; width: 26%; margin: 0 3% 0 0; } |
| 87 | + .uniForm .inlineLabels .multiField .blockLabel .textInput, |
| 88 | + .uniForm .inlineLabels .multiField .blockLabel .selectInput, |
| 89 | + .uniForm .inlineLabels .multiField .blockLabel select{ width: 100%; margin: .3em 0 0 0; } |
| 90 | + |
| 91 | +/* Focus pseudoclasses */ |
| 92 | +.uniForm .ctrlHolder .textInput:focus{ outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ } |
| 93 | +.uniForm .ctrlHolder textarea:focus{ outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ } |
| 94 | +.uniForm div.focused .formHint{ color: #333; } |
| 95 | + |
| 96 | +/* Columns (they are floated left by default) */ |
| 97 | +.uniForm .col{ width: 37.9%; /* <- Required property */ margin: 0 2% 20px 0; } |
| 98 | +/* Use .first and .last classes to control the layout/spacing of your columns */ |
| 99 | +.uniForm .col.first{ width: 39%; /* <- Required property */ float: left; clear: none; } |
| 100 | +.uniForm .col.last{ width: 39%; /* <- Required property */ float: right; clear: none; margin-right: 0; } |
| 101 | + |
| 102 | +/* Messages */ |
| 103 | +.uniForm #errorMsg{ background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; margin: 1.5em 0 1.5em 0; padding: 7px; } |
| 104 | +.uniForm .error{ background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; } |
| 105 | + |
| 106 | + .uniForm #errorMsg dt, .uniForm #errorMsg h3{ margin: 0 0 .5em 0; font-size: 100%; line-height: 100%; font-weight: bold; } |
| 107 | + .uniForm #errorMsg dd{ margin: 0; padding: 0; } |
| 108 | + .uniForm #errorMsg ol{ margin: 0; padding: 0; } |
| 109 | + .uniForm #errorMsg ol li{ margin: 0; padding: 2px; list-style-position: inside; border-bottom: 1px dotted #df7d7d; position: relative; } |
| 110 | + .uniForm .errorField{ color: #af4c4c; margin: 0 0 6px 0; padding: 4px; background: #ffbfbf; } |
| 111 | + |
| 112 | +.uniForm #OKMsg{ background: #C8FFBF; border: 1px solid #A2EF95; border-width: 1px 0; margin: 1.5em 0 1.5em 0; padding: 7px; } |
| 113 | + .uniForm #OKMsg p{ margin: 0; } |
| 114 | + |
| 115 | +/* |
| 116 | +IT IS STRONGLY ADVISED TO MAKE YOUR CHANGES AFTER THIS COMMENT BY REPEATING (COPYING) THE SELECTOR FROM ABOVE, |
| 117 | +AND MODIFYING IT WITH YOUR OWN PROPERTIES/VALUES. THIS IS RECOMMENDED BECAUSE IF YOU HAPPEN TO RUN INTO TROUBLE, |
| 118 | +YOU CAN VERY EASILY REVERT TO A GENERIC STYLE OF UNI-FORM. BEST OF LUCK... |
| 119 | +*/ |
| 120 | + |
| 121 | +/* ------------------------------------------------------------------------------ */ |
| 122 | + |
| 123 | +/* This is the main unit that contains our form elements */ |
| 124 | + |
| 125 | +.uniForm .textInput, .uniForm .selectInput, .uniForm textarea { |
| 126 | + background:#FFFFFF none repeat scroll 0 0; |
| 127 | + border: 1px solid #DFDFDF; |
| 128 | + padding: 1px; |
| 129 | +} |
| 130 | + |
0 commit comments