patternfly-sass 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/assets/stylesheets/patternfly/_alerts.scss +20 -9
  4. data/assets/stylesheets/patternfly/_cards.scss +80 -2
  5. data/assets/stylesheets/patternfly/_ext-bootstrap-datepicker.scss +1 -1
  6. data/assets/stylesheets/patternfly/_ext-bootstrap-select.scss +19 -10
  7. data/assets/stylesheets/patternfly/_progress-bars.scss +46 -10
  8. data/assets/stylesheets/patternfly/_spinner.scss +19 -0
  9. data/assets/stylesheets/patternfly/_variables.scss +12 -7
  10. data/bower.json +2 -2
  11. data/lib/patternfly-sass/version.rb +2 -2
  12. data/package.json +1 -1
  13. data/patternfly-sass.gemspec +1 -1
  14. data/spec/html/alerts.html +1 -0
  15. data/spec/html/cards.html +659 -22
  16. data/spec/html/charts.html +11 -10
  17. data/spec/html/dist/css/patternfly-additions.css +95 -8
  18. data/spec/html/dist/css/patternfly-additions.css.map +1 -1
  19. data/spec/html/dist/css/patternfly-additions.min.css +1 -1
  20. data/spec/html/dist/css/patternfly-additions.min.css.map +1 -1
  21. data/spec/html/dist/css/patternfly.css +64 -19
  22. data/spec/html/dist/css/patternfly.css.map +1 -1
  23. data/spec/html/dist/css/patternfly.min.css +2 -2
  24. data/spec/html/dist/css/patternfly.min.css.map +1 -1
  25. data/spec/html/layout-alt-fixed-inner-scroll.html +659 -22
  26. data/spec/html/layout-alt-fixed-with-footer-inner-scroll.html +659 -22
  27. data/spec/html/layout-alt-fixed-with-footer.html +659 -22
  28. data/spec/html/layout-alt-fixed.html +659 -22
  29. data/spec/html/popovers.html +10 -9
  30. data/spec/html/progress-bars.html +61 -10
  31. data/spec/html/spinner.html +5 -0
  32. data/spec/html/tooltip.html +4 -3
  33. metadata +4 -4
@@ -40,52 +40,52 @@
40
40
  <hr>
41
41
  <p>Note: To display the close (X) icon in popovers, add data attribute <strong>data-close="true"</strong> to the trigger button element.</p>
42
42
  <div class="bs-example" style="margin-top: 40px;">
43
- <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-original-title="Popover on right with title and close button" data-close="true">Popover on right with title and close button</a>
43
+ <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="Popover on right with title and close button" data-content="This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-close="true">Popover on right with title and close button</a>
44
44
  </div>
45
45
  <div class="bs-example" style="margin-top: 40px;">
46
46
  <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Close icon with no Title text. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-close="true">Popover on right with close button</a>
47
47
  </div>
48
48
  <div class="bs-example" style="margin: 40px 0;">
49
- <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Popover with no Close icon.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-original-title="Popover on right with title">Popover on right with title</a>
49
+ <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="Popover on right with title" data-content="Popover with no Close icon.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy.">Popover on right with title</a>
50
50
  </div>
51
51
  <div class="bs-example" style="margin: 40px 0;">
52
52
  <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Empty Title example.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy.">Popover on right</a>
53
53
  </div>
54
54
  <hr>
55
55
  <div class="bs-example" style="margin-top: 40px;">
56
- <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-original-title="Popover on left with title and close button" data-close="true" data-placement="left">Popover on left with title and close button</a>
56
+ <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="Popover on left with title and close button" data-content="This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-close="true" data-placement="left">Popover on left with title and close button</a>
57
57
  </div>
58
58
  <div class="bs-example" style="margin-top: 40px;">
59
59
  <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Close icon with no Title text. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-close="true" data-placement="left">Popover on left with close button</a>
60
60
  </div>
61
61
  <div class="bs-example" style="margin: 40px 0;">
62
- <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Popover with no Close icon.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-original-title="Popover on left with title" data-placement="left">Popover on left with title</a>
62
+ <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="Popover on left with title" data-content="Popover with no Close icon.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-placement="left">Popover on left with title</a>
63
63
  </div>
64
64
  <div class="bs-example" style="margin: 40px 0;">
65
65
  <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Empty Title example.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-placement="left">Popover on left</a>
66
66
  </div>
67
67
  <hr>
68
68
  <div class="bs-example" style="margin-top: 40px;">
69
- <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-original-title="Popover on left with title and close button" data-close="true" data-placement="top">Popover on top with title and close button</a>
69
+ <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="Popover on left with title and close button" data-content="This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-close="true" data-placement="top">Popover on top with title and close button</a>
70
70
  </div>
71
71
  <div class="bs-example" style="margin-top: 40px;">
72
72
  <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Close icon with no Title text. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-close="true" data-placement="top">Popover on top with close button</a>
73
73
  </div>
74
74
  <div class="bs-example" style="margin: 40px 0;">
75
- <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Popover with no Close icon.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-original-title="Popover on top with title" data-placement="top">Popover on top with title</a>
75
+ <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="Popover on top with title" data-content="Popover with no Close icon.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-placement="top">Popover on top with title</a>
76
76
  </div>
