semantic-ui-sass 0.8.1.0 → 0.8.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/app/assets/javascripts/semantic-ui/dimmer.js +4 -2
  5. data/app/assets/javascripts/semantic-ui/modal.js +11 -6
  6. data/app/assets/javascripts/semantic-ui/popup.js +0 -1
  7. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +6 -2
  8. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +56 -73
  9. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +89 -53
  10. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +221 -316
  11. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +43 -88
  12. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +83 -23
  13. data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +831 -187
  14. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +189 -191
  15. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +4 -22
  16. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +43 -20
  17. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +1529 -472
  18. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +145 -152
  19. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +36 -63
  20. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +120 -175
  21. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +13 -11
  22. data/app/assets/stylesheets/semantic-ui/elements/_progress.scss +33 -115
  23. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +46 -101
  24. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +35 -65
  25. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +127 -170
  26. data/app/assets/stylesheets/semantic-ui/modules/_chatroom.scss +287 -269
  27. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +42 -129
  28. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +16 -49
  29. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +54 -107
  30. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +29 -22
  31. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +112 -147
  32. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +226 -230
  33. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +20 -28
  34. data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +35 -78
  35. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +27 -44
  36. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +10 -41
  37. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +31 -60
  38. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +3 -3
  39. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +219 -451
  40. data/app/assets/stylesheets/semantic-ui/modules/_video.scss +75 -79
  41. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +21 -23
  42. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +20 -8
  43. data/app/assets/stylesheets/semantic-ui/views/_item.scss +86 -43
  44. data/app/assets/stylesheets/semantic-ui/views/_list.scss +80 -53
  45. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +6 -1
  46. data/lib/semantic/ui/sass/version.rb +2 -2
  47. data/semantic-ui-sass.gemspec +1 -1
  48. data/spec/dummy/config/application.rb +1 -1
  49. data/spec/spec_helper.rb +0 -1
  50. data/tasks/converter.rb +7 -0
  51. metadata +4 -7
  52. data/spec/dummy/config/database.yml +0 -25
@@ -7,175 +7,168 @@
7
7
  * Released under the MIT license
8
8
  * http://opensource.org/licenses/MIT
9
9
  *
