less-rails-semantic_ui 1.6.2.0 → 1.7.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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/assets/javascripts/semantic_ui/definitions/behaviors/api.js +9 -9
  3. data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +23 -23
  4. data/assets/javascripts/semantic_ui/definitions/behaviors/state.js +6 -6
  5. data/assets/javascripts/semantic_ui/definitions/behaviors/visibility.js +3 -3
  6. data/assets/javascripts/semantic_ui/definitions/behaviors/visit.js +7 -7
  7. data/assets/javascripts/semantic_ui/definitions/globals/site.js +2 -2
  8. data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +12 -12
  9. data/assets/javascripts/semantic_ui/definitions/modules/checkbox.js +14 -13
  10. data/assets/javascripts/semantic_ui/definitions/modules/dimmer.js +9 -9
  11. data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +98 -58
  12. data/assets/javascripts/semantic_ui/definitions/modules/modal.js +14 -14
  13. data/assets/javascripts/semantic_ui/definitions/modules/popup.js +90 -39
  14. data/assets/javascripts/semantic_ui/definitions/modules/progress.js +12 -6
  15. data/assets/javascripts/semantic_ui/definitions/modules/rating.js +6 -6
  16. data/assets/javascripts/semantic_ui/definitions/modules/search.js +216 -205
  17. data/assets/javascripts/semantic_ui/definitions/modules/shape.js +8 -8
  18. data/assets/javascripts/semantic_ui/definitions/modules/sidebar.js +112 -89
  19. data/assets/javascripts/semantic_ui/definitions/modules/sticky.js +11 -11
  20. data/assets/javascripts/semantic_ui/definitions/modules/tab.js +12 -12
  21. data/assets/javascripts/semantic_ui/definitions/modules/transition.js +9 -9
  22. data/assets/javascripts/semantic_ui/definitions/modules/video.js +4 -4
  23. data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +65 -10
  24. data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +10 -6
  25. data/assets/stylesheets/semantic_ui/definitions/elements/button.less +54 -55
  26. data/assets/stylesheets/semantic_ui/definitions/elements/label.less +4 -4
  27. data/assets/stylesheets/semantic_ui/definitions/elements/list.less +4 -2
  28. data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +0 -7
  29. data/assets/stylesheets/semantic_ui/definitions/elements/step.less +41 -40
  30. data/assets/stylesheets/semantic_ui/definitions/globals/site.less +19 -0
  31. data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +108 -23
  32. data/assets/stylesheets/semantic_ui/definitions/modules/popup.less +0 -2
  33. data/assets/stylesheets/semantic_ui/definitions/modules/sidebar.less +109 -27
  34. data/assets/stylesheets/semantic_ui/themes/default/collections/menu.variables +3 -0
  35. data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +24 -0
  36. data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +5 -2
  37. data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +22 -6
  38. data/assets/stylesheets/semantic_ui/themes/default/modules/sidebar.variables +21 -12
  39. data/assets/stylesheets/semantic_ui/themes/material/elements/button.overrides +0 -4
  40. data/assets/stylesheets/semantic_ui/themes/rtl/globals/site.overrides +6 -0
  41. data/assets/stylesheets/semantic_ui/themes/rtl/globals/site.variables +14 -0
  42. data/lib/less/rails/semantic_ui/version.rb +1 -1
  43. metadata +4 -2
