patternfly-sass 3.1.0 → 3.2.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.
@@ -131,7 +131,7 @@
131
131
  </a>
132
132
  <div id="storage-secondary" class="nav-pf-persistent-secondary">
133
133
  <div class="persistent-secondary-header">
134
- <a class="fa fa-arrow-circle-o-left" href="#" data-toggle="collapse-secondary-nav"></a>
134
+ <a class="secondary-collapse-toggle-pf" href="#" data-toggle="collapse-secondary-nav"></a>
135
135
  <span>Storage</span>
136
136
  </div>
137
137
  <h5>File</h5>
@@ -263,7 +263,7 @@
263
263
  </a>
264
264
  <div id="admin-secondary" class="nav-pf-persistent-secondary">
265
265
  <div class="persistent-secondary-header">
266
- <a class="fa fa-arrow-circle-o-left" href="#" data-toggle="collapse-secondary-nav"></a>
266
+ <a class="secondary-collapse-toggle-pf" href="#" data-toggle="collapse-secondary-nav"></a>
267
267
  <span>Admin</span>
268
268
  </div>
269
269
  <h5>User Administration</h5>
@@ -131,7 +131,7 @@
131
131
  </a>
132
132
  <div id="storage-secondary" class="nav-pf-persistent-secondary">
133
133
  <div class="persistent-secondary-header">
134
- <a class="fa fa-arrow-circle-o-left" href="#" data-toggle="collapse-secondary-nav"></a>
134
+ <a class="secondary-collapse-toggle-pf" href="#" data-toggle="collapse-secondary-nav"></a>
135
135
  <span>Storage</span>
136
136
  </div>
137
137
  <h5>File</h5>
@@ -263,7 +263,7 @@
263
263
  </a>
264
264
  <div id="admin-secondary" class="nav-pf-persistent-secondary">
265
265
  <div class="persistent-secondary-header">
266
- <a class="fa fa-arrow-circle-o-left" href="#" data-toggle="collapse-secondary-nav"></a>
266
+ <a class="secondary-collapse-toggle-pf" href="#" data-toggle="collapse-secondary-nav"></a>
267
267
  <span>Admin</span>
268
268
  </div>
269
269
  <h5>User Administration</h5>
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.1.0
4
+ version: 3.2.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: 2016-02-25 00:00:00.000000000 Z
12
+ date: 2016-03-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -275,6 +275,7 @@ files:
275
275
  - assets/stylesheets/patternfly/_cards.scss
276
276
  - assets/stylesheets/patternfly/_charts.scss
277
277
  - assets/stylesheets/patternfly/_close.scss
278
+ - assets/stylesheets/patternfly/_color-variables.scss
278
279
  - assets/stylesheets/patternfly/_datatables.scss
279
280
  - assets/stylesheets/patternfly/_dropdowns.scss
280
281
  - assets/stylesheets/patternfly/_ext-bootstrap-combobox.scss
@@ -330,7 +331,9 @@ files:
330
331
  - spec/compare_spec.rb
331
332
  - spec/html/accordions.html
332
333
  - spec/html/alerts.html
334
+ - spec/html/area-charts.html
333
335
  - spec/html/badges.html
336
+ - spec/html/bar-charts.html
334
337
  - spec/html/basic.html
335
338
  - spec/html/blank-slate.html
336
339
  - spec/html/bootstrap-combobox.html
@@ -344,7 +347,6 @@ files:
344
347
  - spec/html/breadcrumbs.html
345
348
  - spec/html/buttons.html
346
349
  - spec/html/cards.html
347
- - spec/html/charts.html
348
350
  - spec/html/code.html
349
351
  - spec/html/dashboard.html
350
352
  - spec/html/datatables-columns.html
@@ -357,6 +359,7 @@ files:
357
359
  - spec/html/dist/css/patternfly.css.map
358
360
  - spec/html/dist/css/patternfly.min.css
359
361
  - spec/html/dist/css/patternfly.min.css.map
362
+ - spec/html/donut-charts.html
360
363
  - spec/html/dropdowns.html
361
364
  - spec/html/form.html
362
365
  - spec/html/forms.html
@@ -369,6 +372,7 @@ files:
369
372
  - spec/html/layout-alt-fixed-with-footer-inner-scroll.html
