semantic-ui-sass 0.9.6.0 → 0.10.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/app/assets/javascripts/semantic-ui/behavior/form.js +9 -7
- data/app/assets/javascripts/semantic-ui/dropdown.js +10 -2
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +176 -10
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +1 -1
- data/lib/semantic/ui/sass/version.rb +2 -2
- 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: e8d5c3eff9565c4d5ea64acc9ae1bfb397387616
|
4
|
+
data.tar.gz: c0f3e1ba3cced91526b499fffad898a94c4657e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a9f510079e4a1e9dae7bfdb5e78b12e994fa49649cff81ffcc4c8bc1d25fd7986b507aec53955f891cb5e2bd4368bf7f63483d9958b1344f4ad9e435ef6cd00
|
7
|
+
data.tar.gz: 2c69dd044b600c5bc9834f44daeda9bc75e7fcfa8db4a14da0fc234fe054c915be50828e4d9f059f7a855aaff9a6b2d615f83b9c19226f845031594da7ff0e0a
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -158,12 +158,12 @@ $.fn.form = function(fields, parameters) {
|
|
158
158
|
$field = $(this),
|
159
159
|
$fieldGroup = $field.closest($group)
|
160
160
|
;
|
161
|
-
if( $fieldGroup.hasClass(className.error) ) {
|
162
|
-
|
163
|
-
module.
|
164
|
-
|
165
|
-
|
166
|
-
|
161
|
+
if(settings.on == 'change' || ( $fieldGroup.hasClass(className.error) && settings.revalidate) ) {
|
162
|
+
clearTimeout(module.timer);
|
163
|
+
module.timer = setTimeout(function() {
|
164
|
+
module.debug('Revalidating field', $field, module.get.validation($field));
|
165
|
+
module.validate.field( module.get.validation($field) );
|
166
|
+
}, settings.delay);
|
167
167
|
}
|
168
168
|
}
|
169
169
|
}
|
@@ -574,6 +574,9 @@ $.fn.form.settings = {
|
|
574
574
|
on : 'submit',
|
575
575
|
inline : false,
|
576
576
|
|
577
|
+
delay : 200,
|
578
|
+
revalidate : true,
|
579
|
+
|
577
580
|
transition : 'scale',
|
578
581
|
duration : 150,
|
579
582
|
|
@@ -609,7 +612,6 @@ $.fn.form.settings = {
|
|
609
612
|
},
|
610
613
|
|
611
614
|
|
612
|
-
|
613
615
|
templates: {
|
614
616
|
error: function(errors) {
|
615
617
|
var
|
@@ -318,7 +318,10 @@ $.fn.dropdown = function(parameters) {
|
|
318
318
|
return $text.text();
|
319
319
|
},
|
320
320
|
value: function() {
|
321
|
-
return $input.
|
321
|
+
return ($input.size() > 0)
|
322
|
+
? $input.val()
|
323
|
+
: $module.data(metadata.value)
|
324
|
+
;
|
322
325
|
},
|
323
326
|
item: function(value) {
|
324
327
|
var
|
@@ -364,7 +367,12 @@ $.fn.dropdown = function(parameters) {
|
|
364
367
|
},
|
365
368
|
value: function(value) {
|
366
369
|
module.debug('Adding selected value to hidden input', value, $input);
|
367
|
-
$input.
|
370
|
+
if($input.size() > 0) {
|
371
|
+
$input.val(value);
|
372
|
+
}
|
373
|
+
else {
|
374
|
+
$module.data(metadata.value, value);
|
375
|
+
}
|
368
376
|
},
|
369
377
|
active: function() {
|
370
378
|
$module.addClass(className.active);
|
@@ -43,11 +43,14 @@ body > .ui.grid {
|
|
43
43
|
Columns
|
44
44
|
--------------------*/
|
45
45
|
|
46
|
+
/* Standard 16 column */
|
47
|
+
|
46
48
|
.ui.grid > .column,
|
47
49
|
.ui.grid > .row > .column {
|
48
50
|
display: inline-block;
|
49
51
|
text-align: left;
|
50
52
|
font-size: 1rem;
|
53
|
+
width: 6.25%;
|
51
54
|
padding-left: 1.5%;
|
52
55
|
padding-right: 1.5%;
|
53
56
|
-webkit-box-sizing: border-box;
|
@@ -57,6 +60,13 @@ body > .ui.grid {
|
|
57
60
|
vertical-align: top;
|
58
61
|
}
|
59
62
|
|
63
|
+
/* Vertical padding when no rows */
|
64
|
+
|
65
|
+
.ui.grid > .column {
|
66
|
+
margin-top: 1rem;
|
67
|
+
margin-bottom: 1rem;
|
68
|
+
}
|
69
|
+
|
60
70
|
/*-------------------
|
61
71
|
Rows
|
62
72
|
--------------------*/
|
@@ -65,7 +75,7 @@ body > .ui.grid {
|
|
65
75
|
display: block;
|
66
76
|
width: 100% !important;
|
67
77
|
margin-top: 1.5%;
|
68
|
-
padding:
|
78
|
+
padding: 1rem 0% 0%;
|
69
79
|
font-size: 0rem;
|
70
80
|
}
|
71
81
|
|
@@ -221,13 +231,6 @@ body > .ui.grid {
|
|
221
231
|
Column Count
|
222
232
|
--------------------*/
|
223
233
|
|
224
|
-
/* Standard */
|
225
|
-
|
226
|
-
.ui.grid > .column,
|
227
|
-
.ui.grid > .row > .column {
|
228
|
-
width: 6.25%;
|
229
|
-
}
|
230
|
-
|
231
234
|
/* Assume full width with one column */
|
232
235
|
|
233
236
|
.ui.one.column.grid > .row > .column,
|
@@ -664,6 +667,162 @@ body > .ui.grid {
|
|
664
667
|
}
|
665
668
|
}
|
666
669
|
|
670
|
+
/*-------------------
|
671
|
+
Doubling
|
672
|
+
--------------------*/
|
673
|
+
|
674
|
+
/* Mobily Only */
|
675
|
+
|
676
|
+
@media only screen and (max-width : 768px) {
|
677
|
+
.ui.two.column.doubling.grid > .row > .column,
|
678
|
+
.ui.two.column.doubling.grid > .column,
|
679
|
+
.ui.grid > .two.column.doubling.row > .column {
|
680
|
+
width: 100%;
|
681
|
+
}
|
682
|
+
|
683
|
+
.ui.three.column.doubling.grid > .row > .column,
|
684
|
+
.ui.three.column.doubling.grid > .column,
|
685
|
+
.ui.grid > .three.column.doubling.row > .column {
|
686
|
+
width: 100%;
|
687
|
+
}
|
688
|
+
|
689
|
+
.ui.four.column.doubling.grid > .row > .column,
|
690
|
+
.ui.four.column.doubling.grid > .column,
|
691
|
+
.ui.grid > .four.column.doubling.row > .column {
|
692
|
+
width: 100%;
|
693
|
+
}
|
694
|
+
|
695
|
+
.ui.five.column.doubling.grid > .row > .column,
|
696
|
+
.ui.five.column.doubling.grid > .column,
|
697
|
+
.ui.grid > .five.column.doubling.row > .column {
|
698
|
+
width: 100%;
|
699
|
+
}
|
700
|
+
|
701
|
+
.ui.six.column.doubling.grid > .row > .column,
|
702
|
+
.ui.six.column.doubling.grid > .column,
|
703
|
+
.ui.grid > .six.column.doubling.row > .column {
|
704
|
+
width: 50%;
|
705
|
+
}
|
706
|
+
|
707
|
+
.ui.seven.column.doubling.grid > .row > .column,
|
708
|
+
.ui.seven.column.doubling.grid > .column,
|
709
|
+
.ui.grid > .seven.column.doubling.row > .column {
|
710
|
+
width: 50%;
|
711
|
+
}
|
712
|
+
|
713
|
+
.ui.eight.column.doubling.grid > .row > .column,
|
714
|
+
.ui.eight.column.doubling.grid > .column,
|
715
|
+
.ui.grid > .eight.column.doubling.row > .column {
|
716
|
+
width: 50%;
|
717
|
+
}
|
718
|
+
|
719
|
+
.ui.nine.column.doubling.grid > .row > .column,
|
720
|
+
.ui.nine.column.doubling.grid > .column,
|
721
|
+
.ui.grid > .nine.column.doubling.row > .column {
|
722
|
+
width: 50%;
|
723
|
+
}
|
724
|
+
|
725
|
+
.ui.ten.column.doubling.grid > .row > .column,
|
726
|
+
.ui.ten.column.doubling.grid > .column,
|
727
|
+
.ui.grid > .ten.column.doubling.row > .column {
|
728
|
+
width: 50%;
|
729
|
+
}
|
730
|
+
|
731
|
+
.ui.twelve.column.doubling.grid > .row > .column,
|
732
|
+
.ui.twelve.column.doubling.grid > .column,
|
733
|
+
.ui.grid > .twelve.column.doubling.row > .column {
|
734
|
+
width: 33.3333333333333%;
|
735
|
+
}
|
736
|
+
|
737
|
+
.ui.fourteen.column.doubling.grid > .row > .column,
|
738
|
+
.ui.fourteen.column.doubling.grid > .column,
|
739
|
+
.ui.grid > .fourteen.column.doubling.row > .column {
|
740
|
+
width: 33.3333333333333%;
|
741
|
+
}
|
742
|
+
|
743
|
+
.ui.sixteen.column.doubling.grid > .row > .column,
|
744
|
+
.ui.sixteen.column.doubling.grid > .column,
|
745
|
+
.ui.grid > .sixteen.column.doubling.row > .column {
|
746
|
+
width: 25%;
|
747
|
+
}
|
748
|
+
}
|
749
|
+
|
750
|
+
/* Tablet Only */
|
751
|
+
|
752
|
+
@media only screen and (min-width : 768px) and (max-width : 998px) {
|
753
|
+
.ui.two.column.doubling.grid > .row > .column,
|
754
|
+
.ui.two.column.doubling.grid > .column,
|
755
|
+
.ui.grid > .two.column.doubling.row > .column {
|
756
|
+
width: 100%;
|
757
|
+
}
|
758
|
+
|
759
|
+
.ui.three.column.doubling.grid > .row > .column,
|
760
|
+
.ui.three.column.doubling.grid > .column,
|
761
|
+
.ui.grid > .three.column.doubling.row > .column {
|
762
|
+
width: 50%;
|
763
|
+
}
|
764
|
+
|
765
|
+
.ui.four.column.doubling.grid > .row > .column,
|
766
|
+
.ui.four.column.doubling.grid > .column,
|
767
|
+
.ui.grid > .four.column.doubling.row > .column {
|
768
|
+
width: 50%;
|
769
|
+
}
|
770
|
+
|
771
|
+
.ui.five.column.doubling.grid > .row > .column,
|
772
|
+
.ui.five.column.doubling.grid > .column,
|
773
|
+
.ui.grid > .five.column.doubling.row > .column {
|
774
|
+
width: 33.3333333%;
|
775
|
+
}
|
776
|
+
|
777
|
+
.ui.six.column.doubling.grid > .row > .column,
|
778
|
+
.ui.six.column.doubling.grid > .column,
|
779
|
+
.ui.grid > .six.column.doubling.row > .column {
|
780
|
+
width: 33.3333333%;
|
781
|
+
}
|
782
|
+
|
783
|
+
.ui.eight.column.doubling.grid > .row > .column,
|
784
|
+
.ui.eight.column.doubling.grid > .column,
|
785
|
+
.ui.grid > .eight.column.doubling.row > .column {
|
786
|
+
width: 33.3333333%;
|
787
|
+
}
|
788
|
+
|
789
|
+
.ui.eight.column.doubling.grid > .row > .column,
|
790
|
+
.ui.eight.column.doubling.grid > .column,
|
791
|
+
.ui.grid > .eight.column.doubling.row > .column {
|
792
|
+
width: 25%;
|
793
|
+
}
|
794
|
+
|
795
|
+
.ui.nine.column.doubling.grid > .row > .column,
|
796
|
+
.ui.nine.column.doubling.grid > .column,
|
797
|
+
.ui.grid > .nine.column.doubling.row > .column {
|
798
|
+
width: 25%;
|
799
|
+
}
|
800
|
+
|
801
|
+
.ui.ten.column.doubling.grid > .row > .column,
|
802
|
+
.ui.ten.column.doubling.grid > .column,
|
803
|
+
.ui.grid > .ten.column.doubling.row > .column {
|
804
|
+
width: 20%;
|
805
|
+
}
|
806
|
+
|
807
|
+
.ui.twelve.column.doubling.grid > .row > .column,
|
808
|
+
.ui.twelve.column.doubling.grid > .column,
|
809
|
+
.ui.grid > .twelve.column.doubling.row > .column {
|
810
|
+
width: 16.6666666%;
|
811
|
+
}
|
812
|
+
|
813
|
+
.ui.fourteen.column.doubling.grid > .row > .column,
|
814
|
+
.ui.fourteen.column.doubling.grid > .column,
|
815
|
+
.ui.grid > .fourteen.column.doubling.row > .column {
|
816
|
+
width: 14.28571428571429%;
|
817
|
+
}
|
818
|
+
|
819
|
+
.ui.sixteen.column.doubling.grid > .row > .column,
|
820
|
+
.ui.sixteen.column.doubling.grid > .column,
|
821
|
+
.ui.grid > .sixteen.column.doubling.row > .column {
|
822
|
+
width: 12.5%;
|
823
|
+
}
|
824
|
+
}
|
825
|
+
|
667
826
|
/*-------------------
|
668
827
|
Stackable
|
669
828
|
--------------------*/
|
@@ -672,14 +831,15 @@ body > .ui.grid {
|
|
672
831
|
.ui.stackable.grid {
|
673
832
|
display: block !important;
|
674
833
|
padding: 0em;
|
834
|
+
margin: 0em;
|
675
835
|
}
|
676
836
|
|
677
837
|
.ui.stackable.grid > .row > .column,
|
678
838
|
.ui.stackable.grid > .column {
|
679
839
|
display: block !important;
|
680
840
|
width: auto !important;
|
681
|
-
margin:
|
682
|
-
padding:
|
841
|
+
margin: 1em 0em 0em !important;
|
842
|
+
padding: 1em 0em 0em !important;
|
683
843
|
-webkit-box-shadow: none !important;
|
684
844
|
box-shadow: none !important;
|
685
845
|
}
|
@@ -702,6 +862,12 @@ body > .ui.grid {
|
|
702
862
|
border-top: none !important;
|
703
863
|
}
|
704
864
|
|
865
|
+
.ui.stackable.page.grid > .row > .column,
|
866
|
+
.ui.stackable.page.grid > .column {
|
867
|
+
padding-left: 1em !important;
|
868
|
+
padding-right: 1em !important;
|
869
|
+
}
|
870
|
+
|
705
871
|
/* Remove pointers from vertical menus */
|
706
872
|
|
707
873
|
.ui.stackable.grid .vertical.pointing.menu .item:after {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semantic-ui-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- doabit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|