semantic-ui-sass 1.12.3.0 → 2.0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/app/assets/javascripts/semantic-ui.js +1 -0
  4. data/app/assets/javascripts/semantic-ui/accordion.js +67 -53
  5. data/app/assets/javascripts/semantic-ui/api.js +395 -189
  6. data/app/assets/javascripts/semantic-ui/checkbox.js +322 -114
  7. data/app/assets/javascripts/semantic-ui/colorize.js +4 -2
  8. data/app/assets/javascripts/semantic-ui/dimmer.js +74 -50
  9. data/app/assets/javascripts/semantic-ui/dropdown.js +2046 -584
  10. data/app/assets/javascripts/semantic-ui/embed.js +662 -0
  11. data/app/assets/javascripts/semantic-ui/form.js +345 -163
  12. data/app/assets/javascripts/semantic-ui/modal.js +119 -90
  13. data/app/assets/javascripts/semantic-ui/nag.js +8 -9
  14. data/app/assets/javascripts/semantic-ui/popup.js +390 -228
  15. data/app/assets/javascripts/semantic-ui/progress.js +112 -103
  16. data/app/assets/javascripts/semantic-ui/rating.js +79 -55
  17. data/app/assets/javascripts/semantic-ui/search.js +305 -123
  18. data/app/assets/javascripts/semantic-ui/shape.js +94 -48
  19. data/app/assets/javascripts/semantic-ui/sidebar.js +84 -151
  20. data/app/assets/javascripts/semantic-ui/site.js +5 -5
  21. data/app/assets/javascripts/semantic-ui/state.js +4 -4
  22. data/app/assets/javascripts/semantic-ui/sticky.js +108 -35
  23. data/app/assets/javascripts/semantic-ui/tab.js +220 -125
  24. data/app/assets/javascripts/semantic-ui/transition.js +205 -171
  25. data/app/assets/javascripts/semantic-ui/visibility.js +220 -100
  26. data/app/assets/javascripts/semantic-ui/visit.js +6 -4
  27. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +17 -16
  28. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +223 -121
  29. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +462 -448
  30. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +949 -665
  31. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +134 -92
  32. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +270 -208
  33. data/app/assets/stylesheets/semantic-ui/elements/_all.scss +1 -0
  34. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +1357 -521
  35. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +125 -0
  36. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +51 -31
  37. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +3 -3
  38. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +270 -144
  39. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +241 -110
  40. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +30 -16
  41. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +88 -53
  42. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +432 -281
  43. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +172 -128
  44. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +16 -14
  45. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +15 -7
  46. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +32 -13
  47. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +329 -212
  48. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +291 -99
  49. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +2 -2
  50. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +19 -18
  51. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +17 -18
  52. data/app/assets/stylesheets/semantic-ui/modules/_all.scss +1 -0
  53. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +265 -161
  54. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +29 -15
  55. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +441 -156
  56. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +168 -0
  57. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +163 -85
  58. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +8 -8
  59. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +88 -23
  60. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +185 -129
  61. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +75 -60
  62. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +99 -52
  63. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +11 -11
  64. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +16 -12
  65. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +4 -4
  66. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +3 -3
  67. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +31 -39
  68. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +3 -3
  69. data/app/assets/stylesheets/semantic-ui/views/_all.scss +1 -0
  70. data/app/assets/stylesheets/semantic-ui/views/_card.scss +204 -162
  71. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +6 -6
  72. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +51 -26
  73. data/app/assets/stylesheets/semantic-ui/views/_item.scss +62 -36
  74. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +265 -90
  75. data/lib/semantic/ui/sass/version.rb +2 -2
  76. data/semantic-ui-sass.gemspec +2 -2
  77. metadata +9 -6
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * # Semantic UI 1.12.3 - Icon
2
+ * # Semantic UI 2.0.4 - Icon
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
- * Copyright 2014 Contributors
6
+ * Copyright 2015 Contributors
7
7
  * Released under the MIT license
8
8
  * http://opensource.org/licenses/MIT
9
9
  *