370
373
  - spec/html/layout-alt-fixed-with-footer.html
371
374
  - spec/html/layout-alt-fixed.html
375
+ - spec/html/line-charts.html
372
376
  - spec/html/list-group.html
373
377
  - spec/html/list-view.html
374
378
  - spec/html/login.html
@@ -376,6 +380,7 @@ files:
376
380
  - spec/html/navbar.html
377
381
  - spec/html/pagination.html
378
382
  - spec/html/panels.html
383
+ - spec/html/pie-charts.html
379
384
  - spec/html/popovers.html
380
385
  - spec/html/progress-bars.html
381
386
  - spec/html/search.html
@@ -423,7 +428,9 @@ test_files:
423
428
  - spec/compare_spec.rb
424
429
  - spec/html/accordions.html
425
430
  - spec/html/alerts.html
431
+ - spec/html/area-charts.html
426
432
  - spec/html/badges.html
433
+ - spec/html/bar-charts.html
427
434
  - spec/html/basic.html
428
435
  - spec/html/blank-slate.html
429
436
  - spec/html/bootstrap-combobox.html
@@ -437,7 +444,6 @@ test_files:
437
444
  - spec/html/breadcrumbs.html
438
445
  - spec/html/buttons.html
439
446
  - spec/html/cards.html
440
- - spec/html/charts.html
441
447
  - spec/html/code.html
442
448
  - spec/html/dashboard.html
443
449
  - spec/html/datatables-columns.html
@@ -450,6 +456,7 @@ test_files:
450
456
  - spec/html/dist/css/patternfly.css.map
451
457
  - spec/html/dist/css/patternfly.min.css
452
458
  - spec/html/dist/css/patternfly.min.css.map
459
+ - spec/html/donut-charts.html
453
460
  - spec/html/dropdowns.html
454
461
  - spec/html/form.html
455
462
  - spec/html/forms.html
@@ -462,6 +469,7 @@ test_files:
462
469
  - spec/html/layout-alt-fixed-with-footer-inner-scroll.html
463
470
  - spec/html/layout-alt-fixed-with-footer.html
464
471
  - spec/html/layout-alt-fixed.html
472
+ - spec/html/line-charts.html
465
473
  - spec/html/list-group.html
466
474
  - spec/html/list-view.html
467
475
  - spec/html/login.html
@@ -469,6 +477,7 @@ test_files:
469
477
  - spec/html/navbar.html
470
478
  - spec/html/pagination.html
471
479
  - spec/html/panels.html
480
+ - spec/html/pie-charts.html
472
481
  - spec/html/popovers.html
473
482
  - spec/html/progress-bars.html
474
483
  - spec/html/search.html
