semantic-ui-sass 0.15.4.2 → 0.15.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/checkbox.js +7 -5
- data/app/assets/javascripts/semantic-ui/modal.js +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +2 -10
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +2 -10
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +15 -7
- data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +1 -4
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +4 -12
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +2 -6
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +2 -10
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +2 -10
- data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +2 -10
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +2 -10
- data/lib/semantic/ui/sass/version.rb +2 -2
- data/tasks/converter.rb +27 -55
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b8f73befe8103b136dc4f6a7a5a7de44fb1bf98
|
4
|
+
data.tar.gz: cb6ac9c96e0934e853018819a7d530dddc0eb5d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a712dad21e3f14a6ba2be8a0e658a4ed681ad9ee64397184a931bdcabf3d69c775bcc8427a2b4053961526c9f57103b11892fdb53906f9b94cd6b684329cd75f
|
7
|
+
data.tar.gz: 0c769d3453da108fc4a7cdff5eaf613690daea795c8882a0c6eb64da79293c06a0978aeba021f9601230d4886a6cee2935c1781177698947ceba8ab5b72ea796
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -130,11 +130,13 @@ $.fn.checkbox = function(parameters) {
|
|
130
130
|
|
131
131
|
toggle: function(event) {
|
132
132
|
module.verbose('Determining new checkbox state');
|
133
|
-
if(
|
134
|
-
module.
|
135
|
-
|
136
|
-
|
137
|
-
module.disable()
|
133
|
+
if( !$input.prop('disabled') ) {
|
134
|
+
if( module.is.disabled() ) {
|
135
|
+
module.enable();
|
136
|
+
}
|
137
|
+
else if( module.is.enabled() && module.can.disable() ) {
|
138
|
+
module.disable();
|
139
|
+
}
|
138
140
|
}
|
139
141
|
},
|
140
142
|
setting: function(name, value) {
|
@@ -1,13 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//= depend_on_asset "semantic-ui/loader-mini.gif"
|
4
|
-
//= depend_on_asset "semantic-ui/loader-small.gif"
|
5
|
-
//= depend_on_asset "semantic-ui/loader-medium.gif"
|
6
|
-
//= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
7
|
-
//= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
8
|
-
//= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
9
|
-
//= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
10
|
-
/*
|
1
|
+
@import '../depends/loader';
|
2
|
+
/*
|
11
3
|
* # Semantic - Form
|
12
4
|
* http://github.com/jlukic/semantic-ui/
|
13
5
|
*
|
@@ -1,13 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//= depend_on_asset "semantic-ui/loader-mini.gif"
|
4
|
-
//= depend_on_asset "semantic-ui/loader-small.gif"
|
5
|
-
//= depend_on_asset "semantic-ui/loader-medium.gif"
|
6
|
-
//= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
7
|
-
//= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
8
|
-
//= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
9
|
-
//= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
10
|
-
/*
|
1
|
+
@import '../depends/loader';
|
2
|
+
/*
|
11
3
|
* # Semantic - Menu
|
12
4
|
* http://github.com/jlukic/semantic-ui/
|
13
5
|
*
|
@@ -119,11 +119,16 @@
|
|
119
119
|
.ui.message > .close.icon {
|
120
120
|
cursor: pointer;
|
121
121
|
position: absolute;
|
122
|
-
|
123
|
-
|
122
|
+
right: 0em;
|
123
|
+
top: 0em;
|
124
|
+
width: 2.5em;
|
125
|
+
height: 2.5em;
|
124
126
|
opacity: 0.7;
|
127
|
+
padding: 0.75em 0em 0em 0.75em;
|
128
|
+
z-index: 2;
|
125
129
|
-webkit-transition: opacity 0.1s linear;
|
126
130
|
transition: opacity 0.1s linear;
|
131
|
+
z-index: 10;
|
127
132
|
}
|
128
133
|
|
129
134
|
.ui.message > .close.icon:hover {
|
@@ -134,14 +139,17 @@
|
|
134
139
|
States
|
135
140
|
*******************************/
|
136
141
|
|
137
|
-
.ui.message.visible
|
138
|
-
.ui.header.visible {
|
142
|
+
.ui.message.visible {
|
139
143
|
display: block !important;
|
140
144
|
}
|
141
145
|
|
142
|
-
.ui.message.
|
143
|
-
.ui.
|
144
|
-
display:
|
146
|
+
.ui.icon.message.animating,
|
147
|
+
.ui.icon.message.visible {
|
148
|
+
display: table !important;
|
149
|
+
}
|
150
|
+
|
151
|
+
.ui.message.hidden {
|
152
|
+
display: none !important;
|
145
153
|
}
|
146
154
|
|
147
155
|
/*******************************
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
//= depend_on_asset "semantic-ui/basic.icons.svg"
|
3
|
-
//= depend_on_asset "semantic-ui/basic.icons.woff"
|
4
|
-
//= depend_on_asset "semantic-ui/basic.icons.ttf"
|
1
|
+
@import '../depends/basic.icon';
|
5
2
|
/*
|
6
3
|
* # Semantic - basic.Icon (Basic)
|
7
4
|
* http://github.com/jlukic/semantic-ui/
|
@@ -1,13 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//= depend_on_asset "semantic-ui/loader-mini.gif"
|
4
|
-
//= depend_on_asset "semantic-ui/loader-small.gif"
|
5
|
-
//= depend_on_asset "semantic-ui/loader-medium.gif"
|
6
|
-
//= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
7
|
-
//= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
8
|
-
//= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
9
|
-
//= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
10
|
-
/*
|
1
|
+
@import '../depends/loader';
|
2
|
+
/*
|
11
3
|
* # Semantic - Button
|
12
4
|
* http://github.com/jlukic/semantic-ui/
|
13
5
|
*
|
@@ -42,7 +34,7 @@
|
|
42
34
|
font-style: normal;
|
43
35
|
text-align: center;
|
44
36
|
text-decoration: none;
|
45
|
-
background-image: -webkit-gradient(linear,
|
37
|
+
background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
|
46
38
|
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
47
39
|
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
48
40
|
border-radius: 0.25em;
|
@@ -91,7 +83,7 @@
|
|
91
83
|
---------------*/
|
92
84
|
|
93
85
|
.ui.button:hover {
|
94
|
-
background-image: -webkit-gradient(linear,
|
86
|
+
background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
|
95
87
|
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
|
96
88
|
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
|
97
89
|
color: rgba(0, 0, 0, 0.7);
|
@@ -1,9 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//= depend_on_asset "semantic-ui/icons.svg"
|
4
|
-
//= depend_on_asset "semantic-ui/icons.woff"
|
5
|
-
//= depend_on_asset "semantic-ui/icons.ttf"
|
6
|
-
/*
|
1
|
+
@import '../depends/icon';
|
2
|
+
/*
|
7
3
|
* # Semantic - Icon
|
8
4
|
* http://github.com/jlukic/semantic-ui/
|
9
5
|
*
|
@@ -1,13 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//= depend_on_asset "semantic-ui/loader-mini.gif"
|
4
|
-
//= depend_on_asset "semantic-ui/loader-small.gif"
|
5
|
-
//= depend_on_asset "semantic-ui/loader-medium.gif"
|
6
|
-
//= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
7
|
-
//= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
8
|
-
//= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
9
|
-
//= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
10
|
-
/*
|
1
|
+
@import '../depends/loader';
|
2
|
+
/*
|
11
3
|
* # Semantic - Input
|
12
4
|
* http://github.com/jlukic/semantic-ui/
|
13
5
|
*
|
@@ -1,13 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//= depend_on_asset "semantic-ui/loader-mini.gif"
|
4
|
-
//= depend_on_asset "semantic-ui/loader-small.gif"
|
5
|
-
//= depend_on_asset "semantic-ui/loader-medium.gif"
|
6
|
-
//= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
7
|
-
//= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
8
|
-
//= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
9
|
-
//= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
10
|
-
/*
|
1
|
+
@import '../depends/loader';
|
2
|
+
/*
|
11
3
|
* # Semantic - Loader
|
12
4
|
* http://github.com/jlukic/semantic-ui/
|
13
5
|
*
|
@@ -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,
|
407
|
+
background-image: -webkit-gradient(linear, top left, bottom left, 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,
|
416
|
+
background-image: -webkit-gradient(linear, top left, bottom left, 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
|
}
|
@@ -463,7 +463,7 @@
|
|
463
463
|
|
464
464
|
.ui.pointing.dropdown .menu .active.item:first-child {
|
465
465
|
background: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.03));
|
466
|
-
background: transparent-webkit-gradient(linear,
|
466
|
+
background: transparent-webkit-gradient(linear, top left, bottom left, from(transparent), to(rgba(0, 0, 0, 0.03)));
|
467
467
|
background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.03));
|
468
468
|
}
|
469
469
|
|
@@ -1,13 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//= depend_on_asset "semantic-ui/loader-mini.gif"
|
4
|
-
//= depend_on_asset "semantic-ui/loader-small.gif"
|
5
|
-
//= depend_on_asset "semantic-ui/loader-medium.gif"
|
6
|
-
//= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
7
|
-
//= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
8
|
-
//= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
9
|
-
//= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
10
|
-
/*
|
1
|
+
@import '../depends/loader';
|
2
|
+
/*
|
11
3
|
* # Semantic - Search
|
12
4
|
* http://github.com/jlukic/semantic-ui/
|
13
5
|
*
|
@@ -1,13 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//= depend_on_asset "semantic-ui/loader-mini.gif"
|
4
|
-
//= depend_on_asset "semantic-ui/loader-small.gif"
|
5
|
-
//= depend_on_asset "semantic-ui/loader-medium.gif"
|
6
|
-
//= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
7
|
-
//= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
8
|
-
//= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
9
|
-
//= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
10
|
-
/*
|
1
|
+
@import '../depends/loader';
|
2
|
+
/*
|
11
3
|
* # Semantic - Tab
|
12
4
|
* http://github.com/jlukic/semantic-ui/
|
13
5
|
*
|
data/tasks/converter.rb
CHANGED
@@ -17,30 +17,30 @@ class Converter
|
|
17
17
|
TOKEN = ENV['TOKEN']
|
18
18
|
BROWSERS = ['last 2 version', '> 1%', 'opera 12.1', 'safari 6', 'ie 9', 'bb 10', 'android 4']
|
19
19
|
|
20
|
-
DEPENDS = {
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
}
|
20
|
+
# DEPENDS = {
|
21
|
+
# icon: %Q{
|
22
|
+
# //= depend_on_asset "semantic-ui/icons.eot"
|
23
|
+
# //= depend_on_asset "semantic-ui/icons.svg"
|
24
|
+
# //= depend_on_asset "semantic-ui/icons.woff"
|
25
|
+
# //= depend_on_asset "semantic-ui/icons.ttf"
|
26
|
+
# },
|
27
|
+
# basic_icon: %Q{
|
28
|
+
# //= depend_on_asset "semantic-ui/basic.icons.eot"
|
29
|
+
# //= depend_on_asset "semantic-ui/basic.icons.svg"
|
30
|
+
# //= depend_on_asset "semantic-ui/basic.icons.woff"
|
31
|
+
# //= depend_on_asset "semantic-ui/basic.icons.ttf"
|
32
|
+
# },
|
33
|
+
# loader: %Q{
|
34
|
+
# //= depend_on_asset "semantic-ui/loader-large.gif"
|
35
|
+
# //= depend_on_asset "semantic-ui/loader-mini.gif"
|
36
|
+
# //= depend_on_asset "semantic-ui/loader-small.gif"
|
37
|
+
# //= depend_on_asset "semantic-ui/loader-medium.gif"
|
38
|
+
# //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
39
|
+
# //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
40
|
+
# //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
41
|
+
# //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
42
|
+
# }
|
43
|
+
# }
|
44
44
|
|
45
45
|
def initialize(branch)
|
46
46
|
@repo = 'Semantic-Org/Semantic-UI'
|
@@ -67,31 +67,6 @@ class Converter
|
|
67
67
|
store_version
|
68
68
|
end
|
69
69
|
|
70
|
-
# def prepare_depend_asset
|
71
|
-
# icons = %Q{
|
72
|
-
# //= depend_on_asset "semantic-ui/icons.eot"
|
73
|
-
# //= depend_on_asset "semantic-ui/icons.svg"
|
74
|
-
# //= depend_on_asset "semantic-ui/icons.woff"
|
75
|
-
# //= depend_on_asset "semantic-ui/icons.ttf"
|
76
|
-
# }
|
77
|
-
# base_icons = %Q{
|
78
|
-
# //= depend_on_asset "semantic-ui/basic.icons.eot"
|
79
|
-
# //= depend_on_asset "semantic-ui/basic.icons.svg"
|
80
|
-
# //= depend_on_asset "semantic-ui/basic.icons.woff"
|
81
|
-
# //= depend_on_asset "semantic-ui/basic.icons.ttf"
|
82
|
-
# }
|
83
|
-
# loader = %Q{
|
84
|
-
# //= depend_on_asset "semantic-ui/loader-large.gif"
|
85
|
-
# //= depend_on_asset "semantic-ui/loader-mini.gif"
|
86
|
-
# //= depend_on_asset "semantic-ui/loader-small.gif"
|
87
|
-
# //= depend_on_asset "semantic-ui/loader-medium.gif"
|
88
|
-
# //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
89
|
-
# //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
90
|
-
# //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
91
|
-
# //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
92
|
-
# }
|
93
|
-
# end
|
94
|
-
|
95
70
|
def process_stylesheets_assets
|
96
71
|
main_content = ''
|
97
72
|
semantic_ui_less_paths.each do |path, sha|
|
@@ -218,13 +193,11 @@ private
|
|
218
193
|
# Check depent asset
|
219
194
|
|
220
195
|
if name == "icon"
|
221
|
-
|
222
|
-
content = DEPENDS[:icon] + content
|
196
|
+
content = "@import '../depends/icon';\n" + content
|
223
197
|
end
|
224
198
|
|
225
199
|
if name == "basic.icon"
|
226
|
-
|
227
|
-
content = DEPENDS[:base_icon] + content
|
200
|
+
content = "@import '../depends/basic.icon';\n" + content
|
228
201
|
end
|
229
202
|
|
230
203
|
content = check_depend_asset(content)
|
@@ -240,8 +213,7 @@ private
|
|
240
213
|
|
241
214
|
def check_depend_asset(content)
|
242
215
|
if content.scan(/loader-\w+.gif/).length > 0
|
243
|
-
|
244
|
-
DEPENDS[:loader] + content
|
216
|
+
"@import '../depends/loader';\n" + content
|
245
217
|
else
|
246
218
|
content
|
247
219
|
end
|
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.15.
|
4
|
+
version: 0.15.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-04-
|
11
|
+
date: 2014-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -354,3 +354,4 @@ test_files:
|
|
354
354
|
- spec/helpers/semantic_flash_helper_spec.rb
|
355
355
|
- spec/helpers/semantic_icon_helper_spec.rb
|
356
356
|
- spec/spec_helper.rb
|
357
|
+
has_rdoc:
|