77
77
  <div class="bs-example" style="margin: 40px 0;">
78
- <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Empty Title example.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-placement="top">Popover on top</a>
78
+ <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Empty Title example.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about dataa smartproxy." data-placement="top">Popover on top</a>
79
79
  </div>
80
80
  <hr>
81
81
  <div class="bs-example" style="margin-top: 40px;">
82
- <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-original-title="Popover on left with title and close button" data-close="true" data-placement="bottom">Popover on bottom with title and close button</a>
82
+ <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="Popover on left with title and close button" data-content="This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-close="true" data-placement="bottom">Popover on bottom with title and close button</a>
83
83
  </div>
84
84
  <div class="bs-example" style="margin-top: 40px;">
85
85
  <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Close icon with no Title text. This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-close="true" data-placement="bottom">Popover on bottom with close button</a>
86
86
  </div>
87
87
  <div class="bs-example" style="margin: 40px 0;">
88
- <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Popover with no Close icon.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-original-title="Popover on bottom with title" data-placement="bottom">Popover on bottom with title</a>
88
+ <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="Popover on bottom with title" data-content="Popover with no Close icon.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-placement="bottom">Popover on bottom with title</a>
89
89
  </div>
90
90
  <div class="bs-example" style="margin: 40px 0;">
91
91
  <a href="#" class="btn btn-default" data-toggle="popover" data-html="true" title="" data-content="Empty Title example.<br>This is more information about a smartproxy. This is more information about a smartproxy. This is more information about a smartproxy." data-placement="bottom">Popover on bottom</a>
@@ -105,6 +105,7 @@
105
105
  $('[data-toggle=popover]').popovers()
106
106
  });
107
107
  </script>
108
+
108
109
  </div><!-- /container -->
109
110
  </body>
110
111
  </html>
@@ -41,13 +41,13 @@
41
41
  <h2>Basic Example</h2>
42
42
  <div class="progress">
43
43
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
44
- <span class="sr-only">60% complete</span>
44
+ <span class="sr-only">60% Complete</span>
45
45
  </div>
46
46
  </div>
47
47
  <h2>With Label</h2>
48
48
  <div class="progress">
49
49
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
50
- <span>60% complete</span>
50
+ <span>60% Complete</span>
51
51
  </div>
52
52
  </div>
53
53
  <h2>Contextual Alternatives</h2>
@@ -115,23 +115,23 @@
115
115
  <h4>Small</h4>
116
116
  <div class="progress progress-sm">
117
117
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
118
- <span class="sr-only">60% complete</span>
118
+ <span class="sr-only">60% Complete</span>
119
119
  </div>
120
120
  </div>
121
121
  <div class="progress progress-sm progress-striped active">
122
122
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
123
- <span class="sr-only">60% complete</span>
123
+ <span class="sr-only">60% Complete</span>
124
124
  </div>
125
125
  </div>
126
126
  <h4>Extra Small</h4>
127
127
  <div class="progress progress-xs">
128
128
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
129
- <span class="sr-only">60% complete</span>
129
+ <span class="sr-only">60% Complete</span>
130
130
  </div>
131
131
  </div>
132
132
  <div class="progress progress-xs progress-striped active">
133
133
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
134
- <span class="sr-only">60% complete</span>
134
+ <span class="sr-only">60% Complete</span>
135
135
  </div>
136
136
  </div>
137
137
  <h3>With Label</h3>
@@ -166,7 +166,7 @@
166
166
  <span>100%</span>
167
167
  </div>
168
168
  </div>
169
- <h4>Top Left and Top Right</h4>
169
+ <h4>Top Left Description and Top Right Label</h4>
170
170
  <div class="progress-description">
171
171
  Network Capacity
172
172
  </div>
@@ -191,7 +191,6 @@
191
191
  <span>100%</span>
192
192
  </div>
193
193
  </div>
194
-
195
194
  <div class="progress-description">
196
195
  <span class="pficon pficon-ok" data-toggle="tooltip" data-placement="top" title="Lorem ipsum dolor sit amet, consectetur adipiscing elit."></span> <strong>Network Activity:</strong> 10.10.121.02
197
196
  </div>
@@ -218,6 +217,48 @@
218
217
  <span>10%</span>
219
218
  </div>
220
219
  </div>
