semantic-ui-sass 0.0.3 → 0.8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +6 -1
  3. data/.rspec +1 -0
  4. data/CHANGELOG.md +8 -0
  5. data/README.md +26 -1
  6. data/app/assets/javascripts/semantic-ui/accordion.js +15 -17
  7. data/app/assets/javascripts/semantic-ui/behavior/api.js +18 -22
  8. data/app/assets/javascripts/semantic-ui/behavior/form.js +18 -24
  9. data/app/assets/javascripts/semantic-ui/behavior/state.js +8 -8
  10. data/app/assets/javascripts/semantic-ui/chatroom.js +18 -14
  11. data/app/assets/javascripts/semantic-ui/checkbox.js +26 -24
  12. data/app/assets/javascripts/semantic-ui/dimmer.js +74 -47
  13. data/app/assets/javascripts/semantic-ui/dropdown.js +226 -153
  14. data/app/assets/javascripts/semantic-ui/modal.js +73 -46
  15. data/app/assets/javascripts/semantic-ui/nag.js +13 -16
  16. data/app/assets/javascripts/semantic-ui/popup.js +352 -263
  17. data/app/assets/javascripts/semantic-ui/rating.js +29 -26
  18. data/app/assets/javascripts/semantic-ui/search.js +18 -24
  19. data/app/assets/javascripts/semantic-ui/shape.js +182 -173
  20. data/app/assets/javascripts/semantic-ui/sidebar.js +66 -43
  21. data/app/assets/javascripts/semantic-ui/tab.js +49 -31
  22. data/app/assets/javascripts/semantic-ui/transition.js +24 -24
  23. data/app/assets/javascripts/semantic-ui/video.js +26 -24
  24. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +1 -1
  25. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +85 -37
  26. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +6 -7
  27. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +76 -23
  28. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +415 -241
  29. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
  30. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +26 -24
  31. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +8 -13
  32. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +87 -5
  33. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +7 -9
  34. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -2
  35. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +17 -21
  36. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +4 -27
  37. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +44 -30
  38. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +68 -9
  39. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +26 -26
  40. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
  41. data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +1 -1
  42. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +81 -7
  43. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +129 -28
  44. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +12 -10
  45. data/app/assets/stylesheets/semantic-ui/views/_item.scss +0 -10
  46. data/app/assets/stylesheets/semantic-ui/views/_list.scss +6 -6
  47. data/app/helpers/semantic_flash_helper.rb +22 -0
  48. data/app/helpers/semantic_icon_helper.rb +5 -0
  49. data/lib/semantic/ui/sass/version.rb +2 -2
  50. data/semantic-ui-sass.gemspec +3 -0
  51. data/spec/dummy/README.rdoc +28 -0
  52. data/spec/dummy/Rakefile +6 -0
  53. data/spec/dummy/app/assets/images/.keep +0 -0
  54. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  55. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  56. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  57. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  58. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  59. data/spec/dummy/app/mailers/.keep +0 -0
  60. data/spec/dummy/app/models/.keep +0 -0
  61. data/spec/dummy/app/models/concerns/.keep +0 -0
  62. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  63. data/spec/dummy/bin/bundle +3 -0
  64. data/spec/dummy/bin/rails +4 -0
  65. data/spec/dummy/bin/rake +4 -0
  66. data/spec/dummy/config.ru +4 -0
  67. data/spec/dummy/config/application.rb +28 -0
  68. data/spec/dummy/config/boot.rb +5 -0
  69. data/spec/dummy/config/database.yml +25 -0
  70. data/spec/dummy/config/environment.rb +5 -0
  71. data/spec/dummy/config/environments/development.rb +29 -0
  72. data/spec/dummy/config/environments/production.rb +80 -0
  73. data/spec/dummy/config/environments/test.rb +36 -0
  74. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  75. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  76. data/spec/dummy/config/initializers/inflections.rb +16 -0
  77. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  78. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  79. data/spec/dummy/config/initializers/session_store.rb +3 -0
  80. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  81. data/spec/dummy/config/locales/en.yml +23 -0
  82. data/spec/dummy/config/routes.rb +2 -0
  83. data/spec/dummy/lib/assets/.keep +0 -0
  84. data/spec/dummy/log/.keep +0 -0
  85. data/spec/dummy/public/404.html +58 -0
  86. data/spec/dummy/public/422.html +58 -0
  87. data/spec/dummy/public/500.html +57 -0
  88. data/spec/dummy/public/favicon.ico +0 -0
  89. data/spec/helpers/semantic_flash_helper_spec.rb +33 -0
  90. data/spec/helpers/semantic_icon_helper_spec.rb +20 -0
  91. data/spec/spec_helper.rb +8 -0
  92. metadata +132 -4