@@ -98,7 +98,7 @@ $.fn.tab = function(parameters) {
98
98
 
99
99
  // determine tab context
100
100
  if(settings.context === 'parent') {
101
- if($module.closest(selector.ui).size() > 0) {
101
+ if($module.closest(selector.ui).length > 0) {
102
102
  $reference = $module.closest(selector.ui);
103
103
  module.verbose('Using closest UI element for determining parent', $reference);
104
104
  }
@@ -297,8 +297,8 @@ $.fn.tab = function(parameters) {
297
297
  firstLoad = false;
298
298
  module.cache.add(tabPath, $tab.html());
299
299
  module.activate.all(currentPath);
300
- $.proxy(settings.onTabInit, $tab)(currentPath, parameterArray, historyEvent);
301
- $.proxy(settings.onTabLoad, $tab)(currentPath, parameterArray, historyEvent);
300
+ settings.onTabInit.call($tab, currentPath, parameterArray, historyEvent);
301
+ settings.onTabLoad.call($tab, currentPath, parameterArray, historyEvent);
302
302
  }
303
303
  return false;
304
304
  }
@@ -308,9 +308,9 @@ $.fn.tab = function(parameters) {
308
308
  if( !module.cache.read(currentPath) ) {
309
309
  module.cache.add(currentPath, true);
310
310
  module.debug('First time tab loaded calling tab init');
311
- $.proxy(settings.onTabInit, $tab)(currentPath, parameterArray, historyEvent);
311
+ settings.onTabInit.call($tab, currentPath, parameterArray, historyEvent);
312
312
  }
313
- $.proxy(settings.onTabLoad, $tab)(currentPath, parameterArray, historyEvent);
313
+ settings.onTabLoad.call($tab, currentPath, parameterArray, historyEvent);
314
314
  }
315
315
  }
316
316
  else if(tabPath.search('/') == -1 && tabPath !== '') {
@@ -319,13 +319,13 @@ $.fn.tab = function(parameters) {
319
319
  currentPath = $anchor.closest('[data-tab]').data('tab');
320
320
  $tab = module.get.tabElement(currentPath);
321
321
  // if anchor exists use parent tab
322
- if($anchor && $anchor.size() > 0 && currentPath) {
322
+ if($anchor && $anchor.length > 0 && currentPath) {
323
323
  module.debug('No tab found, but deep anchor link present, opening parent tab');
324
324
  module.activate.all(currentPath);
325
325
  if( !module.cache.read(currentPath) ) {
326
326
  module.cache.add(currentPath, true);
327
327
  module.debug('First time tab loaded calling tab init');
328
- $.proxy(settings.onTabInit, $tab)(currentPath, parameterArray, historyEvent);
328
+ settings.onTabInit.call($tab, currentPath, parameterArray, historyEvent);
329
329
  }
330
330
  return false;
331
331
  }
@@ -355,8 +355,8 @@ $.fn.tab = function(parameters) {
355
355
  else {
356
356
  module.debug('Content loaded in background', tabPath);
357
357
  }
358
- $.proxy(settings.onTabInit, $tab)(tabPath, parameterArray, historyEvent);
359
- $.proxy(settings.onTabLoad, $tab)(tabPath, parameterArray, historyEvent);
358
+ settings.onTabInit.call($tab, tabPath, parameterArray, historyEvent);
359
+ settings.onTabLoad.call($tab, tabPath, parameterArray, historyEvent);
360
360
  },
361
361
  urlData: { tab: fullTabPath }
362
362
  },
@@ -373,7 +373,7 @@ $.fn.tab = function(parameters) {
373
373
  module.debug('Showing existing content', fullTabPath);
374
374
  module.content.update(tabPath, cachedContent);
375
375
  module.activate.tab(tabPath);
376
- $.proxy(settings.onTabLoad, $tab)(tabPath, parameterArray, historyEvent);
376
+ settings.onTabLoad.call($tab, tabPath, parameterArray, historyEvent);
377
377
  }
378
378
  else if(existingRequest) {
379
379
  module.debug('Content is already loading', fullTabPath);
@@ -451,7 +451,7 @@ $.fn.tab = function(parameters) {
451
451
  is: {
452
452
  tab: function(tabName) {
453
453
  return (tabName !== undefined)
454
- ? ( module.get.tabElement(tabName).size() > 0 )
454
+ ? ( module.get.tabElement(tabName).length > 0 )
455
455
  : false
456
456
  ;
457
457
  }
@@ -503,7 +503,7 @@ $.fn.tab = function(parameters) {
503
503
  lastTab = module.utilities.last(tabPathArray);
504
504
  $fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
505
505
  $simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
506
- return ($fullPathTab.size() > 0)
506
+ return ($fullPathTab.length > 0)
507
507
  ? $fullPathTab
508
508
  : $simplePathTab
509
509
  ;
@@ -111,7 +111,7 @@ $.fn.transition = function() {
111
111
  $parentElement = $module.parent(),
112
112
  $nextElement = $module.next()
113
113
  ;
114
- if($nextElement.size() === 0) {
114
+ if($nextElement.length === 0) {
115
115
  $module.detach().appendTo($parentElement);
116
116
  }
117
117
  else {
@@ -183,14 +183,14 @@ $.fn.transition = function() {
183
183
  module.verbose('Animation is outward, hiding element');
184
184
  module.restore.conditions();
185
185
  module.hide();
186
- $.proxy(settings.onHide, this)();
186
+ settings.onHide.call(this);
187
187
  }
188
188
  else if( module.is.inward() ) {
189
189
  module.verbose('Animation is outward, showing element');
190
190
  module.restore.conditions();
191
191
  module.show();
192
192
  module.set.display();
193
- $.proxy(settings.onShow, this)();
193
+ settings.onShow.call(this);
194
194
  }
195
195
  else {
196
196
  module.restore.conditions();
@@ -198,7 +198,7 @@ $.fn.transition = function() {
198
198
  module.remove.animation();
199
199
  module.remove.animating();
200
200
  }
201
- $.proxy(settings.onComplete, this)();
201
+ settings.onComplete.call(this);
202
202
  },
203
203
 
204
204
  has: {
@@ -241,7 +241,7 @@ $.fn.transition = function() {
241
241
  module.add.failSafe();
242
242
  }
243
243
  module.set.duration(settings.duration);
244
- $.proxy(settings.onStart, this)();
244
+ settings.onStart.call(this);
245
245
  module.debug('Starting tween', animation, $module.attr('class'));
246
246
  },
247
247
  duration: function(animationName, duration) {
@@ -635,7 +635,7 @@ $.fn.transition = function() {
635
635
  occuring: function(animation) {
636
636
  animation = animation || settings.animation;
637
637
  animation = animation.replace(' ', '.');
638
- return ( $module.filter(animation).size() > 0 );
638
+ return ( $module.filter(animation).length > 0 );
639
639
  },
640
640
  visible: function() {
641
641
  return $module.is(':visible');
@@ -766,8 +766,8 @@ $.fn.transition = function() {
766
766
  if(moduleSelector) {
767
767
  title += ' \'' + moduleSelector + '\'';
768
768
  }
769
- if($allModules.size() > 1) {
770
- title += ' ' + '(' + $allModules.size() + ')';
769
+ if($allModules.length > 1) {
770
+ title += ' ' + '(' + $allModules.length + ')';
771
771
  }
772
772
  if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {
773
773
  console.groupCollapsed(title);
@@ -879,7 +879,7 @@ $.fn.transition.settings = {
879
879
  onHide : function() {},
880
880
 
881
881
  // whether timeout should be used to ensure callback fires in cases animationend does not
882
- useFailSafe : false,
882
+ useFailSafe : true,
883
883
 
884
884
  // whether EXACT animation can occur twice in a row
885
885
  allowRepeats : false,
@@ -205,14 +205,14 @@ $.fn.video = function(parameters) {
205
205
  }
206
206
  if(source == 'vimeo') {
207
207
  html = ''
208
- + '<iframe src="http://player.vimeo.com/video/' + id + '?=' + module.generate.url(source) + '"'
208
+ + '<iframe src="//player.vimeo.com/video/' + id + '?=' + module.generate.url(source) + '"'
209
209
  + ' width="100%" height="100%"'
210
210
  + ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
211
211
  ;
212
212
  }
213
213
  else if(source == 'youtube') {
214
214
  html = ''
215
- + '<iframe src="http://www.youtube.com/embed/' + id + '?=' + module.generate.url(source) + '"'
215
+ + '<iframe src="//www.youtube.com/embed/' + id + '?=' + module.generate.url(source) + '"'
216
216
  + ' width="100%" height="100%"'
217
217
  + ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
218
218
  ;
@@ -366,8 +366,8 @@ $.fn.video = function(parameters) {
366
366
  if(moduleSelector) {
367
367
  title += ' \'' + moduleSelector + '\'';
368
368
  }
369
- if($allModules.size() > 1) {
370
- title += ' ' + '(' + $allModules.size() + ')';
369
+ if($allModules.length > 1) {
370
+ title += ' ' + '(' + $allModules.length + ')';
371
371
  }
372
372
  if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {
373
373
  console.groupCollapsed(title);
@@ -1188,7 +1188,7 @@
1188
1188
  .ui[class*="left aligned"].grid > .row > .column,
1189
1189
  .ui[class*="left aligned"].grid > .column,
1190
1190
  .ui.grid [class*="left aligned"].column,
1191
- .ui.grid > [class*="left aligned"].aligned.row > .column {
1191
+ .ui.grid > [class*="left aligned"].row > .column {
1192
1192
  text-align: left;
1193
1193
  }
1194
1194
  .ui.grid [class*="left aligned"].column{
@@ -1199,7 +1199,7 @@
1199
1199
  .ui[class*="center aligned"].grid,
1200
1200
  .ui[class*="center aligned"].grid > .row > .column,
1201
1201
  .ui[class*="center aligned"].grid > .column,
1202
- .ui.grid > [class*="center aligned"].aligned.row > .column {
1202
+ .ui.grid > [class*="center aligned"].row > .column {
1203
1203
  text-align: center;
1204
1204
  }
1205
1205
  .ui.grid [class*="center aligned"].column{
@@ -1210,7 +1210,7 @@
1210
1210
  .ui[class*="right aligned"].grid,
1211
1211
  .ui[class*="right aligned"].grid > .row > .column,
1212
1212
  .ui[class*="right aligned"].grid > .column,
1213
- .ui.grid > [class*="right aligned"].aligned.row > .column {
1213
+ .ui.grid > [class*="right aligned"].row > .column {
1214
1214
  text-align: right;
1215
1215
  }
1216
1216
  .ui.grid [class*="right aligned"].column{
@@ -1240,19 +1240,20 @@
1240
1240
  .ui[class*="top aligned"].grid > .row > .column,
1241
1241
  .ui[class*="top aligned"].grid > .column,
1242
1242
  .ui.grid [class*="top aligned"].column,
1243
- .ui.grid > [class*="top aligned"].aligned.row > .column {
1243
+ .ui.grid > [class*="top aligned"].row > .column {
1244
1244
  vertical-align: top;
1245
1245
  }
1246
- .ui.grid [class*="top aligned"].column{
1246
+ .ui.grid [class*="top aligned"].column {
1247
1247
  vertical-align: top !important;
1248
1248
  }
1249
1249
 
1250
1250
  /* Middle Aligned */
1251
- .ui[class*="center aligned"].grid,
1251
+ .ui[class*="middle aligned"].grid,
1252
1252
  .ui[class*="middle aligned"].grid > .row > .column,
1253
1253
  .ui[class*="middle aligned"].grid > .column,
1254
- .ui.grid > [class*="middle aligned"].aligned.row > .column {
1254
+ .ui.grid > [class*="middle aligned"].row > .column {
1255
1255
  vertical-align: middle;
1256
+ align-items: center;
1256
1257
  }
1257
1258
  .ui.grid [class*="middle aligned"].column{
1258
1259
  vertical-align: middle !important;
@@ -1262,8 +1263,9 @@
1262
1263
  .ui[class*="bottom aligned"].grid,
1263
1264
  .ui[class*="bottom aligned"].grid > .row > .column,
1264
1265
  .ui[class*="bottom aligned"].grid > .column,
1265
- .ui.grid > [class*="bottom aligned"].aligned.row > .column {
1266
+ .ui.grid > [class*="bottom aligned"].row > .column {
1266
1267
  vertical-align: bottom;
1268
+ align-items: flex-end;
1267
1269
  }
1268
1270
  .ui.grid [class*="bottom aligned"].column{
1269
1271
  vertical-align: bottom !important;
@@ -1394,18 +1396,56 @@
1394
1396
  }
1395
1397
 
1396
1398
 
1399
+ /*----------------------
1400
+ Equal Width
1401
+ -----------------------*/
1402
+
1403
+ .ui[class*="equal width"].grid {
1404
+ display: table;
1405
+ table-layout: fixed;
1406
+ }
1407
+ .ui[class*="equal width"].grid > .row,
1408
+ .ui.grid > [class*="equal width"].row {
1409
+ display: table;
1410
+ table-layout: fixed;
1411
+ width: 100% !important;
1412
+ }
1413
+ .ui[class*="equal width"].grid > .column,
1414
+ .ui[class*="equal width"].grid > .row > .column,
1415
+ .ui.grid > [class*="equal width"].row > .column {
1416
+ display: table-cell;
1417
+ }
1418
+
1419
+ /* Flexbox (Experimental / Overrides Where Supported) */
1420
+ .ui[class*="equal width"].grid {
1421
+ display: flex;
1422
+ flex-direction: column;
1423
+ }
1424
+ .ui[class*="equal width"].grid > .row,
1425
+ .ui.grid > [class*="equal width"].row {
1426
+ display: flex;
1427
+ flex-direction: row;
1428
+ align-items: stretch;
1429
+ }
1430
+ .ui[class*="equal width"].grid > .column,
1431
+ .ui[class*="equal width"].grid > .row > .column,
1432
+ .ui.grid > [class*="equal width"].row > .column {
1433
+ display: inline-block;
1434
+ flex-direction: column;
1435
+ flex: 1 0 auto;
1436
+ }
1397
1437
 
1398
1438
 
1399
1439
  /*----------------------
1400
1440
  Equal Height Columns
1401
1441
  -----------------------*/
1442
+
1402
1443
  .ui[class*="equal height"].grid {
1403
1444
  display: table;
1404
1445
  table-layout: fixed;
1405
1446
  }
1406
-
1407
1447
  .ui[class*="equal height"].grid > .row,
1408
- .ui[class*="equal height"].row {
1448
+ .ui.grid > [class*="equal height"].row {
1409
1449
  display: table;
1410
1450
  table-layout: fixed;
1411
1451
  width: 100% !important;
@@ -1416,6 +1456,21 @@
1416
1456
  display: table-cell;
1417
1457
  }
1418
1458
 
1459
+ /* Flexbox (Experimental / Overrides Where Supported) */
1460
+ .ui[class*="equal height"].grid,
1461
+ .ui[class*="equal height"].grid > .row,
1462
+ .ui.grid > [class*="equal height"].row {
1463
+ display: flex;
1464
+ flex-direction: row;
1465
+ align-items: stretch;
1466
+ }
1467
+ .ui[class*="equal height"].grid > .column,
1468
+ .ui[class*="equal height"].grid > .row > .column,
1469
+ .ui.grid > [class*="equal height"].row > .column {
1470
+ display: inline-block;
1471
+ flex-direction: column;
1472
+ flex: 1 0 auto;
1473
+ }
1419
1474
 
1420
1475
  /*-------------------
1421
1476
  Doubling
@@ -604,10 +604,12 @@
604
604
 
605
605
  .ui.tabular.menu {
606
606
  background-color: transparent;
607
- border-bottom: @tabularBorderWidth solid @tabularBorderColor;
608
-
609
607
  border-radius: 0em;
610
608
  box-shadow: none !important;
609
+ border-bottom: @tabularBorderWidth solid @tabularBorderColor;
610
+ }
611
+ .ui.tabular.fluid.menu {
612
+ width: @tabularFluidWidth !important;
611
613
  }
612
614
  .ui.tabular.menu .item {
613
615
  background-color: transparent;
@@ -641,9 +643,10 @@
641
643
  font-weight: @tabularActiveWeight;
642
644
 
643
645
  margin-bottom: -@tabularBorderWidth;
644
- border-bottom: @tabularBorderWidth solid @tabularBackgroundColor;
645
646
 
646
- box-shadow: none;
647
+
648
+ border-bottom: none;
649
+ box-shadow: 0px (2 * @tabularBorderWidth) 0px -@tabularBorderWidth @tabularBackgroundColor;
647
650
  border-radius: @tabularBorderRadius @tabularBorderRadius 0px 0px;
648
651
  }
649
652
 
@@ -652,9 +655,10 @@
652
655
  position: relative;
653
656
  z-index: 2;
654
657
  }
655
- .ui.tabular.menu ~ .bottom.attached.segment {
658
+ .ui.tabular.menu + .bottom.attached.segment,
659
+ .ui.tabular.menu ~ .bottom.attached.segment + .bottom.attached.segment {
656
660
  border-top: none;
657
- margin: -1px 0px 0px;
661
+ margin: 0px;
658
662
  }
659
663
 
660
664
 
@@ -1164,8 +1164,8 @@
1164
1164
  .ui.black.buttons .button,
1165
1165
  .ui.black.button {
1166
1166
  background-color: @black;
1167
- color: @invertedTextColor;
1168
- text-shadow: @invertedTextShadow;
1167
+ color: @blackTextColor;
1168
+ text-shadow: @blackTextShadow;
1169
1169
  background-image: @coloredBackgroundImage;
1170
1170
  }
1171
1171
  .ui.black.button {
@@ -1180,16 +1180,16 @@
1180
1180
  .ui.black.buttons .button:active,
1181
1181
  .ui.black.button:active {
1182
1182
  background-color: @blackDown;
1183
- color: @invertedTextColor;
1184
- text-shadow: @invertedTextShadow;
1183
+ color: @blackTextColor;
1184
+ text-shadow: @blackTextShadow;
1185
1185
  }
1186
1186
  .ui.black.buttons .active.button,
1187
1187
  .ui.black.buttons .active.button:active,
1188
1188
  .ui.black.active.button,
1189
1189
  .ui.black.button .active.button:active {
1190
1190
  background-color: @blackActive;
1191
- color: @invertedTextColor;
1192
- text-shadow: @invertedTextShadow;
1191
+ color: @blackTextColor;
1192
+ text-shadow: @blackTextShadow;
1193
1193
  }
1194
1194
 
1195
1195
  /* Basic */
@@ -1278,8 +1278,8 @@
1278
1278
  .ui.blue.buttons .button,
1279
1279
  .ui.blue.button {
1280
1280
  background-color: @blue;
1281
- color: @invertedTextColor;
1282
- text-shadow: @invertedTextShadow;
1281
+ color: @blueTextColor;
1282
+ text-shadow: @blueTextShadow;
1283
1283
  background-image: @coloredBackgroundImage;
1284
1284
  }
1285
1285
  .ui.blue.button {
@@ -1294,19 +1294,18 @@
1294
1294
  .ui.blue.buttons .button:active,
1295
1295
  .ui.blue.button:active {
1296
1296
  background-color: @blueDown;
1297
- color: @invertedTextColor;
1298
- text-shadow: @invertedTextShadow;
1297
+ color: @blueTextColor;
1298
+ text-shadow: @blueTextShadow;
1299
1299
  }
1300
1300
  .ui.blue.buttons .active.button,
1301
1301
  .ui.blue.buttons .active.button:active,
1302
1302
  .ui.blue.active.button,
1303
1303
  .ui.blue.button .active.button:active {
1304
1304
  background-color: @blueActive;
1305
- color: @invertedTextColor;
1306
- text-shadow: @invertedTextShadow;
1305
+ color: @blueTextColor;
1306
+ text-shadow: @blueTextShadow;
1307
1307
  }
1308
1308
 
1309
-
1310
1309
  /* Basic */
1311
1310
  .ui.basic.blue.buttons .button,
1312
1311
  .ui.basic.blue.button {
@@ -1391,8 +1390,8 @@
1391
1390
  .ui.green.buttons .button,
1392
1391
  .ui.green.button {
1393
1392
  background-color: @green;
1394
- color: @invertedTextColor;
1395
- text-shadow: @invertedTextShadow;
1393
+ color: @greenTextColor;
1394
+ text-shadow: @greenTextShadow;
1396
1395
  background-image: @coloredBackgroundImage;
1397
1396
  }
1398
1397
  .ui.green.button {
@@ -1407,16 +1406,16 @@
1407
1406
  .ui.green.buttons .button:active,
1408
1407
  .ui.green.button:active {
1409
1408
  background-color: @greenDown;
1410
- color: @invertedTextColor;
1411
- text-shadow: @invertedTextShadow;
1409
+ color: @greenTextColor;
1410
+ text-shadow: @greenTextShadow;
1412
1411
  }
1413
1412
  .ui.green.buttons .active.button,
1414
1413
  .ui.green.buttons .active.button:active,
1415
1414
  .ui.green.active.button,
1416
1415
  .ui.green.button .active.button:active {
1417
1416
  background-color: @greenActive;
1418
- color: @invertedTextColor;
1419
- text-shadow: @invertedTextShadow;
1417
+ color: @greenTextColor;
1418
+ text-shadow: @greenTextShadow;
1420
1419
  }
1421
1420
 
1422
1421
 
@@ -1504,8 +1503,8 @@
1504
1503
  .ui.orange.buttons .button,
1505
1504
  .ui.orange.button {
1506
1505
  background-color: @orange;
1507
- color: @invertedTextColor;
1508
- text-shadow: @invertedTextShadow;
1506
+ color: @orangeTextColor;
1507
+ text-shadow: @orangeTextShadow;
1509
1508
  background-image: @coloredBackgroundImage;
1510
1509
  }
1511
1510
  .ui.orange.button {
@@ -1520,16 +1519,16 @@
1520
1519
  .ui.orange.buttons .button:active,
1521
1520
  .ui.orange.button:active {
1522
1521
  background-color: @orangeDown;
1523
- color: @invertedTextColor;
1524
- text-shadow: @invertedTextShadow;
1522
+ color: @orangeTextColor;
1523
+ text-shadow: @orangeTextShadow;
1525
1524
  }
1526
1525
  .ui.orange.buttons .active.button,
1527
1526
  .ui.orange.buttons .active.button:active,
1528
1527
  .ui.orange.active.button,
1529
1528
  .ui.orange.button .active.button:active {
1530
1529
  background-color: @orangeActive;
1531
- color: @invertedTextColor;
1532
- text-shadow: @invertedTextShadow;
1530
+ color: @orangeTextColor;
1531
+ text-shadow: @orangeTextShadow;
1533
1532
  }
1534
1533
 
1535
1534
  /* Basic */
@@ -1616,8 +1615,8 @@
1616
1615
  .ui.pink.buttons .button,
1617
1616
  .ui.pink.button {
1618
1617
  background-color: @pink;
1619
- color: @invertedTextColor;
1620
- text-shadow: @invertedTextShadow;
1618
+ color: @pinkTextColor;
1619
+ text-shadow: @pinkTextShadow;
1621
1620
  background-image: @coloredBackgroundImage;
1622
1621
  }
1623
1622
  .ui.pink.button {
@@ -1632,16 +1631,16 @@
1632
1631
  .ui.pink.buttons .button:active,
1633
1632
  .ui.pink.button:active {
1634
1633
  background-color: @pinkDown;
1635
- color: @invertedTextColor;
1636
- text-shadow: @invertedTextShadow;
1634
+ color: @pinkTextColor;
1635
+ text-shadow: @pinkTextShadow;
1637
1636
  }
1638
1637
  .ui.pink.buttons .active.button,
1639
1638
  .ui.pink.buttons .active.button:active,
1640
1639
  .ui.pink.active.button,
1641
1640
  .ui.pink.button .active.button:active {
1642
1641
  background-color: @pinkActive;
1643
- color: @invertedTextColor;
1644
- text-shadow: @invertedTextShadow;
1642
+ color: @pinkTextColor;
1643
+ text-shadow: @pinkTextShadow;
1645
1644
  }
1646
1645
 
1647
1646
  /* Basic */
@@ -1728,8 +1727,8 @@
1728
1727
  .ui.purple.buttons .button,
1729
1728
  .ui.purple.button {
1730
1729
  background-color: @purple;
1731
- color: @invertedTextColor;
1732
- text-shadow: @invertedTextShadow;
1730
+ color: @purpleTextColor;
1731
+ text-shadow: @purpleTextShadow;
1733
1732
  background-image: @coloredBackgroundImage;
1734
1733
  }
1735
1734
  .ui.purple.button {
@@ -1744,16 +1743,16 @@
1744
1743
  .ui.purple.buttons .button:active,
1745
1744
  .ui.purple.button:active {
1746
1745
  background-color: @purpleDown;
1747
- color: @invertedTextColor;
1748
- text-shadow: @invertedTextShadow;
1746
+ color: @purpleTextColor;
1747
+ text-shadow: @purpleTextShadow;
1749
1748
  }
1750
1749
  .ui.purple.buttons .active.button,
1751
1750
  .ui.purple.buttons .active.button:active,
1752
1751
  .ui.purple.active.button,
1753
1752
  .ui.purple.button .active.button:active {
1754
1753
  background-color: @purpleActive;
1755
- color: @invertedTextColor;
1756
- text-shadow: @invertedTextShadow;
1754
+ color: @purpleTextColor;
1755
+ text-shadow: @purpleTextShadow;
1757
1756
  }
1758
1757
 
1759
1758
  /* Basic */
@@ -1840,8 +1839,8 @@
1840
1839
  .ui.red.buttons .button,
1841
1840
  .ui.red.button {
1842
1841
  background-color: @red;
1843
- color: @invertedTextColor;
1844
- text-shadow: @invertedTextShadow;
1842
+ color: @redTextColor;
1843
+ text-shadow: @redTextShadow;
1845
1844
  background-image: @coloredBackgroundImage;
1846
1845
  }
1847
1846
  .ui.red.button {
@@ -1856,16 +1855,16 @@
1856
1855
  .ui.red.buttons .button:active,
1857
1856
  .ui.red.button:active {
1858
1857
  background-color: @redDown;
1859
- color: @invertedTextColor;
1860
- text-shadow: @invertedTextShadow;
1858
+ color: @redTextColor;
1859
+ text-shadow: @redTextShadow;
1861
1860
  }
1862
1861
  .ui.red.buttons .active.button,
1863
1862
  .ui.red.buttons .active.button:active,
1864
1863
  .ui.red.active.button,
1865
1864
  .ui.red.button .active.button:active {
1866
1865
  background-color: @redActive;
1867
- color: @invertedTextColor;
1868
- text-shadow: @invertedTextShadow;
1866
+ color: @redTextColor;
1867
+ text-shadow: @redTextShadow;
1869
1868
  }
1870
1869
 
1871
1870
  /* Basic */
@@ -1953,8 +1952,8 @@
1953
1952
  .ui.teal.buttons .button,
1954
1953
  .ui.teal.button {
1955
1954
  background-color: @teal;
1956
- color: @invertedTextColor;
1957
- text-shadow: @invertedTextShadow;
1955
+ color: @tealTextColor;
1956
+ text-shadow: @tealTextShadow;
1958
1957
  background-image: @coloredBackgroundImage;
1959
1958
  }
1960
1959
  .ui.teal.button {
@@ -1969,16 +1968,16 @@
1969
1968
  .ui.teal.buttons .button:active,
1970
1969
  .ui.teal.button:active {
1971
1970
  background-color: @tealDown;
1972
- color: @invertedTextColor;
1973
- text-shadow: @invertedTextShadow;
1971
+ color: @tealTextColor;
1972
+ text-shadow: @tealTextShadow;
1974
1973
  }
1975
1974
  .ui.teal.buttons .active.button,
1976
1975
  .ui.teal.buttons .active.button:active,
1977
1976
  .ui.teal.active.button,
1978
1977
  .ui.teal.button .active.button:active {
1979
1978
  background-color: @tealActive;
1980
- color: @invertedTextColor;
1981
- text-shadow: @invertedTextShadow;
1979
+ color: @tealTextColor;
1980
+ text-shadow: @tealTextShadow;
1982
1981
  }
1983
1982
 
1984
1983
  /* Basic */
@@ -2066,8 +2065,8 @@
2066
2065
  .ui.yellow.buttons .button,
2067
2066
  .ui.yellow.button {
2068
2067
  background-color: @yellow;
2069
- color: @invertedTextColor;
2070
- text-shadow: @invertedTextShadow;
2068
+ color: @yellowTextColor;
2069
+ text-shadow: @yellowTextShadow;
2071
2070
  background-image: @coloredBackgroundImage;
2072
2071
  }
2073
2072
  .ui.yellow.button {
@@ -2082,16 +2081,16 @@
2082
2081
  .ui.yellow.buttons .button:active,
2083
2082
  .ui.yellow.button:active {
2084
2083
  background-color: @yellowDown;
2085
- color: @invertedTextColor;
2086
- text-shadow: @invertedTextShadow;
2084
+ color: @yellowTextColor;
2085
+ text-shadow: @yellowTextShadow;
2087
2086
  }
2088
2087
  .ui.yellow.buttons .active.button,
2089
2088
  .ui.yellow.buttons .active.button:active,
2090
2089
  .ui.yellow.active.button,
2091
2090
  .ui.yellow.button .active.button:active {
2092
2091
  background-color: @yellowActive;
2093
- color: @invertedTextColor;
2094
- text-shadow: @invertedTextShadow;
2092
+ color: @yellowTextColor;
2093
+ text-shadow: @yellowTextShadow;
2095
2094
  }
2096
2095
 
2097
2096
  /* Basic */