semantic-ui-sass 0.12.4.0 → 0.12.5.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/modal.js +6 -4
- data/app/assets/javascripts/semantic-ui/popup.js +3 -1
- data/app/assets/javascripts/semantic-ui/transition.js +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +6 -2
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +2 -0
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +29 -17
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +3 -3
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +6 -0
- 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: 3d5d8080b80f480bb0b183363825ee46eda62e2c
|
4
|
+
data.tar.gz: 1341ce7e3ba089a17abd978ba8b29577b29e2600
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8d4f8dad95cc329a9015e696f2a47ea0d34b0cfca51eae97b9973a0316d2f635faee1e44283fadfe67ab0dc96756f85ab1e7fb1005227f4843e013e6bb7d772
|
7
|
+
data.tar.gz: 4367b33d51ec362eaa6fa382a198bbc13e1f6625c109c7c042da8b0f823192d044a13ef0db443764eeb098076f48c4ef6e437d48bd717cab4b0f523bfdcc7790
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -305,9 +305,11 @@ $.fn.modal = function(parameters) {
|
|
305
305
|
;
|
306
306
|
}
|
307
307
|
$dimmable.dimmer('hide', function() {
|
308
|
-
$module
|
309
|
-
|
310
|
-
|
308
|
+
if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
|
309
|
+
$module
|
310
|
+
.transition('reset')
|
311
|
+
;
|
312
|
+
}
|
311
313
|
module.remove.active();
|
312
314
|
});
|
313
315
|
},
|
@@ -414,7 +416,7 @@ $.fn.modal = function(parameters) {
|
|
414
416
|
|
415
417
|
cacheSizes: function() {
|
416
418
|
module.cache = {
|
417
|
-
height : $module.outerHeight() + settings.offset,
|
419
|
+
height : $module.outerHeight() + settings.offset + parseInt($module.css('marginTop'), 10),
|
418
420
|
contextHeight : (settings.context == 'body')
|
419
421
|
? $(window).height()
|
420
422
|
: $dimmable.height()
|
@@ -167,12 +167,14 @@ $.fn.popup = function(parameters) {
|
|
167
167
|
if(settings.inline) {
|
168
168
|
module.verbose('Inserting popup element inline', $popup);
|
169
169
|
$popup
|
170
|
+
.data(moduleNamespace, instance)
|
170
171
|
.insertAfter($module)
|
171
172
|
;
|
172
173
|
}
|
173
174
|
else {
|
174
175
|
module.verbose('Appending popup element to body', $popup);
|
175
176
|
$popup
|
177
|
+
.data(moduleNamespace, instance)
|
176
178
|
.appendTo( $context )
|
177
179
|
;
|
178
180
|
}
|
@@ -274,8 +276,8 @@ $.fn.popup = function(parameters) {
|
|
274
276
|
conditions: function() {
|
275
277
|
if(module.cache && module.cache.title) {
|
276
278
|
$module.attr('title', module.cache.title);
|
279
|
+
module.verbose('Restoring original attributes', module.cache.title);
|
277
280
|
}
|
278
|
-
module.verbose('Restoring original attributes', module.cache.title);
|
279
281
|
return true;
|
280
282
|
}
|
281
283
|
},
|
@@ -33,7 +33,7 @@
|
|
33
33
|
font-style: normal;
|
34
34
|
text-align: center;
|
35
35
|
text-decoration: none;
|
36
|
-
background-image: -webkit-gradient(linear, top left
|
36
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
|
37
37
|
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
38
38
|
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
39
39
|
border-radius: 0.25em;
|
@@ -82,7 +82,7 @@
|
|
82
82
|
---------------*/
|
83
83
|
|
84
84
|
.ui.button:hover {
|
85
|
-
background-image: -webkit-gradient(linear, top left
|
85
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
|
86
86
|
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
|
87
87
|
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
|
88
88
|
color: rgba(0, 0, 0, 0.7);
|
@@ -917,6 +917,10 @@
|
|
917
917
|
box-sizing: border-box;
|
918
918
|
}
|
919
919
|
|
920
|
+
.ui.buttons .or[data-text]:before {
|
921
|
+
content: attr(data-text);
|
922
|
+
}
|
923
|
+
|
920
924
|
.ui.buttons .or:after {
|
921
925
|
position: absolute;
|
922
926
|
top: 0em;
|
@@ -404,7 +404,7 @@
|
|
404
404
|
background-color: #555555;
|
405
405
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
|
406
406
|
background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
|
407
|
-
background-image: -webkit-gradient(linear, top left
|
407
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
|
408
408
|
background-image: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
|
409
409
|
color: #FAFAFA;
|
410
410
|
}
|
@@ -413,7 +413,7 @@
|
|
413
413
|
background-color: #555555;
|
414
414
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.6)));
|
415
415
|
background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
|
416
|
-
background-image: -webkit-gradient(linear, top left
|
416
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.6)));
|
417
417
|
background-image: linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
|
418
418
|
color: #EEEEEE;
|
419
419
|
}
|
@@ -24,7 +24,8 @@
|
|
24
24
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
|
25
25
|
}
|
26
26
|
|
27
|
-
.ui.accordion .title
|
27
|
+
.ui.accordion > .title,
|
28
|
+
.ui.accordion .accordion > .title {
|
28
29
|
cursor: pointer;
|
29
30
|
margin: 0em;
|
30
31
|
padding: 0.75em 1em;
|
@@ -34,13 +35,15 @@
|
|
34
35
|
transition: background-color 0.2s ease-out;
|
35
36
|
}
|
36
37
|
|
37
|
-
.ui.accordion .title:first-child
|
38
|
+
.ui.accordion > .title:first-child,
|
39
|
+
.ui.accordion .accordion > .title:first-child {
|
38
40
|
border-top: none;
|
39
41
|
}
|
40
42
|
|
41
43
|
/* Content */
|
42
44
|
|
43
|
-
.ui.accordion .content
|
45
|
+
.ui.accordion > .content,
|
46
|
+
.ui.accordion .accordion > .content {
|
44
47
|
display: none;
|
45
48
|
margin: 0em;
|
46
49
|
padding: 1.3em 1em;
|
@@ -48,7 +51,8 @@
|
|
48
51
|
|
49
52
|
/* Arrow */
|
50
53
|
|
51
|
-
.ui.accordion .title .dropdown.icon
|
54
|
+
.ui.accordion > .title .dropdown.icon,
|
55
|
+
.ui.accordion .accordion > .title .dropdown.icon {
|
52
56
|
display: inline-block;
|
53
57
|
float: none;
|
54
58
|
margin: 0em 0.5em 0em 0em;
|
@@ -61,8 +65,9 @@
|
|
61
65
|
transform: rotate(0deg);
|
62
66
|
}
|
63
67
|
|
64
|
-
.ui.accordion .title .dropdown.icon:before
|
65
|
-
|
68
|
+
.ui.accordion > .title .dropdown.icon:before,
|
69
|
+
.ui.accordion .accordion > .title .dropdown.icon:before {
|
70
|
+
content: '\f0da'/*rtl:'\f0d9'*/;
|
66
71
|
}
|
67
72
|
|
68
73
|
/*--------------
|
@@ -75,8 +80,8 @@
|
|
75
80
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
|
76
81
|
}
|
77
82
|
|
78
|
-
.ui.basic.accordion.menu .title,
|
79
|
-
.ui.basic.accordion.menu .content {
|
83
|
+
.ui.basic.accordion.menu > .title,
|
84
|
+
.ui.basic.accordion.menu > .content {
|
80
85
|
padding: 0em;
|
81
86
|
}
|
82
87
|
|
@@ -94,19 +99,21 @@
|
|
94
99
|
box-shadow: none;
|
95
100
|
}
|
96
101
|
|
97
|
-
.ui.basic.accordion .title,
|
98
|
-
.ui.basic.accordion .title {
|
102
|
+
.ui.basic.accordion > .title,
|
103
|
+
.ui.basic.accordion .accordion > .title {
|
99
104
|
background-color: transparent;
|
100
105
|
border-top: none;
|
101
106
|
padding-left: 0em;
|
102
107
|
padding-right: 0em;
|
103
108
|
}
|
104
109
|
|
105
|
-
.ui.basic.accordion .content
|
110
|
+
.ui.basic.accordion > .content,
|
111
|
+
.ui.basic.accordion .accordion > .content {
|
106
112
|
padding: 0.5em 0em;
|
107
113
|
}
|
108
114
|
|
109
|
-
.ui.basic.accordion .active.title
|
115
|
+
.ui.basic.accordion > .active.title,
|
116
|
+
.ui.basic.accordion .accordion > .active.title {
|
110
117
|
background-color: transparent;
|
111
118
|
}
|
112
119
|
|
@@ -118,8 +125,10 @@
|
|
118
125
|
Hover
|
119
126
|
---------------*/
|
120
127
|
|
121
|
-
.ui.accordion .title:hover,
|
122
|
-
.ui.accordion .active.title
|
128
|
+
.ui.accordion > .title:hover,
|
129
|
+
.ui.accordion > .active.title,
|
130
|
+
.ui.accordion .accordion > .title:hover,
|
131
|
+
.ui.accordion .accordion > .active.title {
|
123
132
|
color: rgba(0, 0, 0, 0.8);
|
124
133
|
}
|
125
134
|
|
@@ -127,18 +136,21 @@
|
|
127
136
|
Active
|
128
137
|
---------------*/
|
129
138
|
|
130
|
-
.ui.accordion .active.title
|
139
|
+
.ui.accordion > .active.title,
|
140
|
+
.ui.accordion .accordion > .active.title {
|
131
141
|
background-color: rgba(0, 0, 0, 0.1);
|
132
142
|
color: rgba(0, 0, 0, 0.8);
|
133
143
|
}
|
134
144
|
|
135
|
-
.ui.accordion .active.title .dropdown.icon
|
145
|
+
.ui.accordion > .active.title .dropdown.icon,
|
146
|
+
.ui.accordion .accordion > .active.title .dropdown.icon {
|
136
147
|
-webkit-transform: rotate(90deg);
|
137
148
|
-ms-transform: rotate(90deg);
|
138
149
|
transform: rotate(90deg);
|
139
150
|
}
|
140
151
|
|
141
|
-
.ui.accordion .active.content
|
152
|
+
.ui.accordion > .active.content,
|
153
|
+
.ui.accordion .accordion > .active.content {
|
142
154
|
display: block;
|
143
155
|
}
|
144
156
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
}
|
75
75
|
|
76
76
|
.ui.dropdown .menu .item .dropdown.icon:before {
|
77
|
-
content: "\f0da"
|
77
|
+
content: "\f0da"/*rtl:"\f0d9"*/;
|
78
78
|
}
|
79
79
|
|
80
80
|
/*--------------
|
@@ -149,7 +149,7 @@
|
|
149
149
|
}
|
150
150
|
|
151
151
|
.ui.vertical.menu .dropdown.item > .dropdown.icon:before {
|
152
|
-
content: "\f0da"
|
152
|
+
content: "\f0da"/*rtl:"\f0d9"*/;
|
153
153
|
}
|
154
154
|
|
155
155
|
.ui.dropdown.icon.button > .dropdown.icon {
|
@@ -428,7 +428,7 @@
|
|
428
428
|
|
429
429
|
.ui.pointing.dropdown .menu .active.item:first-child {
|
430
430
|
background: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.03));
|
431
|
-
background: transparent-webkit-gradient(linear, top left
|
431
|
+
background: transparent-webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.03)));
|
432
432
|
background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.03));
|
433
433
|
}
|
434
434
|
|
@@ -93,6 +93,8 @@
|
|
93
93
|
vertical-align: top;
|
94
94
|
}
|
95
95
|
|
96
|
+
/*rtl:ignore*/
|
97
|
+
|
96
98
|
.ui.modal > .content > .left:not(.ui) > i.icon {
|
97
99
|
font-size: 8em;
|
98
100
|
margin: 0em;
|
@@ -122,11 +124,15 @@
|
|
122
124
|
/* Mobile Only */
|
123
125
|
|
124
126
|
@media only screen and (max-width : 768px) {
|
127
|
+
/*rtl:ignore*/
|
128
|
+
|
125
129
|
.ui.modal .content > .left:not(.ui) {
|
126
130
|
display: block;
|
127
131
|
padding: 0em 0em 1em;
|
128
132
|
}
|
129
133
|
|
134
|
+
/*rtl:ignore*/
|
135
|
+
|
130
136
|
.ui.modal .content > .right:not(.ui) {
|
131
137
|
display: block;
|
132
138
|
padding: 1em 0em 0em;
|
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.12.
|
4
|
+
version: 0.12.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- doabit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|