semantic-ui-sass 0.15.4.0 → 0.15.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +10 -1
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +10 -1
- data/app/assets/stylesheets/semantic-ui/depends/_basic.icon.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/depends/_icon.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/depends/_loader.scss +8 -0
- data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +12 -3
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +6 -1
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +10 -1
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +10 -1
- 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 +10 -1
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +10 -1
- data/lib/semantic/ui/sass/version.rb +1 -1
- data/tasks/converter.rb +74 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72bfddb17f0eace847a5d30710863c1bf464ab78
|
4
|
+
data.tar.gz: e3555bafae0ede1caa4d0216f54aaa8f4553a3cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f338e0300e9376ec0f81fb91e0fb59667aee962467be4db5220eb63d1b7bacf653fe811f3bc03704bc3a6b96fb38f7c69712006a9b8b69c6bb4b9b7ef735dd9b
|
7
|
+
data.tar.gz: 44f7c62745b96db708230fb39118206809cc3c290347790d7d8ec064057d961dac242b4ff8d6746ff90534ad478a0d620a45955bc2ef1e8770db6399a30f7a4a
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
//= depend_on_asset "semantic-ui/loader-large.gif"
|
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
|
+
/*
|
2
11
|
* # Semantic - Form
|
3
12
|
* http://github.com/jlukic/semantic-ui/
|
4
13
|
*
|
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
//= depend_on_asset "semantic-ui/loader-large.gif"
|
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
|
+
/*
|
2
11
|
* # Semantic - Menu
|
3
12
|
* http://github.com/jlukic/semantic-ui/
|
4
13
|
*
|
@@ -0,0 +1,8 @@
|
|
1
|
+
//= depend_on_asset "semantic-ui/loader-large.gif"
|
2
|
+
//= depend_on_asset "semantic-ui/loader-mini.gif"
|
3
|
+
//= depend_on_asset "semantic-ui/loader-small.gif"
|
4
|
+
//= depend_on_asset "semantic-ui/loader-medium.gif"
|
5
|
+
//= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
|
6
|
+
//= depend_on_asset "semantic-ui/loader-small-inverted.gif"
|
7
|
+
//= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
|
8
|
+
//= depend_on_asset "semantic-ui/loader-large-inverted.gif"
|
@@ -1,3 +1,7 @@
|
|
1
|
+
//= depend_on_asset "semantic-ui/basic.icons.eot"
|
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
5
|
/*
|
2
6
|
* # Semantic - basic.Icon (Basic)
|
3
7
|
* http://github.com/jlukic/semantic-ui/
|
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
//= depend_on_asset "semantic-ui/loader-large.gif"
|
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
|
+
/*
|
2
11
|
* # Semantic - Button
|
3
12
|
* http://github.com/jlukic/semantic-ui/
|
4
13
|
*
|
@@ -33,7 +42,7 @@
|
|
33
42
|
font-style: normal;
|
34
43
|
text-align: center;
|
35
44
|
text-decoration: none;
|
36
|
-
background-image: -webkit-gradient(linear, top left
|
45
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
|
37
46
|
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
38
47
|
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
39
48
|
border-radius: 0.25em;
|
@@ -82,7 +91,7 @@
|
|
82
91
|
---------------*/
|
83
92
|
|
84
93
|
.ui.button:hover {
|
85
|
-
background-image: -webkit-gradient(linear, top left
|
94
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
|
86
95
|
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
|
87
96
|
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
|
88
97
|
color: rgba(0, 0, 0, 0.7);
|
@@ -1,4 +1,9 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
//= depend_on_asset "semantic-ui/icons.eot"
|
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
|
+
/*
|
2
7
|
* # Semantic - Icon
|
3
8
|
* http://github.com/jlukic/semantic-ui/
|
4
9
|
*
|
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
//= depend_on_asset "semantic-ui/loader-large.gif"
|
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
|
+
/*
|
2
11
|
* # Semantic - Input
|
3
12
|
* http://github.com/jlukic/semantic-ui/
|
4
13
|
*
|
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
//= depend_on_asset "semantic-ui/loader-large.gif"
|
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
|
+
/*
|
2
11
|
* # Semantic - Loader
|
3
12
|
* http://github.com/jlukic/semantic-ui/
|
4
13
|
*
|
@@ -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
|
}
|
@@ -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, top left
|
466
|
+
background: transparent-webkit-gradient(linear, left top, left bottom, 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,4 +1,13 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
//= depend_on_asset "semantic-ui/loader-large.gif"
|
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
|
+
/*
|
2
11
|
* # Semantic - Search
|
3
12
|
* http://github.com/jlukic/semantic-ui/
|
4
13
|
*
|
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
//= depend_on_asset "semantic-ui/loader-large.gif"
|
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
|
+
/*
|
2
11
|
* # Semantic - Tab
|
3
12
|
* http://github.com/jlukic/semantic-ui/
|
4
13
|
*
|
data/tasks/converter.rb
CHANGED
@@ -17,6 +17,31 @@ 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
|
+
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
|
+
|
20
45
|
def initialize(branch)
|
21
46
|
@repo = 'Semantic-Org/Semantic-UI'
|
22
47
|
@repo_url = "https://github.com/#@repo"
|
@@ -35,12 +60,38 @@ class Converter
|
|
35
60
|
end
|
36
61
|
|
37
62
|
def process
|
63
|
+
# prepare_depend_asset
|
38
64
|
process_stylesheets_assets
|
39
65
|
process_javascript_assets
|
40
66
|
process_images_and_fonts_assets
|
41
67
|
store_version
|
42
68
|
end
|
43
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
|
+
|
44
95
|
def process_stylesheets_assets
|
45
96
|
main_content = ''
|
46
97
|
semantic_ui_less_paths.each do |path, sha|
|
@@ -164,6 +215,20 @@ private
|
|
164
215
|
when 'stylesheets'
|
165
216
|
name = name.gsub(/\.less/, '')
|
166
217
|
file = "#{@save_at[:scss]}/#{path}/_#{name}.scss"
|
218
|
+
# Check depent asset
|
219
|
+
|
220
|
+
if name == "icon"
|
221
|
+
# content = "@import '../depends/icon';\n" + content
|
222
|
+
content = DEPENDS[:icon] + content
|
223
|
+
end
|
224
|
+
|
225
|
+
if name == "basic.icon"
|
226
|
+
# content = "@import '../depends/base.icon';\n" + content
|
227
|
+
content = DEPENDS[:base_icon] + content
|
228
|
+
end
|
229
|
+
|
230
|
+
content = check_depend_asset(content)
|
231
|
+
|
167
232
|
when 'js', 'images', 'fonts'
|
168
233
|
file = (path.nil? ? "#{@save_at[type.to_sym]}/#{name}" : "#{@save_at[type.to_sym]}/#{path}/#{name}")
|
169
234
|
end
|
@@ -173,6 +238,15 @@ private
|
|
173
238
|
puts "Saved #{name} at #{path}\n"
|
174
239
|
end
|
175
240
|
|
241
|
+
def check_depend_asset(content)
|
242
|
+
if content.scan(/loader-\w+.gif/).length > 0
|
243
|
+
# "@import '../depends/loader';\n" + content
|
244
|
+
DEPENDS[:loader] + content
|
245
|
+
else
|
246
|
+
content
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
176
250
|
def get_json(url)
|
177
251
|
url += "?access_token=#{TOKEN}" unless TOKEN.nil?
|
178
252
|
data = open_git_file(url)
|
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.
|
4
|
+
version: 0.15.4.2
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -195,6 +195,9 @@ files:
|
|
195
195
|
- app/assets/stylesheets/semantic-ui/collections/_menu.scss
|
196
196
|
- app/assets/stylesheets/semantic-ui/collections/_message.scss
|
197
197
|
- app/assets/stylesheets/semantic-ui/collections/_table.scss
|
198
|
+
- app/assets/stylesheets/semantic-ui/depends/_basic.icon.scss
|
199
|
+
- app/assets/stylesheets/semantic-ui/depends/_icon.scss
|
200
|
+
- app/assets/stylesheets/semantic-ui/depends/_loader.scss
|
198
201
|
- app/assets/stylesheets/semantic-ui/elements/_all.scss
|
199
202
|
- app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss
|
200
203
|
- app/assets/stylesheets/semantic-ui/elements/_button.scss
|
@@ -351,4 +354,3 @@ test_files:
|
|
351
354
|
- spec/helpers/semantic_flash_helper_spec.rb
|
352
355
|
- spec/helpers/semantic_icon_helper_spec.rb
|
353
356
|
- spec/spec_helper.rb
|
354
|
-
has_rdoc:
|