@@ -24,7 +24,7 @@ $.fn.video = function(parameters) {
24
24
  methodInvoked = (typeof query == 'string'),
25
25
  queryArguments = [].slice.call(arguments, 1),
26
26
 
27
- invokedResponse
27
+ returnedValue
28
28
  ;
29
29
 
30
30
  $allModules
@@ -32,7 +32,7 @@ $.fn.video = function(parameters) {
32
32
  var
33
33
  settings = ( $.isPlainObject(parameters) )
34
34
  ? $.extend(true, {}, $.fn.video.settings, parameters)
35
- : $.fn.video.settings,
35
+ : $.extend({}, $.fn.video.settings),
36
36
 
37
37
  selector = settings.selector,
38
38
  className = settings.className,
@@ -41,7 +41,7 @@ $.fn.video = function(parameters) {
41
41
  namespace = settings.namespace,
42
42
 
43
43
  eventNamespace = '.' + namespace,
44
- moduleNamespace = namespace + '-module',
44
+ moduleNamespace = 'module-' + namespace,
45
45
 
46
46
  $module = $(this),
47
47
  $placeholder = $module.find(selector.placeholder),
@@ -80,6 +80,12 @@ $.fn.video = function(parameters) {
80
80
  .removeData(moduleNamespace)
81
81
  .off(eventNamespace)
82
82
  ;
83
+ $placeholder
84
+ .off(eventNamespace)
85
+ ;
86
+ $playButton
87
+ .off(eventNamespace)
88
+ ;
83
89
  },
84
90
 
85
91
  // sets new video
@@ -225,26 +231,22 @@ $.fn.video = function(parameters) {
225
231
  },
226
232
 
227
233
  setting: function(name, value) {
228
- if(value !== undefined) {
229
- if( $.isPlainObject(name) ) {
230
- $.extend(true, settings, name);
231
- }
232
- else {
233
- settings[name] = value;
234
- }
234
+ if( $.isPlainObject(name) ) {
235
+ $.extend(true, settings, name);
236
+ }
237
+ else if(value !== undefined) {
238
+ settings[name] = value;
235
239
  }
236
240
  else {
237
241
  return settings[name];
238
242
  }
239
243
  },
240
244
  internal: function(name, value) {
241
- if(value !== undefined) {
242
- if( $.isPlainObject(name) ) {
243
- $.extend(true, module, name);
244
- }
245
- else {
246
- module[name] = value;
247
- }
245
+ if( $.isPlainObject(name) ) {
246
+ $.extend(true, module, name);
247
+ }
248
+ else if(value !== undefined) {
249
+ module[name] = value;
248
250
  }
249
251
  else {
250
252
  return module[name];
@@ -372,14 +374,14 @@ $.fn.video = function(parameters) {
372
374
  else if(found !== undefined) {
373
375
  response = found;
374
376
  }
375
- if($.isArray(invokedResponse)) {
376
- invokedResponse.push(response);
377
+ if($.isArray(returnedValue)) {
378
+ returnedValue.push(response);
377
379
  }
378
- else if(typeof invokedResponse == 'string') {
379
- invokedResponse = [invokedResponse, response];
380
+ else if(returnedValue !== undefined) {
381
+ returnedValue = [returnedValue, response];
380
382
  }
381
383
  else if(response !== undefined) {
382
- invokedResponse = response;
384
+ returnedValue = response;
383
385
  }
384
386
  return found;
385
387
  }
@@ -399,8 +401,8 @@ $.fn.video = function(parameters) {
399
401
  }
400
402
  })
401
403
  ;
402
- return (invokedResponse !== undefined)
403
- ? invokedResponse
404
+ return (returnedValue !== undefined)
405
+ ? returnedValue
404
406
  : this
405
407
  ;
406
408
  };
@@ -623,7 +623,7 @@ body > .ui.grid {
623
623
  display: block !important;
624
624
  padding: 0em;
625
625
  }
626
- .ui.stackable.grid .row > .column,
626
+ .ui.stackable.grid > .row > .column,
627
627
  .ui.stackable.grid > .column {
628
628
  display: block !important;
629
629
  width: auto !important;
@@ -237,34 +237,45 @@
237
237
  margin-bottom: 0px;
238
238
  }
239
239
 
240
+
241
+ /*--------------
242
+ Button
243
+ ---------------*/
244
+
245
+ .ui.menu:not(.vertical) .item > .button {
246
+ position: relative;
247
+ top: -0.05em;
248
+
249
+ margin: -0.55em 0;
250
+ padding-bottom: 0.55em;
251
+ padding-top: 0.55em;
252
+
253
+ font-size: 0.875em;
254
+ box-shadow: none;
255
+ }
256
+
257
+
240
258
  /*--------------
241
259
  Inputs
242
260
  ---------------*/
243
261
 
244
- .ui.menu .item > .input,
245
- .ui.menu .item > .input input {
262
+ .ui.menu:not(.vertical) .item > .input {
263
+ margin-top: -0.83em;
264
+ margin-bottom: -0.83em;
265
+ padding-top: 0.3em;
266
+ padding-bottom: 0.3em;
246
267
  width: 100%;
247
268
  }
248
- .ui.menu .ui.input > .icon {
249
- padding-top: 0.1em;
250
- height: auto;
251
- }
252
- .ui.menu .item > .input input,
253
- .ui.menu .item > input[type="text"] {
254
- position: relative;
255
- margin: -0.45em 0em;
256
- padding-top: 0.45em;
257
- padding-bottom: 0.45em;
269
+ .ui.menu .item > .input input {
270
+ padding-top: 0.5em;
271
+ padding-bottom: 0.5em;
258
272
  }
259
- .ui.vertical.menu .item > .input input,
260
- .ui.vertical.menu .item > input[type="text"] {
261
- top: 0em;
273
+ .ui.vertical.menu .item > .input input {
262
274
  margin: 0em;
263
275
  padding-top: 0.63em;
264
276
  padding-bottom: 0.63em;
265
277
  }
266
278
  .ui.vertical.menu .ui.input > .icon {
267
- top: 0px;
268
279
  padding-top: 0.63em;
269
280
  }
270
281
 
@@ -284,9 +295,15 @@
284
295
  /*--------------
285
296
  Dropdowns
286
297
  ---------------*/
287
- /*.ui.menu .dropdown.item .menu {
298
+ .ui.menu .dropdown.item .menu {
299
+ left: 1px;
288
300
  margin: 1px 0px 0px 0px;
289
- }*/
301
+ min-width: calc(100% - 1px);
302
+ box-shadow: 0 1px 1px 1px #DDDDDD;
303
+ }
304
+ .ui.menu .pointing.dropdown.item .menu {
305
+ margin-top: 0.75em;
306
+ }
290
307
  .ui.menu .simple.dropdown.item .menu {
291
308
  margin: 0px !important;
292
309
  }
@@ -481,7 +498,6 @@
481
498
 
482
499
  .ui.vertical.menu .item > .label {
483
500
  float: right;
484
- min-width: 2.5;
485
501
  text-align: center;
486
502
  }
487
503
  .ui.vertical.menu .item > .icon:not(.input) {
@@ -536,11 +552,13 @@
536
552
  /*--- Dropdown ---*/
537
553
  .ui.vertical.menu .dropdown.item > i {
538
554
  float: right;
555
+ content: "\f0da";
539
556
  }
540
557
  .ui.vertical.menu .dropdown.item .menu {
541
558
  top: 0% !important;
542
559
  left: 100%;
543
560
  margin: 0px 0px 0px 1px;
561
+ box-shadow: 0 0px 1px 1px #DDDDDD;
544
562
  }
545
563
  .ui.vertical.menu .dropdown.item.active {
546
564
  border-top-right-radius: 0em;
@@ -672,6 +690,8 @@
672
690
  background-color: transparent;
673
691
  border-bottom: 1px solid #DCDDDE;
674
692
 
693
+ border-radius: 0em;
694
+
675
695
  -webkit-box-shadow: none !important;
676
696
  -moz-box-shadow: none !important;
677
697
  box-shadow: none !important;
@@ -700,14 +720,15 @@
700
720
  /* Active */
701
721
  .ui.tabular.menu .active.item {
702
722
  position: relative;
703
- top: 1px;
704
723
 
705
724
  background-color: #FFFFFF;
706
725
  color: rgba(0, 0, 0, 0.8);
707
726
 
708
727
  border-color: #DCDDDE;
728
+ font-weight: bold;
709
729
 
710
- padding-top: 0.83em;
730
+ margin-bottom: -1px;
731
+ border-bottom: 1px solid #FFFFFF;
711
732
 
712
733
  -webkit-box-shadow: none;
713
734
  -moz-box-shadow: none;
@@ -739,10 +760,12 @@
739
760
  }
740
761
 
741
762
  .ui.pagination.menu .item {
742
- min-width: 2.7em;
743
- min-height: 2.7em;
763
+ min-width: 3em;
744
764
  text-align: center;
745
765
  }
766
+ .ui.pagination.menu .icon.item .icon {
767
+ vertical-align: top;
768
+ }
746
769
  .ui.pagination.menu.floated {
747
770
  display: block;
748
771
  }
@@ -772,6 +795,7 @@
772
795
  -moz-box-shadow: none;
773
796
  box-shadow: none;
774
797
  }
798
+ .ui.secondary.menu > .menu > .item,
775
799
  .ui.secondary.menu > .item {
776
800
  -webkit-box-shadow: none;
777
801
  -moz-box-shadow: none;
@@ -787,10 +811,15 @@
787
811
  -moz-border-radius: 0.3125em;
788
812
  border-radius: 0.3125em;
789
813
  }
814
+ .ui.secondary.menu > .menu > .item:before,
790
815
  .ui.secondary.menu > .item:before {
791
816
  display: none !important;
792
817
  }
793
818
 
819
+ .ui.secondary.menu .item > .input input {
820
+ background-color: transparent;
821
+ border: none;
822
+ }
794
823
  .ui.secondary.menu .link.item,
795
824
  .ui.secondary.menu a.item {
796
825
  opacity: 0.8;
@@ -801,7 +830,6 @@
801
830
  -ms-transition: none;
802
831
  transition: none;
803
832
  }
804
-
805
833
  .ui.secondary.menu .header.item {
806
834
  border-right: 0.1em solid rgba(0, 0, 0, 0.1);
807
835
  background-color: transparent;
@@ -818,6 +846,7 @@
818
846
  }
819
847
 
820
848
  /* active */
849
+ .ui.secondary.menu > .menu > .active.item,
821
850
  .ui.secondary.menu > .active.item {
822
851
  background-color: rgba(0, 0, 0, 0.08);
823
852
  opacity: 1;
@@ -862,18 +891,9 @@
862
891
 
863
892
  .ui.secondary.pointing.menu {
864
893
  border-bottom: 3px solid rgba(0, 0, 0, 0.1);
865
-
866
- }
867
-
868
- .ui.secondary.pointing.menu .header.item {
869
- border-right-width: 0px;
870
- font-weight: bold;
871
- }
872
-
873
- .ui.secondary.pointing.menu .text.item {
874
- box-shadow: none !important;
875
894
  }
876
895
 
896
+ .ui.secondary.pointing.menu > .menu > .item,
877
897
  .ui.secondary.pointing.menu > .item {
878
898
  margin: 0em 0em -3px;
879
899
  padding: 0.6em 0.95em;
@@ -900,24 +920,40 @@
900
920
  color 0.2s
901
921
  ;
902
922
  }
923
+
924
+ /* Item Types */
925
+ .ui.secondary.pointing.menu .header.item {
926
+ border-right-width: 0px;
927
+ font-weight: bold;
928
+ }
929
+ .ui.secondary.pointing.menu .text.item {
930
+ box-shadow: none !important;
931
+ }
932
+ .ui.secondary.pointing.menu > .menu > .item:after,
903
933
  .ui.secondary.pointing.menu > .item:after {
904
934
  display: none;
905
935
  }
906
936
 
907
937
  /* Hover */
908
- .ui.secondary.pointing.menu > .item.hover,
909
- .ui.secondary.pointing.menu > .item:hover {
938
+ .ui.secondary.pointing.menu > .menu > .link.item:hover,
939
+ .ui.secondary.pointing.menu > .link.item:hover,
940
+ .ui.secondary.pointing.menu > .menu > a.item:hover,
941
+ .ui.secondary.pointing.menu > a.item:hover {
910
942
  background-color: transparent;
911
943
  color: rgba(0, 0, 0, 0.7);
912
944
  }
913
945
 
914
946
  /* Down */
915
- .ui.secondary.pointing.menu > .item:active {
947
+ .ui.secondary.pointing.menu > .menu > .link.item:active,
948
+ .ui.secondary.pointing.menu > .link.item:active,
949
+ .ui.secondary.pointing.menu > .menu > a.item:active,
950
+ .ui.secondary.pointing.menu > a.item:active {
916
951
  background-color: transparent;
917
952
  border-color: rgba(0, 0, 0, 0.2);
918
953
  }
919
954
 
920
955
  /* Active */
956
+ .ui.secondary.pointing.menu > .menu > .item.active,
921
957
  .ui.secondary.pointing.menu > .item.active {
922
958
  background-color: transparent;
923
959
  border-color: rgba(0, 0, 0, 0.4);
@@ -1744,6 +1780,10 @@
1744
1780
  .ui.small.menu .item {
1745
1781
  font-size: 0.875rem;
1746
1782
  }
1783
+ .ui.small.menu:not(.vertical) .item > .input input {
1784
+ padding-top: 0.4em;
1785
+ padding-bottom: 0.4em;
1786
+ }
1747
1787
  .ui.small.vertical.menu {
1748
1788
  width: 13rem;
1749
1789
  }
@@ -1762,6 +1802,14 @@
1762
1802
  .ui.large.menu .item .item {
1763
1803
  font-size: 0.875rem;
1764
1804
  }
1805
+ .ui.large.menu:not(.vertical) .item > .input input {
1806
+ top: -0.125em;
1807
+ padding-bottom: 0.6em;
1808
+ padding-top: 0.6em;
1809
+ }
1810
+ .ui.large.menu .dropdown.item .item {
1811
+ font-size: 1rem;
1812
+ }
1765
1813
  .ui.large.vertical.menu {
1766
1814
  width: 18rem;
1767
1815
  }
@@ -116,7 +116,7 @@
116
116
  .ui.message ul.list li {
117
117
  position: relative;
118
118
  list-style-type: none;
119
- margin: 0em 0em 0em 1em;
119
+ margin: 0em 0em 0.3em 1em;
120
120
  padding: 0em;
121
121
  }
122
122
  .ui.message ul.list li:before {
@@ -233,7 +233,7 @@
233
233
  display: table-cell;
234
234
  vertical-align: middle;
235
235
  font-size: 3.8em;
236
- opacity: 0.2;
236
+ opacity: 0.5;
237
237
  }
238
238
  .ui.icon.message > .icon + .content {
239
239
  padding-left: 1em;
@@ -308,21 +308,20 @@
308
308
  /* Red Text Block */
309
309
  .ui.red.message {
310
310
  background-color: #F1D7D7;
311
-
312
311
  color: #A95252;
313
312
  }
314
313
 
315
314
  /* Success Text Block */
316
315
  .ui.success.message,
317
316
  .ui.positive.message {
318
- background-color: #5BBD72;
319
- color: #FFFFFF;
317
+ background-color: #DEFCD5;
318
+ color: #52A954;
320
319
  }
321
320
  /* Error Text Block */
322
321
  .ui.error.message,
323
322
  .ui.negative.message {
324
- background-color: #D95C5C;
325
- color: #FFFFFF;
323
+ background-color: #F1D7D7;
324
+ color: #A95252;
326
325
  }
327
326
 
328
327
 
@@ -41,10 +41,13 @@
41
41
  .ui.table thead {
42
42
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
43
43
  }
44
+ .ui.table tfoot th {
45
+ background-color: rgba(0, 0, 0, 0.03);
46
+ }
44
47
  .ui.table th {
45
48
  cursor: auto;
46
49
 
47
- background-color: rgba(0, 0, 0, 0.03);
50
+ background-color: rgba(0, 0, 0, 0.05);
48
51
 
49
52
  text-align: left;
50
53
  color: rgba(0, 0, 0, 0.8);
@@ -100,6 +103,53 @@
100
103
  display: block;
101
104
  }
102
105
 
106
+
107
+ /* Responsive */
108
+
109
+ @media only screen and (max-width : 768px) {
110
+ .ui.table {
111
+ display: block;
112
+ padding: 0em;
113
+ }
114
+ .ui.table thead,
115
+ .ui.table tfoot {
116
+ display: none;
117
+ }
118
+ .ui.table tbody {
119
+ display: block;
120
+ }
121
+ .ui.table tr {
122
+ display: block;
123
+ }
124
+
125
+ .ui.table tr > td {
126
+ width: 100% !important;
127
+ display: block;
128
+ border: none !important;
129
+ padding: 0.25em 0.75em;
130
+ box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05) !important;
131
+ }
132
+ .ui.table td:first-child {
133
+ font-weight: bold;
134
+ padding-top: 1em;
135
+ }
136
+ .ui.table td:last-child {
137
+ box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
138
+ padding-bottom: 1em;
139
+ }
140
+
141
+ /* Clear BG Colors */
142
+ .ui.table tr > td.warning,
143
+ .ui.table tr > td.error,
144
+ .ui.table tr > td.active,
145
+ .ui.table tr > td.positive,
146
+ .ui.table tr > td.negative {
147
+ background-color: transparent !important;
148
+ }
149
+ }
150
+
151
+
152
+
103
153
  /*******************************
104
154
  States
105
155
  *******************************/
@@ -109,19 +159,23 @@
109
159
  ---------------*/
110
160
 
111
161
  /* Sortable */
112
- .ui.sortable.table thead th:hover {
113
- background-image: none;
114
- color: rgba(0, 0, 0, 0.8);
115
- }
116
162
  .ui.sortable.table th.disabled:hover {
117
163
  cursor: auto;
118
- background-color: rgba(0, 0, 0, 0.1);
119
-
120
164
  text-align: left;
121
165
  font-weight: bold;
122
166
  color: #333333;
123
167
  color: rgba(0, 0, 0, 0.8);
124
168
  }
169
+ .ui.sortable.table thead th:hover {
170
+ background-color: rgba(0, 0, 0, 0.13);
171
+ color: rgba(0, 0, 0, 0.8);
172
+ }
173
+
174
+ /* Inverted Sortable */
175
+ .ui.inverted.sortable.table thead th:hover {
176
+ background-color: rgba(255, 255, 255, 0.13);
177
+ color: rgba(255, 255, 255, 1);
178
+ }
125
179
 
126
180
 
127
181
  /*--------------
@@ -168,8 +222,8 @@
168
222
  .ui.table tr.negative:hover td,
169
223
  .ui.table td:hover.negative,
170
224
  .ui.table th:hover.negative {
171
- background-color: #F2E8E8 !important;
172
- color: #CD2929 !important;
225
+ background-color: #F2E8E8;
226
+ color: #CD2929;
173
227
  }
174
228
 
175
229
  /*--------------
@@ -185,16 +239,16 @@
185
239
  .ui.table tr.error td,
186
240
  .ui.table td.error,
187
241
  .ui.table th.error {
188
- background-color: #F9F4F4 !important;
189
- color: #CD2929 !important;
242
+ background-color: #F9F4F4;
243
+ color: #CD2929;
190
244
  }
191
245
  .ui.celled.table tr.error:hover td,
192
246
  .ui.celled.table tr:hover td.error,
193
247
  .ui.table tr.error:hover td,
194
248
  .ui.table td:hover.error,
195
249
  .ui.table th:hover.error {
196
- background-color: #F2E8E8 !important;
197
- color: #CD2929 !important;
250
+ background-color: #F2E8E8;
251
+ color: #CD2929;
198
252
  }
199
253
 
200
254
  /*--------------
@@ -211,15 +265,15 @@
211
265
  .ui.table td.warning,
212
266
  .ui.table th.warning {
213
267
  background-color: #FBF6E9;
214
- color: #7D6C00 !important;
268
+ color: #7D6C00;
215
269
  }
216
270
  .ui.celled.table tr.warning:hover td,
217
271
  .ui.celled.table tr:hover td.warning,
218
272
  .ui.table tr.warning:hover td,
219
273
  .ui.table td:hover.warning,
220
274
  .ui.table th:hover.warning {
221
- background-color: #F3EDDC !important;
222
- color: #7D6C00 !important;
275
+ background-color: #F3EDDC;
276
+ color: #7D6C00;
223
277
  }
224
278
 
225
279
 
@@ -236,7 +290,7 @@
236
290
 
237
291
  .ui.table tr.active td,
238
292
  .ui.table tr td.active {
239
- background-color: #E0E0E0 !important;
293
+ background-color: #E0E0E0;
240
294
  color: rgba(50, 50, 50, 0.9);
241
295
  /* border-color: rgba(0, 0, 0, 0.15) !important; */
242
296
  }
@@ -385,18 +439,17 @@
385
439
  border: none;
386
440
  }
387
441
  .ui.celled.table th,
388
- .ui.celled.table tbody td {
442
+ .ui.celled.table td {
389
443
  border: 1px solid rgba(0, 0, 0, 0.1);
390
444
  }
391
445
 
392
446
  /* Coupling with segment */
393
- .ui.celled.table.segment th {
394
- border: none;
395
- }
396
- .ui.celled.table.segment tbody td:first-child {
447
+ .ui.celled.table.segment th:first-child,
448
+ .ui.celled.table.segment td:first-child {
397
449
  border-left: none;
398
450
  }
399
- .ui.celled.table.segment tbody td:last-child {
451
+ .ui.celled.table.segment th:last-child,
452
+ .ui.celled.table.segment td:last-child {
400
453
  border-right: none;
401
454
  }
402
455