semantic-ui-sass 0.8.1.0 → 0.8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/app/assets/javascripts/semantic-ui/dimmer.js +4 -2
- data/app/assets/javascripts/semantic-ui/modal.js +11 -6
- data/app/assets/javascripts/semantic-ui/popup.js +0 -1
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +6 -2
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +56 -73
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +89 -53
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +221 -316
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +43 -88
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +83 -23
- data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +831 -187
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +189 -191
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +4 -22
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +43 -20
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +1529 -472
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +145 -152
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +36 -63
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +120 -175
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +13 -11
- data/app/assets/stylesheets/semantic-ui/elements/_progress.scss +33 -115
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +46 -101
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +35 -65
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +127 -170
- data/app/assets/stylesheets/semantic-ui/modules/_chatroom.scss +287 -269
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +42 -129
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +16 -49
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +54 -107
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +29 -22
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +112 -147
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +226 -230
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +20 -28
- data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +35 -78
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +27 -44
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +10 -41
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +31 -60
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +3 -3
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +219 -451
- data/app/assets/stylesheets/semantic-ui/modules/_video.scss +75 -79
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +21 -23
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +20 -8
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +86 -43
- data/app/assets/stylesheets/semantic-ui/views/_list.scss +80 -53
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +6 -1
- data/lib/semantic/ui/sass/version.rb +2 -2
- data/semantic-ui-sass.gemspec +1 -1
- data/spec/dummy/config/application.rb +1 -1
- data/spec/spec_helper.rb +0 -1
- data/tasks/converter.rb +7 -0
- metadata +4 -7
- data/spec/dummy/config/database.yml +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b23b21a8fc362e7175983258be1fd66db11628e
|
4
|
+
data.tar.gz: 7c324ad9aa03c5b716100d52290d9379cc10005d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dca4f62ea6fcb91f4946186517554717ddbe0f75247074761bf07fc8ad498c691084e8810c237eb3ff0e03441ba9d82a44034f36bb420c04bc18919bddf20f0
|
7
|
+
data.tar.gz: a9c5f4c3cbe2ccedcf67b773cc0d67be5c1d621d73dcf255d3b0984a4c0ace25243fe81afc86adbe6f9987df30afbe92ee1915e7f8afe2f784ddac70229da1e2
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -155,7 +155,7 @@ $.fn.dimmer = function(parameters) {
|
|
155
155
|
: function(){}
|
156
156
|
;
|
157
157
|
module.set.dimmed();
|
158
|
-
if($.fn.transition !== undefined) {
|
158
|
+
if($.fn.transition !== undefined && settings.useCSS) {
|
159
159
|
$dimmer
|
160
160
|
.transition({
|
161
161
|
animation : settings.transition + ' in',
|
@@ -190,7 +190,7 @@ $.fn.dimmer = function(parameters) {
|
|
190
190
|
? callback
|
191
191
|
: function(){}
|
192
192
|
;
|
193
|
-
if($.fn.transition !== undefined) {
|
193
|
+
if($.fn.transition !== undefined && settings.useCSS) {
|
194
194
|
module.verbose('Hiding dimmer with css');
|
195
195
|
$dimmer
|
196
196
|
.transition({
|
@@ -548,8 +548,10 @@ $.fn.dimmer.settings = {
|
|
548
548
|
performance : true,
|
549
549
|
|
550
550
|
transition : 'fade',
|
551
|
+
useCSS : true,
|
551
552
|
on : false,
|
552
553
|
closable : true,
|
554
|
+
|
553
555
|
duration : {
|
554
556
|
show : 500,
|
555
557
|
hide : 500
|
@@ -67,12 +67,12 @@ $.fn.modal = function(parameters) {
|
|
67
67
|
module.error(error.dimmer);
|
68
68
|
return;
|
69
69
|
}
|
70
|
-
|
71
70
|
$dimmable = $context
|
72
71
|
.dimmer({
|
73
72
|
closable : false,
|
74
|
-
|
75
|
-
|
73
|
+
useCSS : module.is.modernBrowser(),
|
74
|
+
show : settings.duration * 0.9,
|
75
|
+
hide : settings.duration * 1.1
|
76
76
|
})
|
77
77
|
.dimmer('add content', $module)
|
78
78
|
;
|
@@ -145,7 +145,7 @@ $.fn.modal = function(parameters) {
|
|
145
145
|
close: function() {
|
146
146
|
module.verbose('Closing element pressed');
|
147
147
|
if( $(this).is(selector.approve) ) {
|
148
|
-
if($.proxy(settings.onApprove, element)()) {
|
148
|
+
if($.proxy(settings.onApprove, element)() !== false) {
|
149
149
|
module.hide();
|
150
150
|
}
|
151
151
|
else {
|
@@ -153,7 +153,7 @@ $.fn.modal = function(parameters) {
|
|
153
153
|
}
|
154
154
|
}
|
155
155
|
else if( $(this).is(selector.deny) ) {
|
156
|
-
if($.proxy(settings.onDeny, element)()) {
|
156
|
+
if($.proxy(settings.onDeny, element)() !== false) {
|
157
157
|
module.hide();
|
158
158
|
}
|
159
159
|
else {
|
@@ -340,6 +340,10 @@ $.fn.modal = function(parameters) {
|
|
340
340
|
is: {
|
341
341
|
active: function() {
|
342
342
|
return $module.hasClass(className.active);
|
343
|
+
},
|
344
|
+
modernBrowser: function() {
|
345
|
+
// lol
|
346
|
+
return (navigator.appName !== 'Microsoft Internet Explorer');
|
343
347
|
}
|
344
348
|
},
|
345
349
|
|
@@ -571,8 +575,9 @@ $.fn.modal.settings = {
|
|
571
575
|
|
572
576
|
name : 'Modal',
|
573
577
|
namespace : 'modal',
|
574
|
-
|
578
|
+
|
575
579
|
debug : true,
|
580
|
+
verbose : true,
|
576
581
|
performance : true,
|
577
582
|
|
578
583
|
closable : true,
|
@@ -18,9 +18,11 @@
|
|
18
18
|
display: inline-block;
|
19
19
|
vertical-align: middle;
|
20
20
|
}
|
21
|
+
|
21
22
|
.ui.breadcrumb:first-child {
|
22
23
|
margin-top: 0em;
|
23
24
|
}
|
25
|
+
|
24
26
|
.ui.breadcrumb:last-child {
|
25
27
|
margin-bottom: 0em;
|
26
28
|
}
|
@@ -33,7 +35,6 @@
|
|
33
35
|
display: inline-block;
|
34
36
|
opacity: 0.5;
|
35
37
|
margin: 0em 0.15em 0em;
|
36
|
-
|
37
38
|
font-size: 1em;
|
38
39
|
color: rgba(0, 0, 0, 0.3);
|
39
40
|
}
|
@@ -41,6 +42,7 @@
|
|
41
42
|
.ui.breadcrumb a.section {
|
42
43
|
cursor: pointer;
|
43
44
|
}
|
45
|
+
|
44
46
|
.ui.breadcrumb .section {
|
45
47
|
display: inline-block;
|
46
48
|
margin: 0em;
|
@@ -48,6 +50,7 @@
|
|
48
50
|
}
|
49
51
|
|
50
52
|
/* Loose Coupling */
|
53
|
+
|
51
54
|
.ui.breadcrumb.segment {
|
52
55
|
display: inline-block;
|
53
56
|
padding: 0.5em 1em;
|
@@ -61,7 +64,6 @@
|
|
61
64
|
font-weight: bold;
|
62
65
|
}
|
63
66
|
|
64
|
-
|
65
67
|
/*******************************
|
66
68
|
Variations
|
67
69
|
*******************************/
|
@@ -69,9 +71,11 @@
|
|
69
71
|
.ui.small.breadcrumb {
|
70
72
|
font-size: 0.75em;
|
71
73
|
}
|
74
|
+
|
72
75
|
.ui.large.breadcrumb {
|
73
76
|
font-size: 1.1em;
|
74
77
|
}
|
78
|
+
|
75
79
|
.ui.huge.breadcrumb {
|
76
80
|
font-size: 1.3em;
|
77
81
|
}
|
@@ -9,7 +9,6 @@
|
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
|
12
|
-
|
13
12
|
/*******************************
|
14
13
|
Standard
|
15
14
|
*******************************/
|
@@ -22,9 +21,11 @@
|
|
22
21
|
position: relative;
|
23
22
|
max-width: 100%;
|
24
23
|
}
|
24
|
+
|
25
25
|
.ui.form :first-child {
|
26
26
|
margin-top: 0em;
|
27
27
|
}
|
28
|
+
|
28
29
|
.ui.form :last-child {
|
29
30
|
margin-bottom: 0em;
|
30
31
|
}
|
@@ -53,7 +54,6 @@
|
|
53
54
|
.ui.form .field > label {
|
54
55
|
margin: 0em 0em 0.3em;
|
55
56
|
display: block;
|
56
|
-
|
57
57
|
color: #555555;
|
58
58
|
font-size: 0.875em;
|
59
59
|
}
|
@@ -62,7 +62,6 @@
|
|
62
62
|
Standard Inputs
|
63
63
|
---------------------*/
|
64
64
|
|
65
|
-
|
66
65
|
.ui.form textarea,
|
67
66
|
.ui.form select,
|
68
67
|
.ui.form input[type="text"],
|
@@ -82,56 +81,25 @@
|
|
82
81
|
.ui.form input[type="date"],
|
83
82
|
.ui.form input[type="password"],
|
84
83
|
.ui.form input[type="number"],
|
85
|
-
.ui.form input[type="tel"]{
|
86
|
-
|
84
|
+
.ui.form input[type="tel"] {
|
87
85
|
margin: 0em;
|
88
86
|
padding: 0.85em 1.2em;
|
89
87
|
font-size: 0.875em;
|
90
|
-
|
91
88
|
background-color: #FFFFFF;
|
92
89
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
93
90
|
outline: none;
|
94
|
-
|
95
|
-
|
96
91
|
color: rgba(0, 0, 0, 0.7);
|
97
|
-
|
98
|
-
-webkit-border-radius: 0.3125em;
|
99
|
-
-moz-border-radius: 0.3125em;
|
100
92
|
border-radius: 0.3125em;
|
101
|
-
|
102
|
-
|
103
|
-
|
93
|
+
-webkit-transition: background-color 0.3s ease-out,
|
94
|
+
-webkit-box-shadow 0.2s ease,
|
95
|
+
border-color 0.2s ease;
|
96
|
+
transition: background-color 0.3s ease-out,
|
104
97
|
box-shadow 0.2s ease,
|
105
|
-
border-color 0.2s ease
|
106
|
-
;
|
107
|
-
-moz-transition:
|
108
|
-
background-color 0.3s ease-out,
|
109
|
-
box-shadow 0.2s ease,
|
110
|
-
border-color 0.2s ease
|
111
|
-
;
|
112
|
-
-o-transition:
|
113
|
-
background-color 0.3s ease-out,
|
114
|
-
box-shadow 0.2s ease,
|
115
|
-
border-color 0.2s ease
|
116
|
-
;
|
117
|
-
-ms-transition:
|
118
|
-
background-color 0.3s ease-out,
|
119
|
-
box-shadow 0.2s ease,
|
120
|
-
border-color 0.2s ease
|
121
|
-
;
|
122
|
-
transition:
|
123
|
-
background-color 0.3s ease-out,
|
124
|
-
box-shadow 0.2s ease,
|
125
|
-
border-color 0.2s ease
|
126
|
-
;
|
127
|
-
|
98
|
+
border-color 0.2s ease;
|
128
99
|
-webkit-box-shadow: 0em 0em 0em 0em rgba(0, 0, 0, 0.3) inset;
|
129
|
-
-moz-box-shadow: 0em 0em 0em 0em rgba(0, 0, 0, 0.3) inset;
|
130
100
|
box-shadow: 0em 0em 0em 0em rgba(0, 0, 0, 0.3) inset;
|
131
|
-
|
132
101
|
-webkit-appearance: none;
|
133
|
-
-webkit-tap-highlight-color:
|
134
|
-
|
102
|
+
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
135
103
|
-webkit-box-sizing: border-box;
|
136
104
|
-moz-box-sizing: border-box;
|
137
105
|
-ms-box-sizing: border-box;
|
@@ -161,7 +129,6 @@
|
|
161
129
|
margin: 1em 0em;
|
162
130
|
}
|
163
131
|
|
164
|
-
|
165
132
|
/*--------------------
|
166
133
|
Types of Messages
|
167
134
|
---------------------*/
|
@@ -173,6 +140,7 @@
|
|
173
140
|
}
|
174
141
|
|
175
142
|
/* Assumptions */
|
143
|
+
|
176
144
|
.ui.form .message:first-child {
|
177
145
|
margin-top: 0px;
|
178
146
|
}
|
@@ -184,10 +152,12 @@
|
|
184
152
|
.ui.form .field .prompt.label {
|
185
153
|
white-space: nowrap;
|
186
154
|
}
|
155
|
+
|
187
156
|
.ui.form .inline.field .prompt {
|
188
157
|
margin-top: 0em;
|
189
158
|
margin-left: 1em;
|
190
159
|
}
|
160
|
+
|
191
161
|
.ui.form .inline.field .prompt:before {
|
192
162
|
margin-top: -0.3em;
|
193
163
|
bottom: auto;
|
@@ -196,12 +166,10 @@
|
|
196
166
|
left: 0em;
|
197
167
|
}
|
198
168
|
|
199
|
-
|
200
169
|
/*******************************
|
201
170
|
States
|
202
171
|
*******************************/
|
203
172
|
|
204
|
-
|
205
173
|
/*--------------------
|
206
174
|
Focus
|
207
175
|
---------------------*/
|
@@ -213,16 +181,13 @@
|
|
213
181
|
.ui.form input[type="number"]:focus,
|
214
182
|
.ui.form input[type="tel"]:focus,
|
215
183
|
.ui.form textarea:focus,
|
216
|
-
.ui.form select:focus{
|
184
|
+
.ui.form select:focus {
|
217
185
|
color: rgba(0, 0, 0, 0.85);
|
218
186
|
border-color: rgba(0, 0, 0, 0.2);
|
219
187
|
border-bottom-left-radius: 0;
|
220
188
|
border-top-left-radius: 0;
|
221
|
-
|
222
189
|
-webkit-appearance: none;
|
223
|
-
|
224
190
|
-webkit-box-shadow: 0.3em 0em 0em 0em rgba(0, 0, 0, 0.2) inset;
|
225
|
-
-moz-box-shadow: 0.3em 0em 0em 0em rgba(0, 0, 0, 0.2) inset;
|
226
191
|
box-shadow: 0.3em 0em 0em 0em rgba(0, 0, 0, 0.2) inset;
|
227
192
|
}
|
228
193
|
|
@@ -231,6 +196,7 @@
|
|
231
196
|
---------------------*/
|
232
197
|
|
233
198
|
/* On Form */
|
199
|
+
|
234
200
|
.ui.form.warning .warning.message {
|
235
201
|
display: block;
|
236
202
|
}
|
@@ -240,15 +206,18 @@
|
|
240
206
|
---------------------*/
|
241
207
|
|
242
208
|
/* On Form */
|
209
|
+
|
243
210
|
.ui.form.error .error.message {
|
244
211
|
display: block;
|
245
212
|
}
|
246
213
|
|
247
214
|
/* On Field(s) */
|
215
|
+
|
248
216
|
.ui.form .fields.error .field label,
|
249
217
|
.ui.form .field.error label {
|
250
218
|
color: #D95C5C;
|
251
219
|
}
|
220
|
+
|
252
221
|
.ui.form .fields.error .field textarea,
|
253
222
|
.ui.form .fields.error .field input[type="text"],
|
254
223
|
.ui.form .fields.error .field input[type="email"],
|
@@ -262,35 +231,29 @@
|
|
262
231
|
.ui.form .field.error input[type="date"],
|
263
232
|
.ui.form .field.error input[type="password"],
|
264
233
|
.ui.form .field.error input[type="number"],
|
265
|
-
.ui.form .field.error input[type="tel"]{
|
234
|
+
.ui.form .field.error input[type="tel"] {
|
266
235
|
background-color: #FFFAFA;
|
267
236
|
border-color: #E7BEBE;
|
268
237
|
border-left: none;
|
269
|
-
|
270
238
|
color: #D95C5C;
|
271
239
|
padding-left: 1.2em;
|
272
|
-
|
273
240
|
border-bottom-left-radius: 0;
|
274
241
|
border-top-left-radius: 0;
|
275
|
-
|
276
242
|
-webkit-box-shadow: 0.3em 0em 0em 0em #D95C5C inset;
|
277
|
-
-moz-box-shadow: 0.3em 0em 0em 0em #D95C5C inset;
|
278
243
|
box-shadow: 0.3em 0em 0em 0em #D95C5C inset;
|
279
|
-
|
280
244
|
}
|
245
|
+
|
281
246
|
.ui.form .field.error textarea:focus,
|
282
247
|
.ui.form .field.error input[type="text"]:focus,
|
283
248
|
.ui.form .field.error input[type="email"]:focus,
|
284
249
|
.ui.form .field.error input[type="date"]:focus,
|
285
250
|
.ui.form .field.error input[type="password"]:focus,
|
286
251
|
.ui.form .field.error input[type="number"]:focus,
|
287
|
-
.ui.form .field.error input[type="tel"]:focus{
|
252
|
+
.ui.form .field.error input[type="tel"]:focus {
|
288
253
|
border-color: rgba(255, 80, 80, 1);
|
289
254
|
color: rgba(255, 80, 80, 1);
|
290
|
-
|
291
255
|
-webkit-appearance: none;
|
292
256
|
-webkit-box-shadow: 0.3em 0em 0em 0em #FF5050 inset;
|
293
|
-
-moz-box-shadow: 0.3em 0em 0em 0em #FF5050 inset;
|
294
257
|
box-shadow: 0.3em 0em 0em 0em #FF5050 inset;
|
295
258
|
}
|
296
259
|
|
@@ -299,29 +262,37 @@
|
|
299
262
|
---------------------*/
|
300
263
|
|
301
264
|
/* browsers require these rules separate */
|
265
|
+
|
302
266
|
.ui.form ::-webkit-input-placeholder {
|
303
267
|
color: #E0E0E0;
|
304
268
|
}
|
269
|
+
|
305
270
|
.ui.form ::-moz-placeholder {
|
306
271
|
color: #E0E0E0;
|
307
272
|
}
|
273
|
+
|
308
274
|
.ui.form :focus::-webkit-input-placeholder {
|
309
275
|
color: #AAAAAA;
|
310
276
|
}
|
277
|
+
|
311
278
|
.ui.form :focus::-moz-placeholder {
|
312
279
|
color: #AAAAAA;
|
313
280
|
}
|
314
281
|
|
315
282
|
/* Error Placeholder */
|
283
|
+
|
316
284
|
.ui.form .error ::-webkit-input-placeholder {
|
317
285
|
color: rgba(255, 80, 80, 0.4);
|
318
286
|
}
|
287
|
+
|
319
288
|
.ui.form .error ::-moz-placeholder {
|
320
289
|
color: rgba(255, 80, 80, 0.4);
|
321
290
|
}
|
291
|
+
|
322
292
|
.ui.form .error :focus::-webkit-input-placeholder {
|
323
293
|
color: rgba(255, 80, 80, 0.7);
|
324
294
|
}
|
295
|
+
|
325
296
|
.ui.form .error :focus::-moz-placeholder {
|
326
297
|
color: rgba(255, 80, 80, 0.7);
|
327
298
|
}
|
@@ -334,40 +305,40 @@
|
|
334
305
|
.ui.form .field.disabled {
|
335
306
|
opacity: 0.5;
|
336
307
|
}
|
308
|
+
|
337
309
|
.ui.form .field.disabled label {
|
338
310
|
opacity: 0.5;
|
339
311
|
}
|
312
|
+
|
340
313
|
.ui.form .field.disabled :disabled {
|
341
314
|
opacity: 1;
|
342
315
|
}
|
343
316
|
|
344
|
-
|
345
317
|
/*--------------------
|
346
318
|
Loading State
|
347
319
|
---------------------*/
|
348
320
|
|
349
321
|
/* On Form */
|
322
|
+
|
350
323
|
.ui.form.loading {
|
351
324
|
position: relative;
|
352
325
|
}
|
326
|
+
|
353
327
|
.ui.form.loading:after {
|
354
328
|
position: absolute;
|
355
329
|
top: 0%;
|
356
330
|
left: 0%;
|
357
331
|
content: '';
|
358
|
-
|
359
332
|
width: 100%;
|
360
333
|
height: 100%;
|
361
334
|
background: rgba(255, 255, 255, 0.8) image-url("semantic-ui/loader-large.gif") no-repeat 50% 50%;
|
362
335
|
visibility: visible;
|
363
336
|
}
|
364
337
|
|
365
|
-
|
366
338
|
/*******************************
|
367
339
|
Variations
|
368
340
|
*******************************/
|
369
341
|
|
370
|
-
|
371
342
|
/*--------------------
|
372
343
|
Fluid Width
|
373
344
|
---------------------*/
|
@@ -380,7 +351,6 @@
|
|
380
351
|
box-sizing: border-box;
|
381
352
|
}
|
382
353
|
|
383
|
-
|
384
354
|
/*--------------------------
|
385
355
|
Input w/ attached Button
|
386
356
|
---------------------------*/
|
@@ -396,6 +366,7 @@
|
|
396
366
|
.ui.form .date.field > label {
|
397
367
|
position: relative;
|
398
368
|
}
|
369
|
+
|
399
370
|
.ui.form .date.field > label:after {
|
400
371
|
position: absolute;
|
401
372
|
top: 2em;
|
@@ -407,20 +378,21 @@
|
|
407
378
|
color: #CCCCCC;
|
408
379
|
}
|
409
380
|
|
410
|
-
|
411
381
|
/*--------------------
|
412
382
|
Inverted Colors
|
413
383
|
---------------------*/
|
384
|
+
|
414
385
|
.ui.inverted.form label {
|
415
386
|
color: #FFFFFF;
|
416
387
|
}
|
388
|
+
|
417
389
|
.ui.inverted.form .field.error textarea,
|
418
390
|
.ui.inverted.form .field.error input[type="text"],
|
419
391
|
.ui.inverted.form .field.error input[type="email"],
|
420
392
|
.ui.inverted.form .field.error input[type="date"],
|
421
393
|
.ui.inverted.form .field.error input[type="password"],
|
422
394
|
.ui.inverted.form .field.error input[type="number"],
|
423
|
-
.ui.inverted.form .field.error input[type="tel"]{
|
395
|
+
.ui.inverted.form .field.error input[type="tel"] {
|
424
396
|
background-color: #FFCCCC;
|
425
397
|
}
|
426
398
|
|
@@ -429,9 +401,11 @@
|
|
429
401
|
---------------------*/
|
430
402
|
|
431
403
|
/* Grouped Vertically */
|
404
|
+
|
432
405
|
.ui.form .grouped.fields {
|
433
406
|
margin: 0em 0em 1em;
|
434
407
|
}
|
408
|
+
|
435
409
|
.ui.form .grouped.fields .field {
|
436
410
|
display: block;
|
437
411
|
float: none;
|
@@ -439,15 +413,16 @@
|
|
439
413
|
padding: 0em;
|
440
414
|
}
|
441
415
|
|
442
|
-
|
443
416
|
/*--------------------
|
444
417
|
Fields
|
445
418
|
---------------------*/
|
446
419
|
|
447
420
|
/* Split fields */
|
421
|
+
|
448
422
|
.ui.form .fields {
|
449
423
|
clear: both;
|
450
424
|
}
|
425
|
+
|
451
426
|
.ui.form .fields:after {
|
452
427
|
content: ' ';
|
453
428
|
display: block;
|
@@ -456,6 +431,7 @@
|
|
456
431
|
line-height: 0;
|
457
432
|
height: 0;
|
458
433
|
}
|
434
|
+
|
459
435
|
.ui.form .fields > .field {
|
460
436
|
clear: none;
|
461
437
|
float: left;
|
@@ -464,30 +440,36 @@
|
|
464
440
|
-ms-box-sizing: border-box;
|
465
441
|
box-sizing: border-box;
|
466
442
|
}
|
443
|
+
|
467
444
|
.ui.form .fields > .field:first-child {
|
468
445
|
border-left: none;
|
446
|
+
-webkit-box-shadow: none;
|
469
447
|
box-shadow: none;
|
470
448
|
}
|
471
449
|
|
472
450
|
/* Other Combinations */
|
451
|
+
|
473
452
|
.ui.form .two.fields > .fields,
|
474
453
|
.ui.form .two.fields > .field {
|
475
454
|
width: 50%;
|
476
455
|
padding-left: 1%;
|
477
456
|
padding-right: 1%;
|
478
457
|
}
|
458
|
+
|
479
459
|
.ui.form .three.fields > .fields,
|
480
460
|
.ui.form .three.fields > .field {
|
481
461
|
width: 33.333%;
|
482
462
|
padding-left: 1%;
|
483
463
|
padding-right: 1%;
|
484
464
|
}
|
465
|
+
|
485
466
|
.ui.form .four.fields > .fields,
|
486
467
|
.ui.form .four.fields > .field {
|
487
468
|
width: 25%;
|
488
469
|
padding-left: 1%;
|
489
470
|
padding-right: 1%;
|
490
471
|
}
|
472
|
+
|
491
473
|
.ui.form .five.fields > .fields,
|
492
474
|
.ui.form .five.fields > .field {
|
493
475
|
width: 20%;
|
@@ -498,11 +480,11 @@
|
|
498
480
|
.ui.form .fields .field:first-child {
|
499
481
|
padding-left: 0%;
|
500
482
|
}
|
483
|
+
|
501
484
|
.ui.form .fields .field:last-child {
|
502
485
|
padding-right: 0%;
|
503
486
|
}
|
504
487
|
|
505
|
-
|
506
488
|
/*--------------------
|
507
489
|
Inline Fields
|
508
490
|
---------------------*/
|
@@ -511,22 +493,21 @@
|
|
511
493
|
min-height: 1.3em;
|
512
494
|
margin-right: 0.5em;
|
513
495
|
}
|
496
|
+
|
514
497
|
.ui.form .inline.fields .field > label,
|
515
498
|
.ui.form .inline.fields .field > p,
|
516
499
|
.ui.form .inline.fields .field > input,
|
517
500
|
.ui.form .inline.field > label,
|
518
501
|
.ui.form .inline.field > p,
|
519
502
|
.ui.form .inline.field > input {
|
520
|
-
|
521
503
|
display: inline-block;
|
522
504
|
width: auto;
|
523
|
-
|
524
505
|
margin-top: 0em;
|
525
506
|
margin-bottom: 0em;
|
526
|
-
|
527
507
|
vertical-align: middle;
|
528
508
|
font-size: 1em;
|
529
509
|
}
|
510
|
+
|
530
511
|
.ui.form .inline.fields .field > input,
|
531
512
|
.ui.form .inline.field > input {
|
532
513
|
font-size: 0.875em;
|
@@ -536,20 +517,22 @@
|
|
536
517
|
.ui.form .inline.field > :first-child {
|
537
518
|
margin: 0em 0.5em 0em 0em;
|
538
519
|
}
|
520
|
+
|
539
521
|
.ui.form .inline.fields .field > :only-child,
|
540
522
|
.ui.form .inline.field > :only-child {
|
541
523
|
margin: 0em;
|
542
524
|
}
|
543
525
|
|
544
|
-
|
545
526
|
/*--------------------
|
546
527
|
Sizes
|
547
528
|
---------------------*/
|
548
529
|
|
549
530
|
/* Standard */
|
531
|
+
|
550
532
|
.ui.small.form {
|
551
533
|
font-size: 0.875em;
|
552
534
|
}
|
535
|
+
|
553
536
|
.ui.small.form textarea,
|
554
537
|
.ui.small.form input[type="text"],
|
555
538
|
.ui.small.form input[type="email"],
|
@@ -558,12 +541,12 @@
|
|
558
541
|
.ui.small.form input[type="number"],
|
559
542
|
.ui.small.form input[type="tel"],
|
560
543
|
.ui.small.form label,
|
561
|
-
.ui.small.form select{
|
544
|
+
.ui.small.form select {
|
562
545
|
font-size: 1em;
|
563
546
|
}
|
564
547
|
|
565
548
|
/* Large */
|
549
|
+
|
566
550
|
.ui.large.form {
|
567
551
|
font-size: 1.125em;
|
568
|
-
}
|
569
|
-
|
552
|
+
}
|