patternfly-sass 3.21.0 → 3.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.svg +19 -12
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
- data/assets/javascripts/patternfly-settings.js +1 -1
- data/assets/javascripts/patternfly-settings.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfColVis.js +151 -0
- data/assets/javascripts/patternfly.js +1 -1
- data/assets/javascripts/patternfly.min.js +1 -1
- data/assets/stylesheets/patternfly/_icons.scss +36 -3
- data/assets/stylesheets/patternfly/_mixin_overrides.scss +4 -7
- data/assets/stylesheets/patternfly/_mixins.scss +4 -7
- data/assets/stylesheets/patternfly/_navbar-vertical.scss +2 -0
- data/assets/stylesheets/patternfly/_panels.scss +59 -4
- data/assets/stylesheets/patternfly/_table-view.scss +18 -0
- data/assets/stylesheets/patternfly/_time-picker.scss +6 -1
- data/assets/stylesheets/patternfly/_toast.scss +5 -0
- data/assets/stylesheets/patternfly/_variables.scss +28 -11
- data/assets/stylesheets/patternfly/lib/bootstrap-datetimepicker.scss +1 -1
- data/assets/stylesheets/patternfly/lib/bootstrap-switch.scss +5 -2
- data/bower.json +4 -1
- data/lib/patternfly-sass/version.rb +2 -2
- data/package.json +1 -1
- data/spec/html/accordions.html +119 -0
- data/spec/html/basic.html +2 -1
- data/spec/html/dist/css/patternfly-additions.css +73 -14
- data/spec/html/dist/css/patternfly-additions.css.map +1 -1
- data/spec/html/dist/css/patternfly-additions.min.css +1 -1
- data/spec/html/dist/css/patternfly-additions.min.css.map +1 -1
- data/spec/html/dist/css/patternfly.css +70 -3
- data/spec/html/dist/css/patternfly.css.map +1 -1
- data/spec/html/dist/css/patternfly.min.css +2 -2
- data/spec/html/dist/css/patternfly.min.css.map +1 -1
- data/spec/html/icons.html +4 -0
- data/spec/html/notification-drawer-vertical-nav.html +55 -2
- data/spec/html/pagination-table-view.html +14 -1
- data/spec/html/tab.html +2 -1
- data/spec/html/table-view-navbar.html +15 -1
- data/spec/html/table-view.html +2 -1
- data/spec/html/vertical-navigation-primary-only.html +55 -5
- data/spec/html/vertical-navigation-with-badges.html +55 -5
- data/spec/html/vertical-navigation-with-secondary.html +55 -5
- data/spec/html/vertical-navigation-with-tertiary-no-icons.html +55 -5
- data/spec/html/vertical-navigation-with-tertiary-pins.html +55 -5
- data/tasks/converter.rb +5 -2
- metadata +4 -3
@@ -58,9 +58,6 @@
|
|
58
58
|
</a>
|
59
59
|
</div>
|
60
60
|
<nav class="collapse navbar-collapse">
|
61
|
-
<ul class="nav navbar-nav">
|
62
|
-
<li><a href="#" target="_blank" class="nav-item-iconic nav-item-iconic-new-window"><span title="Launch" class="fa fa-external-link"></span></a></li>
|
63
|
-
</ul>
|
64
61
|
<ul class="nav navbar-nav navbar-right navbar-iconic">
|
65
62
|
<li class="dropdown">
|
66
63
|
<a class="dropdown-toggle nav-item-iconic" id="notifications" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
@@ -107,8 +104,7 @@
|
|
107
104
|
</nav> <!--/.navbar-->
|
108
105
|
|
109
106
|
|
110
|
-
<div class="nav-pf-vertical
|
111
|
-
nav-pf-vertical-with-sub-menus
|
107
|
+
<div class="nav-pf-vertical nav-pf-vertical-with-sub-menus
|
112
108
|
|
113
109
|
|
114
110
|
|
@@ -220,7 +216,61 @@
|
|
220
216
|
<span class="list-group-item-value">Lorem</span>
|
221
217
|
</a>
|
222
218
|
</li>
|
219
|
+
|
220
|
+
<li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block" data-target="#amet-secondary">
|
221
|
+
<a>
|
222
|
+
<span class="pficon pficon-user" data-toggle="tooltip" title="" data-original-title="User"></span>
|
223
|
+
<span class="list-group-item-value">User</span>
|
224
|
+
</a>
|
225
|
+
<div id="user-secondary" class="nav-pf-secondary-nav">
|
226
|
+
<div class="nav-item-pf-header">
|
227
|
+
<a class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a>
|
228
|
+
<span>User</span>
|
229
|
+
</div>
|
230
|
+
|
231
|
+
<ul class="list-group">
|
232
|
+
<li class="list-group-item">
|
233
|
+
<a>
|
234
|
+
<span class="list-group-item-value">Preferences</span>
|
235
|
+
</a>
|
236
|
+
</li>
|
237
|
+
|
238
|
+
<li class="list-group-item">
|
239
|
+
<a>
|
240
|
+
<span class="list-group-item-value">Logout</span>
|
241
|
+
</a>
|
242
|
+
</li>
|
243
|
+
</ul>
|
244
|
+
</div>
|
245
|
+
</li>
|
246
|
+
|
247
|
+
<li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block" data-target="#amet-secondary">
|
248
|
+
<a>
|
249
|
+
<span class="pficon pficon-help" data-toggle="tooltip" title="" data-original-title="Amet"></span>
|
250
|
+
<span class="list-group-item-value">Help</span>
|
251
|
+
</a>
|
252
|
+
<div id="help-secondary" class="nav-pf-secondary-nav">
|
253
|
+
<div class="nav-item-pf-header">
|
254
|
+
<a class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a>
|
255
|
+
<span>Help</span>
|
256
|
+
</div>
|
257
|
+
<ul class="list-group">
|
258
|
+
<li class="list-group-item">
|
259
|
+
<a>
|
260
|
+
<span class="list-group-item-value">Help</span>
|
261
|
+
</a>
|
262
|
+
</li>
|
263
|
+
<li class="list-group-item">
|
264
|
+
<a>
|
265
|
+
<span class="list-group-item-value">About</span>
|
266
|
+
</a>
|
267
|
+
</li>
|
268
|
+
</ul>
|
269
|
+
</div>
|
270
|
+
</li>
|
271
|
+
|
223
272
|
</ul>
|
273
|
+
|
224
274
|
</div>
|
225
275
|
<div class="container-fluid container-cards-pf container-pf-nav-pf-vertical
|
226
276
|
|
@@ -58,9 +58,6 @@
|
|
58
58
|
</a>
|
59
59
|
</div>
|
60
60
|
<nav class="collapse navbar-collapse">
|
61
|
-
<ul class="nav navbar-nav">
|
62
|
-
<li><a href="#" target="_blank" class="nav-item-iconic nav-item-iconic-new-window"><span title="Launch" class="fa fa-external-link"></span></a></li>
|
63
|
-
</ul>
|
64
61
|
<ul class="nav navbar-nav navbar-right navbar-iconic">
|
65
62
|
<li class="dropdown">
|
66
63
|
<a class="dropdown-toggle nav-item-iconic" id="notifications" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
@@ -107,8 +104,7 @@
|
|
107
104
|
</nav> <!--/.navbar-->
|
108
105
|
|
109
106
|
|
110
|
-
<div class="nav-pf-vertical
|
111
|
-
nav-pf-vertical-with-sub-menus
|
107
|
+
<div class="nav-pf-vertical nav-pf-vertical-with-sub-menus
|
112
108
|
|
113
109
|
|
114
110
|
hidden-icons-pf
|
@@ -394,7 +390,61 @@
|
|
394
390
|
<span class="list-group-item-value">Lorem</span>
|
395
391
|
</a>
|
396
392
|
</li>
|
393
|
+
|
394
|
+
<li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block" data-target="#amet-secondary">
|
395
|
+
<a>
|
396
|
+
<span class="pficon pficon-user" data-toggle="tooltip" title="" data-original-title="User"></span>
|
397
|
+
<span class="list-group-item-value">User</span>
|
398
|
+
</a>
|
399
|
+
<div id="user-secondary" class="nav-pf-secondary-nav">
|
400
|
+
<div class="nav-item-pf-header">
|
401
|
+
<a class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a>
|
402
|
+
<span>User</span>
|
403
|
+
</div>
|
404
|
+
|
405
|
+
<ul class="list-group">
|
406
|
+
<li class="list-group-item">
|
407
|
+
<a>
|
408
|
+
<span class="list-group-item-value">Preferences</span>
|
409
|
+
</a>
|
410
|
+
</li>
|
411
|
+
|
412
|
+
<li class="list-group-item">
|
413
|
+
<a>
|
414
|
+
<span class="list-group-item-value">Logout</span>
|
415
|
+
</a>
|
416
|
+
</li>
|
417
|
+
</ul>
|
418
|
+
</div>
|
419
|
+
</li>
|
420
|
+
|
421
|
+
<li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block" data-target="#amet-secondary">
|
422
|
+
<a>
|
423
|
+
<span class="pficon pficon-help" data-toggle="tooltip" title="" data-original-title="Amet"></span>
|
424
|
+
<span class="list-group-item-value">Help</span>
|
425
|
+
</a>
|
426
|
+
<div id="help-secondary" class="nav-pf-secondary-nav">
|
427
|
+
<div class="nav-item-pf-header">
|
428
|
+
<a class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a>
|
429
|
+
<span>Help</span>
|
430
|
+
</div>
|
431
|
+
<ul class="list-group">
|
432
|
+
<li class="list-group-item">
|
433
|
+
<a>
|
434
|
+
<span class="list-group-item-value">Help</span>
|
435
|
+
</a>
|
436
|
+
</li>
|
437
|
+
<li class="list-group-item">
|
438
|
+
<a>
|
439
|
+
<span class="list-group-item-value">About</span>
|
440
|
+
</a>
|
441
|
+
</li>
|
442
|
+
</ul>
|
443
|
+
</div>
|
444
|
+
</li>
|
445
|
+
|
397
446
|
</ul>
|
447
|
+
|
398
448
|
</div>
|
399
449
|
<div class="container-fluid container-cards-pf container-pf-nav-pf-vertical
|
400
450
|
|
@@ -58,9 +58,6 @@
|
|
58
58
|
</a>
|
59
59
|
</div>
|
60
60
|
<nav class="collapse navbar-collapse">
|
61
|
-
<ul class="nav navbar-nav">
|
62
|
-
<li><a href="#" target="_blank" class="nav-item-iconic nav-item-iconic-new-window"><span title="Launch" class="fa fa-external-link"></span></a></li>
|
63
|
-
</ul>
|
64
61
|
<ul class="nav navbar-nav navbar-right navbar-iconic">
|
65
62
|
<li class="dropdown">
|
66
63
|
<a class="dropdown-toggle nav-item-iconic" id="notifications" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
@@ -107,8 +104,7 @@
|
|
107
104
|
</nav> <!--/.navbar-->
|
108
105
|
|
109
106
|
|
110
|
-
<div class="nav-pf-vertical
|
111
|
-
nav-pf-vertical-with-sub-menus
|
107
|
+
<div class="nav-pf-vertical nav-pf-vertical-with-sub-menus
|
112
108
|
|
113
109
|
nav-pf-vertical-collapsible-menus
|
114
110
|
|
@@ -394,7 +390,61 @@
|
|
394
390
|
<span class="list-group-item-value">Lorem</span>
|
395
391
|
</a>
|
396
392
|
</li>
|
393
|
+
|
394
|
+
<li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block" data-target="#amet-secondary">
|
395
|
+
<a>
|
396
|
+
<span class="pficon pficon-user" data-toggle="tooltip" title="" data-original-title="User"></span>
|
397
|
+
<span class="list-group-item-value">User</span>
|
398
|
+
</a>
|
399
|
+
<div id="user-secondary" class="nav-pf-secondary-nav">
|
400
|
+
<div class="nav-item-pf-header">
|
401
|
+
<a class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a>
|
402
|
+
<span>User</span>
|
403
|
+
</div>
|
404
|
+
|
405
|
+
<ul class="list-group">
|
406
|
+
<li class="list-group-item">
|
407
|
+
<a>
|
408
|
+
<span class="list-group-item-value">Preferences</span>
|
409
|
+
</a>
|
410
|
+
</li>
|
411
|
+
|
412
|
+
<li class="list-group-item">
|
413
|
+
<a>
|
414
|
+
<span class="list-group-item-value">Logout</span>
|
415
|
+
</a>
|
416
|
+
</li>
|
417
|
+
</ul>
|
418
|
+
</div>
|
419
|
+
</li>
|
420
|
+
|
421
|
+
<li class="list-group-item secondary-nav-item-pf mobile-nav-item-pf visible-xs-block" data-target="#amet-secondary">
|
422
|
+
<a>
|
423
|
+
<span class="pficon pficon-help" data-toggle="tooltip" title="" data-original-title="Amet"></span>
|
424
|
+
<span class="list-group-item-value">Help</span>
|
425
|
+
</a>
|
426
|
+
<div id="help-secondary" class="nav-pf-secondary-nav">
|
427
|
+
<div class="nav-item-pf-header">
|
428
|
+
<a class="secondary-collapse-toggle-pf" data-toggle="collapse-secondary-nav"></a>
|
429
|
+
<span>Help</span>
|
430
|
+
</div>
|
431
|
+
<ul class="list-group">
|
432
|
+
<li class="list-group-item">
|
433
|
+
<a>
|
434
|
+
<span class="list-group-item-value">Help</span>
|
435
|
+
</a>
|
436
|
+
</li>
|
437
|
+
<li class="list-group-item">
|
438
|
+
<a>
|
439
|
+
<span class="list-group-item-value">About</span>
|
440
|
+
</a>
|
441
|
+
</li>
|
442
|
+
</ul>
|
443
|
+
</div>
|
444
|
+
</li>
|
445
|
+
|
397
446
|
</ul>
|
447
|
+
|
398
448
|
</div>
|
399
449
|
<div class="container-fluid container-cards-pf container-pf-nav-pf-vertical
|
400
450
|
|
data/tasks/converter.rb
CHANGED
@@ -226,7 +226,7 @@ class Converter
|
|
226
226
|
end
|
227
227
|
end
|
228
228
|
|
229
|
-
def retrieve_files(folder, select
|
229
|
+
def retrieve_files(folder, select=%r{.*}, reject=nil)
|
230
230
|
Dir["#{folder}/**/*"].reject { |f| File.directory?(f) || f !~ select || f =~ reject }
|
231
231
|
end
|
232
232
|
|
@@ -270,8 +270,11 @@ class Converter
|
|
270
270
|
def less_to_sass(file, input)
|
271
271
|
transforms = TRANSFORMATIONS.dup
|
272
272
|
case file
|
273
|
-
when 'fonts.less'
|
273
|
+
when 'fonts.less'
|
274
274
|
transforms << :fix_font_paths
|
275
|
+
when 'icons.less'
|
276
|
+
transforms << :fix_font_paths
|
277
|
+
transforms.delete(:replace_spin)
|
275
278
|
when 'mixins.less',
|
276
279
|
transforms << :flatten_mixins
|
277
280
|
transforms << :fix_dropdown_toggle
|
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: 3.
|
4
|
+
version: 3.23.0
|
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: 2017-
|
12
|
+
date: 2017-03-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -293,6 +293,7 @@ files:
|
|
293
293
|
- assets/javascripts/patternfly-functions.min.js
|
294
294
|
- assets/javascripts/patternfly-settings.js
|
295
295
|
- assets/javascripts/patternfly-settings.min.js
|
296
|
+
- assets/javascripts/patternfly.dataTables.pfColVis.js
|
296
297
|
- assets/javascripts/patternfly.dataTables.pfEmpty.js
|
297
298
|
- assets/javascripts/patternfly.dataTables.pfEmpty.min.js
|
298
299
|
- assets/javascripts/patternfly.dataTables.pfFilter.js
|
@@ -490,7 +491,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
490
491
|
version: '0'
|
491
492
|
requirements: []
|
492
493
|
rubyforge_project:
|
493
|
-
rubygems_version: 2.
|
494
|
+
rubygems_version: 2.6.8
|
494
495
|
signing_key:
|
495
496
|
specification_version: 4
|
496
497
|
summary: Red Hat's Patternfly, converted to Sass and ready to drop into Rails
|