@@ -1,428 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--[if IE 9]><html lang="en-us" class="ie9"><![endif]-->
3
- <!--[if gt IE 9]><!-->
4
- <html lang="en-us">
5
- <!--<![endif]-->
6
- <head>
7
- <title>Charts - PatternFly</title>
8
- <meta charset="UTF-8">
9
- <meta http-equiv="X-UA-Compatible" content="IE=Edge">
10
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
- <link rel="shortcut icon" href="../dist/img/favicon.ico">
12
- <!-- iPad retina icon -->
13
- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../dist/img/apple-touch-icon-precomposed-152.png">
14
- <!-- iPad retina icon (iOS < 7) -->
15
- <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../dist/img/apple-touch-icon-precomposed-144.png">
16
- <!-- iPad non-retina icon -->
17
- <link rel="apple-touch-icon-precomposed" sizes="76x76" href="../dist/img/apple-touch-icon-precomposed-76.png">
18
- <!-- iPad non-retina icon (iOS < 7) -->
19
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../dist/img/apple-touch-icon-precomposed-72.png">
20
- <!-- iPhone 6 Plus icon -->
21
- <link rel="apple-touch-icon-precomposed" sizes="120x120" href="../dist/img/apple-touch-icon-precomposed-180.png">
22
- <!-- iPhone retina icon (iOS < 7) -->
23
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../dist/img/apple-touch-icon-precomposed-114.png">
24
- <!-- iPhone non-retina icon (iOS < 7) -->
25
- <link rel="apple-touch-icon-precomposed" sizes="57x57" href="../dist/img/apple-touch-icon-precomposed-57.png">
26
- <link rel="stylesheet" href="../dist/css/patternfly.min.css" >
27
- <link rel="stylesheet" href="../dist/css/patternfly-additions.min.css" >
28
- <link href="tests.css" rel="stylesheet" media="screen, print">
29
- <script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
30
- <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
31
- <script src="//cdnjs.cloudflare.com/ajax/libs/c3/0.4.10/c3.min.js"></script>
32
- <script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.5.0/d3.min.js"></script>
33
- <script src="../dist/js/patternfly.min.js"></script>
34
- </head>
35
-
36
- <body>
37
- <div class="container">
38
- <div class="page-header">
39
- <h1>Charts</h1>
40
- </div>
41
- <div class="alert alert-warning">
42
- <span class="pficon pficon-warning-triangle-o"></span>
43
- These examples are included for development testing purposes. For official documentation, see <a href="https://www.patternfly.org" class="alert-link">https://www.patternfly.org</a>, <a href="http://getbootstrap.com" class="alert-link">http://getbootstrap.com</a>, and <a href="http://c3js.org/">http://c3js.org/</a>
44
- </div>
45
- <hr>
46
- <h2>Line Chart</h2>
47
- <h3>Default C3 Colors <small> don't use these</small></h3>
48
- <div id="chart"></div>
49
- <h3>Patternfly Colors <small>use these</small></h3>
50
- <div id="chart1"></div>
51
- <h2>Sparkline</h2>
52
- <div class="row">
53
- <div class="col-md-4">
54
- <div class="chart-pf-sparkline" id="chart2"></div>
55
- <div>Less than one year remaining</div>
56
- </div>
57
- </div>
58
- <h2>Spline Chart</h2>
59
- <div id="chart3"></div>
60
- <h2>Area Chart</h2>
61
- <div id="chart4"></div>
62
- <h2>Stacked Area Chart</h2>
63
- <div id="chart5"></div>
64
- <h2>Bar Chart</h2>
65
- <div id="chart6"></div>
66
- <h2>Stacked Bar Chart, Rotated</h2>
67
- <div id="chart7"></div>
68
- <h2>Donut Chart</h2>
69
- <div id="chart8"></div>
70
- <h2>Custom Donut Chart</h2>
71
- <div id="chart9"></div>
72
- <script>
73
- var chart = c3.generate({
74
- axis: {
75
- x: {
76
- tick: {
77
- outer: false
78
- }
79
- },
80
- y: {
81
- tick: {
82
- outer: false
83
- }
84
- }
85
- },
86
- bindto: '#chart',
87
- data: {
88
- columns: [
89
- ['data1', 30, 200, 100, 400, 150, 250],
90
- ['data2', 50, 220, 310, 240, 115, 25],
91
- ['data3', 70, 100, 390, 295, 170, 220],
92
- ['data4', 10, 340, 30, 290, 35, 20],
93
- ['data5', 90, 150, 160, 165, 180, 5]
94
- ]
95
- },
96
- grid: {
97
- y: {
98
- show: true
99
- }
100
- },
101
- point: {
102
- r: 4
103
- }
104
- });
105
-
106
- var c3ChartDefaults = $().c3ChartDefaults();
107
-
108
- var chart1 = c3.generate({
109
- axis: {
110
- x: {
111
- tick: {
112
- outer: false
113
- }
114
- },
115
- y: {
116
- tick: {
117
- outer: false
118
- }
119
- }
120
- },
121
- bindto: '#chart1',
122
- color: c3ChartDefaults.getDefaultColors(),
123
- data: {
124
- columns: [
125
- ['data1', 30, 200, 100, 400, 150, 250],
126
- ['data2', 50, 220, 310, 240, 115, 25],
127
- ['data3', 70, 100, 390, 295, 170, 220],
128
- ['data4', 10, 340, 30, 290, 35, 20],
129
- ['data5', 90, 150, 160, 165, 180, 5]
130
- ]
131
- },
132
- grid: {
133
- y: {
134
- show: true
135
- }
136
- },
137
- point: {
138
- r: 4
139
- }
140
- });
141
-
142
- // Sparkline Chart
143
- var sparklineChartConfig = c3ChartDefaults.getDefaultSparklineConfig();
144
- sparklineChartConfig.bindto = '#chart2';
145
- sparklineChartConfig.data = {
146
- columns: [
147
- ['%', 10, 14, 12, 20, 31, 27, 44, 36, 52, 55, 62, 68, 69, 88, 74, 88, 91],
148
- ],
149
- type: 'area'
150
- };
151
- var chart2 = c3.generate(sparklineChartConfig);
152
-
153
- // Spline Chart
154
- var chart3 = c3.generate({
155
- axis: {
156
- x: {
157
- tick: {
158
- outer: false
159
- }
160
- },
161
- y: {
162
- tick: {
163
- outer: false
164
- }
165
- }
166
- },
167
- bindto: '#chart3',
168
- color: c3ChartDefaults.getDefaultColors(),
169
- data: {
170
- columns: [
171
- ['data1', 30, 200, 100, 400, 150, 250],
172
- ['data2', 50, 220, 310, 240, 115, 25],
173
- ['data3', 70, 100, 390, 295, 170, 220],
174
- ['data4', 10, 340, 30, 290, 35, 20],
175
- ['data5', 90, 150, 160, 165, 180, 5]
176
- ],
177
- type: 'spline'
178
- },
179
- grid: {
180
- y: {
181
- show: true
182
- }
183
- },
184
- point: {
185
- r: 4
186
- }
187
- });
188
-
189
- // Area Chart
190
- var chart4 = c3.generate({
191
- axis: {
192
- x: {
193
- tick: {
194
- outer: false
195
- }
196
- },
197
- y: {
198
- tick: {
199
- outer: false
200
- }
201
- }
202
- },
203
- bindto: '#chart4',
204
- color: c3ChartDefaults.getDefaultColors(),
205
- data: {
206
- columns: [
207
- ['data1', 300, 350, 300, 0, 0, 0],
208
- ['data2', 130, 100, 140, 200, 150, 50]
209
- ],
210
- types: {
211
- data1: 'area-spline',
212
- data2: 'area-spline'
213
- }
214
- },
215
- grid: {
216
- y: {
217
- show: true
218
- }
219
- },
220
- point: {
221
- r: 4
222
- }
223
- });
224
-
225
- // Stacked Area Chart
226
- var chart5 = c3.generate({
227
- axis: {
228
- x: {
229
- tick: {
230
- outer: false
231
- }
232
- },
233
- y: {
234
- tick: {
235
- outer: false
236
- }
237
- }
238
- },
239
- bindto: '#chart5',
240
- color: c3ChartDefaults.getDefaultColors(),
241
- data: {
242
- columns: [
243
- ['data1', 300, 350, 300, 0, 0, 0],
244
- ['data2', 130, 100, 140, 200, 150, 50]
245
- ],
246
- types: {
247
- data1: 'area-spline',
248
- data2: 'area-spline'
249
- },
250
- groups: [['data1', 'data2']]
251
- },
252
- grid: {
253
- y: {
254
- show: true
255
- }
256
- },
257
- point: {
258
- r: 4
259
- }
260
- });
261
-
262
- // Bar Chart
263
- var chart6 = c3.generate({
264
- axis: {
265
- x: {
266
- categories: ['Red', 'Orange', 'Green', 'Blue'],
267
- tick: {
268
- outer: false
269
- },
270
- type: 'category'
271
- },
272
- y: {
273
- tick: {
274
- outer: false
275
- }
276
- }
277
- },
278
- bar: {
279
- width: {
280
- ratio: 0.5 // this makes bar width 50% of length between ticks
281
- }
282
- },
283
- bindto: '#chart6',
284
- color: c3ChartDefaults.getDefaultColors(),
285
- data: {
286
- columns: [
287
- ['data1', 5, 200, 200, 400],
288
- ['data2', 130, 100, 20, 200]
289
- ],
290
- // optional drilldown behavior
291
- onclick: function (d, element) {
292
- window.location = chart6Urls[d.id][d.index];
293
- },
294
- type: 'bar'
295
- },
296
- grid: {
297
- y: {
298
- show: true
299
- }
300
- }
301
- });
302
- // URLs for optional drilldown behavior
303
- var chart6Urls = {
304
- data1: [
305
- 'https://www.gogole.com',
306
- 'https://www.yahoo.com',
307
- 'https://www.bing.com/',
308
- 'https://duckduckgo.com/'
309
- ],
310
- data2: [
311
- 'https://www.redhat.com',
312
- 'http://mozilla.org',
313
- 'https://www.acquia.com/',
314
- 'https://wordpress.org/'
315
- ]
316
- };
317
-
318
- // Stacked Bar Chart, Rotated
319
- var chart7 = c3.generate({
320
- axis: {
321
- rotated: true,
322
- x: {
323
- categories: ['Red', 'Orange', 'Green', 'Blue'],
324
- tick: {
325
- outer: false
326
- },
327
- type: 'category'
328
- },
329
- y: {
330
- tick: {
331
- outer: false
332
- }
333
- }
334
- },
335
- bindto: '#chart7',
336
- color: c3ChartDefaults.getDefaultColors(),
337
- data: {
338
- columns: [
339
- ['data1', 5, 200, 200, 400],
340
- ['data2', 130, 100, 20, 200]
341
- ],
342
- groups: [
343
- ['data1', 'data2']
344
- ],
345
- // optional drilldown behavior
346
- onclick: function (d, element) {
347
- window.location = chart7Urls[d.id][d.index];
348
- },
349
- type: 'bar'
350
- },
351
- grid: {
352
- y: {
353
- show: true
354
- }
355
- },
356
- legend: {
357
- position: 'right'
358
- }
359
- });
360
- // URLs for optional drilldown behavior
361
- var chart7Urls = {
362
- data1: [
363
- 'https://www.gogole.com',
364
- 'https://www.yahoo.com',
365
- 'https://www.bing.com/',
366
- 'https://duckduckgo.com/'
367
- ],
368
- data2: [
369
- 'https://www.redhat.com',
370
- 'http://mozilla.org',
371
- 'https://www.acquia.com/',
372
- 'https://wordpress.org/'
373
- ]
374
- };
375
-
376
- // Donut Chart
377
- var donutChartConfig = c3ChartDefaults.getDefaultDonutConfig('29,210 Host Totals');
378
- donutChartConfig.bindto = '#chart8';
379
- donutChartConfig.tooltip = {show: true};
380
- donutChartConfig.data = {
381
- type : 'donut',
382
- colors: {
383
- Cloud: '#00659c',
384
- Virtual: '#0088ce',
385
- Baremetal: '#969696'
386
- },
387
- columns: [
388
- ['Cloud', 4,828],
389
- ['Virtual', 13,258],
390
- ['Baremetal', 11,1124]
391
- ],
392
- onclick: function (d, i) { console.log("onclick", d, i); },
393
- onmouseover: function (d, i) { console.log("onmouseover", d, i); },
394
- onmouseout: function (d, i) { console.log("onmouseout", d, i); }
395
- };
396
- var chart8 = c3.generate(donutChartConfig);
397
-
398
- // Custom Donut Chart
399
- var customDonutChartConfig = c3ChartDefaults.getDefaultDonutConfig('A');
400
- customDonutChartConfig.bindto = '#chart9';
401
- customDonutChartConfig.data = {
402
- type: "donut",
403
- columns: [
404
- ["Used", 60],
405
- ["Available", 40]
406
- ],
407
- groups: [
408
- ["used", "available"]
409
- ],
410
- order: null
411
- };
412
- customDonutChartConfig.tooltip = {
413
- contents: function (d) {
414
- return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
415
- Math.round(d[0].ratio * 100) + '%' + ' MHz ' + d[0].name +
416
- '</span>';
417
- }
418
- };
419
- var chart9 = c3.generate(customDonutChartConfig);
420
- var donutChartTitle = d3.select("#chart9").select('text.c3-chart-arcs-title');
421
- donutChartTitle.text("");
422
- donutChartTitle.insert('tspan').text("60").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
423
- donutChartTitle.insert('tspan').text("MHz Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
424
- </script>
425
-
426
- </div><!-- /container -->
427
- </body>
428
- </html>