@@ -17,11 +17,7 @@
17
17
  @font-face {
18
18
  font-family: 'Icons';
19
19
  src: font-url("semantic-ui/icons.eot");
20
- src: font-url("semantic-ui/icons.eot?#iefix") format('embedded-opentype'),
21
- font-url("semantic-ui/icons.woff2") format('woff'),
22
- font-url("semantic-ui/icons.woff") format('woff'),
23
- font-url("semantic-ui/icons.ttf") format('truetype'),
24
- font-url("semantic-ui/icons.svg#icons") format('svg');
20
+ src: font-url("semantic-ui/icons.eot?#iefix") format('embedded-opentype'), font-url("semantic-ui/icons.woff2") format('woff2'), font-url("semantic-ui/icons.woff") format('woff'), font-url("semantic-ui/icons.ttf") format('truetype'), font-url("semantic-ui/icons.svg#icons") format('svg');
25
21
  font-style: normal;
26
22
  font-weight: normal;
27
23
  font-variant: normal;
@@ -32,17 +28,17 @@ i.icon {
32
28
  display: inline-block;
33
29
  opacity: 1;
34
30
  margin: 0em 0.25rem 0em 0em;
35
- width: 1.23em;
36
- height: 0.9em;
31
+ width: 1.18em;
32
+ height: 1em;
37
33
  font-family: 'Icons';
38
34
  font-style: normal;
39
- line-height: 1;
40
35
  font-weight: normal;
41
36
  text-decoration: inherit;
42
37
  text-align: center;
43
38
  speak: none;
44
39
  font-smoothing: antialiased;
45
40
  -moz-osx-font-smoothing: grayscale;
41
+ -webkit-font-smoothing: antialiased;
46
42
  -webkit-backface-visibility: hidden;
47
43
  backface-visibility: hidden;
48
44
  }
@@ -62,6 +58,7 @@ i.icon:before {
62
58
 
63
59
  i.icon.loading {
64
60
  height: 1em;
61
+ line-height: 1;
65
62
  -webkit-animation: icon-loading 2s linear infinite;
66
63
  animation: icon-loading 2s linear infinite;
67
64
  }
@@ -101,8 +98,7 @@ i.emphasized.icon {
101
98
  opacity: 1;
102
99
  }
103
100
  i.disabled.icon {
104
- pointer-events: none;
105
- opacity: 0.3 !important;
101
+ opacity: 0.45 !important;
106
102
  }
107
103
 
108
104
 
@@ -118,8 +114,8 @@ i.disabled.icon {
118
114
  i.link.icon {
119
115
  cursor: pointer;
120
116
  opacity: 0.8;
121
- -webkit-transition: opacity 0.2s ease;
122
- transition: opacity 0.2s ease;
117
+ -webkit-transition: opacity 0.1s ease;
118
+ transition: opacity 0.1s ease;
123
119
  }
124
120
  i.link.icon:hover {
125
121
  opacity: 1 !important;
@@ -131,9 +127,9 @@ i.link.icon:hover {
131
127
 
132
128
  i.circular.icon {
133
129
  border-radius: 500em !important;
130
+ line-height: 1 !important;
134
131
  padding: 0.5em 0.5em !important;
135
132
  box-shadow: 0em 0em 0em 0.1em rgba(0, 0, 0, 0.1) inset;
136
- line-height: 1 !important;
137
133
  width: 2em !important;
138
134
  height: 2em !important;
139
135
  }
@@ -181,11 +177,12 @@ i.counterclockwise.rotated.icon {
181
177
  --------------------*/
182
178
 
183
179
  i.bordered.icon {
180
+ line-height: 1;
181
+ vertical-align: baseline;
184
182
  width: 2em;
185
183
  height: 2em;
186
- padding: 0.55em 0.385em !important;
184
+ padding: 0.5em 0.41em !important;
187
185
  box-shadow: 0em 0em 0em 0.1em rgba(0, 0, 0, 0.1) inset;
188
- vertical-align: baseline;
189
186
  }
190
187
  i.bordered.inverted.icon {
191
188
  border: none;
@@ -193,152 +190,277 @@ i.bordered.inverted.icon {
193
190
  }
194
191
 
195
192
  /*-------------------
196
- Colors
193
+ Inverted
197
194
  --------------------*/
198
195
 
199
- i.white.icon {
196
+
197
+ /* Inverted Shapes */
198
+ i.inverted.bordered.icon,
199
+ i.inverted.circular.icon {
200
+ background-color: #1b1c1d !important;
200
201
  color: #ffffff !important;
201
202
  }
202
- i.black.icon {
203
- color: #1b1c1d !important;
203
+ i.inverted.icon {
204
+ color: #ffffff;
204
205
  }
205
- i.blue.icon {
206
- color: #3b83c0 !important;
206
+
207
+ /*-------------------
208
+ Colors
209
+ --------------------*/
210
+
211
+
212
+ /* Red */
213
+ i.red.icon {
214
+ color: #db2828 !important;
207
215
  }
208
- i.green.icon {
209
- color: #5bbd72 !important;
216
+ i.inverted.red.icon {
217
+ color: #ff695e !important;
218
+ }
219
+ i.inverted.bordered.red.icon,
220
+ i.inverted.circular.red.icon {
221
+ background-color: #db2828 !important;
222
+ color: #ffffff !important;
210
223
  }
224
+
225
+ /* Orange */
211
226
  i.orange.icon {
212
- color: #e07b53 !important;
227
+ color: #f2711c !important;
213
228
  }
214
- i.pink.icon {
215
- color: #d9499a !important;
229
+ i.inverted.orange.icon {
230
+ color: #ff851b !important;
216
231
  }
217
- i.purple.icon {
218
- color: #564f8a !important;
232
+ i.inverted.bordered.orange.icon,
233
+ i.inverted.circular.orange.icon {
234
+ background-color: #f2711c !important;
235
+ color: #ffffff !important;
219
236
  }
220
- i.red.icon {
221
- color: #d95c5c !important;
237
+
238
+ /* Yellow */
239
+ i.yellow.icon {
240
+ color: #fbbd08 !important;
222
241
  }
223
- i.teal.icon {
224
- color: #00b5ad !important;
242
+ i.inverted.yellow.icon {
243
+ color: #ffe21f !important;
225
244
  }
226
- i.yellow.icon {
227
- color: #f2c61f !important;
245
+ i.inverted.bordered.yellow.icon,
246
+ i.inverted.circular.yellow.icon {
247
+ background-color: #fbbd08 !important;
248
+ color: #ffffff !important;
228
249
  }
229
250
 
230
- /*-------------------
231
- Inverted
232
- --------------------*/
233
-
234
- i.inverted.icon {
235
- color: #ffffff;
251
+ /* Olive */
252
+ i.olive.icon {
253
+ color: #b5cc18 !important;
236
254
  }
237
- i.inverted.black.icon {
238
- color: #333333 !important;
255
+ i.inverted.olive.icon {
256
+ color: #d9e778 !important;
239
257
  }
240
- i.inverted.blue.icon {
241
- color: #54c8ff !important;
258
+ i.inverted.bordered.olive.icon,
259
+ i.inverted.circular.olive.icon {
260
+ background-color: #b5cc18 !important;
261
+ color: #ffffff !important;
262
+ }
263
+
264
+ /* Green */
265
+ i.green.icon {
266
+ color: #21ba45 !important;
242
267
  }
243
268
  i.inverted.green.icon {
244
269
  color: #2ecc40 !important;
245
270
  }
246
- i.inverted.orange.icon {
247
- color: #ff851b !important;
248
- }
249
- i.inverted.pink.icon {
250
- color: #ff8edf !important;
251
- }
252
- i.inverted.purple.icon {
253
- color: #cdc6ff !important;
271
+ i.inverted.bordered.green.icon,
272
+ i.inverted.circular.green.icon {
273
+ background-color: #21ba45 !important;
274
+ color: #ffffff !important;
254
275
  }
255
- i.inverted.red.icon {
256
- color: #ff695e !important;
276
+
277
+ /* Teal */
278
+ i.teal.icon {
279
+ color: #00b5ad !important;
257
280
  }
258
281
  i.inverted.teal.icon {
259
282
  color: #6dffff !important;
260
283
  }
261
- i.inverted.yellow.icon {
262
- color: #ffe21f !important;
284
+ i.inverted.bordered.teal.icon,
285
+ i.inverted.circular.teal.icon {
286
+ background-color: #00b5ad !important;
287
+ color: #ffffff !important;
263
288
  }
264
289
 
265
- /* Inverted Shapes */
266
- i.inverted.bordered.icon,
267
- i.inverted.circular.icon {
268
- background-color: #222222 !important;
269
- color: #FFFFFF !important;
290
+ /* Blue */
291
+ i.blue.icon {
292
+ color: #2185d0 !important;
270
293
  }
271
- i.inverted.bordered.black.icon,
272
- i.inverted.circular.black.icon {
273
- background-color: #1b1c1d !important;
274
- color: #FFFFFF !important;
294
+ i.inverted.blue.icon {
295
+ color: #54c8ff !important;
275
296
  }
276
297
  i.inverted.bordered.blue.icon,
277
298
  i.inverted.circular.blue.icon {
278
- background-color: #3b83c0 !important;
279
- color: #FFFFFF !important;
299
+ background-color: #2185d0 !important;
300
+ color: #ffffff !important;
280
301
  }
281
- i.inverted.bordered.green.icon,
282
- i.inverted.circular.green.icon {
283
- background-color: #5bbd72 !important;
284
- color: #FFFFFF !important;
302
+
303
+ /* Violet */
304
+ i.violet.icon {
305
+ color: #6435c9 !important;
285
306
  }
286
- i.inverted.bordered.orange.icon,
287
- i.inverted.circular.orange.icon {
288
- background-color: #e07b53 !important;
289
- color: #FFFFFF !important;
307
+ i.inverted.violet.icon {
308
+ color: #a291fb !important;
290
309
  }
291
- i.inverted.bordered.pink.icon,
292
- i.inverted.circular.pink.icon {
293
- background-color: #d9499a !important;
294
- color: #FFFFFF !important;
310
+ i.inverted.bordered.violet.icon,
311
+ i.inverted.circular.violet.icon {
312
+ background-color: #6435c9 !important;
313
+ color: #ffffff !important;
314
+ }
315
+
316
+ /* Purple */
317
+ i.purple.icon {
318
+ color: #a333c8 !important;
319
+ }
320
+ i.inverted.purple.icon {
321
+ color: #dc73ff !important;
295
322
  }
296
323
  i.inverted.bordered.purple.icon,
297
324
  i.inverted.circular.purple.icon {
298
- background-color: #564f8a !important;
299
- color: #FFFFFF !important;
325
+ background-color: #a333c8 !important;
326
+ color: #ffffff !important;
300
327
  }
301
- i.inverted.bordered.red.icon,
302
- i.inverted.circular.red.icon {
303
- background-color: #d95c5c !important;
304
- color: #FFFFFF !important;
328
+
329
+ /* Pink */
330
+ i.pink.icon {
331
+ color: #e03997 !important;
305
332
  }
306
- i.inverted.bordered.teal.icon,
307
- i.inverted.circular.teal.icon {
308
- background-color: #00b5ad !important;
309
- color: #FFFFFF !important;
333
+ i.inverted.pink.icon {
334
+ color: #ff8edf !important;
310
335
  }
311
- i.inverted.bordered.yellow.icon,
312
- i.inverted.circular.yellow.icon {
313
- background-color: #f2c61f !important;
314
- color: #FFFFFF !important;
336
+ i.inverted.bordered.pink.icon,
337
+ i.inverted.circular.pink.icon {
338
+ background-color: #e03997 !important;
339
+ color: #ffffff !important;
340
+ }
341
+
342
+ /* Brown */
343
+ i.brown.icon {
344
+ color: #a5673f !important;
345
+ }
346
+ i.inverted.brown.icon {
347
+ color: #d67c1c !important;
348
+ }
349
+ i.inverted.bordered.brown.icon,
350
+ i.inverted.circular.brown.icon {
351
+ background-color: #a5673f !important;
352
+ color: #ffffff !important;
353
+ }
354
+
355
+ /* Grey */
356
+ i.grey.icon {
357
+ color: #767676 !important;
358
+ }
359
+ i.inverted.grey.icon {
360
+ color: #dcddde !important;
361
+ }
362
+ i.inverted.bordered.grey.icon,
363
+ i.inverted.circular.grey.icon {
364
+ background-color: #767676 !important;
365
+ color: #ffffff !important;
366
+ }
367
+
368
+ /* Black */
369
+ i.black.icon {
370
+ color: #1b1c1d !important;
371
+ }
372
+ i.inverted.black.icon {
373
+ color: #545454 !important;
374
+ }
375
+ i.inverted.bordeblack.black.icon,
376
+ i.inverted.circular.black.icon {
377
+ background-color: #1b1c1d !important;
378
+ color: #ffffff !important;
315
379
  }
316
380
 
317
381
  /*-------------------
318
382
  Sizes
319
383
  --------------------*/
320
384
 
321
- i.small.icon {
322
- font-size: 0.875em;
385
+ i.small.icon,
386
+ i.small.icons {
387
+ line-height: 1;
388
+ font-size: 0.92857143em;
323
389
  }
324
- i.icon {
390
+ i.icon,
391
+ i.icons {
325
392
  font-size: 1em;
326
393
  }
327
- i.large.icon {
328
- font-size: 1.5em;
394
+ i.large.icon,
395
+ i.large.icons {
396
+ line-height: 1;
329
397
  vertical-align: middle;
398
+ font-size: 1.5em;
330
399
  }
331
- i.big.icon {
332
- font-size: 2em;
400
+ i.big.icon,
401
+ i.big.icons {
402
+ line-height: 1;
333
403
  vertical-align: middle;
404
+ font-size: 2em;
334
405
  }
335
- i.huge.icon {
336
- font-size: 4em;
406
+ i.huge.icon,
407
+ i.huge.icons {
408
+ line-height: 1;
337
409
  vertical-align: middle;
410
+ font-size: 4em;
338
411
  }
339
- i.massive.icon {
340
- font-size: 8em;
412
+ i.massive.icon,
413
+ i.massive.icons {
414
+ line-height: 1;
341
415
  vertical-align: middle;
416
+ font-size: 8em;
417
+ }
418
+
419
+
420
+ /*******************************
421
+ Groups
422
+ *******************************/
423
+
424
+ i.icons {
425
+ display: inline-block;
426
+ position: relative;
427
+ line-height: 1;
428
+ }
429
+ i.icons .icon {
430
+ position: absolute;
431
+ top: 50%;
432
+ left: 50%;
433
+ -webkit-transform: translateX(-50%) translateY(-50%);
434
+ -ms-transform: translateX(-50%) translateY(-50%);
435
+ transform: translateX(-50%) translateY(-50%);
436
+ margin: 0em;
437
+ margin: 0;
438
+ }
439
+ i.icons .icon:first-child {
440
+ position: static;
441
+ width: auto;
442
+ height: auto;
443
+ vertical-align: top;
444
+ -webkit-transform: none;
445
+ -ms-transform: none;
446
+ transform: none;
447
+ margin-right: 0.25rem;
448
+ }
449
+
450
+ /* Corner Icon */
451
+ i.icons .corner.icon {
452
+ top: auto;
453
+ left: auto;
454
+ right: 0;
455
+ bottom: 0;
456
+ -webkit-transform: none;
457
+ -ms-transform: none;
458
+ transform: none;
459
+ font-size: 0.45em;
460
+ text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
461
+ }
462
+ i.icons .inverted.corner.icon {
463
+ text-shadow: -1px -1px 0 #1b1c1d, 1px -1px 0 #1b1c1d, -1px 1px 0 #1b1c1d, 1px 1px 0 #1b1c1d;
342
464
  }
343
465
  /*
344
466
  * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome
@@ -961,6 +1083,12 @@ i.icon.circle.notched:before {
961
1083
  i.icon.circle.thin:before {
962
1084
  content: "\f1db";
963
1085
  }
1086
+ i.icon.square.outline:before {
1087
+ content: "\f096";
1088
+ }
1089
+ i.icon.square:before {
1090
+ content: "\f0c8";
1091
+ }
964
1092
 
965
1093
  /* Item Selection */
966
1094
  i.icon.checkmark:before {
@@ -1510,10 +1638,10 @@ i.icon.sort:before {
1510
1638
  content: "\f0dc";
1511
1639
  }
1512
1640
  i.icon.sort.ascending:before {
1513
- content: "\f0dd";
1641
+ content: "\f0de";
1514
1642
  }
1515
1643
  i.icon.sort.descending:before {
1516
- content: "\f0de";
1644
+ content: "\f0dd";
1517
1645
  }
1518
1646
  i.icon.sort.alphabet.ascending:before {
1519
1647
  content: "\f15d";
@@ -2140,8 +2268,8 @@ i.icon.winner:before {
2140
2268
  i.icon.bookmark.outline:before {
2141
2269
  content: "\f097";
2142
2270
  }
2143
- i.icon.phone.square:before {
2144
- content: "\f098";
2271
+ i.icon.phone:before {
2272
+ content: "\f095";
2145
2273
  }
2146
2274
  i.icon.phone.square:before {
2147
2275
  content: "\f098";
@@ -2320,6 +2448,9 @@ i.icon.pencil.square:before {
2320
2448
  i.icon.compass:before {
2321
2449
  content: "\f14e";
2322
2450
  }
2451
+ i.icon.amex:before {
2452
+ content: "\f1f3";
2453
+ }
2323
2454
  i.icon.eur:before {
2324
2455
  content: "\f153";
2325
2456
  }