fomantic-ui-sass 2.6.4 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +1 -0
  4. data/.rubocop_todo.yml +102 -0
  5. data/.travis.yml +9 -3
  6. data/README.md +4 -2
  7. data/Rakefile +25 -3
  8. data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
  9. data/app/assets/fonts/semantic-ui/brand-icons.svg +178 -11
  10. data/app/assets/fonts/semantic-ui/brand-icons.ttf +0 -0
  11. data/app/assets/fonts/semantic-ui/brand-icons.woff +0 -0
  12. data/app/assets/fonts/semantic-ui/brand-icons.woff2 +0 -0
  13. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  14. data/app/assets/fonts/semantic-ui/icons.svg +1138 -92
  15. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  16. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  17. data/app/assets/fonts/semantic-ui/icons.woff2 +0 -0
  18. data/app/assets/fonts/semantic-ui/outline-icons.eot +0 -0
  19. data/app/assets/fonts/semantic-ui/outline-icons.svg +127 -26
  20. data/app/assets/fonts/semantic-ui/outline-icons.ttf +0 -0
  21. data/app/assets/fonts/semantic-ui/outline-icons.woff +0 -0
  22. data/app/assets/fonts/semantic-ui/outline-icons.woff2 +0 -0
  23. data/app/assets/javascripts/semantic-ui.js +1 -1
  24. data/app/assets/javascripts/semantic-ui/accordion.js +5 -1
  25. data/app/assets/javascripts/semantic-ui/api.js +9 -2
  26. data/app/assets/javascripts/semantic-ui/calendar.js +25 -12
  27. data/app/assets/javascripts/semantic-ui/checkbox.js +39 -2
  28. data/app/assets/javascripts/semantic-ui/dimmer.js +25 -5
  29. data/app/assets/javascripts/semantic-ui/dropdown.js +130 -47
  30. data/app/assets/javascripts/semantic-ui/embed.js +5 -1
  31. data/app/assets/javascripts/semantic-ui/form.js +24 -19
  32. data/app/assets/javascripts/semantic-ui/modal.js +33 -17
  33. data/app/assets/javascripts/semantic-ui/nag.js +5 -1
  34. data/app/assets/javascripts/semantic-ui/popup.js +10 -5
  35. data/app/assets/javascripts/semantic-ui/progress.js +5 -1
  36. data/app/assets/javascripts/semantic-ui/rating.js +21 -6
  37. data/app/assets/javascripts/semantic-ui/search.js +43 -27
  38. data/app/assets/javascripts/semantic-ui/shape.js +5 -1
  39. data/app/assets/javascripts/semantic-ui/sidebar.js +7 -3
  40. data/app/assets/javascripts/semantic-ui/site.js +6 -2
  41. data/app/assets/javascripts/semantic-ui/slider.js +1216 -0
  42. data/app/assets/javascripts/semantic-ui/state.js +5 -1
  43. data/app/assets/javascripts/semantic-ui/sticky.js +5 -1
  44. data/app/assets/javascripts/semantic-ui/tab.js +10 -3
  45. data/app/assets/javascripts/semantic-ui/toast.js +6 -2
  46. data/app/assets/javascripts/semantic-ui/transition.js +6 -2
  47. data/app/assets/javascripts/semantic-ui/visibility.js +6 -2
  48. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +7 -7
  49. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +59 -83
  50. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +110 -124
  51. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +262 -237
  52. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +155 -118
  53. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +332 -145
  54. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +2281 -2415
  55. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +1 -1
  56. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +10 -10
  57. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +81 -81
  58. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +178 -191
  59. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +71 -103
  60. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +8 -8
  61. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +61 -40
  62. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +1087 -444
  63. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +69 -69
  64. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +510 -155
  65. data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +20 -14
  66. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +26 -26
  67. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +8 -8
  68. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +180 -216
  69. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +34 -39
  70. data/app/assets/stylesheets/semantic-ui/elements/_text.scss +114 -0
  71. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
  72. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +11 -20
  73. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +16 -16
  74. data/app/assets/stylesheets/semantic-ui/modules/_all.scss +1 -1
  75. data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +1 -1
  76. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +23 -23
  77. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +32 -32
  78. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +128 -155
  79. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +13 -13
  80. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +50 -48
  81. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +15 -15
  82. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +50 -50
  83. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +30 -44
  84. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +137 -111
  85. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +24 -28
  86. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +6 -6
  87. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +29 -29
  88. data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +768 -0
  89. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +3 -3
  90. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +10 -14
  91. data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +27 -16
  92. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
  93. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +6 -6
  94. data/app/assets/stylesheets/semantic-ui/views/_card.scss +103 -133
  95. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +26 -26
  96. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +27 -27
  97. data/app/assets/stylesheets/semantic-ui/views/_item.scss +54 -54
  98. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +138 -108
  99. data/app/helpers/semantic_breadcrumbs_helper.rb +1 -1
  100. data/app/helpers/semantic_flash_helper.rb +4 -2
  101. data/app/helpers/semantic_icon_helper.rb +1 -1
  102. data/fomantic-ui-sass.gemspec +20 -19
  103. data/gemfiles/rails_5.0.gemfile +5 -0
  104. data/gemfiles/rails_5.1.gemfile +5 -0
  105. data/gemfiles/rails_5.2.gemfile +5 -0
  106. data/lib/fomantic-ui-sass.rb +3 -4
  107. data/lib/fomantic/ui/sass/breadcrumbs.rb +2 -4
  108. data/lib/fomantic/ui/sass/engine.rb +3 -3
  109. data/lib/fomantic/ui/sass/version.rb +2 -2
  110. data/spec/dummy/Rakefile +1 -1
  111. data/spec/dummy/bin/bundle +1 -1
  112. data/spec/dummy/bin/rails +1 -1
  113. data/spec/dummy/bin/rake +0 -0
  114. data/spec/dummy/config.ru +1 -1
  115. data/spec/dummy/config/application.rb +5 -6
  116. data/spec/dummy/config/boot.rb +3 -3
  117. data/spec/dummy/config/environment.rb +1 -1
  118. data/spec/dummy/config/environments/test.rb +1 -1
  119. data/spec/helpers/semantic_breadcrumbs_helper_spec.rb +30 -32
  120. data/spec/helpers/semantic_flash_helper_spec.rb +15 -16
  121. data/spec/helpers/semantic_icon_helper_spec.rb +10 -10
  122. data/spec/spec_helper.rb +4 -6
  123. data/tasks/converter.rb +61 -73
  124. data/templates/project/manifest.rb +1 -2
  125. metadata +45 -23
  126. data/app/assets/javascripts/semantic-ui/range.js +0 -278
  127. data/app/assets/stylesheets/semantic-ui/modules/_range.scss +0 -192
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.6.4 - Table
2
+ * # Semantic UI 2.7.0 - Table
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -18,21 +18,27 @@
18
18
  .ui.table {
19
19
  width: 100%;
20
20
  background: #FFFFFF;
21
- margin: 1em 0em;
21
+ margin: 1em 0;
22
22
  border: 1px solid rgba(34, 36, 38, 0.15);
23
23
  -webkit-box-shadow: none;
24
24
  box-shadow: none;
25
25
  border-radius: 0.28571429rem;
26
26
  text-align: left;
27
+ vertical-align: middle;
27
28
  color: rgba(0, 0, 0, 0.87);
28
29
  border-collapse: separate;
29
- border-spacing: 0px;
30
+ border-spacing: 0;
30
31
  }
