less-rails-semantic_ui 1.5.2.0 → 1.6.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 700898256d4eea0503de2e9212fe8d53db89d12b
4
- data.tar.gz: 3b712c9864c3516f3fb2dbf8b469362b9940917e
3
+ metadata.gz: c8be952412a38a15a49463af43c3f9e4ee0195b9
4
+ data.tar.gz: 743172d9a510c0b44e5e583d27a87d97016d2a6b
5
5
  SHA512:
6
- metadata.gz: bf4e49f71dd09b05f5afd1534cb79b86b5eb1b22b5d9860d3d1b176872206c917031abd5ab1e0fc60001310093b0132f6cf0cbc344cc579178e30189b5a3fdcc
7
- data.tar.gz: 18ea80d1f9d887d88e821c4f1d29ddc4eeda88a7cec12521011f474158e450985c0780f3e5fb770d101508cef57c544467c667514a86b2dd7b24d4fde9aa47c1
6
+ metadata.gz: a2a496f1add05300be1b161abc3386c346ef2331cc642a859ba12bcbeb42a179b93ad8f14393bd6e91a2795b7ddcbcf7c83829549c5b53e6c540146d911e5ca1
7
+ data.tar.gz: 4dd9099f2e52663b311c4a662d3fa3d845f92478e21d9b381b23d5e62939dd171a68ce2b51761aa54e5759514d917eaae9702431ab58fedaf923df2e9d0a6012
@@ -155,14 +155,31 @@ $.fn.accordion = function(parameters) {
155
155
  $activeTitle
156
156
  .addClass(className.active)
157
157
  ;
158
+ if(settings.animateChildren) {
159
+ if($.fn.transition !== undefined && $module.transition('is supported')) {
160
+ $activeContent
161
+ .children()
162
+ .transition({
163
+ animation : 'fade in',
164
+ useFailSafe : true,
165
+ debug : settings.debug,
166
+ verbose : settings.verbose,
167
+ duration : settings.duration
168
+ })
169
+ ;
170
+ }
171
+ else {
172
+ $activeContent
173
+ .children()
174
+ .stop()
175
+ .animate({
176
+ opacity: 1
177
+ }, settings.duration, module.resetOpacity)
178
+ ;
179
+ }
180
+ }
158
181
  $activeContent
159
182
  .stop()
160
- .children()
161
- .stop()
162
- .animate({
163
- opacity: 1
164
- }, settings.duration, module.reset.display)
165
- .end()
166
183
  .slideDown(settings.duration, settings.easing, function() {
167
184
  $activeContent
168
185
  .addClass(className.active)
@@ -193,13 +210,32 @@ $.fn.accordion = function(parameters) {
193
210
  $activeContent
194
211
  .removeClass(className.active)
195
212
  .show()
213
+ ;
214
+ if(settings.animateChildren) {
215
+ if($.fn.transition !== undefined && $module.transition('is supported')) {
216
+ $activeContent
217
+ .children()
218
+ .transition({
219
+ animation : 'fade out',
220
+ useFailSafe : true,
221
+ debug : settings.debug,
222
+ verbose : settings.verbose,
223
+ duration : settings.duration
224
+ })
225
+ ;
226
+ }
227
+ else {
228
+ $activeContent
229
+ .children()
230
+ .stop()
231
+ .animate({
232
+ opacity: 0
233
+ }, settings.duration, module.resetOpacity)
234
+ ;
235
+ }
236
+ }
237
+ $activeContent
196
238
  .stop()
197
- .children()
198
- .stop()
199
- .animate({
200
- opacity: 0
201
- }, settings.duration, module.reset.opacity)
202
- .end()
203
239
  .slideUp(settings.duration, settings.easing, function() {
204
240
  $.proxy(module.reset.display, this)();
205
241
  $.proxy(settings.onClose, this)();
@@ -229,7 +265,7 @@ $.fn.accordion = function(parameters) {
229
265
  else {
230
266
  $openTitles = $activeAccordion.find(activeSelector).not($parentTitles);
231
267
  $nestedTitles = $activeAccordion.find(activeContent).find(activeSelector).not($parentTitles);
232
- $openTitles = $openTitles.not($nestedTitles);
268
+ $openTitles = $openTitles.not($nestedTitles);
233
269
  $openContents = $openTitles.next($content);
234
270
  }
235
271
  if( ($openTitles.size() > 0) ) {
@@ -237,14 +273,31 @@ $.fn.accordion = function(parameters) {
237
273
  $openTitles
238
274
  .removeClass(className.active)
239
275
  ;
276
+ if(settings.animateChildren) {
277
+ if($.fn.transition !== undefined && $module.transition('is supported')) {
278
+ $openContents
279
+ .children()
280
+ .transition({
281
+ animation : 'fade out',
282
+ useFailSafe : true,
283
+ debug : settings.debug,
284
+ verbose : settings.verbose,
285
+ duration : settings.duration
286
+ })
287
+ ;
288
+ }
289
+ else {
290
+ $openContents
291
+ .children()
292
+ .stop()
293
+ .animate({
294
+ opacity: 0
295
+ }, settings.duration, module.resetOpacity)
296
+ ;
297
+ }
298
+ }
240
299
  $openContents
241
300
  .stop()
242
- .children()
243
- .stop()
244
- .animate({
245
- opacity: 0
246
- }, settings.duration, module.resetOpacity)
247
- .end()
248
301
  .slideUp(settings.duration , settings.easing, function() {
249
302
  $(this).removeClass(className.active);
250
303
  $.proxy(module.reset.display, this)();
@@ -459,23 +512,24 @@ $.fn.accordion = function(parameters) {
459
512
 
460
513
  $.fn.accordion.settings = {
461
514
 
462
- name : 'Accordion',
463
- namespace : 'accordion',
515
+ name : 'Accordion',
516
+ namespace : 'accordion',
464
517
 
465
- debug : false,
466
- verbose : true,
467
- performance : true,
518
+ debug : false,
519
+ verbose : true,
520
+ performance : true,
468
521
 
469
- exclusive : true,
470
- collapsible : true,
471
- closeNested : false,
522
+ exclusive : true,
523
+ collapsible : true,
524
+ closeNested : false,
525
+ animateChildren : true,
472
526
 
473
- duration : 500,
474
- easing : 'easeInOutQuint',
527
+ duration : 500,
528
+ easing : 'easeOutQuint',
475
529
 
476
- onOpen : function(){},
477
- onClose : function(){},
478
- onChange : function(){},
530
+ onOpen : function(){},
531
+ onClose : function(){},
532
+ onChange : function(){},
479
533
 
480
534
  error: {
481
535
  method : 'The method you called is not defined'
@@ -495,9 +549,8 @@ $.fn.accordion.settings = {
495
549
 
496
550
  // Adds easing
497
551
  $.extend( $.easing, {
498
- easeInOutQuint: function (x, t, b, c, d) {
499
- if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
500
- return c/2*((t-=2)*t*t*t*t + 2) + b;
552
+ easeOutQuint: function (x, t, b, c, d) {
553
+ return c*((t=t/d-1)*t*t*t*t + 1) + b;
501
554
  }
502
555
  });
503
556
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * # Semantic - Popup
3
- * http://github.com/jlukic/semantic-ui/
3
+ * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
6
  * Copyright 2014 Contributor
@@ -116,9 +116,9 @@ $.fn.popup = function(parameters) {
116
116
  }
117
117
  if(settings.popup) {
118
118
  $popup.addClass(className.loading);
119
- if($popup.offsetParent()[0] !== $module.offsetParent()[0]) {
119
+ $offsetParent = $module.offsetParent();
120
+ if($popup.offsetParent()[0] !== $offsetParent[0]) {
120
121
  module.debug('Moving popup to the same offset parent as activating element');
121
- $offsetParent = $module.offsetParent();
122
122
  $popup
123
123
  .detach()
124
124
  .appendTo($offsetParent)
@@ -1588,8 +1588,8 @@
1588
1588
  .ui.stackable.grid {
1589
1589
  display: block !important;
1590
1590
  width: auto;
1591
- margin-left: 0em !important;
1592
- margin-right: 0em !important;
1591
+ margin-left: -(@stackableGutter / 2) !important;
1592
+ margin-right: -(@stackableGutter / 2) !important;
1593
1593
  padding: 0em;
1594
1594
  }
1595
1595
  .ui.stackable.grid > .row > .wide.column,
@@ -1608,9 +1608,10 @@
1608
1608
  margin: 0em;
1609
1609
  padding: 0em;
1610
1610
  }
1611
- .ui.stackable.grid .column > .ui.stackable.grid {
1612
- margin-left: -(@stackableGutter / 2) !important;
1613
- margin-right: -(@stackableGutter / 2) !important;
1611
+
1612
+ .ui.stackable.page.grid {
1613
+ margin-left: 0em !important;
1614
+ margin-right: 0em !important;
1614
1615
  }
1615
1616
 
1616
1617
  /* Equal Height Stackable */
@@ -653,6 +653,7 @@
653
653
  z-index: 2;
654
654
  }
655
655
  .ui.tabular.menu ~ .bottom.attached.segment {
656
+ border-top: none;
656
657
  margin: -1px 0px 0px;
657
658
  }
658
659
 
@@ -1068,6 +1069,11 @@
1068
1069
  .ui.labeled.icon.menu {
1069
1070
  text-align: center;
1070
1071
  }
1072
+ .ui.fluid.labeled.icon.menu > .item {
1073
+ min-width: 0em;
1074
+ }
1075
+
1076
+
1071
1077
  .ui.labeled.icon.menu > .item {
1072
1078
  min-width: @labeledIconMinWidth;
1073
1079
  }
@@ -1398,9 +1404,6 @@
1398
1404
  padding-right: 0px !important;
1399
1405
  text-align: center;
1400
1406
  }
1401
- .ui.item.menu > .item:last-child {
1402
- border-radius: 0px @borderRadius @borderRadius 0px;
1403
- }
1404
1407
  .ui.menu.two.item .item {
1405
1408
  width: 50%;
1406
1409
  }
@@ -150,11 +150,11 @@
150
150
  Visible
151
151
  ---------------*/
152
152
 
153
- .ui.message.visible {
153
+ .ui.visible.visible.visible.visible.message {
154
154
  display: block;
155
155
  }
156
156
 
157
- .ui.icon.message.visible {
157
+ .ui.icon.visible.visible.visible.visible.message {
158
158
  display: table;
159
159
  }
160
160
 
@@ -162,7 +162,7 @@
162
162
  Hidden
163
163
  ---------------*/
164
164
 
165
- .ui.message.hidden {
165
+ .ui.hidden.hidden.hidden.hidden.message {
166
166
  display: none;
167
167
  }
168
168
 
@@ -121,12 +121,12 @@
121
121
  box-shadow: @activeBoxShadow;
122
122
  color: @activeColor;
123
123
  }
124
- .ui.button.active:hover {
124
+ .ui.active.button:hover {
125
125
  background-color: @activeHoverBackgroundColor;
126
126
  background-image: @activeHoverBackgroundImage;
127
127
  color: @activeHoverColor;
128
128
  }
129
- .ui.button.active:active {
129
+ .ui.active.button:active {
130
130
  background-color: @activeBackgroundColor;
131
131
  background-image: @activeBackgroundImage;
132
132
  }
@@ -207,7 +207,7 @@
207
207
  .ui.buttons .disabled.button,
208
208
  .ui.disabled.button,
209
209
  .ui.disabled.button:hover,
210
- .ui.disabled.button.active {
210
+ .ui.disabled.active.button {
211
211
  cursor: default;
212
212
  background-color: @lightGrey !important;
213
213
  color: @lightTextColor !important;
@@ -655,15 +655,15 @@
655
655
  color: @basicDownTextColor !important;
656
656
  box-shadow: @basicDownBoxShadow;
657
657
  }
658
- .ui.basic.buttons .button.active,
659
- .ui.basic.button.active {
658
+ .ui.basic.buttons .active.button,
659
+ .ui.basic.active.button {
660
660
  background: @basicActiveBackground !important;
661
661
  box-shadow: @basicActiveBoxShadow !important;
662
662
  color: @basicActiveTextColor;
663
663
  box-shadow: @selectedBorderColor;
664
664
  }
665
- .ui.basic.buttons .button.active:hover,
666
- .ui.basic.button.active:hover {
665
+ .ui.basic.buttons .active.button:hover,
666
+ .ui.basic.active.button:hover {
667
667
  background-color: @transparentBlack;
668
668
  }
669
669
 
@@ -674,7 +674,7 @@
674
674
  .ui.basic.buttons .button:active {
675
675
  box-shadow: @basicDownBoxShadow inset;
676
676
  }
677
- .ui.basic.buttons .button.active {
677
+ .ui.basic.buttons .active.button {
678
678
  box-shadow: @selectedBorderColor inset;
679
679
  }
680
680
 
@@ -696,15 +696,15 @@
696
696
  color: @white !important;
697
697
  box-shadow: @basicInvertedDownBoxShadow !important;
698
698
  }
699
- .ui.basic.inverted.buttons .button.active,
700
- .ui.basic.inverted.button.active {
699
+ .ui.basic.inverted.buttons .active.button,
700
+ .ui.basic.inverted.active.button {
701
701
  background-color: @transparentWhite;
702
702
  color: @invertedTextColor;
703
703
  text-shadow: @invertedTextShadow;
704
704
  box-shadow: @basicInvertedActiveBoxShadow;
705
705
  }
706
- .ui.basic.inverted.buttons .button.active:hover,
707
- .ui.basic.inverted.button.active:hover {
706
+ .ui.basic.inverted.buttons .active.button:hover,
707
+ .ui.basic.inverted.active.button:hover {
708
708
  background-color: @strongTransparentWhite;
709
709
  box-shadow: @basicInvertedHoverBoxShadow !important;
710
710
  }
@@ -1183,10 +1183,10 @@
1183
1183
  color: @invertedTextColor;
1184
1184
  text-shadow: @invertedTextShadow;
1185
1185
  }
1186
- .ui.black.buttons .button.active,
1187
- .ui.black.buttons .button.active:active,
1188
- .ui.black.button.active,
1189
- .ui.black.button .button.active:active {
1186
+ .ui.black.buttons .active.button,
1187
+ .ui.black.buttons .active.button:active,
1188
+ .ui.black.active.button,
1189
+ .ui.black.button .active.button:active {
1190
1190
  background-color: @blackActive;
1191
1191
  color: @invertedTextColor;
1192
1192
  text-shadow: @invertedTextShadow;
@@ -1209,8 +1209,8 @@
1209
1209
  box-shadow: 0px 0px 0px @basicColoredBorderSize @blackDown inset !important;
1210
1210
  color: @blackDown !important;
1211
1211
  }
1212
- .ui.basic.black.buttons .button.active,
1213
- .ui.basic.black.button.active {
1212
+ .ui.basic.black.buttons .active.button,
1213
+ .ui.basic.black.active.button {
1214
1214
  background: transparent !important;
1215
1215
  box-shadow: 0px 0px 0px @basicColoredBorderSize @blackDown inset !important;
1216
1216
  color: @blackDown !important;
@@ -1232,8 +1232,8 @@
1232
1232
  background-color: @lightBlack;
1233
1233
  color: @white;
1234
1234
  }
1235
- .ui.inverted.black.buttons .button.active,
1236
- .ui.inverted.black.button.active {
1235
+ .ui.inverted.black.buttons .active.button,
1236
+ .ui.inverted.black.active.button {
1237
1237
  box-shadow: 0px 0px 0px @invertedBorderSize @lightBlack inset !important;
1238
1238
  background-color: @lightBlack;
1239
1239
  color: @white;
@@ -1259,9 +1259,9 @@
1259
1259
  box-shadow: 0px 0px 0px @invertedBorderSize @lightBlack inset !important;
1260
1260
  color: @white !important;
1261
1261
  }
1262
- .ui.inverted.black.basic.buttons .button.active,
1263
- .ui.inverted.black.buttons .basic.button.active,
1264
- .ui.inverted.black.basic.button.active {
1262
+ .ui.inverted.black.basic.buttons .active.button,
1263
+ .ui.inverted.black.buttons .basic.active.button,
1264
+ .ui.inverted.black.basic.active.button {
1265
1265
  box-shadow: 0px 0px 0px @invertedBorderSize @lightBlack inset !important;
1266
1266
  color: @white !important;
1267
1267
  }
@@ -1297,10 +1297,10 @@
1297
1297
  color: @invertedTextColor;
1298
1298
  text-shadow: @invertedTextShadow;
1299
1299
  }
1300
- .ui.blue.buttons .button.active,
1301
- .ui.blue.buttons .button.active:active,
1302
- .ui.blue.button.active,
1303
- .ui.blue.button .button.active:active {
1300
+ .ui.blue.buttons .active.button,
1301
+ .ui.blue.buttons .active.button:active,
1302
+ .ui.blue.active.button,
1303
+ .ui.blue.button .active.button:active {
1304
1304
  background-color: @blueActive;
1305
1305
  color: @invertedTextColor;
1306
1306
  text-shadow: @invertedTextShadow;
@@ -1324,8 +1324,8 @@
1324
1324
  box-shadow: 0px 0px 0px @basicColoredBorderSize @blueDown inset !important;
1325
1325
  color: @blueDown !important;
1326
1326
  }
1327
- .ui.basic.blue.buttons .button.active,
1328
- .ui.basic.blue.button.active {
1327
+ .ui.basic.blue.buttons .active.button,
1328
+ .ui.basic.blue.active.button {
1329
1329
  background: transparent !important;
1330
1330
  box-shadow: 0px 0px 0px @basicColoredBorderSize @blueDown inset !important;
1331
1331
  color: @blueDown !important;
@@ -1347,8 +1347,8 @@
1347
1347
  background-color: @lightBlue;
1348
1348
  color: @white;
1349
1349
  }
1350
- .ui.inverted.blue.buttons .button.active,
1351
- .ui.inverted.blue.button.active {
1350
+ .ui.inverted.blue.buttons .active.button,
1351
+ .ui.inverted.blue.active.button {
1352
1352
  box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
1353
1353
  background-color: @lightBlue;
1354
1354
  color: @white;
@@ -1374,9 +1374,9 @@
1374
1374
  box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
1375
1375
  color: @lightBlue !important;
1376
1376
  }
1377
- .ui.inverted.blue.basic.buttons .button.active,
1378
- .ui.inverted.blue.buttons .basic.button.active,
1379
- .ui.inverted.blue.basic.button.active {
1377
+ .ui.inverted.blue.basic.buttons .active.button,
1378
+ .ui.inverted.blue.buttons .basic.active.button,
1379
+ .ui.inverted.blue.basic.active.button {
1380
1380
  box-shadow: 0px 0px 0px @invertedBorderSize @lightBlue inset !important;
1381
1381
  color: @lightBlue !important;
1382
1382
  }
@@ -1410,10 +1410,10 @@
1410
1410
  color: @invertedTextColor;
1411
1411
  text-shadow: @invertedTextShadow;
1412
1412
  }
1413
- .ui.green.buttons .button.active,
1414
- .ui.green.buttons .button.active:active,
1415
- .ui.green.button.active,
1416
- .ui.green.button .button.active:active {
1413
+ .ui.green.buttons .active.button,
1414
+ .ui.green.buttons .active.button:active,
1415
+ .ui.green.active.button,
1416
+ .ui.green.button .active.button:active {
1417
1417
  background-color: @greenActive;
1418
1418
  color: @invertedTextColor;
1419
1419
  text-shadow: @invertedTextShadow;
@@ -1437,8 +1437,8 @@
1437
1437
  box-shadow: 0px 0px 0px @basicColoredBorderSize @greenDown inset !important;
1438
1438
  color: @greenDown !important;
1439
1439
  }
1440
- .ui.basic.green.buttons .button.active,
1441
- .ui.basic.green.button.active {
1440
+ .ui.basic.green.buttons .active.button,
1441
+ .ui.basic.green.active.button {
1442
1442
  background: transparent !important;
1443
1443
  box-shadow: 0px 0px 0px @basicColoredBorderSize @greenDown inset !important;
1444
1444
  color: @greenDown !important;
@@ -1460,8 +1460,8 @@
1460
1460
  background-color: @lightGreen;
1461
1461
  color: @white;
1462
1462
  }
1463
- .ui.inverted.green.buttons .button.active,
1464
- .ui.inverted.green.button.active {
1463
+ .ui.inverted.green.buttons .active.button,
1464
+ .ui.inverted.green.active.button {
1465
1465
  box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
1466
1466
  background-color: @lightGreen;
1467
1467
  color: @white;
@@ -1487,9 +1487,9 @@
1487
1487
  box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
1488
1488
  color: @lightGreen !important;
1489
1489
  }
1490
- .ui.inverted.green.basic.buttons .button.active,
1491
- .ui.inverted.green.buttons .basic.button.active,
1492
- .ui.inverted.green.basic.button.active {
1490
+ .ui.inverted.green.basic.buttons .active.button,
1491
+ .ui.inverted.green.buttons .basic.active.button,
1492
+ .ui.inverted.green.basic.active.button {
1493
1493
  box-shadow: 0px 0px 0px @invertedBorderSize @lightGreen inset !important;
1494
1494
  color: @lightGreen !important;
1495
1495
  }
@@ -1523,10 +1523,10 @@
1523
1523
  color: @invertedTextColor;
1524
1524
  text-shadow: @invertedTextShadow;
1525
1525
  }
1526
- .ui.orange.buttons .button.active,
1527
- .ui.orange.buttons .button.active:active,
1528
- .ui.orange.button.active,
1529
- .ui.orange.button .button.active:active {
1526
+ .ui.orange.buttons .active.button,
1527
+ .ui.orange.buttons .active.button:active,
1528
+ .ui.orange.active.button,
1529
+ .ui.orange.button .active.button:active {
1530
1530
  background-color: @blackActive;
1531
1531
  color: @invertedTextColor;
1532
1532
  text-shadow: @invertedTextShadow;
@@ -1549,8 +1549,8 @@
1549
1549
  box-shadow: 0px 0px 0px @basicColoredBorderSize @orangeDown inset !important;
1550
1550
  color: @orangeDown !important;
1551
1551
  }
1552
- .ui.basic.orange.buttons .button.active,
1553
- .ui.basic.orange.button.active {
1552
+ .ui.basic.orange.buttons .active.button,
1553
+ .ui.basic.orange.active.button {
1554
1554
  background: transparent !important;
1555
1555
  box-shadow: 0px 0px 0px @basicColoredBorderSize @orangeDown inset !important;
1556
1556
  color: @orangeDown !important;
@@ -1572,8 +1572,8 @@
1572
1572
  background-color: @lightOrange;
1573
1573
  color: @white;
1574
1574
  }
1575
- .ui.inverted.orange.buttons .button.active,
1576
- .ui.inverted.orange.button.active {
1575
+ .ui.inverted.orange.buttons .active.button,
1576
+ .ui.inverted.orange.active.button {
1577
1577
  box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
1578
1578
  background-color: @lightOrange;
1579
1579
  color: @white;
@@ -1599,9 +1599,9 @@
1599
1599
  box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
1600
1600
  color: @lightOrange !important;
1601
1601
  }
1602
- .ui.inverted.orange.basic.buttons .button.active,
1603
- .ui.inverted.orange.buttons .basic.button.active,
1604
- .ui.inverted.orange.basic.button.active {
1602
+ .ui.inverted.orange.basic.buttons .active.button,
1603
+ .ui.inverted.orange.buttons .basic.active.button,
1604
+ .ui.inverted.orange.basic.active.button {
1605
1605
  box-shadow: 0px 0px 0px @invertedBorderSize @lightOrange inset !important;
1606
1606
  color: @lightOrange !important;
1607
1607
  }
@@ -1635,10 +1635,10 @@
1635
1635
  color: @invertedTextColor;
1636
1636
  text-shadow: @invertedTextShadow;
1637
1637
  }
1638
- .ui.pink.buttons .button.active,
1639
- .ui.pink.buttons .button.active:active,
1640
- .ui.pink.button.active,
1641
- .ui.pink.button .button.active:active {
1638
+ .ui.pink.buttons .active.button,
1639
+ .ui.pink.buttons .active.button:active,
1640
+ .ui.pink.active.button,
1641
+ .ui.pink.button .active.button:active {
1642
1642
  background-color: @pinkActive;
1643
1643
  color: @invertedTextColor;
1644
1644
  text-shadow: @invertedTextShadow;
@@ -1661,8 +1661,8 @@
1661
1661
  box-shadow: 0px 0px 0px @basicColoredBorderSize @pinkDown inset !important;
1662
1662
  color: @pinkDown !important;
1663
1663
  }
1664
- .ui.basic.pink.buttons .button.active,
1665
- .ui.basic.pink.button.active {
1664
+ .ui.basic.pink.buttons .active.button,
1665
+ .ui.basic.pink.active.button {
1666
1666
  background: transparent !important;
1667
1667
  box-shadow: 0px 0px 0px @basicColoredBorderSize @pinkDown inset !important;
1668
1668
  color: @pinkDown !important;
@@ -1684,8 +1684,8 @@
1684
1684
  background-color: @lightPink;
1685
1685
  color: @white;
1686
1686
  }
1687
- .ui.inverted.pink.buttons .button.active,
1688
- .ui.inverted.pink.button.active {
1687
+ .ui.inverted.pink.buttons .active.button,
1688
+ .ui.inverted.pink.active.button {
1689
1689
  box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
1690
1690
  background-color: @lightPink;
1691
1691
  color: @white;
@@ -1711,9 +1711,9 @@
1711
1711
  box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
1712
1712
  color: @lightPink !important;
1713
1713
  }
1714
- .ui.inverted.pink.basic.buttons .button.active,
1715
- .ui.inverted.pink.buttons .basic.button.active,
1716
- .ui.inverted.pink.basic.button.active {
1714
+ .ui.inverted.pink.basic.buttons .active.button,
1715
+ .ui.inverted.pink.buttons .basic.active.button,
1716
+ .ui.inverted.pink.basic.active.button {
1717
1717
  box-shadow: 0px 0px 0px @invertedBorderSize @lightPink inset !important;
1718
1718
  color: @lightPink !important;
1719
1719
  }
@@ -1747,10 +1747,10 @@
1747
1747
  color: @invertedTextColor;
1748
1748
  text-shadow: @invertedTextShadow;
1749
1749
  }
1750
- .ui.purple.buttons .button.active,
1751
- .ui.purple.buttons .button.active:active,
1752
- .ui.purple.button.active,
1753
- .ui.purple.button .button.active:active {
1750
+ .ui.purple.buttons .active.button,
1751
+ .ui.purple.buttons .active.button:active,
1752
+ .ui.purple.active.button,
1753
+ .ui.purple.button .active.button:active {
1754
1754
  background-color: @purpleActive;
1755
1755
  color: @invertedTextColor;
1756
1756
  text-shadow: @invertedTextShadow;
@@ -1773,8 +1773,8 @@
1773
1773
  box-shadow: 0px 0px 0px @basicColoredBorderSize @purpleDown inset !important;
1774
1774
  color: @purpleDown !important;
1775
1775
  }
1776
- .ui.basic.purple.buttons .button.active,
1777
- .ui.basic.purple.button.active {
1776
+ .ui.basic.purple.buttons .active.button,
1777
+ .ui.basic.purple.active.button {
1778
1778
  background: transparent !important;
1779
1779
  box-shadow: 0px 0px 0px @basicColoredBorderSize @purpleDown inset !important;
1780
1780
  color: @purpleDown !important;
@@ -1796,8 +1796,8 @@
1796
1796
  background-color: @lightPurple;
1797
1797
  color: @black;
1798
1798
  }
1799
- .ui.inverted.purple.buttons .button.active,
1800
- .ui.inverted.purple.button.active {
1799
+ .ui.inverted.purple.buttons .active.button,
1800
+ .ui.inverted.purple.active.button {
1801
1801
  box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
1802
1802
  background-color: @lightPurple;
1803
1803
  color: @black;
@@ -1823,9 +1823,9 @@
1823
1823
  box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
1824
1824
  color: @lightPurple !important;
1825
1825
  }
1826
- .ui.inverted.purple.basic.buttons .button.active,
1827
- .ui.inverted.purple.buttons .basic.button.active,
1828
- .ui.inverted.purple.basic.button.active {
1826
+ .ui.inverted.purple.basic.buttons .active.button,
1827
+ .ui.inverted.purple.buttons .basic.active.button,
1828
+ .ui.inverted.purple.basic.active.button {
1829
1829
  box-shadow: 0px 0px 0px @invertedBorderSize @lightPurple inset !important;
1830
1830
  color: @lightPurple !important;
1831
1831
  }
@@ -1859,10 +1859,10 @@
1859
1859
  color: @invertedTextColor;
1860
1860
  text-shadow: @invertedTextShadow;
1861
1861
  }
1862
- .ui.red.buttons .button.active,
1863
- .ui.red.buttons .button.active:active,
1864
- .ui.red.button.active,
1865
- .ui.red.button .button.active:active {
1862
+ .ui.red.buttons .active.button,
1863
+ .ui.red.buttons .active.button:active,
1864
+ .ui.red.active.button,
1865
+ .ui.red.button .active.button:active {
1866
1866
  background-color: @redActive;
1867
1867
  color: @invertedTextColor;
1868
1868
  text-shadow: @invertedTextShadow;
@@ -1885,8 +1885,8 @@
1885
1885
  box-shadow: 0px 0px 0px @basicColoredBorderSize @redDown inset !important;
1886
1886
  color: @redDown !important;
1887
1887
  }
1888
- .ui.basic.red.buttons .button.active,
1889
- .ui.basic.red.button.active {
1888
+ .ui.basic.red.buttons .active.button,
1889
+ .ui.basic.red.active.button {
1890
1890
  background: transparent !important;
1891
1891
  box-shadow: 0px 0px 0px @basicColoredBorderSize @redDown inset !important;
1892
1892
  color: @redDown !important;
@@ -1908,8 +1908,8 @@
1908
1908
  background-color: @lightRed;
1909
1909
  color: @white;
1910
1910
  }
1911
- .ui.inverted.red.buttons .button.active,
1912
- .ui.inverted.red.button.active {
1911
+ .ui.inverted.red.buttons .active.button,
1912
+ .ui.inverted.red.active.button {
1913
1913
  box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
1914
1914
  background-color: @lightRed;
1915
1915
  color: @white;
@@ -1935,9 +1935,9 @@
1935
1935
  box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
1936
1936
  color: @lightRed !important;
1937
1937
  }
1938
- .ui.inverted.red.basic.buttons .button.active,
1939
- .ui.inverted.red.buttons .basic.button.active,
1940
- .ui.inverted.red.basic.button.active {
1938
+ .ui.inverted.red.basic.buttons .active.button,
1939
+ .ui.inverted.red.buttons .basic.active.button,
1940
+ .ui.inverted.red.basic.active.button {
1941
1941
  box-shadow: 0px 0px 0px @invertedBorderSize @lightRed inset !important;
1942
1942
  color: @lightRed !important;
1943
1943
  }
@@ -1972,10 +1972,10 @@
1972
1972
  color: @invertedTextColor;
1973
1973
  text-shadow: @invertedTextShadow;
1974
1974
  }
1975
- .ui.teal.buttons .button.active,
1976
- .ui.teal.buttons .button.active:active,
1977
- .ui.teal.button.active,
1978
- .ui.teal.button .button.active:active {
1975
+ .ui.teal.buttons .active.button,
1976
+ .ui.teal.buttons .active.button:active,
1977
+ .ui.teal.active.button,
1978
+ .ui.teal.button .active.button:active {
1979
1979
  background-color: @tealActive;
1980
1980
  color: @invertedTextColor;
1981
1981
  text-shadow: @invertedTextShadow;
@@ -1998,8 +1998,8 @@
1998
1998
  box-shadow: 0px 0px 0px @basicColoredBorderSize @tealDown inset !important;
1999
1999
  color: @tealDown !important;
2000
2000
  }
2001
- .ui.basic.teal.buttons .button.active,
2002
- .ui.basic.teal.button.active {
2001
+ .ui.basic.teal.buttons .active.button,
2002
+ .ui.basic.teal.active.button {
2003
2003
  background: transparent !important;
2004
2004
  box-shadow: 0px 0px 0px @basicColoredBorderSize @tealDown inset !important;
2005
2005
  color: @tealDown !important;
@@ -2021,8 +2021,8 @@
2021
2021
  background-color: @lightTeal;
2022
2022
  color: @black;
2023
2023
  }
2024
- .ui.inverted.teal.buttons .button.active,
2025
- .ui.inverted.teal.button.active {
2024
+ .ui.inverted.teal.buttons .active.button,
2025
+ .ui.inverted.teal.active.button {
2026
2026
  box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
2027
2027
  background-color: @lightTeal;
2028
2028
  color: @black;
@@ -2048,9 +2048,9 @@
2048
2048
  box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
2049
2049
  color: @lightTeal !important;
2050
2050
  }
2051
- .ui.inverted.teal.basic.buttons .button.active,
2052
- .ui.inverted.teal.buttons .basic.button.active,
2053
- .ui.inverted.teal.basic.button.active {
2051
+ .ui.inverted.teal.basic.buttons .active.button,
2052
+ .ui.inverted.teal.buttons .basic.active.button,
2053
+ .ui.inverted.teal.basic.active.button {
2054
2054
  box-shadow: 0px 0px 0px @invertedBorderSize @lightTeal inset !important;
2055
2055
  color: @lightTeal !important;
2056
2056
  }
@@ -2085,10 +2085,10 @@
2085
2085
  color: @invertedTextColor;
2086
2086
  text-shadow: @invertedTextShadow;
2087
2087
  }
2088
- .ui.yellow.buttons .button.active,
2089
- .ui.yellow.buttons .button.active:active,
2090
- .ui.yellow.button.active,
2091
- .ui.yellow.button .button.active:active {
2088
+ .ui.yellow.buttons .active.button,
2089
+ .ui.yellow.buttons .active.button:active,
2090
+ .ui.yellow.active.button,
2091
+ .ui.yellow.button .active.button:active {
2092
2092
  background-color: @yellowActive;
2093
2093
  color: @invertedTextColor;
2094
2094
  text-shadow: @invertedTextShadow;
@@ -2111,8 +2111,8 @@
2111
2111
  box-shadow: 0px 0px 0px @basicColoredBorderSize @yellowDown inset !important;
2112
2112
  color: @yellowDown !important;
2113
2113
  }
2114
- .ui.basic.yellow.buttons .button.active,
2115
- .ui.basic.yellow.button.active {
2114
+ .ui.basic.yellow.buttons .active.button,
2115
+ .ui.basic.yellow.active.button {
2116
2116
  background: transparent !important;
2117
2117
  box-shadow: 0px 0px 0px @basicColoredBorderSize @yellowDown inset !important;
2118
2118
  color: @yellowDown !important;
@@ -2134,8 +2134,8 @@
2134
2134
  background-color: @lightYellow;
2135
2135
  color: @black;
2136
2136
  }
2137
- .ui.inverted.yellow.buttons .button.active,
2138
- .ui.inverted.yellow.button.active {
2137
+ .ui.inverted.yellow.buttons .active.button,
2138
+ .ui.inverted.yellow.active.button {
2139
2139
  box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
2140
2140
  background-color: @lightYellow;
2141
2141
  color: @black;
@@ -2161,9 +2161,9 @@
2161
2161
  box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
2162
2162
  color: @lightYellow !important;
2163
2163
  }
2164
- .ui.inverted.yellow.basic.buttons .button.active,
2165
- .ui.inverted.yellow.buttons .basic.button.active,
2166
- .ui.inverted.yellow.basic.button.active {
2164
+ .ui.inverted.yellow.basic.buttons .active.button,
2165
+ .ui.inverted.yellow.buttons .basic.active.button,
2166
+ .ui.inverted.yellow.basic.active.button {
2167
2167
  box-shadow: 0px 0px 0px @invertedBorderSize @lightYellow inset !important;
2168
2168
  color: @lightYellow !important;
2169
2169
  }
@@ -2202,7 +2202,7 @@
2202
2202
  text-shadow: @primaryTextShadow;
2203
2203
  }
2204
2204
  .ui.primary.buttons .active.button,
2205
- .ui.primary.button.active {
2205
+ .ui.primary.active.button {
2206
2206
  background-color: @primaryColorActive;
2207
2207
  color: @primaryTextColor;
2208
2208
  text-shadow: @primaryTextShadow;
@@ -2235,7 +2235,7 @@
2235
2235
  text-shadow: @secondaryTextShadow;
2236
2236
  }
2237
2237
  .ui.secondary.buttons .active.button,
2238
- .ui.secondary.button.active {
2238
+ .ui.secondary.active.button {
2239
2239
  background-color: @secondaryColorActive;
2240
2240
  color: @secondaryTextColor;
2241
2241
  text-shadow: @secondaryTextShadow;
@@ -2258,7 +2258,7 @@
2258
2258
  .ui.positive.buttons .button:hover,
2259
2259
  .ui.positive.button:hover,
2260
2260
  .ui.positive.buttons .active.button,
2261
- .ui.positive.button.active {
2261
+ .ui.positive.active.button {
2262
2262
  background-color: @positiveColorHover !important;
2263
2263
  color: @invertedTextColor;
2264
2264
  text-shadow: @invertedTextShadow;
@@ -2269,10 +2269,10 @@
2269
2269
  color: @invertedTextColor;
2270
2270
  text-shadow: @invertedTextShadow;
2271
2271
  }
2272
- .ui.positive.buttons .button.active,
2273
- .ui.positive.buttons .button.active:active,
2274
- .ui.positive.button.active,
2275
- .ui.positive.button .button.active:active {
2272
+ .ui.positive.buttons .active.button,
2273
+ .ui.positive.buttons .active.button:active,
2274
+ .ui.positive.active.button,
2275
+ .ui.positive.button .active.button:active {
2276
2276
  background-color: @positiveColorActive;
2277
2277
  color: @invertedTextColor;
2278
2278
  text-shadow: @invertedTextShadow;
@@ -2296,7 +2296,7 @@
2296
2296
  .ui.negative.buttons .button:hover,
2297
2297
  .ui.negative.button:hover,
2298
2298
  .ui.negative.buttons .active.button,
2299
- .ui.negative.button.active {
2299
+ .ui.negative.active.button {
2300
2300
  background-color: @negativeColorHover !important;
2301
2301
  color: @invertedTextColor;
2302
2302
  text-shadow: @invertedTextShadow;
@@ -2307,10 +2307,10 @@
2307
2307
  color: @invertedTextColor;
2308
2308
  text-shadow: @invertedTextShadow;
2309
2309
  }
2310
- .ui.negative.buttons .button.active,
2311
- .ui.negative.buttons .button.active:active,
2312
- .ui.negative.button.active,
2313
- .ui.negative.button .button.active:active {
2310
+ .ui.negative.buttons .active.button,
2311
+ .ui.negative.buttons .active.button:active,
2312
+ .ui.negative.active.button,
2313
+ .ui.negative.button .active.button:active {
2314
2314
  background-color: @negativeColorActive;
2315
2315
  color: @invertedTextColor;
2316
2316
  text-shadow: @invertedTextShadow;
@@ -2326,7 +2326,7 @@
2326
2326
  margin: @verticalMargin @horizontalMargin 0em 0em;
2327
2327
  }
2328
2328
  .ui.buttons > .button:hover,
2329
- .ui.buttons > .button.active {
2329
+ .ui.buttons > .active.button {
2330
2330
  position: relative;
2331
2331
  }
2332
2332
  .ui.buttons:after {
@@ -6,7 +6,7 @@
6
6
 
7
7
  /*
8
8
  * # Semantic - Steps
9
- * http://github.com/jlukic/semantic-ui/
9
+ * http://github.com/semantic-org/semantic-ui/
10
10
  *
11
11
  *
12
12
  * Copyright 2014 Contributor
@@ -6,7 +6,7 @@
6
6
 
7
7
  /*
8
8
  * # Semantic - Accordion
9
- * http://github.com/jlukic/semantic-ui/
9
+ * http://github.com/semantic-org/semantic-ui/
10
10
  *
11
11
  *
12
12
  * Copyright 2014 Contributor
@@ -487,13 +487,13 @@ select.ui.dropdown {
487
487
 
488
488
  /* Search Dropdown */
489
489
  .ui.search.dropdown > input.search {
490
- cursor: pointer;
491
- background: none transparent;
492
- border: none;
493
- box-shadow: none;
490
+ background: none transparent !important;
491
+ border: none !important;
492
+ box-shadow: none !important;
493
+ border-radius: 0em !important;
494
+
494
495
  cursor: pointer;
495
496
  position: absolute;
496
- border-radius: 0em !important;
497
497
  top: 0em;
498
498
  left: 0em;
499
499
  width: 100%;
@@ -507,7 +507,6 @@ select.ui.dropdown {
507
507
  line-height: @searchSelectionLineHeight;
508
508
  }
509
509
 
510
-
511
510
  .ui.search.dropdown.active > input.search,
512
511
  .ui.search.dropdown.visible > input.search {
513
512
  cursor: auto;
@@ -36,7 +36,6 @@
36
36
  z-index: @zIndex;
37
37
 
38
38
  border: @border;
39
- min-width: max-content;
40
39
  max-width: @maxWidth;
41
40
  background-color: @background;
42
41
 
@@ -306,7 +306,6 @@ i.flag.gabon:before {
306
306
  background-position: -36px 0px;
307
307
  }
308
308
  i.flag.gb:before,
309
- i.flag.england:before,
310
309
  i.flag.united.kingdom:before {
311
310
  background-position: -36px -26px;
312
311
  }
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * # Semantic - Icon
3
- * http://github.com/jlukic/semantic-ui/
3
+ * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
6
6
  * Copyright 2014 Contributor
@@ -1,7 +1,7 @@
1
1
  module Less
2
2
  module Rails
3
3
  module SemanticUI
4
- VERSION = '1.5.2.0'
4
+ VERSION = '1.6.1.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-rails-semantic_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2.0
4
+ version: 1.6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxim Dobryakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-02 00:00:00.000000000 Z
11
+ date: 2015-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: less-rails