semantic-ui-sass 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +51 -0
- data/Rakefile +5 -0
- data/app/assets/fonts/semantic-ui/basic.icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/basic.icons.svg +450 -0
- data/app/assets/fonts/semantic-ui/basic.icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/basic.icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/icons.otf +0 -0
- data/app/assets/fonts/semantic-ui/icons.svg +399 -0
- data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/icons.woff +0 -0
- data/app/assets/images/semantic-ui/loader-large-inverted.gif +0 -0
- data/app/assets/images/semantic-ui/loader-large.gif +0 -0
- data/app/assets/images/semantic-ui/loader-medium-inverted.gif +0 -0
- data/app/assets/images/semantic-ui/loader-medium.gif +0 -0
- data/app/assets/images/semantic-ui/loader-mini-inverted.gif +0 -0
- data/app/assets/images/semantic-ui/loader-mini.gif +0 -0
- data/app/assets/images/semantic-ui/loader-small-inverted.gif +0 -0
- data/app/assets/images/semantic-ui/loader-small.gif +0 -0
- data/app/assets/javascripts/semantic-ui.js +20 -0
- data/app/assets/javascripts/semantic-ui/accordion.js +419 -0
- data/app/assets/javascripts/semantic-ui/behavior/api.js +638 -0
- data/app/assets/javascripts/semantic-ui/behavior/colorize.js +270 -0
- data/app/assets/javascripts/semantic-ui/behavior/form.js +702 -0
- data/app/assets/javascripts/semantic-ui/behavior/state.js +725 -0
- data/app/assets/javascripts/semantic-ui/chatroom.js +769 -0
- data/app/assets/javascripts/semantic-ui/checkbox.js +344 -0
- data/app/assets/javascripts/semantic-ui/dimmer.js +564 -0
- data/app/assets/javascripts/semantic-ui/dropdown.js +724 -0
- data/app/assets/javascripts/semantic-ui/modal.js +553 -0
- data/app/assets/javascripts/semantic-ui/nag.js +545 -0
- data/app/assets/javascripts/semantic-ui/popup.js +727 -0
- data/app/assets/javascripts/semantic-ui/rating.js +403 -0
- data/app/assets/javascripts/semantic-ui/search.js +772 -0
- data/app/assets/javascripts/semantic-ui/shape.js +778 -0
- data/app/assets/javascripts/semantic-ui/sidebar.js +490 -0
- data/app/assets/javascripts/semantic-ui/tab.js +689 -0
- data/app/assets/javascripts/semantic-ui/transition.js +654 -0
- data/app/assets/javascripts/semantic-ui/video.js +457 -0
- data/app/assets/stylesheets/semantic-ui.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/collections/_all.scss +6 -0
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +77 -0
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +569 -0
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +643 -0
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +1767 -0
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +347 -0
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +524 -0
- data/app/assets/stylesheets/semantic-ui/elements/_all.scss +12 -0
- data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +479 -0
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +1187 -0
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +199 -0
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +342 -0
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +772 -0
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +181 -0
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +338 -0
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +827 -0
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +185 -0
- data/app/assets/stylesheets/semantic-ui/elements/_progress.scss +352 -0
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +464 -0
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +293 -0
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +199 -0
- data/app/assets/stylesheets/semantic-ui/modules/_all.scss +16 -0
- data/app/assets/stylesheets/semantic-ui/modules/_chatroom.scss +281 -0
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +481 -0
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +236 -0
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +548 -0
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +217 -0
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +173 -0
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +255 -0
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +179 -0
- data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +365 -0
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +273 -0
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +113 -0
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +150 -0
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +63 -0
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1096 -0
- data/app/assets/stylesheets/semantic-ui/modules/_video.scss +98 -0
- data/app/assets/stylesheets/semantic-ui/views/_all.scss +5 -0
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +221 -0
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +152 -0
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +651 -0
- data/app/assets/stylesheets/semantic-ui/views/_list.scss +555 -0
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +27 -0
- data/lib/semantic/ui/sass.rb +10 -0
- data/lib/semantic/ui/sass/engine.rb +13 -0
- data/lib/semantic/ui/sass/version.rb +8 -0
- data/semantic-ui-sass.gemspec +24 -0
- data/tasks/converter.rb +237 -0
- metadata +177 -0
@@ -0,0 +1,77 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic - Breadcrumb
|
3
|
+
* http://github.com/jlukic/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2013 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
/*******************************
|
13
|
+
Breadcrumb
|
14
|
+
*******************************/
|
15
|
+
|
16
|
+
.ui.breadcrumb {
|
17
|
+
margin: 1em 0em;
|
18
|
+
display: inline-block;
|
19
|
+
vertical-align: middle;
|
20
|
+
}
|
21
|
+
.ui.breadcrumb:first-child {
|
22
|
+
margin-top: 0em;
|
23
|
+
}
|
24
|
+
.ui.breadcrumb:last-child {
|
25
|
+
margin-bottom: 0em;
|
26
|
+
}
|
27
|
+
|
28
|
+
/*******************************
|
29
|
+
Content
|
30
|
+
*******************************/
|
31
|
+
|
32
|
+
.ui.breadcrumb .divider {
|
33
|
+
display: inline-block;
|
34
|
+
opacity: 0.5;
|
35
|
+
margin: 0em 0.15em 0em;
|
36
|
+
|
37
|
+
font-size: 1em;
|
38
|
+
color: rgba(0, 0, 0, 0.3);
|
39
|
+
}
|
40
|
+
|
41
|
+
.ui.breadcrumb a.section {
|
42
|
+
cursor: pointer;
|
43
|
+
}
|
44
|
+
.ui.breadcrumb .section {
|
45
|
+
display: inline-block;
|
46
|
+
margin: 0em;
|
47
|
+
padding: 0em;
|
48
|
+
}
|
49
|
+
|
50
|
+
/* Loose Coupling */
|
51
|
+
.ui.breadcrumb.segment {
|
52
|
+
display: inline-block;
|
53
|
+
padding: 0.5em 1em;
|
54
|
+
}
|
55
|
+
|
56
|
+
/*******************************
|
57
|
+
States
|
58
|
+
*******************************/
|
59
|
+
|
60
|
+
.ui.breadcrumb .active.section {
|
61
|
+
font-weight: bold;
|
62
|
+
}
|
63
|
+
|
64
|
+
|
65
|
+
/*******************************
|
66
|
+
Variations
|
67
|
+
*******************************/
|
68
|
+
|
69
|
+
.ui.small.breadcrumb {
|
70
|
+
font-size: 0.75em;
|
71
|
+
}
|
72
|
+
.ui.large.breadcrumb {
|
73
|
+
font-size: 1.1em;
|
74
|
+
}
|
75
|
+
.ui.huge.breadcrumb {
|
76
|
+
font-size: 1.3em;
|
77
|
+
}
|
@@ -0,0 +1,569 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic - Form
|
3
|
+
* http://github.com/jlukic/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2013 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
13
|
+
/*******************************
|
14
|
+
Standard
|
15
|
+
*******************************/
|
16
|
+
|
17
|
+
/*--------------------
|
18
|
+
Form
|
19
|
+
---------------------*/
|
20
|
+
|
21
|
+
.ui.form {
|
22
|
+
position: relative;
|
23
|
+
max-width: 100%;
|
24
|
+
}
|
25
|
+
.ui.form :first-child {
|
26
|
+
margin-top: 0em;
|
27
|
+
}
|
28
|
+
.ui.form :last-child {
|
29
|
+
margin-bottom: 0em;
|
30
|
+
}
|
31
|
+
|
32
|
+
/*--------------------
|
33
|
+
Content
|
34
|
+
---------------------*/
|
35
|
+
|
36
|
+
.ui.form > p {
|
37
|
+
margin: 1em 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
/*--------------------
|
41
|
+
Field
|
42
|
+
---------------------*/
|
43
|
+
|
44
|
+
.ui.form .field {
|
45
|
+
clear: both;
|
46
|
+
margin: 0em 0em 1em;
|
47
|
+
}
|
48
|
+
|
49
|
+
/*--------------------
|
50
|
+
Labels
|
51
|
+
---------------------*/
|
52
|
+
|
53
|
+
.ui.form .field > label {
|
54
|
+
margin: 0em 0em 0.3em;
|
55
|
+
display: block;
|
56
|
+
|
57
|
+
color: #555555;
|
58
|
+
font-size: 0.875em;
|
59
|
+
}
|
60
|
+
|
61
|
+
/*--------------------
|
62
|
+
Standard Inputs
|
63
|
+
---------------------*/
|
64
|
+
|
65
|
+
|
66
|
+
.ui.form textarea,
|
67
|
+
.ui.form select,
|
68
|
+
.ui.form input[type="text"],
|
69
|
+
.ui.form input[type="email"],
|
70
|
+
.ui.form input[type="date"],
|
71
|
+
.ui.form input[type="password"],
|
72
|
+
.ui.form input[type="number"],
|
73
|
+
.ui.form input[type="tel"],
|
74
|
+
.ui.form .ui.input {
|
75
|
+
width: 100%;
|
76
|
+
}
|
77
|
+
|
78
|
+
.ui.form textarea,
|
79
|
+
.ui.form select,
|
80
|
+
.ui.form input[type="text"],
|
81
|
+
.ui.form input[type="email"],
|
82
|
+
.ui.form input[type="date"],
|
83
|
+
.ui.form input[type="password"],
|
84
|
+
.ui.form input[type="number"],
|
85
|
+
.ui.form input[type="tel"]{
|
86
|
+
|
87
|
+
margin: 0em;
|
88
|
+
padding: 0.85em 1.2em;
|
89
|
+
font-size: 0.875em;
|
90
|
+
|
91
|
+
background-color: #FFFFFF;
|
92
|
+
border: 1px solid rgba(0, 0, 0, 0.15);
|
93
|
+
outline: none;
|
94
|
+
|
95
|
+
|
96
|
+
color: rgba(0, 0, 0, 0.7);
|
97
|
+
|
98
|
+
-webkit-border-radius: 0.3125em;
|
99
|
+
-moz-border-radius: 0.3125em;
|
100
|
+
border-radius: 0.3125em;
|
101
|
+
|
102
|
+
-webkit-transition:
|
103
|
+
background-color 0.3s ease-out,
|
104
|
+
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
|
+
|
128
|
+
-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
|
+
box-shadow: 0em 0em 0em 0em rgba(0, 0, 0, 0.3) inset;
|
131
|
+
|
132
|
+
-webkit-appearance: none;
|
133
|
+
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
134
|
+
|
135
|
+
-webkit-box-sizing: border-box;
|
136
|
+
-moz-box-sizing: border-box;
|
137
|
+
-ms-box-sizing: border-box;
|
138
|
+
box-sizing: border-box;
|
139
|
+
}
|
140
|
+
|
141
|
+
.ui.textarea,
|
142
|
+
.ui.form textarea {
|
143
|
+
line-height: 1.33;
|
144
|
+
min-height: 8em;
|
145
|
+
height: 12em;
|
146
|
+
max-height: 24em;
|
147
|
+
resize: vertical;
|
148
|
+
}
|
149
|
+
|
150
|
+
.ui.form textarea,
|
151
|
+
.ui.form input[type="checkbox"] {
|
152
|
+
vertical-align: top;
|
153
|
+
}
|
154
|
+
|
155
|
+
/*--------------------
|
156
|
+
Dividers
|
157
|
+
---------------------*/
|
158
|
+
|
159
|
+
.ui.form .divider {
|
160
|
+
clear: both;
|
161
|
+
margin: 1em 0em;
|
162
|
+
}
|
163
|
+
|
164
|
+
|
165
|
+
/*--------------------
|
166
|
+
Types of Messages
|
167
|
+
---------------------*/
|
168
|
+
|
169
|
+
.ui.form .info.message,
|
170
|
+
.ui.form .warning.message,
|
171
|
+
.ui.form .error.message {
|
172
|
+
display: none;
|
173
|
+
}
|
174
|
+
|
175
|
+
/* Assumptions */
|
176
|
+
.ui.form .message:first-child {
|
177
|
+
margin-top: 0px;
|
178
|
+
}
|
179
|
+
|
180
|
+
/*--------------------
|
181
|
+
Validation Prompt
|
182
|
+
---------------------*/
|
183
|
+
|
184
|
+
.ui.form .field .prompt.label {
|
185
|
+
white-space: nowrap;
|
186
|
+
}
|
187
|
+
.ui.form .inline.field .prompt {
|
188
|
+
margin-top: 0em;
|
189
|
+
margin-left: 1em;
|
190
|
+
}
|
191
|
+
.ui.form .inline.field .prompt:before {
|
192
|
+
margin-top: -0.3em;
|
193
|
+
bottom: auto;
|
194
|
+
right: auto;
|
195
|
+
top: 50%;
|
196
|
+
left: 0em;
|
197
|
+
}
|
198
|
+
|
199
|
+
|
200
|
+
/*******************************
|
201
|
+
States
|
202
|
+
*******************************/
|
203
|
+
|
204
|
+
|
205
|
+
/*--------------------
|
206
|
+
Focus
|
207
|
+
---------------------*/
|
208
|
+
|
209
|
+
.ui.form input[type="text"]:focus,
|
210
|
+
.ui.form input[type="email"]:focus,
|
211
|
+
.ui.form input[type="date"]:focus,
|
212
|
+
.ui.form input[type="password"]:focus,
|
213
|
+
.ui.form input[type="number"]:focus,
|
214
|
+
.ui.form input[type="tel"]:focus,
|
215
|
+
.ui.form textarea:focus,
|
216
|
+
.ui.form select:focus{
|
217
|
+
color: rgba(0, 0, 0, 0.85);
|
218
|
+
border-color: rgba(0, 0, 0, 0.2);
|
219
|
+
border-bottom-left-radius: 0;
|
220
|
+
border-top-left-radius: 0;
|
221
|
+
|
222
|
+
-webkit-appearance: none;
|
223
|
+
|
224
|
+
-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
|
+
box-shadow: 0.3em 0em 0em 0em rgba(0, 0, 0, 0.2) inset;
|
227
|
+
}
|
228
|
+
|
229
|
+
/*--------------------
|
230
|
+
Error
|
231
|
+
---------------------*/
|
232
|
+
|
233
|
+
/* On Form */
|
234
|
+
.ui.form.warning .warning.message {
|
235
|
+
display: block;
|
236
|
+
}
|
237
|
+
|
238
|
+
/*--------------------
|
239
|
+
Warning
|
240
|
+
---------------------*/
|
241
|
+
|
242
|
+
/* On Form */
|
243
|
+
.ui.form.error .error.message {
|
244
|
+
display: block;
|
245
|
+
}
|
246
|
+
|
247
|
+
/* On Field(s) */
|
248
|
+
.ui.form .fields.error .field label,
|
249
|
+
.ui.form .field.error label {
|
250
|
+
color: #D95C5C;
|
251
|
+
}
|
252
|
+
.ui.form .fields.error .field textarea,
|
253
|
+
.ui.form .fields.error .field input[type="text"],
|
254
|
+
.ui.form .fields.error .field input[type="email"],
|
255
|
+
.ui.form .fields.error .field input[type="date"],
|
256
|
+
.ui.form .fields.error .field input[type="password"],
|
257
|
+
.ui.form .fields.error .field input[type="number"],
|
258
|
+
.ui.form .fields.error .field input[type="tel"],
|
259
|
+
.ui.form .field.error textarea,
|
260
|
+
.ui.form .field.error input[type="text"],
|
261
|
+
.ui.form .field.error input[type="email"],
|
262
|
+
.ui.form .field.error input[type="date"],
|
263
|
+
.ui.form .field.error input[type="password"],
|
264
|
+
.ui.form .field.error input[type="number"],
|
265
|
+
.ui.form .field.error input[type="tel"]{
|
266
|
+
background-color: #FFFAFA;
|
267
|
+
border-color: #E7BEBE;
|
268
|
+
border-left: none;
|
269
|
+
|
270
|
+
color: #D95C5C;
|
271
|
+
padding-left: 1.2em;
|
272
|
+
|
273
|
+
border-bottom-left-radius: 0;
|
274
|
+
border-top-left-radius: 0;
|
275
|
+
|
276
|
+
-webkit-box-shadow: 0.3em 0em 0em 0em #D95C5C inset;
|
277
|
+
-moz-box-shadow: 0.3em 0em 0em 0em #D95C5C inset;
|
278
|
+
box-shadow: 0.3em 0em 0em 0em #D95C5C inset;
|
279
|
+
|
280
|
+
}
|
281
|
+
.ui.form .field.error textarea:focus,
|
282
|
+
.ui.form .field.error input[type="text"]:focus,
|
283
|
+
.ui.form .field.error input[type="email"]:focus,
|
284
|
+
.ui.form .field.error input[type="date"]:focus,
|
285
|
+
.ui.form .field.error input[type="password"]:focus,
|
286
|
+
.ui.form .field.error input[type="number"]:focus,
|
287
|
+
.ui.form .field.error input[type="tel"]:focus{
|
288
|
+
border-color: rgba(255, 80, 80, 1);
|
289
|
+
color: rgba(255, 80, 80, 1);
|
290
|
+
|
291
|
+
-webkit-appearance: none;
|
292
|
+
-webkit-box-shadow: 0.3em 0em 0em 0em #FF5050 inset;
|
293
|
+
-moz-box-shadow: 0.3em 0em 0em 0em #FF5050 inset;
|
294
|
+
box-shadow: 0.3em 0em 0em 0em #FF5050 inset;
|
295
|
+
}
|
296
|
+
|
297
|
+
/*--------------------
|
298
|
+
Empty (Placeholder)
|
299
|
+
---------------------*/
|
300
|
+
|
301
|
+
/* browsers require these rules separate */
|
302
|
+
.ui.form ::-webkit-input-placeholder {
|
303
|
+
color: #E0E0E0;
|
304
|
+
}
|
305
|
+
.ui.form ::-moz-placeholder {
|
306
|
+
color: #E0E0E0;
|
307
|
+
}
|
308
|
+
.ui.form :focus::-webkit-input-placeholder {
|
309
|
+
color: #AAAAAA;
|
310
|
+
}
|
311
|
+
.ui.form :focus::-moz-placeholder {
|
312
|
+
color: #AAAAAA;
|
313
|
+
}
|
314
|
+
|
315
|
+
/* Error Placeholder */
|
316
|
+
.ui.form .error ::-webkit-input-placeholder {
|
317
|
+
color: rgba(255, 80, 80, 0.4);
|
318
|
+
}
|
319
|
+
.ui.form .error ::-moz-placeholder {
|
320
|
+
color: rgba(255, 80, 80, 0.4);
|
321
|
+
}
|
322
|
+
.ui.form .error :focus::-webkit-input-placeholder {
|
323
|
+
color: rgba(255, 80, 80, 0.7);
|
324
|
+
}
|
325
|
+
.ui.form .error :focus::-moz-placeholder {
|
326
|
+
color: rgba(255, 80, 80, 0.7);
|
327
|
+
}
|
328
|
+
|
329
|
+
/*--------------------
|
330
|
+
Disabled
|
331
|
+
---------------------*/
|
332
|
+
|
333
|
+
.ui.form .field :disabled,
|
334
|
+
.ui.form .field.disabled {
|
335
|
+
opacity: 0.5;
|
336
|
+
}
|
337
|
+
.ui.form .field.disabled label {
|
338
|
+
opacity: 0.5;
|
339
|
+
}
|
340
|
+
.ui.form .field.disabled :disabled {
|
341
|
+
opacity: 1;
|
342
|
+
}
|
343
|
+
|
344
|
+
|
345
|
+
/*--------------------
|
346
|
+
Loading State
|
347
|
+
---------------------*/
|
348
|
+
|
349
|
+
/* On Form */
|
350
|
+
.ui.form.loading {
|
351
|
+
position: relative;
|
352
|
+
}
|
353
|
+
.ui.form.loading:after {
|
354
|
+
position: absolute;
|
355
|
+
top: 0%;
|
356
|
+
left: 0%;
|
357
|
+
content: '';
|
358
|
+
|
359
|
+
width: 100%;
|
360
|
+
height: 100%;
|
361
|
+
background: rgba(255, 255, 255, 0.8) image-url("semantic-ui/loader-large.gif") no-repeat 50% 50%;
|
362
|
+
visibility: visible;
|
363
|
+
}
|
364
|
+
|
365
|
+
|
366
|
+
/*******************************
|
367
|
+
Variations
|
368
|
+
*******************************/
|
369
|
+
|
370
|
+
|
371
|
+
/*--------------------
|
372
|
+
Fluid Width
|
373
|
+
---------------------*/
|
374
|
+
|
375
|
+
.ui.form.fluid {
|
376
|
+
width: 100%;
|
377
|
+
-webkit-box-sizing: border-box;
|
378
|
+
-moz-box-sizing: border-box;
|
379
|
+
-ms-box-sizing: border-box;
|
380
|
+
box-sizing: border-box;
|
381
|
+
}
|
382
|
+
|
383
|
+
|
384
|
+
/*--------------------------
|
385
|
+
Input w/ attached Button
|
386
|
+
---------------------------*/
|
387
|
+
|
388
|
+
.ui.form input.attached {
|
389
|
+
width: auto;
|
390
|
+
}
|
391
|
+
|
392
|
+
/*--------------------
|
393
|
+
Date Input
|
394
|
+
---------------------*/
|
395
|
+
|
396
|
+
.ui.form .date.field > label {
|
397
|
+
position: relative;
|
398
|
+
}
|
399
|
+
.ui.form .date.field > label:after {
|
400
|
+
position: absolute;
|
401
|
+
top: 2em;
|
402
|
+
right: 0.5em;
|
403
|
+
font-family: 'Icons';
|
404
|
+
content: '\f133';
|
405
|
+
font-size: 1.2em;
|
406
|
+
font-weight: normal;
|
407
|
+
color: #CCCCCC;
|
408
|
+
}
|
409
|
+
|
410
|
+
|
411
|
+
/*--------------------
|
412
|
+
Inverted Colors
|
413
|
+
---------------------*/
|
414
|
+
.ui.inverted.form label {
|
415
|
+
color: #FFFFFF;
|
416
|
+
}
|
417
|
+
.ui.inverted.form .field.error textarea,
|
418
|
+
.ui.inverted.form .field.error input[type="text"],
|
419
|
+
.ui.inverted.form .field.error input[type="email"],
|
420
|
+
.ui.inverted.form .field.error input[type="date"],
|
421
|
+
.ui.inverted.form .field.error input[type="password"],
|
422
|
+
.ui.inverted.form .field.error input[type="number"],
|
423
|
+
.ui.inverted.form .field.error input[type="tel"]{
|
424
|
+
background-color: #FFCCCC;
|
425
|
+
}
|
426
|
+
|
427
|
+
/*--------------------
|
428
|
+
Field Groups
|
429
|
+
---------------------*/
|
430
|
+
|
431
|
+
/* Grouped Vertically */
|
432
|
+
.ui.form .grouped.fields {
|
433
|
+
margin: 0em 0em 1em;
|
434
|
+
}
|
435
|
+
.ui.form .grouped.fields .field {
|
436
|
+
display: block;
|
437
|
+
float: none;
|
438
|
+
margin: 0.5em 0em;
|
439
|
+
padding: 0em;
|
440
|
+
}
|
441
|
+
|
442
|
+
|
443
|
+
/*--------------------
|
444
|
+
Fields
|
445
|
+
---------------------*/
|
446
|
+
|
447
|
+
/* Split fields */
|
448
|
+
.ui.form .fields {
|
449
|
+
clear: both;
|
450
|
+
}
|
451
|
+
.ui.form .fields:after {
|
452
|
+
content: ' ';
|
453
|
+
display: block;
|
454
|
+
clear: both;
|
455
|
+
visibility: hidden;
|
456
|
+
line-height: 0;
|
457
|
+
height: 0;
|
458
|
+
}
|
459
|
+
.ui.form .fields > .field {
|
460
|
+
clear: none;
|
461
|
+
float: left;
|
462
|
+
-webkit-box-sizing: border-box;
|
463
|
+
-moz-box-sizing: border-box;
|
464
|
+
-ms-box-sizing: border-box;
|
465
|
+
box-sizing: border-box;
|
466
|
+
}
|
467
|
+
.ui.form .fields > .field:first-child {
|
468
|
+
border-left: none;
|
469
|
+
box-shadow: none;
|
470
|
+
}
|
471
|
+
|
472
|
+
/* Other Combinations */
|
473
|
+
.ui.form .two.fields > .fields,
|
474
|
+
.ui.form .two.fields > .field {
|
475
|
+
width: 50%;
|
476
|
+
padding-left: 1%;
|
477
|
+
padding-right: 1%;
|
478
|
+
}
|
479
|
+
.ui.form .three.fields > .fields,
|
480
|
+
.ui.form .three.fields > .field {
|
481
|
+
width: 33.333%;
|
482
|
+
padding-left: 1%;
|
483
|
+
padding-right: 1%;
|
484
|
+
}
|
485
|
+
.ui.form .four.fields > .fields,
|
486
|
+
.ui.form .four.fields > .field {
|
487
|
+
width: 25%;
|
488
|
+
padding-left: 1%;
|
489
|
+
padding-right: 1%;
|
490
|
+
}
|
491
|
+
.ui.form .five.fields > .fields,
|
492
|
+
.ui.form .five.fields > .field {
|
493
|
+
width: 20%;
|
494
|
+
padding-left: 1%;
|
495
|
+
padding-right: 1%;
|
496
|
+
}
|
497
|
+
|
498
|
+
.ui.form .fields .field:first-child {
|
499
|
+
padding-left: 0%;
|
500
|
+
}
|
501
|
+
.ui.form .fields .field:last-child {
|
502
|
+
padding-right: 0%;
|
503
|
+
}
|
504
|
+
|
505
|
+
|
506
|
+
/*--------------------
|
507
|
+
Inline Fields
|
508
|
+
---------------------*/
|
509
|
+
|
510
|
+
.ui.form .inline.fields .field {
|
511
|
+
min-height: 1.3em;
|
512
|
+
margin-right: 0.5em;
|
513
|
+
}
|
514
|
+
.ui.form .inline.fields .field > label,
|
515
|
+
.ui.form .inline.fields .field > p,
|
516
|
+
.ui.form .inline.fields .field > input,
|
517
|
+
.ui.form .inline.field > label,
|
518
|
+
.ui.form .inline.field > p,
|
519
|
+
.ui.form .inline.field > input {
|
520
|
+
|
521
|
+
display: inline-block;
|
522
|
+
width: auto;
|
523
|
+
|
524
|
+
margin-top: 0em;
|
525
|
+
margin-bottom: 0em;
|
526
|
+
|
527
|
+
vertical-align: middle;
|
528
|
+
font-size: 1em;
|
529
|
+
}
|
530
|
+
.ui.form .inline.fields .field > input,
|
531
|
+
.ui.form .inline.field > input {
|
532
|
+
font-size: 0.875em;
|
533
|
+
}
|
534
|
+
|
535
|
+
.ui.form .inline.fields .field > :first-child,
|
536
|
+
.ui.form .inline.field > :first-child {
|
537
|
+
margin: 0em 0.5em 0em 0em;
|
538
|
+
}
|
539
|
+
.ui.form .inline.fields .field > :only-child,
|
540
|
+
.ui.form .inline.field > :only-child {
|
541
|
+
margin: 0em;
|
542
|
+
}
|
543
|
+
|
544
|
+
|
545
|
+
/*--------------------
|
546
|
+
Sizes
|
547
|
+
---------------------*/
|
548
|
+
|
549
|
+
/* Standard */
|
550
|
+
.ui.small.form {
|
551
|
+
font-size: 0.875em;
|
552
|
+
}
|
553
|
+
.ui.small.form textarea,
|
554
|
+
.ui.small.form input[type="text"],
|
555
|
+
.ui.small.form input[type="email"],
|
556
|
+
.ui.small.form input[type="date"],
|
557
|
+
.ui.small.form input[type="password"],
|
558
|
+
.ui.small.form input[type="number"],
|
559
|
+
.ui.small.form input[type="tel"],
|
560
|
+
.ui.small.form label,
|
561
|
+
.ui.small.form select{
|
562
|
+
font-size: 1em;
|
563
|
+
}
|
564
|
+
|
565
|
+
/* Large */
|
566
|
+
.ui.large.form {
|
567
|
+
font-size: 1.125em;
|
568
|
+
}
|
569
|
+
|