31
32
  .ui.table:first-child {
32
- margin-top: 0em;
33
+ margin-top: 0;
33
34
  }
34
35
  .ui.table:last-child {
35
- margin-bottom: 0em;
36
+ margin-bottom: 0;
37
+ }
38
+ .ui.table thead,
39
+ .ui.table tbody {
40
+ text-align: inherit;
41
+ vertical-align: inherit;
36
42
  }
37
43
 
38
44
 
@@ -70,13 +76,13 @@
70
76
  border-left: none;
71
77
  }
72
78
  .ui.table thead tr:first-child > th:first-child {
73
- border-radius: 0.28571429rem 0em 0em 0em;
79
+ border-radius: 0.28571429rem 0 0 0;
74
80
  }
75
81
  .ui.table thead tr:first-child > th:last-child {
76
- border-radius: 0em 0.28571429rem 0em 0em;
82
+ border-radius: 0 0.28571429rem 0 0;
77
83
  }
78
84
  .ui.table thead tr:first-child > th:only-child {
79
- border-radius: 0.28571429rem 0.28571429rem 0em 0em;
85
+ border-radius: 0.28571429rem 0.28571429rem 0 0;
80
86
  }
81
87
 
82
88
  /* Footer */
@@ -100,13 +106,13 @@
100
106
  border-left: none;
101
107
  }
102
108
  .ui.table tfoot tr:first-child > th:first-child {
103
- border-radius: 0em 0em 0em 0.28571429rem;
109
+ border-radius: 0 0 0 0.28571429rem;
104
110
  }
105
111
  .ui.table tfoot tr:first-child > th:last-child {
106
- border-radius: 0em 0em 0.28571429rem 0em;
112
+ border-radius: 0 0 0.28571429rem 0;
107
113
  }
108
114
  .ui.table tfoot tr:first-child > th:only-child {
109
- border-radius: 0em 0em 0.28571429rem 0.28571429rem;
115
+ border-radius: 0 0 0.28571429rem 0.28571429rem;
110
116
  }
111
117
 
112
118
  /* Table Row */
@@ -133,12 +139,12 @@
133
139
  vertical-align: baseline;
134
140
  }
135
141
  .ui.table > .icon:only-child {
136
- margin: 0em;
142
+ margin: 0;
137
143
  }
138
144
 
139
145
  /* Table Segment */
140
146
  .ui.table.segment {
141
- padding: 0em;
147
+ padding: 0;
142
148
  }
