semantic-ui-rails 0.11.0 → 0.12.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 +4 -4
- data/app/assets/javascripts/semantic-ui/modules/behavior/form.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/dimmer.js +2 -2
- data/app/assets/javascripts/semantic-ui/modules/dropdown.js +67 -15
- data/app/assets/javascripts/semantic-ui/modules/modal.js +36 -22
- data/app/assets/javascripts/semantic-ui/modules/sidebar.js +1 -3
- data/app/assets/javascripts/semantic-ui/modules/transition.js +18 -4
- data/app/assets/stylesheets/semantic-ui/collections/menu.less +6 -1
- data/app/assets/stylesheets/semantic-ui/elements/icon.less +0 -4
- data/app/assets/stylesheets/semantic-ui/elements/input.less +10 -2
- data/app/assets/stylesheets/semantic-ui/elements/progress.less +10 -0
- data/app/assets/stylesheets/semantic-ui/elements/segment.less +1 -0
- data/app/assets/stylesheets/semantic-ui/modules/checkbox.less +3 -77
- data/app/assets/stylesheets/semantic-ui/modules/dimmer.less +3 -39
- data/lib/semantic/ui/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2200eca5105a4747bc0969637749c64591bc3c43
|
4
|
+
data.tar.gz: 0a4bc04dfd7477d8cdb430cd08f9af09776d4ac2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ea85e6b1fb28fa7600e4f43110ea540923b1f436eb2143c3ec86fdf68a675c554e82f791031b5d5d7cf0c624d65a5e98ae9e3c4d3c47d554d972b90a7f06f61
|
7
|
+
data.tar.gz: 66c708c9d0bc1258d03ded5d93118be73315f874c0d2c536b7ec7e7433568102daf5676911249d682b022d57c7a57ce28b0510bee929caaa18c424463abcc352
|
@@ -360,7 +360,7 @@ $.fn.form = function(fields, parameters) {
|
|
360
360
|
var
|
361
361
|
$field = module.get.field(field.identifier),
|
362
362
|
type = validation.type,
|
363
|
-
value = $field.val() + '',
|
363
|
+
value = $.trim($field.val() + ''),
|
364
364
|
|
365
365
|
bracketRegExp = /\[(.*?)\]/i,
|
366
366
|
bracket = bracketRegExp.exec(type),
|
@@ -155,7 +155,7 @@ $.fn.dimmer = function(parameters) {
|
|
155
155
|
: function(){}
|
156
156
|
;
|
157
157
|
module.set.dimmed();
|
158
|
-
if(settings.useCSS && $.fn.transition !== undefined && $
|
158
|
+
if(settings.useCSS && $.fn.transition !== undefined && $dimmer.transition('is supported')) {
|
159
159
|
$dimmer
|
160
160
|
.transition({
|
161
161
|
animation : settings.transition + ' in',
|
@@ -190,7 +190,7 @@ $.fn.dimmer = function(parameters) {
|
|
190
190
|
? callback
|
191
191
|
: function(){}
|
192
192
|
;
|
193
|
-
if(settings.useCSS && $.fn.transition !== undefined && $
|
193
|
+
if(settings.useCSS && $.fn.transition !== undefined && $dimmer.transition('is supported')) {
|
194
194
|
module.verbose('Hiding dimmer with css');
|
195
195
|
$dimmer
|
196
196
|
.transition({
|
@@ -61,12 +61,12 @@ $.fn.dropdown = function(parameters) {
|
|
61
61
|
initialize: function() {
|
62
62
|
module.debug('Initializing dropdown', settings);
|
63
63
|
|
64
|
+
module.save.defaults();
|
64
65
|
module.set.selected();
|
65
66
|
|
66
67
|
if(hasTouch) {
|
67
68
|
module.bind.touchEvents();
|
68
69
|
}
|
69
|
-
// no use detecting mouse events because touch devices emulate them
|
70
70
|
module.bind.mouseEvents();
|
71
71
|
module.instantiate();
|
72
72
|
},
|
@@ -145,6 +145,7 @@ $.fn.dropdown = function(parameters) {
|
|
145
145
|
if(hasTouch) {
|
146
146
|
$document
|
147
147
|
.off('touchstart' + eventNamespace)
|
148
|
+
.off('touchmove' + eventNamespace)
|
148
149
|
;
|
149
150
|
}
|
150
151
|
$document
|
@@ -215,11 +216,19 @@ $.fn.dropdown = function(parameters) {
|
|
215
216
|
: $choice.text(),
|
216
217
|
value = ( $choice.data(metadata.value) !== undefined)
|
217
218
|
? $choice.data(metadata.value)
|
218
|
-
: text.toLowerCase()
|
219
|
+
: text.toLowerCase(),
|
220
|
+
callback = function() {
|
221
|
+
module.determine.selectAction(text, value);
|
222
|
+
$.proxy(settings.onChange, element)(value, text);
|
223
|
+
}
|
219
224
|
;
|
220
225
|
if( $choice.find(selector.menu).size() === 0 ) {
|
221
|
-
|
222
|
-
|
226
|
+
if(event.type == 'touchstart') {
|
227
|
+
$choice.one('click', callback);
|
228
|
+
}
|
229
|
+
else {
|
230
|
+
callback();
|
231
|
+
}
|
223
232
|
}
|
224
233
|
}
|
225
234
|
|
@@ -325,7 +334,7 @@ $.fn.dropdown = function(parameters) {
|
|
325
334
|
},
|
326
335
|
item: function(value) {
|
327
336
|
var
|
328
|
-
$selectedItem
|
337
|
+
$selectedItem = false
|
329
338
|
;
|
330
339
|
value = (value !== undefined)
|
331
340
|
? value
|
@@ -345,9 +354,11 @@ $.fn.dropdown = function(parameters) {
|
|
345
354
|
? $choice.data(metadata.value)
|
346
355
|
: optionText.toLowerCase()
|
347
356
|
;
|
348
|
-
if( optionValue == value
|
357
|
+
if( optionValue == value ) {
|
358
|
+
$selectedItem = $(this);
|
359
|
+
}
|
360
|
+
else if( !$selectedItem && optionText == value ) {
|
349
361
|
$selectedItem = $(this);
|
350
|
-
return false;
|
351
362
|
}
|
352
363
|
})
|
353
364
|
;
|
@@ -359,6 +370,43 @@ $.fn.dropdown = function(parameters) {
|
|
359
370
|
}
|
360
371
|
},
|
361
372
|
|
373
|
+
restore: {
|
374
|
+
defaults: function() {
|
375
|
+
module.restore.defaultText();
|
376
|
+
module.restore.defaultValue();
|
377
|
+
},
|
378
|
+
defaultText: function() {
|
379
|
+
var
|
380
|
+
defaultText = $module.data(metadata.defaultText)
|
381
|
+
;
|
382
|
+
module.debug('Restoring default text', defaultText);
|
383
|
+
module.set.text(defaultText);
|
384
|
+
},
|
385
|
+
defaultValue: function() {
|
386
|
+
var
|
387
|
+
defaultValue = $module.data(metadata.defaultValue)
|
388
|
+
;
|
389
|
+
if(defaultValue !== undefined) {
|
390
|
+
module.debug('Restoring default value', defaultValue);
|
391
|
+
module.set.selected(defaultValue);
|
392
|
+
module.set.value(defaultValue);
|
393
|
+
}
|
394
|
+
}
|
395
|
+
},
|
396
|
+
|
397
|
+
save: {
|
398
|
+
defaults: function() {
|
399
|
+
module.save.defaultText();
|
400
|
+
module.save.defaultValue();
|
401
|
+
},
|
402
|
+
defaultValue: function() {
|
403
|
+
$module.data(metadata.defaultValue, module.get.value() );
|
404
|
+
},
|
405
|
+
defaultText: function() {
|
406
|
+
$module.data(metadata.defaultText, $text.text() );
|
407
|
+
}
|
408
|
+
},
|
409
|
+
|
362
410
|
set: {
|
363
411
|
text: function(text) {
|
364
412
|
module.debug('Changing text', text, $text);
|
@@ -506,12 +554,14 @@ $.fn.dropdown = function(parameters) {
|
|
506
554
|
if(module.is.visible($currentMenu) ) {
|
507
555
|
module.verbose('Doing menu hide animation', $currentMenu);
|
508
556
|
if($.fn.transition !== undefined && $module.transition('is supported')) {
|
509
|
-
$currentMenu
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
557
|
+
$currentMenu
|
558
|
+
.transition({
|
559
|
+
animation : settings.transition + ' out',
|
560
|
+
duration : settings.duration,
|
561
|
+
complete : callback,
|
562
|
+
queue : false
|
563
|
+
})
|
564
|
+
;
|
515
565
|
}
|
516
566
|
else if(settings.transition == 'none') {
|
517
567
|
callback();
|
@@ -818,8 +868,10 @@ $.fn.dropdown.settings = {
|
|
818
868
|
},
|
819
869
|
|
820
870
|
metadata: {
|
821
|
-
|
822
|
-
|
871
|
+
defaultText : 'defaultText',
|
872
|
+
defaultValue : 'defaultValue',
|
873
|
+
text : 'text',
|
874
|
+
value : 'value'
|
823
875
|
},
|
824
876
|
|
825
877
|
selector : {
|
@@ -77,8 +77,12 @@ $.fn.modal = function(parameters) {
|
|
77
77
|
hide : settings.duration * 1.1
|
78
78
|
}
|
79
79
|
})
|
80
|
-
.dimmer('add content', $module)
|
81
80
|
;
|
81
|
+
|
82
|
+
if(settings.detachable) {
|
83
|
+
$dimmable.dimmer('add content', $module);
|
84
|
+
}
|
85
|
+
|
82
86
|
$dimmer = $dimmable
|
83
87
|
.dimmer('get dimmer')
|
84
88
|
;
|
@@ -173,7 +177,12 @@ $.fn.modal = function(parameters) {
|
|
173
177
|
click: function(event) {
|
174
178
|
if( $(event.target).closest(selector.modal).size() === 0 ) {
|
175
179
|
module.debug('Dimmer clicked, hiding all modals');
|
176
|
-
|
180
|
+
if(settings.allowMultiple) {
|
181
|
+
module.hide();
|
182
|
+
}
|
183
|
+
else {
|
184
|
+
module.hideAll();
|
185
|
+
}
|
177
186
|
event.stopImmediatePropagation();
|
178
187
|
}
|
179
188
|
},
|
@@ -232,7 +241,7 @@ $.fn.modal = function(parameters) {
|
|
232
241
|
module.set.position();
|
233
242
|
module.set.type();
|
234
243
|
|
235
|
-
if( $otherModals.filter(':visible').size() > 0 ) {
|
244
|
+
if( $otherModals.filter(':visible').size() > 0 && !settings.allowMultiple) {
|
236
245
|
module.debug('Other modals visible, queueing show animation');
|
237
246
|
module.hideOthers(module.showModal);
|
238
247
|
}
|
@@ -278,7 +287,9 @@ $.fn.modal = function(parameters) {
|
|
278
287
|
? callback
|
279
288
|
: function(){}
|
280
289
|
;
|
281
|
-
|
290
|
+
if($allModals.filter(':visible').size() <= 1) {
|
291
|
+
module.hideDimmer();
|
292
|
+
}
|
282
293
|
module.hideModal(callback);
|
283
294
|
},
|
284
295
|
|
@@ -653,29 +664,32 @@ $.fn.modal = function(parameters) {
|
|
653
664
|
|
654
665
|
$.fn.modal.settings = {
|
655
666
|
|
656
|
-
name
|
657
|
-
namespace
|
667
|
+
name : 'Modal',
|
668
|
+
namespace : 'modal',
|
669
|
+
|
670
|
+
debug : true,
|
671
|
+
verbose : true,
|
672
|
+
performance : true,
|
658
673
|
|
659
|
-
|
660
|
-
|
661
|
-
|
674
|
+
allowMultiple : true,
|
675
|
+
detachable : true,
|
676
|
+
closable : true,
|
677
|
+
context : 'body',
|
662
678
|
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
offset : 0,
|
668
|
-
transition : 'scale',
|
679
|
+
duration : 500,
|
680
|
+
easing : 'easeOutExpo',
|
681
|
+
offset : 0,
|
682
|
+
transition : 'scale',
|
669
683
|
|
670
|
-
onShow
|
671
|
-
onHide
|
672
|
-
onApprove
|
673
|
-
onDeny
|
684
|
+
onShow : function(){},
|
685
|
+
onHide : function(){},
|
686
|
+
onApprove : function(){ return true; },
|
687
|
+
onDeny : function(){ return true; },
|
674
688
|
|
675
689
|
selector : {
|
676
690
|
close : '.close, .actions .button',
|
677
|
-
approve : '.actions .positive, .actions .approve',
|
678
|
-
deny : '.actions .negative, .actions .cancel',
|
691
|
+
approve : '.actions .positive, .actions .approve, .actions .ok',
|
692
|
+
deny : '.actions .negative, .actions .deny, .actions .cancel',
|
679
693
|
modal : '.ui.modal'
|
680
694
|
},
|
681
695
|
error : {
|
@@ -689,4 +703,4 @@ $.fn.modal.settings = {
|
|
689
703
|
};
|
690
704
|
|
691
705
|
|
692
|
-
})( jQuery, window , document );
|
706
|
+
})( jQuery, window , document );
|
@@ -202,15 +202,13 @@ $.fn.sidebar = function(parameters) {
|
|
202
202
|
add: {
|
203
203
|
bodyCSS: function(direction, distance) {
|
204
204
|
var
|
205
|
-
invertDirection,
|
206
205
|
style
|
207
206
|
;
|
208
207
|
if(direction !== className.bottom) {
|
209
|
-
invertDirection = direction === 'right' ? -1 : 1;
|
210
208
|
style = ''
|
211
209
|
+ '<style title="' + namespace + '">'
|
212
210
|
+ 'body.pushed {'
|
213
|
-
+ ' margin-
|
211
|
+
+ ' margin-' + direction + ': ' + distance + 'px !important;'
|
214
212
|
+ '}'
|
215
213
|
+ '</style>'
|
216
214
|
;
|
@@ -130,7 +130,12 @@ $.fn.transition = function() {
|
|
130
130
|
}
|
131
131
|
module.debug('Preparing animation', settings.animation);
|
132
132
|
if(module.is.animating() && settings.queue) {
|
133
|
-
module.
|
133
|
+
if(!settings.allowRepeats && module.has.direction() && module.is.occuring() && instance.queuing !== true) {
|
134
|
+
module.error(error.repeated);
|
135
|
+
}
|
136
|
+
else {
|
137
|
+
module.queue(settings.animation);
|
138
|
+
}
|
134
139
|
return false;
|
135
140
|
}
|
136
141
|
if(module.can.animate) {
|
@@ -154,6 +159,7 @@ $.fn.transition = function() {
|
|
154
159
|
$module
|
155
160
|
.one(animationEnd, function() {
|
156
161
|
instance.queuing = false;
|
162
|
+
module.repaint();
|
157
163
|
module.animate.apply(this, settings);
|
158
164
|
})
|
159
165
|
;
|
@@ -540,6 +546,10 @@ $.fn.transition = function() {
|
|
540
546
|
looping: function() {
|
541
547
|
return $module.hasClass(className.looping);
|
542
548
|
},
|
549
|
+
occuring: function(animation) {
|
550
|
+
animation = animation || settings.animation;
|
551
|
+
return ( $module.hasClass(animation) );
|
552
|
+
},
|
543
553
|
visible: function() {
|
544
554
|
return $module.is(':visible');
|
545
555
|
},
|
@@ -750,7 +760,7 @@ $.fn.transition.settings = {
|
|
750
760
|
name : 'Transition',
|
751
761
|
|
752
762
|
// debug content outputted to console
|
753
|
-
debug :
|
763
|
+
debug : true,
|
754
764
|
|
755
765
|
// verbose debug output
|
756
766
|
verbose : true,
|
@@ -766,9 +776,12 @@ $.fn.transition.settings = {
|
|
766
776
|
onShow : function() {},
|
767
777
|
onHide : function() {},
|
768
778
|
|
779
|
+
// whether animation can occur twice in a row
|
780
|
+
allowRepeats : false,
|
781
|
+
|
769
782
|
// animation duration
|
770
|
-
animation
|
771
|
-
duration
|
783
|
+
animation : 'fade',
|
784
|
+
duration : '700ms',
|
772
785
|
|
773
786
|
// new animations will occur after previous ones
|
774
787
|
queue : true,
|
@@ -788,6 +801,7 @@ $.fn.transition.settings = {
|
|
788
801
|
// possible errors
|
789
802
|
error: {
|
790
803
|
noAnimation : 'There is no css animation matching the one you specified.',
|
804
|
+
repeated : 'That animation is already occurring, cancelling repeated animation',
|
791
805
|
method : 'The method you called is not defined',
|
792
806
|
support : 'This browser does not support CSS animations'
|
793
807
|
}
|
@@ -1618,7 +1618,7 @@
|
|
1618
1618
|
|
1619
1619
|
.ui.menu.fixed {
|
1620
1620
|
position: fixed;
|
1621
|
-
z-index:
|
1621
|
+
z-index: 999;
|
1622
1622
|
margin: 0em;
|
1623
1623
|
border: none;
|
1624
1624
|
width: 100%;
|
@@ -1660,6 +1660,11 @@
|
|
1660
1660
|
height: 100%;
|
1661
1661
|
}
|
1662
1662
|
|
1663
|
+
/* Coupling with Grid */
|
1664
|
+
.ui.fixed.menu + .ui.grid {
|
1665
|
+
padding-top: 2.75rem;
|
1666
|
+
}
|
1667
|
+
|
1663
1668
|
/*-------------------
|
1664
1669
|
Pointing
|
1665
1670
|
--------------------*/
|
@@ -458,8 +458,6 @@ i.icon.star {
|
|
458
458
|
}
|
459
459
|
|
460
460
|
/* left side icons */
|
461
|
-
i.icon.left,
|
462
|
-
i.icon.left,
|
463
461
|
i.icon.left {
|
464
462
|
width: auto;
|
465
463
|
margin: 0em 0.5em 0em 0em;
|
@@ -467,8 +465,6 @@ i.icon.left {
|
|
467
465
|
|
468
466
|
/* right side icons */
|
469
467
|
i.icon.search,
|
470
|
-
i.icon.up,
|
471
|
-
i.icon.down,
|
472
468
|
i.icon.right {
|
473
469
|
width: auto;
|
474
470
|
margin: 0em 0em 0em 0.5em;
|
@@ -83,10 +83,10 @@
|
|
83
83
|
---------------------*/
|
84
84
|
|
85
85
|
/* browsers require these rules separate */
|
86
|
-
.ui.input::-
|
86
|
+
.ui.input::-webkit-input-placeholder {
|
87
87
|
color: #BBBBBB;
|
88
88
|
}
|
89
|
-
.ui.input::-moz
|
89
|
+
.ui.input::-moz-placeholder {
|
90
90
|
color: #BBBBBB;
|
91
91
|
}
|
92
92
|
|
@@ -300,6 +300,14 @@
|
|
300
300
|
vertical-align: top;
|
301
301
|
}
|
302
302
|
|
303
|
+
.ui.fluid.action.input {
|
304
|
+
display: table;
|
305
|
+
width: 100%;
|
306
|
+
}
|
307
|
+
.ui.fluid.action.input > .button {
|
308
|
+
width: 0.01%;
|
309
|
+
}
|
310
|
+
|
303
311
|
/*--------------------
|
304
312
|
Fluid
|
305
313
|
---------------------*/
|
@@ -85,6 +85,16 @@
|
|
85
85
|
animation: none !important;
|
86
86
|
}
|
87
87
|
|
88
|
+
.ui.warning.progress .bar {
|
89
|
+
background-color: #E96633 !important;
|
90
|
+
}
|
91
|
+
.ui.warning.progress .bar,
|
92
|
+
.ui.warning.progress .bar::after {
|
93
|
+
-webkit-animation: none !important;
|
94
|
+
-moz-animation: none !important;
|
95
|
+
animation: none !important;
|
96
|
+
}
|
97
|
+
|
88
98
|
/*--------------
|
89
99
|
Failed
|
90
100
|
---------------*/
|
@@ -65,29 +65,11 @@
|
|
65
65
|
|
66
66
|
background: #FFFFFF;
|
67
67
|
|
68
|
-
-webkit-transition:
|
69
|
-
background-color 0.3s ease,
|
70
|
-
box-shadow 0.3s ease
|
71
|
-
;
|
72
|
-
-moz-transition:
|
73
|
-
background-color 0.3s ease,
|
74
|
-
box-shadow 0.3s ease
|
75
|
-
;
|
76
|
-
-o-transition:
|
77
|
-
background-color 0.3s ease,
|
78
|
-
box-shadow 0.3s ease
|
79
|
-
;
|
80
|
-
-ms-transition:
|
81
|
-
background-color 0.3s ease,
|
82
|
-
box-shadow 0.3s ease
|
83
|
-
;
|
84
68
|
transition:
|
85
69
|
background-color 0.3s ease,
|
86
70
|
box-shadow 0.3s ease
|
87
71
|
;
|
88
72
|
|
89
|
-
-webkit-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.2);
|
90
|
-
-moz-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.2);
|
91
73
|
box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.2);
|
92
74
|
}
|
93
75
|
|
@@ -103,10 +85,6 @@
|
|
103
85
|
border: 0.2em solid #333333;
|
104
86
|
border-top: none;
|
105
87
|
border-right: none;
|
106
|
-
-webkit-transform: rotate(-45deg);
|
107
|
-
-moz-transform: rotate(-45deg);
|
108
|
-
-o-transform: rotate(-45deg);
|
109
|
-
-ms-transform: rotate(-45deg);
|
110
88
|
transform: rotate(-45deg);
|
111
89
|
}
|
112
90
|
.ui.checkbox .box:after,
|
@@ -121,10 +99,6 @@
|
|
121
99
|
.ui.checkbox label {
|
122
100
|
color: rgba(0, 0, 0, 0.6);
|
123
101
|
|
124
|
-
-webkit-transition: color 0.2s ease;
|
125
|
-
-moz-transition: color 0.2s ease;
|
126
|
-
-o-transition: color 0.2s ease;
|
127
|
-
-ms-transition: color 0.2s ease;
|
128
102
|
transition: color 0.2s ease;
|
129
103
|
}
|
130
104
|
.ui.checkbox label:hover {
|
@@ -154,8 +128,6 @@
|
|
154
128
|
/*--- Hover ---*/
|
155
129
|
.ui.checkbox .box:hover::before,
|
156
130
|
.ui.checkbox label:hover::before {
|
157
|
-
-webkit-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
|
158
|
-
-moz-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
|
159
131
|
box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
|
160
132
|
}
|
161
133
|
|
@@ -168,8 +140,6 @@
|
|
168
140
|
/*--- Focus ---*/
|
169
141
|
.ui.checkbox input:focus + .box:before,
|
170
142
|
.ui.checkbox input:focus + label:before {
|
171
|
-
-webkit-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
|
172
|
-
-moz-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
|
173
143
|
box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
|
174
144
|
}
|
175
145
|
|
@@ -204,9 +174,8 @@
|
|
204
174
|
.ui.radio.checkbox label:before {
|
205
175
|
min-width: 1em;
|
206
176
|
height: 1em;
|
207
|
-
-webkit-border-radius: 500px;
|
208
|
-
-moz-border-radius: 500px;
|
209
177
|
border-radius: 500px;
|
178
|
+
transform: none;
|
210
179
|
}
|
211
180
|
.ui.radio.checkbox .box:after,
|
212
181
|
.ui.radio.checkbox label:after {
|
@@ -220,9 +189,6 @@
|
|
220
189
|
background-color: #555555;
|
221
190
|
|
222
191
|
transform: none;
|
223
|
-
|
224
|
-
-webkit-border-radius: 500px;
|
225
|
-
-moz-border-radius: 500px;
|
226
192
|
border-radius: 500px;
|
227
193
|
}
|
228
194
|
|
@@ -265,16 +231,11 @@
|
|
265
231
|
width: 1.5em;
|
266
232
|
height: 1.5em;
|
267
233
|
|
268
|
-
|
269
|
-
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
234
|
+
transform: none;
|
270
235
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
271
236
|
|
272
237
|
border-radius: 50rem;
|
273
238
|
|
274
|
-
-webkit-transition: left 0.3s ease 0s;
|
275
|
-
-moz-transition: left 0.3s ease 0s;
|
276
|
-
-o-transition: left 0.3s ease 0s;
|
277
|
-
-ms-transition: left 0.3s ease 0s;
|
278
239
|
transition: left 0.3s ease 0s;
|
279
240
|
}
|
280
241
|
|
@@ -299,22 +260,6 @@
|
|
299
260
|
|
300
261
|
transform: none;
|
301
262
|
|
302
|
-
-webkit-transition:
|
303
|
-
background 0.3s ease 0s,
|
304
|
-
left 0.3s ease 0s
|
305
|
-
;
|
306
|
-
-moz-transition:
|
307
|
-
background 0.3s ease 0s,
|
308
|
-
left 0.3s ease 0s
|
309
|
-
;
|
310
|
-
-o-transition:
|
311
|
-
background 0.3s ease 0s,
|
312
|
-
left 0.3s ease 0s
|
313
|
-
;
|
314
|
-
-ms-transition:
|
315
|
-
background 0.3s ease 0s,
|
316
|
-
left 0.3s ease 0s
|
317
|
-
;
|
318
263
|
transition:
|
319
264
|
background 0.3s ease 0s,
|
320
265
|
left 0.3s ease 0s
|
@@ -372,10 +317,8 @@
|
|
372
317
|
width: 3em;
|
373
318
|
height: 1.5em;
|
374
319
|
|
375
|
-
|
376
|
-
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
320
|
+
transform: none;
|
377
321
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
378
|
-
|
379
322
|
border-radius: 50rem;
|
380
323
|
}
|
381
324
|
|
@@ -401,23 +344,6 @@
|
|
401
344
|
|
402
345
|
background-color: #D95C5C;
|
403
346
|
border-radius: 50rem;
|
404
|
-
|
405
|
-
-webkit-transition:
|
406
|
-
background 0.3s ease 0s,
|
407
|
-
left 0.3s ease 0s
|
408
|
-
;
|
409
|
-
-moz-transition:
|
410
|
-
background 0.3s ease 0s,
|
411
|
-
left 0.3s ease 0s
|
412
|
-
;
|
413
|
-
-o-transition:
|
414
|
-
background 0.3s ease 0s,
|
415
|
-
left 0.3s ease 0s
|
416
|
-
;
|
417
|
-
-ms-transition:
|
418
|
-
background 0.3s ease 0s,
|
419
|
-
left 0.3s ease 0s
|
420
|
-
;
|
421
347
|
transition:
|
422
348
|
background 0.3s ease 0s,
|
423
349
|
left 0.3s ease 0s
|
@@ -33,42 +33,14 @@
|
|
33
33
|
opacity: 0;
|
34
34
|
line-height: 1;
|
35
35
|
|
36
|
-
-webkit-animation-fill-mode: both;
|
37
|
-
-moz-animation-fill-mode: both;
|
38
|
-
-o-animation-fill-mode: both;
|
39
|
-
-ms-animation-fill-mode: both;
|
40
36
|
animation-fill-mode: both;
|
41
|
-
|
42
|
-
-webkit-animation-duration: 0.5s;
|
43
|
-
-moz-animation-duration: 0.5s;
|
44
|
-
-o-animation-duration: 0.5s;
|
45
|
-
-ms-animation-duration: 0.5s;
|
46
37
|
animation-duration: 0.5s;
|
47
38
|
|
48
|
-
-webkit-transition:
|
49
|
-
background-color 0.5s linear
|
50
|
-
;
|
51
|
-
-moz-transition:
|
52
|
-
background-color 0.5s linear
|
53
|
-
;
|
54
|
-
-o-transition:
|
55
|
-
background-color 0.5s linear
|
56
|
-
;
|
57
|
-
-ms-transition:
|
58
|
-
background-color 0.5s linear
|
59
|
-
;
|
60
39
|
transition:
|
61
40
|
background-color 0.5s linear
|
62
41
|
;
|
63
42
|
|
64
|
-
-webkit-user-select: none;
|
65
|
-
-moz-user-select: none;
|
66
|
-
-ms-user-select: none;
|
67
43
|
user-select: none;
|
68
|
-
|
69
|
-
-webkit-box-sizing: border-box;
|
70
|
-
-moz-box-sizing: border-box;
|
71
|
-
-ms-box-sizing: border-box;
|
72
44
|
box-sizing: border-box;
|
73
45
|
|
74
46
|
z-index: 1000;
|
@@ -79,10 +51,6 @@
|
|
79
51
|
width: 100%;
|
80
52
|
height: 100%;
|
81
53
|
display: table;
|
82
|
-
|
83
|
-
-webkit-user-select: text;
|
84
|
-
-moz-user-select: text;
|
85
|
-
-ms-user-select: text;
|
86
54
|
user-select: text;
|
87
55
|
}
|
88
56
|
.ui.dimmer > .content > div {
|
@@ -94,14 +62,10 @@
|
|
94
62
|
|
95
63
|
/* Loose Coupling */
|
96
64
|
.ui.segment > .ui.dimmer {
|
97
|
-
-webkit-border-radius: 5px;
|
98
|
-
-moz-border-radius: 5px;
|
99
65
|
border-radius: 5px;
|
100
66
|
}
|
101
67
|
.ui.horizontal.segment > .ui.dimmer,
|
102
68
|
.ui.vertical.segment > .ui.dimmer {
|
103
|
-
-webkit-border-radius: 5px;
|
104
|
-
-moz-border-radius: 5px;
|
105
69
|
border-radius: 5px;
|
106
70
|
}
|
107
71
|
|
@@ -147,10 +111,10 @@
|
|
147
111
|
.ui.scrolling.page.dimmer {
|
148
112
|
position: absolute;
|
149
113
|
}
|
150
|
-
|
114
|
+
|
115
|
+
/* Blurred Background
|
151
116
|
body.ui.dimmed.dimmable > :not(.dimmer){
|
152
|
-
|
153
|
-
-moz-filter: ~"blur(15px) grayscale(0.7)";
|
117
|
+
filter: ~"blur(15px) grayscale(0.7)";
|
154
118
|
}
|
155
119
|
*/
|
156
120
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semantic-ui-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nd0ut
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: less-rails
|