patternfly-sass 2.10.0 → 2.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/OPEN_SOURCE_LICENCES.txt +1366 -0
- data/README.md +1 -1
- data/Rakefile +0 -5
- data/assets/stylesheets/_patternfly.scss +5 -5
- data/assets/stylesheets/patternfly/sass-contrib/bootstrap-combobox.scss +42 -0
- data/assets/stylesheets/patternfly/sass-contrib/bootstrap-datepicker.scss +752 -0
- data/assets/stylesheets/patternfly/sass-contrib/bootstrap-select.scss +272 -0
- data/assets/stylesheets/patternfly/sass-contrib/bootstrap-touchspin.scss +45 -0
- data/assets/stylesheets/patternfly/sass-contrib/c3.scss +158 -0
- data/bower.json +1 -1
- data/lib/patternfly-sass/version.rb +1 -1
- data/package.json +1 -1
- data/tasks/converter.rb +12 -7
- metadata +8 -2
data/bower.json
CHANGED
data/package.json
CHANGED
data/tasks/converter.rb
CHANGED
@@ -112,22 +112,27 @@ class Converter
|
|
112
112
|
|
113
113
|
file = replace_all(file, "@import \"../components/font-awesome/less/variables\";\n", '')
|
114
114
|
file = replace_all(file, '../components/font-awesome/less/font-awesome', 'font-awesome')
|
115
|
-
file = replace_all(file, '../components/bootstrap-combobox/less/combobox', 'bootstrap-combobox')
|
116
|
-
file = replace_all(file, '../components/bootstrap-select/less/bootstrap-select', 'bootstrap-select')
|
117
|
-
file = replace_all(file, '../components/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.css', 'bootstrap-touchspin/dist/jquery.bootstrap-touchspin')
|
118
|
-
file = replace_all(file, '../components/c3/c3.css', 'c3')
|
119
|
-
file = replace_all(file, '../components/bootstrap-datepicker/less/datepicker3', 'bootstrap-datepicker/bootstrap-datepicker3')
|
120
115
|
|
121
116
|
sass_contrib('bootstrap-switch/src/less/bootstrap3/bootstrap-switch.less', 'bootstrap-switch.scss')
|
122
117
|
file = replace_all(file, '../components/bootstrap-switch/src/less/bootstrap3/bootstrap-switch', 'patternfly/sass-contrib/bootstrap-switch')
|
118
|
+
sass_contrib('bootstrap-combobox/css/bootstrap-combobox.css', 'bootstrap-combobox.scss', false)
|
119
|
+
file = replace_all(file, '../components/bootstrap-combobox/less/combobox', 'patternfly/sass-contrib/bootstrap-combobox')
|
120
|
+
sass_contrib('bootstrap-select/dist/css/bootstrap-select.css', 'bootstrap-select.scss', false)
|
121
|
+
file = replace_all(file, '../components/bootstrap-select/less/bootstrap-select', 'patternfly/sass-contrib/bootstrap-select')
|
122
|
+
sass_contrib('bootstrap-touchspin/dist/jquery.bootstrap-touchspin.css', 'bootstrap-touchspin.scss', false)
|
123
|
+
file = replace_all(file, '../components/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.css', 'patternfly/sass-contrib/bootstrap-touchspin')
|
124
|
+
sass_contrib('c3/c3.css', 'c3.scss', false)
|
125
|
+
file = replace_all(file, '../components/c3/c3.css', 'patternfly/sass-contrib/c3')
|
126
|
+
sass_contrib('bootstrap-datepicker/dist/css/bootstrap-datepicker3.css', 'bootstrap-datepicker.scss', false)
|
127
|
+
file = replace_all(file, '../components/bootstrap-datepicker/less/datepicker3', 'patternfly/sass-contrib/bootstrap-datepicker')
|
123
128
|
|
124
129
|
TOP + remove_comments_and_whitespace(file)
|
125
130
|
end
|
126
131
|
|
127
|
-
def sass_contrib(src, dst)
|
132
|
+
def sass_contrib(src, dst, convert=true)
|
128
133
|
base = 'assets/stylesheets/patternfly/sass-contrib'
|
129
134
|
less = File.read(File.join('bower_components', src))
|
130
|
-
sass = less_to_sass(nil, less)
|
135
|
+
sass = convert ? less_to_sass(nil, less) : less
|
131
136
|
FileUtils.mkdir_p(base) unless File.exist?(base)
|
132
137
|
File.open(File.join(base, dst), 'w') { |f| f.write(sass) }
|
133
138
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: patternfly-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.10.
|
4
|
+
version: 2.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dávid Halász
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-02-
|
12
|
+
date: 2016-02-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -345,6 +345,7 @@ files:
|
|
345
345
|
- ".travis.yml"
|
346
346
|
- Gemfile
|
347
347
|
- LICENSE.txt
|
348
|
+
- OPEN_SOURCE_LICENCES.txt
|
348
349
|
- README.md
|
349
350
|
- Rakefile
|
350
351
|
- assets/fonts/patternfly/OpenSans-Bold-webfont.eot
|
@@ -471,7 +472,12 @@ files:
|
|
471
472
|
- assets/stylesheets/patternfly/_tooltip.scss
|
472
473
|
- assets/stylesheets/patternfly/_type.scss
|
473
474
|
- assets/stylesheets/patternfly/_variables.scss
|
475
|
+
- assets/stylesheets/patternfly/sass-contrib/bootstrap-combobox.scss
|
476
|
+
- assets/stylesheets/patternfly/sass-contrib/bootstrap-datepicker.scss
|
477
|
+
- assets/stylesheets/patternfly/sass-contrib/bootstrap-select.scss
|
474
478
|
- assets/stylesheets/patternfly/sass-contrib/bootstrap-switch.scss
|
479
|
+
- assets/stylesheets/patternfly/sass-contrib/bootstrap-touchspin.scss
|
480
|
+
- assets/stylesheets/patternfly/sass-contrib/c3.scss
|
475
481
|
- bower.json
|
476
482
|
- lib/patternfly-sass.rb
|
477
483
|
- lib/patternfly-sass/engine.rb
|