220
+ <h4>Left Description</h4>
221
+ <div class="progress-container progress-description-left">
222
+ <div class="progress-description">
223
+ CPU
224
+ </div>
225
+ <div class="progress">
226
+ <div class="progress-bar" role="progressbar" aria-valuenow="5" aria-valuemin="0" aria-valuemax="100" style="width: 5%;">
227
+ <span class="sr-only"><strong>25 of 460</strong> MHz</span>
228
+ </div>
229
+ </div>
230
+ </div>
231
+ <div class="progress-container progress-description-left">
232
+ <div class="progress-description">
233
+ Network Capacity
234
+ </div>
235
+ <div class="progress">
236
+ <div class="progress-bar" role="progressbar" aria-valuenow="5" aria-valuemin="0" aria-valuemax="100" style="width: 5%;">
237
+ <span class="sr-only"><strong>250 of 4600</strong> MHz</span>
238
+ </div>
239
+ </div>
240
+ </div>
241
+ <h4>Left Description and Right Label</h4>
242
+ <div class="progress-container progress-description-left progress-label-right">
243
+ <div class="progress-description">
244
+ CPU
245
+ </div>
246
+ <div class="progress">
247
+ <div class="progress-bar" role="progressbar" aria-valuenow="5" aria-valuemin="0" aria-valuemax="100" style="width: 5%;">
248
+ <span><strong>25 of 460</strong> MHz</span>
249
+ </div>
250
+ </div>
251
+ </div>
252
+ <div class="progress-container progress-description-left progress-label-right">
253
+ <div class="progress-description">
254
+ Network Capacity
255
+ </div>
256
+ <div class="progress">
257
+ <div class="progress-bar" role="progressbar" aria-valuenow="5" aria-valuemin="0" aria-valuemax="100" style="width: 5%;">
258
+ <span><strong>250 of 4600</strong> MHz</span>
259
+ </div>
260
+ </div>
261
+ </div>
221
262
  <h3>In Table Cell</h3>
222
263
  <table class="table table-bordered table-striped">
223
264
  <thead>
@@ -264,9 +305,19 @@
264
305
  </tbody>
265
306
  </table>
266
307
  <h3>With Tooltip</h3>
308
+ <h4>On Filled Bar</h4>
267
309
  <div class="progress">
268
- <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;" data-toggle="tooltip" title="60%">
269
- <span class="sr-only">60% complete</span>
310
+ <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;" data-toggle="tooltip" title="60% Used">
311
+ <span class="sr-only">60% Used</span>
312
+ </div>
313
+ </div>
314
+ <h4>On Filled Bar and Negative Space</h4>
315
+ <div class="progress">
316
+ <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;" data-toggle="tooltip" title="60% Used">
317
+ <span class="sr-only">60% Used</span>
318
+ </div>
319
+ <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%;" data-toggle="tooltip" title="40% Available">
320
+ <span class="sr-only">40% Available</span>
270
321
  </div>
271
322
  </div>
272
323
  <script>
@@ -61,9 +61,14 @@
61
61
  <div class="spinner spinner-xs spinner-inline"></div>
62
62
  Inside a &lt;p&gt;
63
63
  </p>
64
+ <h2>On black</h2>
65
+ <div style="background-color: black; padding: 15px; width: 100px; margin-bottom: 10px;">
66
+ <div class="spinner spinner-inverse"></div>
67
+ </div>
64
68
  <p class="text-info">
65
69
  <strong>Note:</strong> IE9 requires a conditional class on &lt;html&gt; in order to display an animated gif fallback as it doesn't support CSS animation. View source on this page and see lines 2-5.
66
70
  </p>
71
+
67
72
  </div><!-- /container -->
68
73
  </body>
69
74
  </html>
@@ -39,17 +39,17 @@
39
39
  </div>
40
40
  <hr>
41
41
  <div class="tooltip-demo">
42
- <a href="#" class="btn btn-default" data-toggle="tooltip" data-original-title="Caribbean Monk Seal, Barbary Lion, Seaside Sparrow">Caribbean Monk Seal, Barbary L...</a>
42
+ <a href="#" class="btn btn-default" data-toggle="tooltip" title="Caribbean Monk Seal, Barbary Lion, Seaside Sparrow">Caribbean Monk Seal, Barbary L...</a>
43
43
  </div>
44
44
  <br>
45
45
  <h2>Tooltip Directions</h2>
46
46
  <div class="tooltip-demo">
47
47
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pretium mi at ante luctus dapibus. Fusce in tempus felis. Suspendisse tristique diam vel.</p>
48
48
  <div class="bs-example-tooltips">
49
- <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="left" title="" data-original-title="Tooltip on left">Tooltip on left</button>
49
+ <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="left" title="Tooltip on left">Tooltip on left</button>
50
50
  <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Tooltip on top">Tooltip on top</button>
51
51
  <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom">Tooltip on bottom</button>
52
- <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="right" title="" data-original-title="Tooltip on right">Tooltip on right</button>
52
+ <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="right" title="Tooltip on right">Tooltip on right</button>
53
53
  </div>
54
54
  <p style="margin-top: 10px;">Suspendisse tristique diam vel hendrerit aliquet. Vestibulum laoreet nisi ac egestas porttitor. Donec tempus elit convallis.</p>
55
55
  </div>
@@ -62,6 +62,7 @@
62
62
  });
63
63
  });
64
64
  </script>
65
+
65
66
  </div><!-- /container -->
66
67
  </body>
67
68
  </html>
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.4.0
4
+ version: 2.5.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: 2015-10-14 00:00:00.000000000 Z
12
+ date: 2015-10-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -157,14 +157,14 @@ dependencies:
157
157
  requirements:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: 1.10.7
160
+ version: 1.10.9
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: 1.10.7
167
+ version: 1.10.9
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: rails-assets-datatables-colreorder
170
170
  requirement: !ruby/object:Gem::Requirement