less-rails-semantic_ui 2.2.13.0 → 2.3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.eot +0 -0
  3. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.svg +946 -2670
  4. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.ttf +0 -0
  5. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.woff +0 -0
  6. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.woff2 +0 -0
  7. data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +7 -7
  8. data/assets/javascripts/semantic_ui/definitions/behaviors/visibility.js +2 -2
  9. data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +5 -2
  10. data/assets/javascripts/semantic_ui/definitions/modules/dimmer.js +2 -0
  11. data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +48 -10
  12. data/assets/javascripts/semantic_ui/definitions/modules/modal.js +34 -42
  13. data/assets/javascripts/semantic_ui/definitions/modules/popup.js +49 -12
  14. data/assets/javascripts/semantic_ui/definitions/modules/search.js +71 -18
  15. data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +9 -0
  16. data/assets/stylesheets/semantic_ui/definitions/collections/table.less +7 -2
  17. data/assets/stylesheets/semantic_ui/definitions/elements/button.less +1 -1
  18. data/assets/stylesheets/semantic_ui/definitions/elements/header.less +1 -1
  19. data/assets/stylesheets/semantic_ui/definitions/elements/icon.less +2 -2
  20. data/assets/stylesheets/semantic_ui/definitions/elements/image.less +4 -0
  21. data/assets/stylesheets/semantic_ui/definitions/elements/input.less +35 -35
  22. data/assets/stylesheets/semantic_ui/definitions/elements/label.less +1 -0
  23. data/assets/stylesheets/semantic_ui/definitions/elements/list.less +14 -14
  24. data/assets/stylesheets/semantic_ui/definitions/elements/reveal.less +8 -0
  25. data/assets/stylesheets/semantic_ui/definitions/globals/site.less +1 -0
  26. data/assets/stylesheets/semantic_ui/definitions/modules/dimmer.less +22 -9
  27. data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +1 -1
  28. data/assets/stylesheets/semantic_ui/definitions/modules/modal.less +16 -21
  29. data/assets/stylesheets/semantic_ui/definitions/modules/popup.less +1 -1
  30. data/assets/stylesheets/semantic_ui/definitions/modules/rating.less +1 -1
  31. data/assets/stylesheets/semantic_ui/definitions/modules/search.less +34 -17
  32. data/assets/stylesheets/semantic_ui/themes/default/collections/breadcrumb.variables +1 -1
  33. data/assets/stylesheets/semantic_ui/themes/default/collections/form.variables +1 -1
  34. data/assets/stylesheets/semantic_ui/themes/default/collections/menu.variables +20 -20
  35. data/assets/stylesheets/semantic_ui/themes/default/collections/message.variables +1 -1
  36. data/assets/stylesheets/semantic_ui/themes/default/collections/table.variables +7 -6
  37. data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +4 -4
  38. data/assets/stylesheets/semantic_ui/themes/default/elements/divider.variables +2 -2
  39. data/assets/stylesheets/semantic_ui/themes/default/elements/flag.overrides +4 -0
  40. data/assets/stylesheets/semantic_ui/themes/default/elements/header.variables +1 -1
  41. data/assets/stylesheets/semantic_ui/themes/default/elements/icon.overrides +1263 -879
  42. data/assets/stylesheets/semantic_ui/themes/default/elements/label.variables +3 -3
  43. data/assets/stylesheets/semantic_ui/themes/default/elements/list.variables +1 -1
  44. data/assets/stylesheets/semantic_ui/themes/default/elements/reveal.variables +2 -1
  45. data/assets/stylesheets/semantic_ui/themes/default/elements/step.variables +3 -3
  46. data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +7 -2
  47. data/assets/stylesheets/semantic_ui/themes/default/modules/accordion.overrides +1 -1
  48. data/assets/stylesheets/semantic_ui/themes/default/modules/accordion.variables +1 -1
  49. data/assets/stylesheets/semantic_ui/themes/default/modules/checkbox.variables +2 -2
  50. data/assets/stylesheets/semantic_ui/themes/default/modules/dimmer.variables +2 -5
  51. data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +6 -6
  52. data/assets/stylesheets/semantic_ui/themes/default/modules/modal.variables +33 -29
  53. data/assets/stylesheets/semantic_ui/themes/default/modules/popup.variables +4 -3
  54. data/assets/stylesheets/semantic_ui/themes/default/modules/progress.variables +2 -2
  55. data/assets/stylesheets/semantic_ui/themes/default/modules/search.variables +8 -5
  56. data/assets/stylesheets/semantic_ui/themes/default/modules/transition.overrides +54 -2
  57. data/assets/stylesheets/semantic_ui/themes/default/views/ad.variables +2 -2
  58. data/assets/stylesheets/semantic_ui/themes/default/views/card.variables +1 -1
  59. data/assets/stylesheets/semantic_ui/themes/default/views/comment.variables +1 -1
  60. data/assets/stylesheets/semantic_ui/themes/default/views/feed.variables +4 -4
  61. data/assets/stylesheets/semantic_ui/themes/default/views/item.variables +1 -1
  62. data/assets/stylesheets/semantic_ui/themes/default/views/statistic.variables +4 -4
  63. data/lib/less/rails/semantic_ui/version.rb +1 -1
  64. metadata +4 -3