10
- */
11
-
12
-
10
+ */
11
+
13
12
  /*******************************
14
13
  Image
15
- *******************************/
16
-
17
- .ui.image {
18
- position: relative;
19
- display: inline-block;
20
- vertical-align: middle;
21
- max-width: 100%;
22
- background-color: rgba(0, 0, 0, 0.05);
23
- }
24
- img.ui.image {
25
- display: block;
26
- background: none;
27
- }
28
- .ui.image img {
29
- display: block;
30
- max-width: 100%;
31
- height: auto;
32
- }
33
-
14
+ *******************************/
15
+
16
+ .ui.image {
17
+ position: relative;
18
+ display: inline-block;
19
+ vertical-align: middle;
20
+ max-width: 100%;
21
+ background-color: rgba(0, 0, 0, 0.05);
22
+ }
23
+
24
+ img.ui.image {
25
+ display: block;
26
+ background: none;
27
+ }
28
+
29
+ .ui.image img {
30
+ display: block;
31
+ max-width: 100%;
32
+ height: auto;
33
+ }
34
+
34
35
  /*******************************
35
36
  States
36
- *******************************/
37
-
38
-
39
- .ui.disabled.image {
40
- cursor: default;
41
- opacity: 0.3;
42
- }
43
-
44
-
37
+ *******************************/
38
+
39
+ .ui.disabled.image {
40
+ cursor: default;
41
+ opacity: 0.3;
42
+ }
43
+
45
44
  /*******************************
46
45
  Variations
47
- *******************************/
48
-
46
+ *******************************/
47
+
49
48
  /*--------------
50
49
  Rounded
51
- ---------------*/
52
-
53
- .ui.rounded.images .image,
54
- .ui.rounded.images img,
55
- .ui.rounded.image img,
56
- .ui.rounded.image {
57
- -webkit-border-radius: 0.3125em;
58
- -moz-border-radius: 0.3125em;
59
- border-radius: 0.3125em;
60
- }
61
-
50
+ ---------------*/
51
+
52
+ .ui.rounded.images .image,
53
+ .ui.rounded.images img,
54
+ .ui.rounded.image img,
55
+ .ui.rounded.image {
56
+ border-radius: 0.3125em;
57
+ }
58
+
62
59
  /*--------------
63
60
  Circular
64
- ---------------*/
65
-
66
- .ui.circular.images .image,
67
- .ui.circular.images img,
68
- .ui.circular.image img,
69
- .ui.circular.image {
70
- -webkit-border-radius: 500rem;
71
- -moz-border-radius: 500rem;
72
- border-radius: 500rem;
73
- }
74
-
61
+ ---------------*/
62
+
63
+ .ui.circular.images .image,
64
+ .ui.circular.images img,
65
+ .ui.circular.image img,
66
+ .ui.circular.image {
67
+ border-radius: 500rem;
68
+ }
69
+
75
70
  /*--------------
76
71
  Fluid
77
- ---------------*/
78
-
79
- .ui.fluid.images,
80
- .ui.fluid.image,
81
- .ui.fluid.images img,
82
- .ui.fluid.image img {
83
- display: block;
84
- width: 100%;
85
- }
86
-
87
-
72
+ ---------------*/
73
+
74
+ .ui.fluid.images,
75
+ .ui.fluid.image,
76
+ .ui.fluid.images img,
77
+ .ui.fluid.image img {
78
+ display: block;
79
+ width: 100%;
80
+ }
81
+
88
82
  /*--------------
89
83
  Avatar
90
- ---------------*/
91
-
92
- .ui.avatar.images .image,
93
- .ui.avatar.images img,
94
- .ui.avatar.image img,
95
- .ui.avatar.image {
96
- margin-right: 0.5em;
97
-
98
- display: inline-block;
99
- width: 2em;
100
- height: 2em;
101
-
102
- -webkit-border-radius: 500rem;
103
- -moz-border-radius: 500rem;
104
- border-radius: 500rem;
105
- }
106
-
107
-
108
-
84
+ ---------------*/
85
+
86
+ .ui.avatar.images .image,
87
+ .ui.avatar.images img,
88
+ .ui.avatar.image img,
89
+ .ui.avatar.image {
90
+ margin-right: 0.5em;
91
+ display: inline-block;
92
+ width: 2em;
93
+ height: 2em;
94
+ border-radius: 500rem;
95
+ }
96
+
109
97
  /*-------------------
110
98
  Floated
111
- --------------------*/
112
-
113
- .ui.floated.image,
114
- .ui.floated.images {
115
- float: left;
116
- margin-right: 1em;
117
- margin-bottom: 1em;
118
- }
119
- .ui.right.floated.images,
120
- .ui.right.floated.image {
121
- float: right;
122
- margin-bottom: 1em;
123
- margin-left: 1em;
124
- }
125
-
126
-
99
+ --------------------*/
100
+
101
+ .ui.floated.image,
102
+ .ui.floated.images {
103
+ float: left;
104
+ margin-right: 1em;
105
+ margin-bottom: 1em;
106
+ }
107
+
108
+ .ui.right.floated.images,
109
+ .ui.right.floated.image {
110
+ float: right;
111
+ margin-bottom: 1em;
112
+ margin-left: 1em;
113
+ }
114
+
127
115
  /*--------------
128
116
  Sizes
129
- ---------------*/
130
-
131
- .ui.tiny.images .image,
132
- .ui.tiny.images img,
133
- .ui.tiny.image {
134
- width: 20px;
135
- font-size: 0.7rem;
136
- }
137
- .ui.mini.images .image,
138
- .ui.mini.images img,
139
- .ui.mini.image {
140
- width: 35px;
141
- font-size: 0.8rem;
142
- }
143
- .ui.small.images .image,
144
- .ui.small.images img,
145
- .ui.small.image {
146
- width: 80px;
147
- font-size: 0.9rem;
148
- }
149
- .ui.medium.images .image,
150
- .ui.medium.images img,
151
- .ui.medium.image {
152
- width: 300px;
153
- font-size: 1rem;
154
- }
155
- .ui.large.images .image,
156
- .ui.large.images img,
157
- .ui.large.image {
158
- width: 450px;
159
- font-size: 1.1rem;
160
- }
161
- .ui.huge.images .image,
162
- .ui.huge.images img,
163
- .ui.huge.image {
164
- width: 600px;
165
- font-size: 1.2rem;
166
- }
167
-
117
+ ---------------*/
118
+
119
+ .ui.tiny.images .image,
120
+ .ui.tiny.images img,
121
+ .ui.tiny.image {
122
+ width: 20px;
123
+ font-size: 0.7rem;
124
+ }
125
+
126
+ .ui.mini.images .image,
127
+ .ui.mini.images img,
128
+ .ui.mini.image {
129
+ width: 35px;
130
+ font-size: 0.8rem;
131
+ }
132
+
133
+ .ui.small.images .image,
134
+ .ui.small.images img,
135
+ .ui.small.image {
136
+ width: 80px;
137
+ font-size: 0.9rem;
138
+ }
139
+
140
+ .ui.medium.images .image,
141
+ .ui.medium.images img,
142
+ .ui.medium.image {
143
+ width: 300px;
144
+ font-size: 1rem;
145
+ }
146
+
147
+ .ui.large.images .image,
148
+ .ui.large.images img,
149
+ .ui.large.image {
150
+ width: 450px;
151
+ font-size: 1.1rem;
152
+ }
153
+
154
+ .ui.huge.images .image,
155
+ .ui.huge.images img,
156
+ .ui.huge.image {
157
+ width: 600px;
158
+ font-size: 1.2rem;
159
+ }
160
+
168
161
  /*******************************
169
162
  Groups
170
- *******************************/
171
-
172
- .ui.images {
173
- font-size: 0em;
174
- margin: 0em -0.25rem 0rem;
175
- }
176
-
177
- .ui.images .image,
178
- .ui.images img {
179
- display: inline-block;
180
- margin: 0em 0.25em 0.5em;
181
- }
163
+ *******************************/
164
+
165
+ .ui.images {
166
+ font-size: 0em;
167
+ margin: 0em -0.25rem 0rem;
168
+ }
169
+
170
+ .ui.images .image,
171
+ .ui.images img {
172
+ display: inline-block;
173
+ margin: 0em 0.25em 0.5em;
174
+ }
@@ -9,12 +9,10 @@
9
9
  *
