semantic-ui-sass 2.1.8.0 → 2.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/app/assets/javascripts/semantic-ui.js +21465 -24
- data/app/assets/javascripts/semantic-ui/accordion.js +20 -6
- data/app/assets/javascripts/semantic-ui/api.js +41 -16
- data/app/assets/javascripts/semantic-ui/checkbox.js +31 -9
- data/app/assets/javascripts/semantic-ui/colorize.js +233 -227
- data/app/assets/javascripts/semantic-ui/dimmer.js +27 -9
- data/app/assets/javascripts/semantic-ui/dropdown.js +485 -207
- data/app/assets/javascripts/semantic-ui/embed.js +50 -13
- data/app/assets/javascripts/semantic-ui/form.js +58 -23
- data/app/assets/javascripts/semantic-ui/modal.js +28 -13
- data/app/assets/javascripts/semantic-ui/nag.js +28 -7
- data/app/assets/javascripts/semantic-ui/popup.js +136 -76
- data/app/assets/javascripts/semantic-ui/progress.js +177 -62
- data/app/assets/javascripts/semantic-ui/rating.js +41 -8
- data/app/assets/javascripts/semantic-ui/search.js +109 -56
- data/app/assets/javascripts/semantic-ui/shape.js +52 -19
- data/app/assets/javascripts/semantic-ui/sidebar.js +21 -7
- data/app/assets/javascripts/semantic-ui/site.js +2 -2
- data/app/assets/javascripts/semantic-ui/state.js +20 -7
- data/app/assets/javascripts/semantic-ui/sticky.js +48 -19
- data/app/assets/javascripts/semantic-ui/tab.js +57 -27
- data/app/assets/javascripts/semantic-ui/transition.js +24 -8
- data/app/assets/javascripts/semantic-ui/video.js +6 -14
- data/app/assets/javascripts/semantic-ui/visibility.js +89 -22
- data/app/assets/javascripts/semantic-ui/visit.js +13 -5
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +4 -5
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +91 -85
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +41 -37
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +138 -94
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +74 -55
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +80 -68
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +458 -305
- data/app/assets/stylesheets/semantic-ui/elements/_container.scss +1 -2
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +2 -4
- data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +2 -3
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +46 -46
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +812 -252
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +7 -3
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +35 -35
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +127 -127
- data/app/assets/stylesheets/semantic-ui/elements/_list.scss +37 -25
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +101 -38
- data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +24 -4
- data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +9 -6
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +92 -51
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +42 -23
- data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -6
- data/app/assets/stylesheets/semantic-ui/globals/_site.scss +7 -9
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +7 -6
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +40 -37
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +7 -8
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +107 -88
- data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +6 -7
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +9 -10
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +6 -7
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +415 -36
- data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +47 -48
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +12 -13
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +21 -21
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +11 -8
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +31 -14
- data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +2 -3
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -2
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -2
- data/app/assets/stylesheets/semantic-ui/views/_ad.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/views/_card.scss +62 -42
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +2 -3
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +5 -6
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +11 -12
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +44 -45
- data/app/helpers/semantic_icon_helper.rb +6 -3
- data/lib/semantic/ui/sass/engine.rb +5 -1
- data/lib/semantic/ui/sass/version.rb +2 -2
- data/spec/helpers/semantic_icon_helper_spec.rb +22 -10
- metadata +3 -3
@@ -1,9 +1,8 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.
|
2
|
+
* # Semantic UI 2.2.0 - Comment
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2015 Contributors
|
7
6
|
* Released under the MIT license
|
8
7
|
* http://opensource.org/licenses/MIT
|
9
8
|
*
|
@@ -221,7 +220,7 @@
|
|
221
220
|
right: 0px;
|
222
221
|
left: auto;
|
223
222
|
-webkit-transition: opacity 0.2s ease;
|
224
|
-
|
223
|
+
transition: opacity 0.2s ease;
|
225
224
|
-webkit-transition-delay: 0.1s;
|
226
225
|
transition-delay: 0.1s;
|
227
226
|
}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.
|
2
|
+
* # Semantic UI 2.2.0 - Feed
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2015 Contributors
|
7
6
|
* Released under the MIT license
|
8
7
|
* http://opensource.org/licenses/MIT
|
9
8
|
*
|
@@ -241,13 +240,13 @@
|
|
241
240
|
.ui.feed > .event > .content .meta .like {
|
242
241
|
color: '';
|
243
242
|
-webkit-transition: 0.2s color ease;
|
244
|
-
|
243
|
+
transition: 0.2s color ease;
|
245
244
|
}
|
246
245
|
.ui.feed > .event > .content .meta .like:hover .icon {
|
247
|
-
color: #
|
246
|
+
color: #FF2733;
|
248
247
|
}
|
249
248
|
.ui.feed > .event > .content .meta .active.like .icon {
|
250
|
-
color: #
|
249
|
+
color: #EF404A;
|
251
250
|
}
|
252
251
|
|
253
252
|
/* First element */
|
@@ -265,7 +264,7 @@
|
|
265
264
|
opacity: 1;
|
266
265
|
color: rgba(0, 0, 0, 0.5);
|
267
266
|
-webkit-transition: color 0.1s ease;
|
268
|
-
|
267
|
+
transition: color 0.1s ease;
|
269
268
|
}
|
270
269
|
.ui.feed > .event > .content .meta a:hover,
|
271
270
|
.ui.feed > .event > .content .meta a:hover .icon,
|
@@ -1,9 +1,8 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.
|
2
|
+
* # Semantic UI 2.2.0 - Item
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2015 Contributors
|
7
6
|
* Released under the MIT license
|
8
7
|
* http://opensource.org/licenses/MIT
|
9
8
|
*
|
@@ -33,7 +32,7 @@
|
|
33
32
|
border-radius: 0rem;
|
34
33
|
box-shadow: none;
|
35
34
|
-webkit-transition: box-shadow 0.1s ease;
|
36
|
-
|
35
|
+
transition: box-shadow 0.1s ease;
|
37
36
|
z-index: '';
|
38
37
|
}
|
39
38
|
.ui.items > .item a {
|
@@ -233,7 +232,7 @@
|
|
233
232
|
.ui.items > .item > .content a:not(.ui) {
|
234
233
|
color: '';
|
235
234
|
-webkit-transition: color 0.1s ease;
|
236
|
-
|
235
|
+
transition: color 0.1s ease;
|
237
236
|
}
|
238
237
|
.ui.items > .item > .content a:not(.ui):hover {
|
239
238
|
color: '';
|
@@ -268,14 +267,14 @@
|
|
268
267
|
cursor: pointer;
|
269
268
|
opacity: 0.75;
|
270
269
|
-webkit-transition: color 0.1s ease;
|
271
|
-
|
270
|
+
transition: color 0.1s ease;
|
272
271
|
}
|
273
272
|
.ui.items > .item > .content .favorite.icon:hover {
|
274
273
|
opacity: 1;
|
275
|
-
color: #
|
274
|
+
color: #FFB70A;
|
276
275
|
}
|
277
276
|
.ui.items > .item > .content .active.favorite.icon {
|
278
|
-
color: #
|
277
|
+
color: #FFE623;
|
279
278
|
}
|
280
279
|
|
281
280
|
/*-----Like----- */
|
@@ -286,14 +285,14 @@
|
|
286
285
|
cursor: pointer;
|
287
286
|
opacity: 0.75;
|
288
287
|
-webkit-transition: color 0.1s ease;
|
289
|
-
|
288
|
+
transition: color 0.1s ease;
|
290
289
|
}
|
291
290
|
.ui.items > .item > .content .like.icon:hover {
|
292
291
|
opacity: 1;
|
293
|
-
color: #
|
292
|
+
color: #FF2733;
|
294
293
|
}
|
295
294
|
.ui.items > .item > .content .active.like.icon {
|
296
|
-
color: #
|
295
|
+
color: #FF2733;
|
297
296
|
}
|
298
297
|
|
299
298
|
/*----------------
|
@@ -312,7 +311,7 @@
|
|
312
311
|
color: rgba(0, 0, 0, 0.4);
|
313
312
|
box-shadow: none;
|
314
313
|
-webkit-transition: color 0.1s ease;
|
315
|
-
|
314
|
+
transition: color 0.1s ease;
|
316
315
|
border-top: none;
|
317
316
|
}
|
318
317
|
.ui.items > .item .extra > * {
|
@@ -355,7 +354,7 @@
|
|
355
354
|
}
|
356
355
|
}
|
357
356
|
|
358
|
-
/*
|
357
|
+
/* Mobile Only */
|
359
358
|
@media only screen and (max-width: 767px) {
|
360
359
|
.ui.items > .item {
|
361
360
|
-webkit-box-orient: vertical;
|
@@ -1,9 +1,8 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.
|
2
|
+
* # Semantic UI 2.2.0 - Statistic
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
6
|
-
* Copyright 2015 Contributors
|
7
6
|
* Released under the MIT license
|
8
7
|
* http://opensource.org/licenses/MIT
|
9
8
|
*
|
@@ -116,7 +115,7 @@
|
|
116
115
|
font-size: 4rem;
|
117
116
|
font-weight: normal;
|
118
117
|
line-height: 1em;
|
119
|
-
color: #
|
118
|
+
color: #1B1C1D;
|
120
119
|
text-transform: uppercase;
|
121
120
|
text-align: center;
|
122
121
|
}
|
@@ -335,57 +334,57 @@
|
|
335
334
|
.ui.red.statistics .statistic > .value,
|
336
335
|
.ui.statistics .red.statistic > .value,
|
337
336
|
.ui.red.statistic > .value {
|
338
|
-
color: #
|
337
|
+
color: #DB2828;
|
339
338
|
}
|
340
339
|
.ui.orange.statistics .statistic > .value,
|
341
340
|
.ui.statistics .orange.statistic > .value,
|
342
341
|
.ui.orange.statistic > .value {
|
343
|
-
color: #
|
342
|
+
color: #F2711C;
|
344
343
|
}
|
345
344
|
.ui.yellow.statistics .statistic > .value,
|
346
345
|
.ui.statistics .yellow.statistic > .value,
|
347
346
|
.ui.yellow.statistic > .value {
|
348
|
-
color: #
|
347
|
+
color: #FBBD08;
|
349
348
|
}
|
350
349
|
.ui.olive.statistics .statistic > .value,
|
351
350
|
.ui.statistics .olive.statistic > .value,
|
352
351
|
.ui.olive.statistic > .value {
|
353
|
-
color: #
|
352
|
+
color: #B5CC18;
|
354
353
|
}
|
355
354
|
.ui.green.statistics .statistic > .value,
|
356
355
|
.ui.statistics .green.statistic > .value,
|
357
356
|
.ui.green.statistic > .value {
|
358
|
-
color: #
|
357
|
+
color: #21BA45;
|
359
358
|
}
|
360
359
|
.ui.teal.statistics .statistic > .value,
|
361
360
|
.ui.statistics .teal.statistic > .value,
|
362
361
|
.ui.teal.statistic > .value {
|
363
|
-
color: #
|
362
|
+
color: #00B5AD;
|
364
363
|
}
|
365
364
|
.ui.blue.statistics .statistic > .value,
|
366
365
|
.ui.statistics .blue.statistic > .value,
|
367
366
|
.ui.blue.statistic > .value {
|
368
|
-
color: #
|
367
|
+
color: #2185D0;
|
369
368
|
}
|
370
369
|
.ui.violet.statistics .statistic > .value,
|
371
370
|
.ui.statistics .violet.statistic > .value,
|
372
371
|
.ui.violet.statistic > .value {
|
373
|
-
color: #
|
372
|
+
color: #6435C9;
|
374
373
|
}
|
375
374
|
.ui.purple.statistics .statistic > .value,
|
376
375
|
.ui.statistics .purple.statistic > .value,
|
377
376
|
.ui.purple.statistic > .value {
|
378
|
-
color: #
|
377
|
+
color: #A333C8;
|
379
378
|
}
|
380
379
|
.ui.pink.statistics .statistic > .value,
|
381
380
|
.ui.statistics .pink.statistic > .value,
|
382
381
|
.ui.pink.statistic > .value {
|
383
|
-
color: #
|
382
|
+
color: #E03997;
|
384
383
|
}
|
385
384
|
.ui.brown.statistics .statistic > .value,
|
386
385
|
.ui.statistics .brown.statistic > .value,
|
387
386
|
.ui.brown.statistic > .value {
|
388
|
-
color: #
|
387
|
+
color: #A5673F;
|
389
388
|
}
|
390
389
|
.ui.grey.statistics .statistic > .value,
|
391
390
|
.ui.statistics .grey.statistic > .value,
|
@@ -399,7 +398,7 @@
|
|
399
398
|
|
400
399
|
.ui.inverted.statistics .statistic > .value,
|
401
400
|
.ui.inverted.statistic .value {
|
402
|
-
color: #
|
401
|
+
color: #FFFFFF;
|
403
402
|
}
|
404
403
|
.ui.inverted.statistics .statistic > .label,
|
405
404
|
.ui.inverted.statistic .label {
|
@@ -408,62 +407,62 @@
|
|
408
407
|
.ui.inverted.red.statistics .statistic > .value,
|
409
408
|
.ui.statistics .inverted.red.statistic > .value,
|
410
409
|
.ui.inverted.red.statistic > .value {
|
411
|
-
color: #
|
410
|
+
color: #FF695E;
|
412
411
|
}
|
413
412
|
.ui.inverted.orange.statistics .statistic > .value,
|
414
413
|
.ui.statistics .inverted.orange.statistic > .value,
|
415
414
|
.ui.inverted.orange.statistic > .value {
|
416
|
-
color: #
|
415
|
+
color: #FF851B;
|
417
416
|
}
|
418
417
|
.ui.inverted.yellow.statistics .statistic > .value,
|
419
418
|
.ui.statistics .inverted.yellow.statistic > .value,
|
420
419
|
.ui.inverted.yellow.statistic > .value {
|
421
|
-
color: #
|
420
|
+
color: #FFE21F;
|
422
421
|
}
|
423
422
|
.ui.inverted.olive.statistics .statistic > .value,
|
424
423
|
.ui.statistics .inverted.olive.statistic > .value,
|
425
424
|
.ui.inverted.olive.statistic > .value {
|
426
|
-
color: #
|
425
|
+
color: #D9E778;
|
427
426
|
}
|
428
427
|
.ui.inverted.green.statistics .statistic > .value,
|
429
428
|
.ui.statistics .inverted.green.statistic > .value,
|
430
429
|
.ui.inverted.green.statistic > .value {
|
431
|
-
color: #
|
430
|
+
color: #2ECC40;
|
432
431
|
}
|
433
432
|
.ui.inverted.teal.statistics .statistic > .value,
|
434
433
|
.ui.statistics .inverted.teal.statistic > .value,
|
435
434
|
.ui.inverted.teal.statistic > .value {
|
436
|
-
color: #
|
435
|
+
color: #6DFFFF;
|
437
436
|
}
|
438
437
|
.ui.inverted.blue.statistics .statistic > .value,
|
439
438
|
.ui.statistics .inverted.blue.statistic > .value,
|
440
439
|
.ui.inverted.blue.statistic > .value {
|
441
|
-
color: #
|
440
|
+
color: #54C8FF;
|
442
441
|
}
|
443
442
|
.ui.inverted.violet.statistics .statistic > .value,
|
444
443
|
.ui.statistics .inverted.violet.statistic > .value,
|
445
444
|
.ui.inverted.violet.statistic > .value {
|
446
|
-
color: #
|
445
|
+
color: #A291FB;
|
447
446
|
}
|
448
447
|
.ui.inverted.purple.statistics .statistic > .value,
|
449
448
|
.ui.statistics .inverted.purple.statistic > .value,
|
450
449
|
.ui.inverted.purple.statistic > .value {
|
451
|
-
color: #
|
450
|
+
color: #DC73FF;
|
452
451
|
}
|
453
452
|
.ui.inverted.pink.statistics .statistic > .value,
|
454
453
|
.ui.statistics .inverted.pink.statistic > .value,
|
455
454
|
.ui.inverted.pink.statistic > .value {
|
456
|
-
color: #
|
455
|
+
color: #FF8EDF;
|
457
456
|
}
|
458
457
|
.ui.inverted.brown.statistics .statistic > .value,
|
459
458
|
.ui.statistics .inverted.brown.statistic > .value,
|
460
459
|
.ui.inverted.brown.statistic > .value {
|
461
|
-
color: #
|
460
|
+
color: #D67C1C;
|
462
461
|
}
|
463
462
|
.ui.inverted.grey.statistics .statistic > .value,
|
464
463
|
.ui.statistics .inverted.grey.statistic > .value,
|
465
464
|
.ui.inverted.grey.statistic > .value {
|
466
|
-
color: #
|
465
|
+
color: #DCDDDE;
|
467
466
|
}
|
468
467
|
|
469
468
|
/*--------------
|
@@ -490,85 +489,85 @@
|
|
490
489
|
/* Mini */
|
491
490
|
.ui.mini.statistics .statistic > .value,
|
492
491
|
.ui.mini.statistic > .value {
|
493
|
-
font-size: 1.5rem;
|
492
|
+
font-size: 1.5rem !important;
|
494
493
|
}
|
495
494
|
.ui.mini.horizontal.statistics .statistic > .value,
|
496
495
|
.ui.mini.horizontal.statistic > .value {
|
497
|
-
font-size: 1.5rem;
|
496
|
+
font-size: 1.5rem !important;
|
498
497
|
}
|
499
498
|
.ui.mini.statistics .statistic > .text.value,
|
500
499
|
.ui.mini.statistic > .text.value {
|
501
|
-
font-size: 1rem;
|
500
|
+
font-size: 1rem !important;
|
502
501
|
}
|
503
502
|
|
504
503
|
/* Tiny */
|
505
504
|
.ui.tiny.statistics .statistic > .value,
|
506
505
|
.ui.tiny.statistic > .value {
|
507
|
-
font-size: 2rem;
|
506
|
+
font-size: 2rem !important;
|
508
507
|
}
|
509
508
|
.ui.tiny.horizontal.statistics .statistic > .value,
|
510
509
|
.ui.tiny.horizontal.statistic > .value {
|
511
|
-
font-size: 2rem;
|
510
|
+
font-size: 2rem !important;
|
512
511
|
}
|
513
512
|
.ui.tiny.statistics .statistic > .text.value,
|
514
513
|
.ui.tiny.statistic > .text.value {
|
515
|
-
font-size: 1rem;
|
514
|
+
font-size: 1rem !important;
|
516
515
|
}
|
517
516
|
|
518
517
|
/* Small */
|
519
518
|
.ui.small.statistics .statistic > .value,
|
520
519
|
.ui.small.statistic > .value {
|
521
|
-
font-size: 3rem;
|
520
|
+
font-size: 3rem !important;
|
522
521
|
}
|
523
522
|
.ui.small.horizontal.statistics .statistic > .value,
|
524
523
|
.ui.small.horizontal.statistic > .value {
|
525
|
-
font-size: 2rem;
|
524
|
+
font-size: 2rem !important;
|
526
525
|
}
|
527
526
|
.ui.small.statistics .statistic > .text.value,
|
528
527
|
.ui.small.statistic > .text.value {
|
529
|
-
font-size: 1rem;
|
528
|
+
font-size: 1rem !important;
|
530
529
|
}
|
531
530
|
|
532
531
|
/* Medium */
|
533
532
|
.ui.statistics .statistic > .value,
|
534
533
|
.ui.statistic > .value {
|
535
|
-
font-size: 4rem;
|
534
|
+
font-size: 4rem !important;
|
536
535
|
}
|
537
536
|
.ui.horizontal.statistics .statistic > .value,
|
538
537
|
.ui.horizontal.statistic > .value {
|
539
|
-
font-size: 3rem;
|
538
|
+
font-size: 3rem !important;
|
540
539
|
}
|
541
540
|
.ui.statistics .statistic > .text.value,
|
542
541
|
.ui.statistic > .text.value {
|
543
|
-
font-size: 2rem;
|
542
|
+
font-size: 2rem !important;
|
544
543
|
}
|
545
544
|
|
546
545
|
/* Large */
|
547
546
|
.ui.large.statistics .statistic > .value,
|
548
547
|
.ui.large.statistic > .value {
|
549
|
-
font-size: 5rem;
|
548
|
+
font-size: 5rem !important;
|
550
549
|
}
|
551
550
|
.ui.large.horizontal.statistics .statistic > .value,
|
552
551
|
.ui.large.horizontal.statistic > .value {
|
553
|
-
font-size: 4rem;
|
552
|
+
font-size: 4rem !important;
|
554
553
|
}
|
555
554
|
.ui.large.statistics .statistic > .text.value,
|
556
555
|
.ui.large.statistic > .text.value {
|
557
|
-
font-size: 2.5rem;
|
556
|
+
font-size: 2.5rem !important;
|
558
557
|
}
|
559
558
|
|
560
559
|
/* Huge */
|
561
560
|
.ui.huge.statistics .statistic > .value,
|
562
561
|
.ui.huge.statistic > .value {
|
563
|
-
font-size: 6rem;
|
562
|
+
font-size: 6rem !important;
|
564
563
|
}
|
565
564
|
.ui.huge.horizontal.statistics .statistic > .value,
|
566
565
|
.ui.huge.horizontal.statistic > .value {
|
567
|
-
font-size: 5rem;
|
566
|
+
font-size: 5rem !important;
|
568
567
|
}
|
569
568
|
.ui.huge.statistics .statistic > .text.value,
|
570
569
|
.ui.huge.statistic > .text.value {
|
571
|
-
font-size: 2.5rem;
|
570
|
+
font-size: 2.5rem !important;
|
572
571
|
}
|
573
572
|
|
574
573
|
|
@@ -1,5 +1,8 @@
|
|
1
1
|
module SemanticIconHelper
|
2
|
-
def semantic_icon(*names
|
3
|
-
|
2
|
+
def semantic_icon(*names)
|
3
|
+
opts = names[-1].is_a?(Hash) ? names.delete_at(-1) : {}
|
4
|
+
icon_classes = names.map{|name| "#{name.to_s.gsub('_','-')}" } << 'icon'
|
5
|
+
opts[:class] = [opts[:class], icon_classes].flatten.reject(&:nil?)
|
6
|
+
content_tag :i, nil, opts
|
4
7
|
end
|
5
|
-
end
|
8
|
+
end
|
@@ -5,7 +5,11 @@ module Semantic
|
|
5
5
|
module Rails
|
6
6
|
class Engine < ::Rails::Engine
|
7
7
|
initializer "semantic-ui-sass.assets.precompile" do |app|
|
8
|
-
|
8
|
+
if ::Rails.version >= '5'
|
9
|
+
::Rails.application.config.assets.precompile += %w{ semantic-ui/*icons.* }
|
10
|
+
else
|
11
|
+
app.config.assets.precompile << %r(semantic-ui\/(basic\.)*icons\.(?:eot|svg|ttf|woff)$)
|
12
|
+
end
|
9
13
|
end
|
10
14
|
initializer 'semantic-ui-sass.setup_helpers' do |app|
|
11
15
|
app.config.to_prepare do
|