@@ -70,6 +70,7 @@ $.fn.search = function(parameters) {
70
70
 
71
71
  initialize: function() {
72
72
  module.verbose('Initializing module');
73
+ module.get.settings();
73
74
  module.determine.searchFields();
74
75
  module.bind.events();
75
76
  module.set.type();
@@ -402,6 +403,12 @@ $.fn.search = function(parameters) {
402
403
  },
403
404
 
404
405
  get: {
406
+ settings: function() {
407
+ if($.isPlainObject(parameters) && parameters.searchFullText) {
408
+ settings.fullTextSearch = parameters.searchFullText;
409
+ module.error(settings.error.oldSearchSyntax, element);
410
+ }
411
+ },
405
412
  inputEvent: function() {
406
413
  var
407
414
  prompt = $prompt[0],
@@ -545,8 +552,14 @@ $.fn.search = function(parameters) {
545
552
  ;
546
553
  module.set.loading();
547
554
  module.save.results(results);
548
- module.debug('Returned local search results', results);
549
-
555
+ module.debug('Returned full local search results', results);
556
+ if(settings.maxResults > 0) {
557
+ module.debug('Using specified max results', results);
558
+ results = results.slice(0, settings.maxResults);
559
+ }
560
+ if(settings.type == 'category') {
561
+ results = module.create.categoryResults(results);
562
+ }
550
563
  searchHTML = module.generateResults({
551
564
  results: results
552
565
  });
@@ -574,6 +587,7 @@ $.fn.search = function(parameters) {
574
587
  object: function(searchTerm, source, searchFields) {
575
588
  var
576
589
  results = [],
590
+ exactResults = [],
577
591
  fuzzyResults = [],
578
592
  searchExp = searchTerm.toString().replace(regExp.escape, '\\$&'),
579
593
  matchRegExp = new RegExp(regExp.beginsWith + searchExp, 'i'),
@@ -605,7 +619,6 @@ $.fn.search = function(parameters) {
605
619
  module.error(error.source);
606
620
  return [];
607
621
  }
608
-
609
622
  // iterate through search fields looking for matches
610
623
  $.each(searchFields, function(index, field) {
611
624
  $.each(source, function(label, content) {
@@ -617,17 +630,30 @@ $.fn.search = function(parameters) {
617
630
  // content starts with value (first in results)
618
631
  addResult(results, content);
619
632
  }
620
- else if(settings.searchFullText && module.fuzzySearch(searchTerm, content[field]) ) {
633
+ else if(settings.fullTextSearch === 'exact' && module.exactSearch(searchTerm, content[field]) ) {
634
+ // content fuzzy matches (last in results)
635
+ addResult(exactResults, content);
636
+ }
637
+ else if(settings.fullTextSearch == true && module.fuzzySearch(searchTerm, content[field]) ) {
621
638
  // content fuzzy matches (last in results)
622
639
  addResult(fuzzyResults, content);
623
640
  }
624
641
  }
625
642
  });
626
643
  });
627
- return $.merge(results, fuzzyResults);
644
+ $.merge(exactResults, fuzzyResults)
645
+ $.merge(results, exactResults);
646
+ return results;
628
647
  }
629
648
  },
630
-
649
+ exactSearch: function (query, term) {
650
+ query = query.toLowerCase();
651
+ term = term.toLowerCase();
652
+ if(term.indexOf(query) > -1) {
653
+ return true;
654
+ }
655
+ return false;
656
+ },
631
657
  fuzzySearch: function(query, term) {
632
658
  var
633
659
  termLength = term.length,
@@ -739,6 +765,27 @@ $.fn.search = function(parameters) {
739
765
  },
740
766
 
741
767
  create: {
768
+ categoryResults: function(results) {
769
+ var
770
+ categoryResults = {}
771
+ ;
772
+ $.each(results, function(index, result) {
773
+ if(!result.category) {
774
+ return;
775
+ }
776
+ if(categoryResults[result.category] === undefined) {
777
+ module.verbose('Creating new category of results', result.category);
778
+ categoryResults[result.category] = {
779
+ name : result.category,
780
+ results : [result]
781
+ }
782
+ }
783
+ else {
784
+ categoryResults[result.category].results.push(result);
785
+ }
786
+ });
787
+ return categoryResults;
788
+ },
742
789
  id: function(resultIndex, categoryIndex) {
743
790
  var
744
791
  resultID = (resultIndex + 1), // not zero indexed
@@ -776,7 +823,10 @@ $.fn.search = function(parameters) {
776
823
  $selectedResult = (categoryIndex !== undefined)
777
824
  ? $results
778
825
  .children().eq(categoryIndex)
779
- .children(selector.result).eq(resultIndex)
826
+ .children(selector.results)
827
+ .first()
828
+ .children(selector.result)
829
+ .eq(resultIndex)
780
830
  : $results
781
831
  .children(selector.result).eq(resultIndex)
782
832
  ;
@@ -1197,8 +1247,8 @@ $.fn.search.settings = {
1197
1247
  // field to display in standard results template
1198
1248
  displayField : '',
1199
1249
 
1200
- // whether to include fuzzy results in local search
1201
- searchFullText : true,
1250
+ // search anywhere in value (set to 'exact' to require exact matches
1251
+ fullTextSearch : 'exact',
1202
1252
 
1203
1253
  // whether to add events to prompt automatically
1204
1254
  automatic : true,
@@ -1209,7 +1259,7 @@ $.fn.search.settings = {
1209
1259
  // delay before searching
1210
1260
  searchDelay : 200,
1211
1261
 
1212
- // maximum results returned from local
1262
+ // maximum results returned from search
1213
1263
  maxResults : 7,
1214
1264
 
1215
1265
  // whether to store lookups in local cache
@@ -1245,14 +1295,15 @@ $.fn.search.settings = {
1245
1295
  },
1246
1296
 
1247
1297
  error : {
1248
- source : 'Cannot search. No source used, and Semantic API module was not included',
1249
- noResults : 'Your search returned no results',
1250
- logging : 'Error in debug logging, exiting.',
1251
- noEndpoint : 'No search endpoint was specified',
1252
- noTemplate : 'A valid template name was not specified.',
1253
- serverError : 'There was an issue querying the server.',
1254
- maxResults : 'Results must be an array to use maxResults setting',
1255
- method : 'The method you called is not defined.'
1298
+ source : 'Cannot search. No source used, and Semantic API module was not included',
1299
+ noResults : 'Your search returned no results',
1300
+ logging : 'Error in debug logging, exiting.',
1301
+ noEndpoint : 'No search endpoint was specified',
1302
+ noTemplate : 'A valid template name was not specified.',
1303
+ oldSearchSyntax : 'searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.',
1304
+ serverError : 'There was an issue querying the server.',
1305
+ maxResults : 'Results must be an array to use maxResults setting',
1306
+ method : 'The method you called is not defined.'
1256
1307
  },
1257
1308
 
1258
1309
  metadata: {
@@ -1354,6 +1405,7 @@ $.fn.search.settings = {
1354
1405
  }
1355
1406
 
1356
1407
  // each item inside category
1408
+ html += '<div class="results">';
1357
1409
  $.each(category.results, function(index, result) {
1358
1410
  if(result[fields.url]) {
1359
1411
  html += '<a class="result" href="' + result[fields.url] + '">';
@@ -1383,6 +1435,7 @@ $.fn.search.settings = {
1383
1435
  ;
1384
1436
  html += '</a>';
1385
1437
  });
1438
+ html += '</div>';
1386
1439
  html += ''
1387
1440
  + '</div>'
1388
1441
  ;
@@ -359,6 +359,15 @@
359
359
  Coupling
360
360
  *******************************/
361
361
 
362
+ /*--------------
363
+ List
364
+ ---------------*/
365
+
366
+ /* Menu divider shouldnt apply */
367
+ .ui.menu .list .item:before {
368
+ background: none !important;
369
+ }
370
+
362
371
  /*--------------
363
372
  Sidebar
364
373
  ---------------*/
@@ -132,6 +132,11 @@
132
132
  border-top: none;
133
133
  }
134
134
 
135
+ /* Repeated tbody */
136
+ .ui.table tbody + tbody tr:first-child td {
137
+ border-top: @rowBorder;
138
+ }
139
+
135
140
  /* Table Cells */
136
141
  .ui.table td {
137
142
  padding: @cellVerticalPadding @cellHorizontalPadding;
@@ -196,7 +201,7 @@
196
201
  }
197
202
  .ui.table:not(.unstackable) th:first-child,
198
203
  .ui.table:not(.unstackable) td:first-child {
199
- font-weight: bold;
204
+ font-weight: @responsiveCellHeaderFontWeight;
200
205
  }
201
206
 
202
207
  /* Definition Table */
@@ -898,7 +903,7 @@
898
903
  .ui.sortable.table thead th:after {
899
904
  display: none;
900
905
  font-style: normal;
901
- font-weight: normal;
906
+ font-weight: @normal;
902
907
  text-decoration: inherit;
903
908
  content: '';
904
909
  height: 1em;
@@ -753,7 +753,7 @@
753
753
  .ui.basic.active.button {
754
754
  background: @basicActiveBackground !important;
755
755
  box-shadow: @basicActiveBoxShadow !important;
756
- color: @basicActiveTextColor;
756
+ color: @basicActiveTextColor !important;
757
757
  }
758
758
  .ui.basic.buttons .active.button:hover,
759
759
  .ui.basic.active.button:hover {
@@ -58,7 +58,7 @@
58
58
 
59
59
  .ui.header .sub.header {
60
60
  display: block;
61
- font-weight: normal;
61
+ font-weight: @normal;
62
62
  padding: 0em;
63
63
  margin: @subHeaderMargin;
64
64
  font-size: @subHeaderFontSize;
@@ -38,7 +38,7 @@
38
38
  src: @fallbackSRC;
39
39
  src: @src;
40
40
  font-style: normal;
41
- font-weight: normal;
41
+ font-weight: @normal;
42
42
  font-variant: normal;
43
43
  text-decoration: inherit;
44
44
  text-transform: none;
@@ -55,7 +55,7 @@ i.icon {
55
55
 
56
56
  font-family: 'Icons';
57
57
  font-style: normal;
58
- font-weight: normal;
58
+ font-weight: @normal;
59
59
  text-decoration: inherit;
60
60
  text-align: center;
61
61
 
@@ -66,6 +66,10 @@ img.ui.image {
66
66
  display: block;
67
67
  visibility: hidden;
68
68
  }
69
+ .ui.images > .hidden.transition {
70
+ display: inline-block;
71
+ visibility: hidden;
72
+ }
69
73
 
70
74
 
71
75
  .ui.disabled.images,
@@ -39,12 +39,12 @@
39
39
 
40
40
  .ui.input {
41
41
  position: relative;
42
- font-weight: normal;
42
+ font-weight: @normal;
43
43
  font-style: normal;
44
44
  display: inline-flex;
45
45
  color: @inputColor;
46
46
  }
47
- .ui.input input {
47
+ .ui.input > input {
48
48
  margin: 0em;
49
49
  max-width: 100%;
50
50
  flex: 1 0 auto;
@@ -72,13 +72,13 @@
72
72
 
73
73
  /* browsers require these rules separate */
74
74
 
75
- .ui.input input::-webkit-input-placeholder {
75
+ .ui.input > input::-webkit-input-placeholder {
76
76
  color: @placeholderColor;
77
77
  }
78
- .ui.input input::-moz-placeholder {
78
+ .ui.input > input::-moz-placeholder {
79
79
  color: @placeholderColor;
80
80
  }
81
- .ui.input input:-ms-input-placeholder {
81
+ .ui.input > input:-ms-input-placeholder {
82
82
  color: @placeholderColor;
83
83
  }
84
84
 
@@ -96,7 +96,7 @@
96
96
  opacity: @disabledOpacity;
97
97
  }
98
98
 
99
- .ui.disabled.input input,
99
+ .ui.disabled.input > input,
100
100
  .ui.input:not(.disabled) input[disabled] {
101
101
  pointer-events: none;
102
102
  }
@@ -105,7 +105,7 @@
105
105
  Active
106
106
  ---------------------*/
107
107
 
108
- .ui.input input:active,
108
+ .ui.input > input:active,
109
109
  .ui.input.down input {
110
110
  border-color: @downBorderColor;
111
111
  background: @downBackground;
@@ -157,23 +157,23 @@
157
157
  Focus
158
158
  ---------------------*/
159
159
 
160
- .ui.input.focus input,
161
- .ui.input input:focus {
160
+ .ui.input.focus > input,
161
+ .ui.input > input:focus {
162
162
  border-color: @focusBorderColor;
163
163
  background: @focusBackground;
164
164
  color: @focusColor;
165
165
  box-shadow: @focusBoxShadow;
166
166
  }
167
- .ui.input.focus input::-webkit-input-placeholder,
168
- .ui.input input:focus::-webkit-input-placeholder {
167
+ .ui.input.focus > input::-webkit-input-placeholder,
168
+ .ui.input > input:focus::-webkit-input-placeholder {
169
169
  color: @placeholderFocusColor;
170
170
  }
171
- .ui.input.focus input::-moz-placeholder,
172
- .ui.input input:focus::-moz-placeholder {
171
+ .ui.input.focus > input::-moz-placeholder,
172
+ .ui.input > input:focus::-moz-placeholder {
173
173
  color: @placeholderFocusColor;
174
174
  }
175
- .ui.input.focus input:-ms-input-placeholder,
176
- .ui.input input:focus:-ms-input-placeholder {
175
+ .ui.input.focus > input:-ms-input-placeholder,
176
+ .ui.input > input:focus:-ms-input-placeholder {
177
177
  color: @placeholderFocusColor;
178
178
  }
179
179
 
@@ -183,7 +183,7 @@
183
183
  Error
184
184
  ---------------------*/
185
185
 
186
- .ui.input.error input {
186
+ .ui.input.error > input {
187
187
  background-color: @errorBackground;
188
188
  border-color: @errorBorder;
189
189
  color: @errorColor;
@@ -191,24 +191,24 @@
191
191
  }
192
192
 
193
193
  /* Error Placeholder */
194
- .ui.input.error input::-webkit-input-placeholder {
194
+ .ui.input.error > input::-webkit-input-placeholder {
195
195
  color: @placeholderErrorColor;
196
196
  }
197
- .ui.input.error input::-moz-placeholder {
197
+ .ui.input.error > input::-moz-placeholder {
198
198
  color: @placeholderErrorColor;
199
199
  }
200
- .ui.input.error input:-ms-input-placeholder {
200
+ .ui.input.error > input:-ms-input-placeholder {
201
201
  color: @placeholderErrorColor !important;
202
202
  }
203
203
 
204
204
  /* Focused Error Placeholder */
205
- .ui.input.error input:focus::-webkit-input-placeholder {
205
+ .ui.input.error > input:focus::-webkit-input-placeholder {
206
206
  color: @placeholderErrorFocusColor;
207
207
  }
208
- .ui.input.error input:focus::-moz-placeholder {
208
+ .ui.input.error > input:focus::-moz-placeholder {
209
209
  color: @placeholderErrorFocusColor;
210
210
  }
211
- .ui.input.error input:focus:-ms-input-placeholder {
211
+ .ui.input.error > input:focus:-ms-input-placeholder {
212
212
  color: @placeholderErrorFocusColor !important;
213
213
  }
214
214
 
@@ -221,7 +221,7 @@
221
221
  ---------------------*/
222
222
 
223
223
 
224
- .ui.transparent.input input {
224
+ .ui.transparent.input > input {
225
225
  border-color: transparent !important;
226
226
  background-color: transparent !important;
227
227
  padding: 0em !important;
@@ -246,17 +246,17 @@
246
246
  .ui.transparent.inverted.input {
247
247
  color: @transparentInvertedColor;
248
248
  }
249
- .ui.transparent.inverted.input input {
249
+ .ui.transparent.inverted.input > input {
250
250
  color: inherit;
251
251
  }
252
252
 
253
- .ui.transparent.inverted.input input::-webkit-input-placeholder {
253
+ .ui.transparent.inverted.input > input::-webkit-input-placeholder {
254
254
  color: @transparentInvertedPlaceholderColor;
255
255
  }
256
- .ui.transparent.inverted.input input::-moz-placeholder {
256
+ .ui.transparent.inverted.input > input::-moz-placeholder {
257
257
  color: @transparentInvertedPlaceholderColor;
258
258
  }
259
- .ui.transparent.inverted.input input:-ms-input-placeholder {
259
+ .ui.transparent.inverted.input > input:-ms-input-placeholder {
260
260
  color: @transparentInvertedPlaceholderColor;
261
261
  }
262
262
 
@@ -283,7 +283,7 @@
283
283
  .ui.icon.input > i.icon:not(.link) {
284
284
  pointer-events: none;
285
285
  }
286
- .ui.icon.input input {
286
+ .ui.icon.input > input {
287
287
  padding-right: @iconMargin !important;
288
288
  }
289
289
 
@@ -354,17 +354,17 @@
354
354
  }
355
355
 
356
356
  /* Regular Label on Right */
357
- .ui[class*="right labeled"].input input {
357
+ .ui[class*="right labeled"].input > input {
358
358
  border-top-right-radius: 0px !important;
359
359
  border-bottom-right-radius: 0px !important;
360
360
  border-right-color: transparent !important;
361
361
  }
362
- .ui[class*="right labeled"].input input + .label {
362
+ .ui[class*="right labeled"].input > input + .label {
363
363
  border-top-left-radius: 0px;
364
364
  border-bottom-left-radius: 0px;
365
365
  }
366
366
 
367
- .ui[class*="right labeled"].input input:focus {
367
+ .ui[class*="right labeled"].input > input:focus {
368
368
  border-right-color: @focusBorderColor !important;
369
369
  }
370
370
 
@@ -377,7 +377,7 @@
377
377
  }
378
378
 
379
379
  /* Spacing with corner label */
380
- .ui[class*="corner labeled"]:not([class*="left corner labeled"]).labeled.input input {
380
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"]).labeled.input > input {
381
381
  padding-right: @labeledMargin !important;
382
382
  }
383
383
  .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input {
@@ -388,7 +388,7 @@
388
388
  }
389
389
 
390
390
  /* Left Labeled */
391
- .ui[class*="left corner labeled"].labeled.input input {
391
+ .ui[class*="left corner labeled"].labeled.input > input {
392
392
  padding-left: @labeledMargin !important;
393
393
  }
394
394
  .ui[class*="left corner labeled"].icon.input > input {
@@ -444,7 +444,7 @@
444
444
  }
445
445
 
446
446
  /* Input Focus */
447
- .ui.action.input:not([class*="left action"]) input:focus {
447
+ .ui.action.input:not([class*="left action"]) > input:focus {
448
448
  border-right-color: @focusBorderColor !important;
449
449
  }
450
450
 
@@ -474,7 +474,7 @@
474
474
  ---------------------*/
475
475
 
476
476
  /* Standard */
477
- .ui.inverted.input input {
477
+ .ui.inverted.input > input {
478
478
  border: none;
479
479
  }
480
480
 
@@ -132,6 +132,7 @@ a.ui.label {
132
132
  margin-top: @lineHeightOffset;
133
133
  }
134
134
 
135
+
135
136
  /* Remove border radius on attached segment */
136
137
  .ui.attached.segment > .ui.top.left.attached.label,
137
138
  .ui.bottom.attached.segment > .ui.top.left.attached.label {
@@ -431,16 +431,16 @@ ol.ui.list ol li,
431
431
  color: @linkListItemColor;
432
432
  transition: @linkListTransition;
433
433
  }
434
- .ui.link.list a.item:hover,
435
- .ui.link.list .item a:not(.ui):hover {
434
+ .ui.link.list.list a.item:hover,
435
+ .ui.link.list.list .item a:not(.ui):hover {
436
436
  color: @linkListItemHoverColor;
437
437
  }
438
- .ui.link.list a.item:active,
439
- .ui.link.list .item a:not(.ui):active {
438
+ .ui.link.list.list a.item:active,
439
+ .ui.link.list.list .item a:not(.ui):active {
440
440
  color: @linkListItemDownColor;
441
441
  }
442
- .ui.link.list .active.item,
443
- .ui.link.list .active.item a:not(.ui) {
442
+ .ui.link.list.list .active.item,
443
+ .ui.link.list.list .active.item a:not(.ui) {
444
444
  color: @linkListItemActiveColor;
445
445
  }
446
446
 
@@ -450,16 +450,16 @@ ol.ui.list ol li,
450
450
  .ui.inverted.link.list .item a:not(.ui) {
451
451
  color: @invertedLinkListItemColor;
452
452
  }
453
- .ui.inverted.link.list a.item:hover,
454
- .ui.inverted.link.list .item a:not(.ui):hover {
453
+ .ui.inverted.link.list.list a.item:hover,
454
+ .ui.inverted.link.list.list .item a:not(.ui):hover {
455
455
  color: @invertedLinkListItemHoverColor;
456
456
  }
457
- .ui.inverted.link.list a.item:active,
458
- .ui.inverted.link.list .item a:not(.ui):active {
457
+ .ui.inverted.link.list.list a.item:active,
458
+ .ui.inverted.link.list.list .item a:not(.ui):active {
459
459
  color: @invertedLinkListItemDownColor;
460
460
  }
461
- .ui.inverted.link.list a.active.item,
462
- .ui.inverted.link.list .active.item a:not(.ui) {
461
+ .ui.inverted.link.list.list a.active.item,
462
+ .ui.inverted.link.list.list .active.item a:not(.ui) {
463
463
  color: @invertedLinkListItemActiveColor;
464
464
  }
465
465
 
@@ -481,7 +481,7 @@ ol.ui.list ol li,
481
481
  .ui.selection.list > .item:last-child {
482
482
  margin-bottom: 0em;
483
483
  }
484
- .ui.selection.list.list > .item:hover,
484
+ .ui.selection.list.list > .item:hover,
485
485
  .ui.selection.list > .item:hover {
486
486
  background: @selectionListHoverBackground;
487
487
  color: @selectionListHoverColor;
@@ -573,7 +573,7 @@ ul.ui.list li:before,
573
573
  position: absolute;
574
574
  top: auto;
575
575
  left: auto;
576
- font-weight: normal;
576
+ font-weight: @normal;
577
577
  margin-left: @bulletOffset;
578
578
  content: @bulletCharacter;
579
579
  opacity: @bulletOpacity;
@@ -243,6 +243,14 @@
243
243
  }
244
244
 
245
245
 
246
+ /*******************************
247
+ Coupling
248
+ *******************************/
249
+
250
+ .ui.reveal > .ui.ribbon.label {
251
+ z-index: @overlayZIndex;
252
+ }
253
+
246
254
  /*******************************
247
255
  Variations
248
256
  *******************************/
@@ -145,6 +145,7 @@ a:hover {
145
145
  body ::-webkit-scrollbar {
146
146
  -webkit-appearance: none;
147
147
  width: @customScrollbarWidth;
148
+ height: @customScrollbarHeight;
148
149
  }
149
150
  body ::-webkit-scrollbar-track {
150
151
  background: @trackBackground;
@@ -46,6 +46,7 @@
46
46
 
47
47
  text-align: @textAlign;
48
48
  vertical-align: @verticalAlign;
49
+ padding: @padding;
49
50
 
50
51
  background-color: @backgroundColor;
51
52
  opacity: @hiddenOpacity;
@@ -55,6 +56,10 @@
55
56
  animation-duration: @duration;
56
57
  transition: @transition;
57
58
 
59
+ flex-direction: column;
60
+ align-items: center;
61
+ justify-content: center;
62
+
58
63
  user-select: none;
59
64
  will-change: opacity;
60
65
  z-index: @zIndex;
@@ -62,14 +67,7 @@
62
67
 
63
68
  /* Dimmer Content */
64
69
  .ui.dimmer > .content {
65
- width: 100%;
66
- height: 100%;
67
- display: @contentDisplay;
68
70
  user-select: text;
69
- }
70
- .ui.dimmer > .content > * {
71
- display: @contentChildDisplay;
72
- vertical-align: @verticalAlign;
73
71
  color: @textColor;
74
72
  }
75
73
 
@@ -100,27 +98,42 @@
100
98
  States
101
99
  *******************************/
102
100
 
101
+ /* Animating */
103
102
  .animating.dimmable:not(body),
104
103
  .dimmed.dimmable:not(body) {
105
104
  overflow: @overflow;
106
105
  }
107
106
 
107
+ /* Animating / Active / Visible */
108
108
  .dimmed.dimmable > .ui.animating.dimmer,
109
109
  .dimmed.dimmable > .ui.visible.dimmer,
110
110
  .ui.active.dimmer {
111
- display: block;
111
+ display: flex;
112
112
  opacity: @visibleOpacity;
113
113
  }
114
114
 
115
+ /* Disabled */
115
116
  .ui.disabled.dimmer {
116
117
  width: 0 !important;
117
118
  height: 0 !important;
118
119
  }
119
120
 
121
+
120
122
  /*******************************
121
123
  Variations
122
124
  *******************************/
123
125
 
126
+ /*--------------
127
+ Alignment
128
+ ---------------*/
129
+
130
+ .ui[class*="top aligned"].dimmer {
131
+ justify-content: flex-start;
132
+ }
133
+ .ui[class*="bottom aligned"].dimmer {
134
+ justify-content: flex-end;
135
+ }
136
+
124
137
  /*--------------
125
138
  Page
126
139
  ---------------*/
@@ -180,7 +193,7 @@ body.dimmable > .dimmer {
180
193
  background-color: @invertedBackgroundColor;
181
194
  }
182
195
  .ui.inverted.dimmer > .content > * {
183
- color: @textColor;
196
+ color: @invertedTextColor;
184
197
  }
185
198
 
186
199
  /*--------------
@@ -191,7 +191,7 @@
191
191
  margin: @menuDividerMargin;
192
192
  }
193
193
 
194
- .ui.dropdown .menu > .input {
194
+ .ui.dropdown.dropdown .menu > .input {
195
195
  width: auto;
196
196
  display: flex;
197
197
  margin: @menuInputMargin;