10
10
  */
11
11
 
12
-
13
12
  /*******************************
14
13
  Standard
15
14
  *******************************/
16
15
 
17
-
18
16
  /*--------------------
19
17
  Inputs
20
18
  ---------------------*/
@@ -22,75 +20,47 @@
22
20
  .ui.input {
23
21
  display: inline-block;
24
22
  position: relative;
25
-
26
23
  color: rgba(0, 0, 0, 0.7);
27
24
  }
25
+
28
26
  .ui.input input {
29
27
  width: 100%;
30
28
  font-family: "Helvetica Neue", "Helvetica", Arial;
31
-
32
29
  margin: 0em;
33
30
  padding: 0.85em 1.2em;
34
31
  font-size: 0.875em;
35
-
36
32
  background-color: #FFFFFF;
37
33
  border: 1px solid rgba(0, 0, 0, 0.15);
38
34
  outline: none;
39
-
40
35
  color: rgba(0, 0, 0, 0.7);
41
-
42
- -webkit-border-radius: 0.3125em;
43
- -moz-border-radius: 0.3125em;
44
36
  border-radius: 0.3125em;
45
-
46
- -webkit-transition:
47
- background-color 0.3s ease-out,
48
- box-shadow 0.2s ease,
49
- border-color 0.2s ease
50
- ;
51
- -moz-transition:
52
- background-color 0.3s ease-out,
53
- box-shadow 0.2s ease,
54
- border-color 0.2s ease
55
- ;
56
- -o-transition:
57
- background-color 0.3s ease-out,
58
- box-shadow 0.2s ease,
59
- border-color 0.2s ease
60
- ;
61
- -ms-transition:
62
- background-color 0.3s ease-out,
37
+ -webkit-transition: background-color 0.3s ease-out,
38
+ -webkit-box-shadow 0.2s ease,
39
+ border-color 0.2s ease;
40
+ transition: background-color 0.3s ease-out,
63
41
  box-shadow 0.2s ease,
64
- border-color 0.2s ease
65
- ;
66
- transition:
67
- background-color 0.3s ease-out,
68
- box-shadow 0.2s ease,
69
- border-color 0.2s ease
70
- ;
71
-
72
- -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
73
-
42
+ border-color 0.2s ease;
43
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
74
44
  -webkit-box-sizing: border-box;
75
45
  -moz-box-sizing: border-box;
76
46
  -ms-box-sizing: border-box;
77
47
  box-sizing: border-box;
78
48
  }