143
149
  .ui.table.segment:after {
144
150
  display: none;
@@ -151,7 +157,7 @@
151
157
  @media only screen and (max-width: 767px) {
152
158
  .ui.table:not(.unstackable) {
153
159
  width: 100%;
154
- padding: 0em;
160
+ padding: 0;
155
161
  }
156
162
  .ui.table:not(.unstackable) tbody,
157
163
  .ui.table:not(.unstackable) tr,
@@ -169,8 +175,8 @@
169
175
  .ui.table:not(.unstackable) tr {
170
176
  padding-top: 1em;
171
177
  padding-bottom: 1em;
172
- -webkit-box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
173
- box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
178
+ -webkit-box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1) inset !important;
179
+ box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1) inset !important;
174
180
  }
175
181
  .ui.table:not(.unstackable) tr > th,
176
182
  .ui.table:not(.unstackable) tr > td {
@@ -199,10 +205,8 @@
199
205
 
200
206
 
201
207
  /* UI Image */
202
- .ui.table th .image,
203
- .ui.table th .image img,
204
- .ui.table td .image,
205
- .ui.table td .image img {
208
+ .ui.table .collapsing .image,
209
+ .ui.table .collapsing .image img {
206
210
  max-width: none;
207
211
  }
208
212
 
@@ -246,26 +250,26 @@
246
250
  background: transparent;
247
251
  font-weight: normal;
248
252
  color: rgba(0, 0, 0, 0.4);
249
- -webkit-box-shadow: -1px -1px 0px 1px #FFFFFF;
250
- box-shadow: -1px -1px 0px 1px #FFFFFF;
253
+ -webkit-box-shadow: -1px -1px 0 1px #FFFFFF;
254
+ box-shadow: -1px -1px 0 1px #FFFFFF;
251
255
  }
252
256
  .ui.definition.table tfoot:not(.full-width) th:first-child {
253
257
  pointer-events: none;
254
258
  background: transparent;
255
- font-weight: rgba(0, 0, 0, 0.4);
256
- color: normal;
257
- -webkit-box-shadow: 1px 1px 0px 1px #FFFFFF;
258
- box-shadow: 1px 1px 0px 1px #FFFFFF;
259
+ font-weight: normal;
260
+ color: rgba(0, 0, 0, 0.4);
261
+ -webkit-box-shadow: 1px 1px 0 1px #FFFFFF;
262
+ box-shadow: 1px 1px 0 1px #FFFFFF;
259
263
  }
260
264
 
261
265
  /* Remove Border */
262
266
  .ui.celled.definition.table thead:not(.full-width) th:first-child {
263
- -webkit-box-shadow: 0px -1px 0px 1px #FFFFFF;
264
- box-shadow: 0px -1px 0px 1px #FFFFFF;
267
+ -webkit-box-shadow: 0 -1px 0 1px #FFFFFF;
268
+ box-shadow: 0 -1px 0 1px #FFFFFF;
265
269
  }
266
270
  .ui.celled.definition.table tfoot:not(.full-width) th:first-child {
267
- -webkit-box-shadow: 0px 1px 0px 1px #FFFFFF;
268
- box-shadow: 0px 1px 0px 1px #FFFFFF;
271
+ -webkit-box-shadow: 0 1px 0 1px #FFFFFF;
272
+ box-shadow: 0 1px 0 1px #FFFFFF;
269
273
  }
270
274
 
271
275
  /* Highlight Defining Column */
@@ -306,10 +310,10 @@
306
310
 
307
311
  .ui.table tr.positive,
308
312
  .ui.table td.positive {
309
- -webkit-box-shadow: 0px 0px 0px #A3C293 inset;
310
- box-shadow: 0px 0px 0px #A3C293 inset;
311
- background: #FCFFF5 !important;
312
- color: #2C662D !important;
313
+ -webkit-box-shadow: 0 0 0 #A3C293 inset;
314
+ box-shadow: 0 0 0 #A3C293 inset;
315
+ background: #FCFFF5;
316
+ color: #2C662D;
313
317
  }
314
318
 
315
319
  /*--------------
@@ -318,10 +322,10 @@
318
322
 
319
323
  .ui.table tr.negative,
320
324
  .ui.table td.negative {
321
- -webkit-box-shadow: 0px 0px 0px #E0B4B4 inset;
322
- box-shadow: 0px 0px 0px #E0B4B4 inset;
323
- background: #FFF6F6 !important;
324
- color: #9F3A38 !important;
325
+ -webkit-box-shadow: 0 0 0 #E0B4B4 inset;
326
+ box-shadow: 0 0 0 #E0B4B4 inset;
327
+ background: #FFF6F6;
328
+ color: #9F3A38;
325
329
  }
326
330
 
327
331
  /*--------------
@@ -330,10 +334,10 @@
330
334
 
331
335
  .ui.table tr.error,
332
336
  .ui.table td.error {
333
- -webkit-box-shadow: 0px 0px 0px #E0B4B4 inset;
334
- box-shadow: 0px 0px 0px #E0B4B4 inset;
335
- background: #FFF6F6 !important;
336
- color: #9F3A38 !important;
337
+ -webkit-box-shadow: 0 0 0 #E0B4B4 inset;
338
+ box-shadow: 0 0 0 #E0B4B4 inset;
339
+ background: #FFF6F6;
340
+ color: #9F3A38;
337
341
  }
338
342
 
339
343
  /*--------------
@@ -342,10 +346,10 @@
342
346
 
343
347
  .ui.table tr.warning,
344
348
  .ui.table td.warning {
345
- -webkit-box-shadow: 0px 0px 0px #C9BA9B inset;
346
- box-shadow: 0px 0px 0px #C9BA9B inset;
347
- background: #FFFAF3 !important;
348
- color: #573A08 !important;
349
+ -webkit-box-shadow: 0 0 0 #C9BA9B inset;
350
+ box-shadow: 0 0 0 #C9BA9B inset;
351
+ background: #FFFAF3;
352
+ color: #573A08;
349
353
  }
350
354
 
351
355
  /*--------------
@@ -354,10 +358,10 @@
354
358
 
355
359
  .ui.table tr.active,
356
360
  .ui.table td.active {
357
- -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.87) inset;
358
- box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.87) inset;
359
- background: #E0E0E0 !important;
360
- color: rgba(0, 0, 0, 0.87) !important;
361
+ -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.87) inset;
362
+ box-shadow: 0 0 0 rgba(0, 0, 0, 0.87) inset;
363
+ background: #E0E0E0;
364
+ color: rgba(0, 0, 0, 0.87);
361
365
  }
362
366
 
363
367
  /*--------------
@@ -369,7 +373,7 @@
369
373
  .ui.table tr.disabled:hover,
370
374
  .ui.table tr:hover td.disabled {
371
375
  pointer-events: none;
372
- color: rgba(40, 40, 40, 0.3) !important;
376
+ color: rgba(40, 40, 40, 0.3);
373
377
  }
374
378
 
375
379
 
@@ -392,7 +396,7 @@
392
396
  width: 100% !important;
393
397
  }
394
398
  .ui[class*="tablet stackable"].table {
395
- padding: 0em;
399
+ padding: 0;
396
400
  }
397
401
  .ui[class*="tablet stackable"].table thead {
398
402
  display: block;
@@ -403,8 +407,8 @@
403
407
  .ui[class*="tablet stackable"].table tr {
404
408
  padding-top: 1em;
405
409
  padding-bottom: 1em;
406
- -webkit-box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
407
- box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
410
+ -webkit-box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1) inset !important;
411
+ box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1) inset !important;
408
412
  }
409
413
  .ui[class*="tablet stackable"].table tr > th,
410
414
  .ui[class*="tablet stackable"].table tr > td {
@@ -485,18 +489,18 @@
485
489
 
486
490
  .ui.selectable.table tbody tr:hover,
487
491
  .ui.table tbody tr td.selectable:hover {
488
- background: rgba(0, 0, 0, 0.05) !important;
489
- color: rgba(0, 0, 0, 0.95) !important;
492
+ background: rgba(0, 0, 0, 0.05);
493
+ color: rgba(0, 0, 0, 0.95);
490
494
  }
491
495
  .ui.selectable.inverted.table tbody tr:hover,
492
496
  .ui.inverted.table tbody tr td.selectable:hover {
493
- background: rgba(255, 255, 255, 0.08) !important;
494
- color: #ffffff !important;
497
+ background: rgba(255, 255, 255, 0.08);
498
+ color: #ffffff;
495
499
  }
496
500
 
497
501
  /* Selectable Cell Link */
498
502
  .ui.table tbody tr td.selectable {
499
- padding: 0em;
503
+ padding: 0;
500
504
  }
501
505
  .ui.table tbody tr td.selectable > a:not(.ui) {
502
506
  display: block;
@@ -508,32 +512,32 @@
508
512
  .ui.selectable.table tr.error:hover,
509
513
  .ui.table tr td.selectable.error:hover,
510
514
  .ui.selectable.table tr:hover td.error {
511
- background: #ffe7e7 !important;
512
- color: #943634 !important;
515
+ background: #ffe7e7;
516
+ color: #943634;
513
517
  }
514
518
  .ui.selectable.table tr.warning:hover,
515
519
  .ui.table tr td.selectable.warning:hover,
516
520
  .ui.selectable.table tr:hover td.warning {
517
- background: #fff4e4 !important;
518
- color: #493107 !important;
521
+ background: #fff4e4;
522
+ color: #493107;
519
523
  }
520
524
  .ui.selectable.table tr.active:hover,
521
525
  .ui.table tr td.selectable.active:hover,
522
526
  .ui.selectable.table tr:hover td.active {
523
- background: #E0E0E0 !important;
524
- color: rgba(0, 0, 0, 0.87) !important;
527
+ background: #E0E0E0;
528
+ color: rgba(0, 0, 0, 0.87);
525
529
  }
526
530
  .ui.selectable.table tr.positive:hover,
527
531
  .ui.table tr td.selectable.positive:hover,
528
532
  .ui.selectable.table tr:hover td.positive {
529
- background: #f7ffe6 !important;
530
- color: #275b28 !important;
533
+ background: #f7ffe6;
534
+ color: #275b28;
531
535
  }
532
536
  .ui.selectable.table tr.negative:hover,
533
537
  .ui.table tr td.selectable.negative:hover,
534
538
  .ui.selectable.table tr:hover td.negative {
535
- background: #ffe7e7 !important;
536
- color: #943634 !important;
539
+ background: #ffe7e7;
540
+ color: #943634;
537
541
  }
538
542
 
539
543
  /*-------------------
@@ -543,10 +547,10 @@
543
547
 
544
548
  /* Middle */
545
549
  .ui.attached.table {
546
- top: 0px;
547
- bottom: 0px;
548
- border-radius: 0px;
549
- margin: 0em -1px;
550
+ top: 0;
551
+ bottom: 0;
552
+ border-radius: 0;
553
+ margin: 0 -1px;
550
554
  width: calc(100% + 2px);
551
555
  max-width: calc(100% + 2px);
552
556
  -webkit-box-shadow: none;
@@ -559,28 +563,28 @@
559
563
 
560
564
  /* Top */
561
565
  .ui[class*="top attached"].table {
562
- bottom: 0px;
563
- margin-bottom: 0em;
564
- top: 0px;
566
+ bottom: 0;
567
+ margin-bottom: 0;
568
+ top: 0;
565
569
  margin-top: 1em;
566
- border-radius: 0.28571429rem 0.28571429rem 0em 0em;
570
+ border-radius: 0.28571429rem 0.28571429rem 0 0;
567
571
  }
568
572
  .ui.table[class*="top attached"]:first-child {
569
- margin-top: 0em;
573
+ margin-top: 0;
570
574
  }
571
575
 
572
576
  /* Bottom */
573
577
  .ui[class*="bottom attached"].table {
574
- bottom: 0px;
575
- margin-top: 0em;
576
- top: 0px;
578
+ bottom: 0;
579
+ margin-top: 0;
580
+ top: 0;
577
581
  margin-bottom: 1em;
578
582
  -webkit-box-shadow: none, none;
579
583
  box-shadow: none, none;
580
- border-radius: 0em 0em 0.28571429rem 0.28571429rem;
584
+ border-radius: 0 0 0.28571429rem 0.28571429rem;
581
585
  }
582
586
  .ui[class*="bottom attached"].table:last-child {
583
- margin-bottom: 0em;
587
+ margin-bottom: 0;
584
588
  }
585
589
 
586
590
  /*--------------
@@ -602,8 +606,8 @@
602
606
 
603
607
  /* Allow striped active hover */
604
608
  .ui.striped.selectable.selectable.selectable.table tbody tr.active:hover {
605
- background: #EFEFEF !important;
606
- color: rgba(0, 0, 0, 0.95) !important;
609
+ background: #EFEFEF;
610
+ color: rgba(0, 0, 0, 0.95);
607
611
  }
608
612
 
609
613
  /*--------------
@@ -619,122 +623,305 @@
619
623
  Colors
620
624
  --------------------*/
621
625
 
622
-
623
- /* Red */
626
+ .ui.primary.table {
627
+ border-top: 0.2em solid #2185D0;
628
+ }
629
+ .ui.inverted.primary.table {
630
+ background-color: #2185D0;
631
+ color: #FFFFFF;
632
+ }
633
+ .ui.table tr.primary,
634
+ .ui.table td.primary {
635
+ -webkit-box-shadow: 0 0 0 #1a69a4 inset;
636
+ box-shadow: 0 0 0 #1a69a4 inset;
637
+ background: #ddf4ff;
638
+ color: rgba(255, 255, 255, 0.9);
639
+ }
640
+ .ui.selectable.table tr.primary:hover,
641
+ .ui.table tr td.selectable.primary:hover,
642
+ .ui.selectable.table tr:hover td.primary {
643
+ background: #d3f1ff;
644
+ color: rgba(255, 255, 255, 0.9);
645
+ }
646
+ .ui.secondary.table {
647
+ border-top: 0.2em solid #1B1C1D;
648
+ }
649
+ .ui.inverted.secondary.table {
650
+ background-color: #1B1C1D;
651
+ color: #FFFFFF;
652
+ }
653
+ .ui.table tr.secondary,
654
+ .ui.table td.secondary {
655
+ -webkit-box-shadow: 0 0 0 #020203 inset;
656
+ box-shadow: 0 0 0 #020203 inset;
657
+ background: #dddddd;
658
+ color: rgba(255, 255, 255, 0.9);
659
+ }
660
+ .ui.selectable.table tr.secondary:hover,
661
+ .ui.table tr td.selectable.secondary:hover,
662
+ .ui.selectable.table tr:hover td.secondary {
663
+ background: #e2e2e2;
664
+ color: rgba(255, 255, 255, 0.9);
665
+ }
624
666
  .ui.red.table {
625
667
  border-top: 0.2em solid #DB2828;
626
668
  }
627
669
  .ui.inverted.red.table {
628
- background-color: #DB2828 !important;
629
- color: #FFFFFF !important;
670
+ background-color: #DB2828;
671
+ color: #FFFFFF;
672
+ }
673
+ .ui.table tr.red,
674
+ .ui.table td.red {
675
+ -webkit-box-shadow: 0 0 0 #b21e1e inset;
676
+ box-shadow: 0 0 0 #b21e1e inset;
677
+ background: #ffe1df;
678
+ color: #DB2828;
679
+ }
680
+ .ui.selectable.table tr.red:hover,
681
+ .ui.table tr td.selectable.red:hover,
682
+ .ui.selectable.table tr:hover td.red {
683
+ background: #ffd7d5;
684
+ color: #DB2828;
630
685
  }
631
-
632
- /* Orange */
633
686
  .ui.orange.table {
634
687
  border-top: 0.2em solid #F2711C;
635
688
  }
636
689
  .ui.inverted.orange.table {
637
- background-color: #F2711C !important;
638
- color: #FFFFFF !important;
690
+ background-color: #F2711C;
691
+ color: #FFFFFF;
692
+ }
693
+ .ui.table tr.orange,
694
+ .ui.table td.orange {
695
+ -webkit-box-shadow: 0 0 0 #cf590c inset;
696
+ box-shadow: 0 0 0 #cf590c inset;
697
+ background: #ffe7d1;
698
+ color: #F2711C;
699
+ }
700
+ .ui.selectable.table tr.orange:hover,
701
+ .ui.table tr td.selectable.orange:hover,
702
+ .ui.selectable.table tr:hover td.orange {
703
+ background: #fae1cc;
704
+ color: #F2711C;
639
705
  }
640
-
641
- /* Yellow */
642
706
  .ui.yellow.table {
643
707
  border-top: 0.2em solid #FBBD08;
644
708
  }
645
709
  .ui.inverted.yellow.table {
646
- background-color: #FBBD08 !important;
647
- color: #FFFFFF !important;
710
+ background-color: #FBBD08;
711
+ color: #FFFFFF;
712
+ }
713
+ .ui.table tr.yellow,
714
+ .ui.table td.yellow {
715
+ -webkit-box-shadow: 0 0 0 #cd9903 inset;
716
+ box-shadow: 0 0 0 #cd9903 inset;
717
+ background: #fff9d2;
718
+ color: #B58105;
719
+ }
720
+ .ui.selectable.table tr.yellow:hover,
721
+ .ui.table tr td.selectable.yellow:hover,
722
+ .ui.selectable.table tr:hover td.yellow {
723
+ background: #fbf5cc;
724
+ color: #B58105;
648
725
  }
649
-
650
- /* Olive */
651
726
  .ui.olive.table {
652
727
  border-top: 0.2em solid #B5CC18;
653
728
  }
654
729
  .ui.inverted.olive.table {
655
- background-color: #B5CC18 !important;
656
- color: #FFFFFF !important;
730
+ background-color: #B5CC18;
731
+ color: #FFFFFF;
732
+ }
733
+ .ui.table tr.olive,
734
+ .ui.table td.olive {
735
+ -webkit-box-shadow: 0 0 0 #8d9e13 inset;
736
+ box-shadow: 0 0 0 #8d9e13 inset;
737
+ background: #f7fae4;
738
+ color: #8ABC1E;
739
+ }
740
+ .ui.selectable.table tr.olive:hover,
741
+ .ui.table tr td.selectable.olive:hover,
742
+ .ui.selectable.table tr:hover td.olive {
743
+ background: #f6fada;
744
+ color: #8ABC1E;
657
745
  }
658
-
659
- /* Green */
660
746
  .ui.green.table {
661
747
  border-top: 0.2em solid #21BA45;
662
748
  }
663
749
  .ui.inverted.green.table {
664
- background-color: #21BA45 !important;
665
- color: #FFFFFF !important;
750
+ background-color: #21BA45;
751
+ color: #FFFFFF;
752
+ }
753
+ .ui.table tr.green,
754
+ .ui.table td.green {
755
+ -webkit-box-shadow: 0 0 0 #198f35 inset;
756
+ box-shadow: 0 0 0 #198f35 inset;
757
+ background: #d5f5d9;
758
+ color: #1EBC30;
759
+ }
760
+ .ui.selectable.table tr.green:hover,
761
+ .ui.table tr td.selectable.green:hover,
762
+ .ui.selectable.table tr:hover td.green {
763
+ background: #d2eed5;
764
+ color: #1EBC30;
666
765
  }
667
-
668
- /* Teal */
669
766
  .ui.teal.table {
670
767
  border-top: 0.2em solid #00B5AD;
671
768
  }
672
769
  .ui.inverted.teal.table {
673
- background-color: #00B5AD !important;
674
- color: #FFFFFF !important;
770
+ background-color: #00B5AD;
771
+ color: #FFFFFF;
772
+ }
773
+ .ui.table tr.teal,
774
+ .ui.table td.teal {
775
+ -webkit-box-shadow: 0 0 0 #00827c inset;
776
+ box-shadow: 0 0 0 #00827c inset;
777
+ background: #e2ffff;
778
+ color: #10A3A3;
779
+ }
780
+ .ui.selectable.table tr.teal:hover,
781
+ .ui.table tr td.selectable.teal:hover,
782
+ .ui.selectable.table tr:hover td.teal {
783
+ background: #d8ffff;
784
+ color: #10A3A3;
675
785
  }
676
-
677
- /* Blue */
678
786
  .ui.blue.table {
679
787
  border-top: 0.2em solid #2185D0;
680
788
  }
681
789
  .ui.inverted.blue.table {
682
- background-color: #2185D0 !important;
683
- color: #FFFFFF !important;
790
+ background-color: #2185D0;
791
+ color: #FFFFFF;
792
+ }
793
+ .ui.table tr.blue,
794
+ .ui.table td.blue {
795
+ -webkit-box-shadow: 0 0 0 #1a69a4 inset;
796
+ box-shadow: 0 0 0 #1a69a4 inset;
797
+ background: #ddf4ff;
798
+ color: #2185D0;
799
+ }
800
+ .ui.selectable.table tr.blue:hover,
801
+ .ui.table tr td.selectable.blue:hover,
802
+ .ui.selectable.table tr:hover td.blue {
803
+ background: #d3f1ff;
804
+ color: #2185D0;
684
805
  }
685
-
686
- /* Violet */
687
806
  .ui.violet.table {
688
807
  border-top: 0.2em solid #6435C9;
689
808
  }
690
809
  .ui.inverted.violet.table {
691
- background-color: #6435C9 !important;
692
- color: #FFFFFF !important;
810
+ background-color: #6435C9;
811
+ color: #FFFFFF;
812
+ }
813
+ .ui.table tr.violet,
814
+ .ui.table td.violet {
815
+ -webkit-box-shadow: 0 0 0 #502aa1 inset;
816
+ box-shadow: 0 0 0 #502aa1 inset;
817
+ background: #ece9fe;
818
+ color: #6435C9;
819
+ }
820
+ .ui.selectable.table tr.violet:hover,
821
+ .ui.table tr td.selectable.violet:hover,
822
+ .ui.selectable.table tr:hover td.violet {
823
+ background: #e3deff;
824
+ color: #6435C9;
693
825
  }
694
-
695
- /* Purple */
696
826
  .ui.purple.table {
697
827
  border-top: 0.2em solid #A333C8;
698
828
  }
699
829
  .ui.inverted.purple.table {
700
- background-color: #A333C8 !important;
701
- color: #FFFFFF !important;
830
+ background-color: #A333C8;
831
+ color: #FFFFFF;
832
+ }
833
+ .ui.table tr.purple,
834
+ .ui.table td.purple {
835
+ -webkit-box-shadow: 0 0 0 #82299f inset;
836
+ box-shadow: 0 0 0 #82299f inset;
837
+ background: #f8e3ff;
838
+ color: #A333C8;
839
+ }
840
+ .ui.selectable.table tr.purple:hover,
841
+ .ui.table tr td.selectable.purple:hover,
842
+ .ui.selectable.table tr:hover td.purple {
843
+ background: #f5d9ff;
844
+ color: #A333C8;
702
845
  }
703
-
704
- /* Pink */
705
846
  .ui.pink.table {
706
847
  border-top: 0.2em solid #E03997;
707
848
  }
708
849
  .ui.inverted.pink.table {
709
- background-color: #E03997 !important;
710
- color: #FFFFFF !important;
850
+ background-color: #E03997;
851
+ color: #FFFFFF;
852
+ }
853
+ .ui.table tr.pink,
854
+ .ui.table td.pink {
855
+ -webkit-box-shadow: 0 0 0 #c71f7e inset;
856
+ box-shadow: 0 0 0 #c71f7e inset;
857
+ background: #ffe8f9;
858
+ color: #E03997;
859
+ }
860
+ .ui.selectable.table tr.pink:hover,
861
+ .ui.table tr td.selectable.pink:hover,
862
+ .ui.selectable.table tr:hover td.pink {
863
+ background: #ffdef6;
864
+ color: #E03997;
711
865
  }
712
-
713
- /* Brown */
714
866
  .ui.brown.table {
715
867
  border-top: 0.2em solid #A5673F;
716
868
  }
717
869
  .ui.inverted.brown.table {
718
- background-color: #A5673F !important;
719
- color: #FFFFFF !important;
870
+ background-color: #A5673F;
871
+ color: #FFFFFF;
872
+ }
873
+ .ui.table tr.brown,
874
+ .ui.table td.brown {
875
+ -webkit-box-shadow: 0 0 0 #805031 inset;
876
+ box-shadow: 0 0 0 #805031 inset;
877
+ background: #f7e5d2;
878
+ color: #A5673F;
879
+ }
880
+ .ui.selectable.table tr.brown:hover,
881
+ .ui.table tr td.selectable.brown:hover,
882
+ .ui.selectable.table tr:hover td.brown {
883
+ background: #efe0cf;
884
+ color: #A5673F;
720
885
  }
721
-
722
- /* Grey */
723
886
  .ui.grey.table {
724
887
  border-top: 0.2em solid #767676;
725
888
  }
726
889
  .ui.inverted.grey.table {
727
- background-color: #767676 !important;
728
- color: #FFFFFF !important;
890
+ background-color: #767676;
891
+ color: #FFFFFF;
892
+ }
893
+ .ui.table tr.grey,
894
+ .ui.table td.grey {
895
+ -webkit-box-shadow: 0 0 0 #5d5d5d inset;
896
+ box-shadow: 0 0 0 #5d5d5d inset;
897
+ background: #DCDDDE;
898
+ color: #767676;
899
+ }
900
+ .ui.selectable.table tr.grey:hover,
901
+ .ui.table tr td.selectable.grey:hover,
902
+ .ui.selectable.table tr:hover td.grey {
903
+ background: #c2c4c5;
904
+ color: #767676;
729
905
  }
730
-
731
- /* Black */
732
906
  .ui.black.table {
733
907
  border-top: 0.2em solid #1B1C1D;
734
908
  }
735
909
  .ui.inverted.black.table {
736
- background-color: #1B1C1D !important;
737
- color: #FFFFFF !important;
910
+ background-color: #1B1C1D;
911
+ color: #FFFFFF;
912
+ }
913
+ .ui.table tr.black,
914
+ .ui.table td.black {
915
+ -webkit-box-shadow: 0 0 0 #020203 inset;
916
+ box-shadow: 0 0 0 #020203 inset;
917
+ background: #545454;
918
+ color: #FFFFFF;
919
+ }
920
+ .ui.selectable.table tr.black:hover,
921
+ .ui.table tr td.selectable.black:hover,
922
+ .ui.selectable.table tr:hover td.black {
923
+ background: #000000;
924
+ color: #FFFFFF;
738
925
  }
739
926
 
740
927
  /*--------------
@@ -887,7 +1074,7 @@
887
1074
  height: 1em;
888
1075
  width: auto;
889
1076
  opacity: 0.8;
890
- margin: 0em 0em 0em 0.5em;
1077
+ margin: 0 0 0 0.5em;
891
1078
  font-family: 'Icons';
892
1079
  }
893
1080
  .ui.sortable.table thead th.ascending:after {
@@ -953,11 +1140,11 @@
953
1140
  }
954
1141
  .ui.inverted.table th {
955
1142
  background-color: rgba(0, 0, 0, 0.15);
956
- border-color: rgba(255, 255, 255, 0.1) !important;
957
- color: rgba(255, 255, 255, 0.9) !important;
1143
+ border-color: rgba(255, 255, 255, 0.1);
1144
+ color: rgba(255, 255, 255, 0.9);
958
1145
  }
959
1146
  .ui.inverted.table tr td {
960
- border-color: rgba(255, 255, 255, 0.1) !important;
1147
+ border-color: rgba(255, 255, 255, 0.1);
961
1148
  }
962
1149
  .ui.inverted.table tr.disabled td,
963
1150
  .ui.inverted.table tr td.disabled,
@@ -1011,7 +1198,7 @@
1011
1198
  background: transparent;
1012
1199
  }
1013
1200
  .ui.basic.striped.table tbody tr:nth-child(2n) {
1014
- background-color: rgba(0, 0, 0, 0.05) !important;
1201
+ background-color: rgba(0, 0, 0, 0.05);
1015
1202
  }
1016
1203
 
1017
1204
  /* Very Basic */
@@ -1024,14 +1211,14 @@
1024
1211
  }
1025
1212
  .ui[class*="very basic"].table:not(.sortable):not(.striped) th:first-child,
1026
1213
  .ui[class*="very basic"].table:not(.sortable):not(.striped) td:first-child {
1027
- padding-left: 0em;
1214
+ padding-left: 0;
1028
1215
  }
1029
1216
  .ui[class*="very basic"].table:not(.sortable):not(.striped) th:last-child,
1030
1217
  .ui[class*="very basic"].table:not(.sortable):not(.striped) td:last-child {
1031
- padding-right: 0em;
1218
+ padding-right: 0;
1032
1219
  }
1033
1220
  .ui[class*="very basic"].table:not(.sortable):not(.striped) thead tr:first-child th {
1034
- padding-top: 0em;
1221
+ padding-top: 0;
1035
1222
  }
1036
1223
 
1037
1224
  /*--------------