79
49
 
80
-
81
50
  /*--------------------
82
51
  Placeholder
83
52
  ---------------------*/
84
53
 
85
54
  /* browsers require these rules separate */
55
+
86
56
  .ui.input::-web inputkit-input-placeholder {
87
57
  color: #E0E0E0;
88
58
  }
59
+
89
60
  .ui.input::-moz input-placeholder {
90
61
  color: #E0E0E0;
91
62
  }
92
63
 
93
-
94
64
  /*******************************
95
65
  States
96
66
  *******************************/
@@ -112,6 +82,7 @@
112
82
  .ui.loading.input > .icon {
113
83
  background: image-url("semantic-ui/loader-mini.gif") no-repeat 50% 50%;
114
84
  }
85
+
115
86
  .ui.loading.input > .icon:before,
116
87
  .ui.loading.input > .icon:after {
117
88
  display: none;
@@ -122,20 +93,21 @@
122
93
  ---------------------*/
123
94
 
124
95
  .ui.input.focus input,
125
- .ui.input input:focus {
96
+ .ui.input input:focus {
126
97
  border-color: rgba(0, 0, 0, 0.2);
127
98
  color: rgba(0, 0, 0, 0.85);
128
99
  }
100
+
129
101
  .ui.input.focus input input::-webkit-input-placeholder,
130
102
  .ui.input input:focus input::-webkit-input-placeholder {
131
103
  color: #AAAAAA;
132
104
  }
105
+
133
106
  .ui.input.focus input input::-moz-placeholder,
134
107
  .ui.input input:focus input::-moz-placeholder {
135
108
  color: #AAAAAA;
136
109
  }
137
110
 
138
-
139
111
  /*--------------------
140
112
  Error
141
113
  ---------------------*/
@@ -147,15 +119,19 @@
147
119
  }
148
120
 
149
121
  /* Error Placeholder */
122
+
150
123
  .ui.input.error input ::-webkit-input-placeholder {
151
124
  color: rgba(255, 80, 80, 0.4);
152
125
  }
126
+
153
127
  .ui.input.error input ::-moz-placeholder {
154
128
  color: rgba(255, 80, 80, 0.4);
155
129
  }
130
+
156
131
  .ui.input.error input :focus::-webkit-input-placeholder {
157
132
  color: rgba(255, 80, 80, 0.7);
158
133
  }
134
+
159
135
  .ui.input.error input :focus::-moz-placeholder {
160
136
  color: rgba(255, 80, 80, 0.7);
161
137
  }
@@ -164,7 +140,6 @@
164
140
  Variations
165
141
  *******************************/
166
142
 
167
-
168
143
  /*--------------------
169
144
  Transparent
170
145
  ---------------------*/
@@ -174,7 +149,6 @@
174
149
  background-color: transparent;
175
150
  }
176
151
 
177
-
178
152
  /*--------------------
179
153
  Icon
180
154
  ---------------------*/
@@ -185,60 +159,53 @@
185
159
  opacity: 0.5;
186
160
  top: 0px;
187
161
  right: 0px;
188
-
189
162
  margin: 0em;
190
-
191
163
  width: 2.6em;
192
164
  height: 100%;
193
165
  padding-top: 0.82em;
194
-
195
166
  text-align: center;
196
-
197
- -webkit-border-radius: 0em 0.3125em 0.3125em 0em;
198
- -moz-border-radius: 0em 0.3125em 0.3125em 0em;
199
167
  border-radius: 0em 0.3125em 0.3125em 0em;
200
-
201
168
  -webkit-box-sizing: border-box;
202
169
  -moz-box-sizing: border-box;
203
170
  -ms-box-sizing: border-box;
204
171
  box-sizing: border-box;
205
-
206
172
  -webkit-transition: opacity 0.3s ease-out;
207
- -moz-transition: opacity 0.3s ease-out;
208
- -o-transition: opacity 0.3s ease-out;
209
- -ms-transition: opacity 0.3s ease-out;
210
173
  transition: opacity 0.3s ease-out;
211
174
  }
175
+
212
176
  .ui.icon.input > .link.icon {
213
177
  cursor: pointer;
214
178
  }
179
+
215
180
  .ui.icon.input input {
216
181
  padding-right: 3em !important;
217
182
  }
183
+
218
184
  .ui.icon.input > .circular.icon {
219
185
  top: 0.35em;
220
186
  right: 0.5em;
221
187
  }
222
188
 
223
189
  /* Left Side */
190
+
224
191
  .ui.left.icon.input > .icon {
225
192
  right: auto;
226
193
  left: 1px;
227
-
228
- -webkit-border-radius: 0.3125em 0em 0em 0.3125em;
229
- -moz-border-radius: 0.3125em 0em 0em 0.3125em;
230
194
  border-radius: 0.3125em 0em 0em 0.3125em;
231
195
  }
196
+
232
197
  .ui.left.icon.input > .circular.icon {
233
198
  right: auto;
234
199
  left: 0.5em;
235
200
  }
201
+
236
202
  .ui.left.icon.input > input {
237
203
  padding-left: 3em !important;
238
204
  padding-right: 1.2em !important;
239
205
  }
240
206
 
241
207
  /* Focus */
208
+
242
209
  .ui.icon.input > input:focus ~ .icon {
243
210
  opacity: 1;
244
211
  }
@@ -250,24 +217,23 @@
250
217
  .ui.labeled.input .corner.label {
251
218
  top: 1px;
252
219
  right: 1px;
253
-
254
- -webkit-border-top-right-radius: 0.3125em;
255
- -moz-border-top-right-radius: 0.3125em;
256
220
  border-top-right-radius: 0.3125em;
257
221
  }
222
+
258
223
  .ui.labeled.input input {
259
224
  padding-right: 2.5em !important;
260
225
  }
261
226
 
262
227
  /* Spacing with corner label */
228
+
263
229
  .ui.labeled.icon.input:not(.left) > input {
264
230
  padding-right: 3.25em !important;
265
231
  }
232
+
266
233
  .ui.labeled.icon.input:not(.left) > .icon {
267
234
  margin-right: 0.75em;
268
235
  }
269
236
 
270
-
271
237
  /*--------------------
272
238
  Action
273
239
  ---------------------*/
@@ -282,13 +248,14 @@
282
248
  border-bottom-right-radius: 0px !important;
283
249
  border-right: none;
284
250
  }
251
+
285
252
  .ui.action.input > .button {
286
253
  display: table-cell;
287
-
288
254
  border-top-left-radius: 0px;
289
255
  border-bottom-left-radius: 0px;
290
256
  white-space: nowrap;
291
257
  }
258
+
292
259
  .ui.action.input > .button > .icon {
293
260
  display: inline;
294
261
  vertical-align: top;
@@ -302,7 +269,6 @@
302
269
  display: block;
303
270
  }
304
271
 
305
-
306
272
  /*--------------------
307
273
  Size
308
274
  ---------------------*/
@@ -310,24 +276,31 @@
310
276
  .ui.mini.input {
311
277
  font-size: 0.8125rem;
312
278
  }
279
+
313
280
  .ui.tiny.input {
314
281
  font-size: 0.875rem;
315
282
  }
283
+
316
284
  .ui.small.input {
317
285
  font-size: 0.875rem;
318
286
  }
287
+
319
288
  .ui.input {
320
289
  font-size: 1rem;
321
290
  }
291
+
322
292
  .ui.large.input {
323
293
  font-size: 1.125rem;
324
294
  }
295
+
325
296
  .ui.big.input {
326
297
  font-size: 1.25rem;
327
298
  }
299
+
328
300
  .ui.huge.input {
329
301
  font-size: 1.375rem;
330
302
  }
303
+
331
304
  .ui.massive.input {
332
305
  font-size: 1.5rem;
333
306
  }