patternfly-sass 3.2.0 → 3.3.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.
- checksums.yaml +4 -4
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.svg +2 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.eot +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.svg +112 -22
- data/assets/fonts/patternfly/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.woff +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.woff2 +0 -0
- data/assets/images/patternfly/OpenShift-logo.svg +69 -0
- data/assets/images/patternfly/RH_atomic.svg +88 -0
- data/assets/images/patternfly/kubernetes.svg +8 -0
- data/assets/javascripts/patternfly.js +68 -1
- data/assets/javascripts/patternfly.min.js +1 -1
- data/assets/stylesheets/_patternfly.scss +2 -0
- data/assets/stylesheets/patternfly/_dropdowns.scss +5 -0
- data/assets/stylesheets/patternfly/_icons.scss +6 -0
- data/assets/stylesheets/patternfly/_time-picker.scss +76 -0
- data/assets/stylesheets/patternfly/_toast.scss +10 -0
- data/assets/stylesheets/patternfly/_variables.scss +2 -0
- data/assets/stylesheets/patternfly/lib/bootstrap-datetimepicker.scss +373 -0
- data/bower.json +6 -4
- data/lib/patternfly-sass/version.rb +2 -2
- data/patternfly-sass.gemspec +2 -2
- data/spec/html/dist/css/patternfly-additions.css +466 -185
- data/spec/html/dist/css/patternfly-additions.css.map +1 -1
- data/spec/html/dist/css/patternfly-additions.min.css +5 -1
- data/spec/html/dist/css/patternfly-additions.min.css.map +1 -1
- data/spec/html/dist/css/patternfly.css +324 -76
- data/spec/html/dist/css/patternfly.css.map +1 -1
- data/spec/html/dist/css/patternfly.min.css +5 -5
- data/spec/html/dist/css/patternfly.min.css.map +1 -1
- data/spec/html/donut-charts.html +3 -3
- data/spec/html/dropdowns.html +20 -4
- data/spec/html/icons.html +8 -0
- data/spec/html/index.html +3 -0
- data/spec/html/list-view.html +5 -0
- data/spec/html/pie-charts.html +2 -12
- data/spec/html/tables.html +260 -56
- data/spec/html/time-picker.html +73 -0
- data/spec/html/toast.html +37 -0
- data/spec/html/toolbar.html +1 -0
- data/tasks/converter.rb +6 -3
- metadata +13 -6
data/spec/html/tables.html
CHANGED
@@ -41,62 +41,7 @@
|
|
41
41
|
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> and <a href="http://getbootstrap.com" class="alert-link">http://getbootstrap.com</a>.
|
42
42
|
</div>
|
43
43
|
<hr>
|
44
|
-
<h2>
|
45
|
-
<table class="table table-bordered">
|
46
|
-
<thead>
|
47
|
-
<tr>
|
48
|
-
<th>#</th>
|
49
|
-
<th>Column heading</th>
|
50
|
-
<th>Column heading</th>
|
51
|
-
<th>Column heading</th>
|
52
|
-
</tr>
|
53
|
-
</thead>
|
54
|
-
<tbody>
|
55
|
-
<tr class="active">
|
56
|
-
<td>1</td>
|
57
|
-
<td>Column content</td>
|
58
|
-
<td>Column content</td>
|
59
|
-
<td>Column content</td>
|
60
|
-
</tr>
|
61
|
-
<tr>
|
62
|
-
<td>2</td>
|
63
|
-
<td>Column content</td>
|
64
|
-
<td>Column content</td>
|
65
|
-
<td>Column content</td>
|
66
|
-
</tr>
|
67
|
-
<tr class="success">
|
68
|
-
<td>3</td>
|
69
|
-
<td>Column content</td>
|
70
|
-
<td>Column content</td>
|
71
|
-
<td>Column content</td>
|
72
|
-
</tr>
|
73
|
-
<tr>
|
74
|
-
<td>4</td>
|
75
|
-
<td>Column content</td>
|
76
|
-
<td>Column content</td>
|
77
|
-
<td>Column content</td>
|
78
|
-
</tr>
|
79
|
-
<tr class="warning">
|
80
|
-
<td>5</td>
|
81
|
-
<td>Column content</td>
|
82
|
-
<td>Column content</td>
|
83
|
-
<td>Column content</td>
|
84
|
-
</tr>
|
85
|
-
<tr>
|
86
|
-
<td>6</td>
|
87
|
-
<td>Column content</td>
|
88
|
-
<td>Column content</td>
|
89
|
-
<td>Column content</td>
|
90
|
-
</tr>
|
91
|
-
<tr class="danger">
|
92
|
-
<td>7</td>
|
93
|
-
<td>Column content</td>
|
94
|
-
<td>Column content</td>
|
95
|
-
<td>Column content</td>
|
96
|
-
</tr>
|
97
|
-
</tbody>
|
98
|
-
</table>
|
99
|
-
<h2>Responsive and bordered tables. Striped and hover rows.</h2>
|
44
|
+
<h2>PatternFly recommendation: Bootstrap striped, bordered, hover, and responsive</h2>
|
100
45
|
<div class="table-responsive">
|
101
46
|
<table class="table table-striped table-bordered table-hover">
|
102
47
|
<thead>
|
@@ -204,6 +149,7 @@
|
|
204
149
|
</tbody>
|
205
150
|
</table>
|
206
151
|
</div>
|
152
|
+
<hr>
|
207
153
|
<h2>TreeGrid tables</h2>
|
208
154
|
<div class="table-responsive">
|
209
155
|
<table class="table table-bordered table-hover table-treegrid">
|
@@ -330,6 +276,264 @@
|
|
330
276
|
<script>
|
331
277
|
$('.table-treegrid').treegrid();
|
332
278
|
</script>
|
279
|
+
<hr>
|
280
|
+
<h2>Bootstrap examples</h2>
|
281
|
+
<h3>Basic example</h3>
|
282
|
+
<table class="table">
|
283
|
+
<caption>Optional table caption.</caption>
|
284
|
+
<thead>
|
285
|
+
<tr>
|
286
|
+
<th>#</th>
|
287
|
+
<th>First Name</th>
|
288
|
+
<th>Last Name</th>
|
289
|
+
<th>Username</th>
|
290
|
+
</tr>
|
291
|
+
</thead>
|
292
|
+
<tbody>
|
293
|
+
<tr>
|
294
|
+
<th scope="row">1</th>
|
295
|
+
<td>Mark</td>
|
296
|
+
<td>Otto</td>
|
297
|
+
<td>@mdo</td>
|
298
|
+
</tr>
|
299
|
+
<tr>
|
300
|
+
<th scope="row">2</th>
|
301
|
+
<td>Jacob</td>
|
302
|
+
<td>Thornton</td>
|
303
|
+
<td>@fat</td>
|
304
|
+
</tr>
|
305
|
+
<tr>
|
306
|
+
<th scope="row">3</th>
|
307
|
+
<td>Larry</td>
|
308
|
+
<td>the Bird</td>
|
309
|
+
<td>@twitter</td>
|
310
|
+
</tr>
|
311
|
+
</tbody>
|
312
|
+
</table>
|
313
|
+
<h3>Striped rows</h3>
|
314
|
+
<table class="table table-striped">
|
315
|
+
<thead>
|
316
|
+
<tr>
|
317
|
+
<th>#</th>
|
318
|
+
<th>First Name</th>
|
319
|
+
<th>Last Name</th>
|
320
|
+
<th>Username</th>
|
321
|
+
</tr>
|
322
|
+
</thead>
|
323
|
+
<tbody>
|
324
|
+
<tr>
|
325
|
+
<th scope="row">1</th>
|
326
|
+
<td>Mark</td>
|
327
|
+
<td>Otto</td>
|
328
|
+
<td>@mdo</td>
|
329
|
+
</tr>
|
330
|
+
<tr>
|
331
|
+
<th scope="row">2</th>
|
332
|
+
<td>Jacob</td>
|
333
|
+
<td>Thornton</td>
|
334
|
+
<td>@fat</td>
|
335
|
+
</tr>
|
336
|
+
<tr>
|
337
|
+
<th scope="row">3</th>
|
338
|
+
<td>Larry</td>
|
339
|
+
<td>the Bird</td>
|
340
|
+
<td>@twitter</td>
|
341
|
+
</tr>
|
342
|
+
</tbody>
|
343
|
+
</table>
|
344
|
+
<h3>Bordered table</h3>
|
345
|
+
<table class="table table-bordered">
|
346
|
+
<thead>
|
347
|
+
<tr>
|
348
|
+
<th>#</th>
|
349
|
+
<th>First Name</th>
|
350
|
+
<th>Last Name</th>
|
351
|
+
<th>Username</th>
|
352
|
+
</tr>
|
353
|
+
</thead>
|
354
|
+
<tbody>
|
355
|
+
<tr>
|
356
|
+
<th scope="row">1</th>
|
357
|
+
<td>Mark</td>
|
358
|
+
<td>Otto</td>
|
359
|
+
<td>@mdo</td>
|
360
|
+
</tr>
|
361
|
+
<tr>
|
362
|
+
<th scope="row">2</th>
|
363
|
+
<td>Jacob</td>
|
364
|
+
<td>Thornton</td>
|
365
|
+
<td>@fat</td>
|
366
|
+
</tr>
|
367
|
+
<tr>
|
368
|
+
<th scope="row">3</th>
|
369
|
+
<td>Larry</td>
|
370
|
+
<td>the Bird</td>
|
371
|
+
<td>@twitter</td>
|
372
|
+
</tr>
|
373
|
+
</tbody>
|
374
|
+
</table>
|
375
|
+
<h3>Hover rows</h3>
|
376
|
+
<table class="table table-hover">
|
377
|
+
<thead>
|
378
|
+
<tr>
|
379
|
+
<th>#</th>
|
380
|
+
<th>First Name</th>
|
381
|
+
<th>Last Name</th>
|
382
|
+
<th>Username</th>
|
383
|
+
</tr>
|
384
|
+
</thead>
|
385
|
+
<tbody>
|
386
|
+
<tr>
|
387
|
+
<th scope="row">1</th>
|
388
|
+
<td>Mark</td>
|
389
|
+
<td>Otto</td>
|
390
|
+
<td>@mdo</td>
|
391
|
+
</tr>
|
392
|
+
<tr>
|
393
|
+
<th scope="row">2</th>
|
394
|
+
<td>Jacob</td>
|
395
|
+
<td>Thornton</td>
|
396
|
+
<td>@fat</td>
|
397
|
+
</tr>
|
398
|
+
<tr>
|
399
|
+
<th scope="row">3</th>
|
400
|
+
<td>Larry</td>
|
401
|
+
<td>the Bird</td>
|
402
|
+
<td>@twitter</td>
|
403
|
+
</tr>
|
404
|
+
</tbody>
|
405
|
+
</table>
|
406
|
+
<h3>Condensed table</h3>
|
407
|
+
<table class="table table-condensed">
|
408
|
+
<thead>
|
409
|
+
<tr>
|
410
|
+
<th>#</th>
|
411
|
+
<th>First Name</th>
|
412
|
+
<th>Last Name</th>
|
413
|
+
<th>Username</th>
|
414
|
+
</tr>
|
415
|
+
</thead>
|
416
|
+
<tbody>
|
417
|
+
<tr>
|
418
|
+
<th scope="row">1</th>
|
419
|
+
<td>Mark</td>
|
420
|
+
<td>Otto</td>
|
421
|
+
<td>@mdo</td>
|
422
|
+
</tr>
|
423
|
+
<tr>
|
424
|
+
<th scope="row">2</th>
|
425
|
+
<td>Jacob</td>
|
426
|
+
<td>Thornton</td>
|
427
|
+
<td>@fat</td>
|
428
|
+
</tr>
|
429
|
+
<tr>
|
430
|
+
<th scope="row">3</th>
|
431
|
+
<td>Larry</td>
|
432
|
+
<td>the Bird</td>
|
433
|
+
<td>@twitter</td>
|
434
|
+
</tr>
|
435
|
+
</tbody>
|
436
|
+
</table>
|
437
|
+
<h3>Contextual classes</h3>
|
438
|
+
<table class="table">
|
439
|
+
<thead>
|
440
|
+
<tr>
|
441
|
+
<th>#</th>
|
442
|
+
<th>Column heading</th>
|
443
|
+
<th>Column heading</th>
|
444
|
+
<th>Column heading</th>
|
445
|
+
</tr>
|
446
|
+
</thead>
|
447
|
+
<tbody>
|
448
|
+
<tr class="active">
|
449
|
+
<td>1</td>
|
450
|
+
<td>Column content</td>
|
451
|
+
<td>Column content</td>
|
452
|
+
<td>Column content</td>
|
453
|
+
</tr>
|
454
|
+
<tr>
|
455
|
+
<td>2</td>
|
456
|
+
<td>Column content</td>
|
457
|
+
<td>Column content</td>
|
458
|
+
<td>Column content</td>
|
459
|
+
</tr>
|
460
|
+
<tr class="success">
|
461
|
+
<td>3</td>
|
462
|
+
<td>Column content</td>
|
463
|
+
<td>Column content</td>
|
464
|
+
<td>Column content</td>
|
465
|
+
</tr>
|
466
|
+
<tr>
|
467
|
+
<td>4</td>
|
468
|
+
<td>Column content</td>
|
469
|
+
<td>Column content</td>
|
470
|
+
<td>Column content</td>
|
471
|
+
</tr>
|
472
|
+
<tr class="warning">
|
473
|
+
<td>5</td>
|
474
|
+
<td>Column content</td>
|
475
|
+
<td>Column content</td>
|
476
|
+
<td>Column content</td>
|
477
|
+
</tr>
|
478
|
+
<tr>
|
479
|
+
<td>6</td>
|
480
|
+
<td>Column content</td>
|
481
|
+
<td>Column content</td>
|
482
|
+
<td>Column content</td>
|
483
|
+
</tr>
|
484
|
+
<tr class="danger">
|
485
|
+
<td>7</td>
|
486
|
+
<td>Column content</td>
|
487
|
+
<td>Column content</td>
|
488
|
+
<td>Column content</td>
|
489
|
+
</tr>
|
490
|
+
</tbody>
|
491
|
+
</table>
|
492
|
+
<h3>Responsive tables</h3>
|
493
|
+
<div class="table-responsive">
|
494
|
+
<table class="table">
|
495
|
+
<thead>
|
496
|
+
<tr>
|
497
|
+
<th>#</th>
|
498
|
+
<th>Table heading</th>
|
499
|
+
<th>Table heading</th>
|
500
|
+
<th>Table heading</th>
|
501
|
+
<th>Table heading</th>
|
502
|
+
<th>Table heading</th>
|
503
|
+
<th>Table heading</th>
|
504
|
+
</tr>
|
505
|
+
</thead>
|
506
|
+
<tbody>
|
507
|
+
<tr>
|
508
|
+
<th scope="row">1</th>
|
509
|
+
<td>Table cell</td>
|
510
|
+
<td>Table cell</td>
|
511
|
+
<td>Table cell</td>
|
512
|
+
<td>Table cell</td>
|
513
|
+
<td>Table cell</td>
|
514
|
+
<td>Table cell</td>
|
515
|
+
</tr>
|
516
|
+
<tr>
|
517
|
+
<th scope="row">2</th>
|
518
|
+
<td>Table cell</td>
|
519
|
+
<td>Table cell</td>
|
520
|
+
<td>Table cell</td>
|
521
|
+
<td>Table cell</td>
|
522
|
+
<td>Table cell</td>
|
523
|
+
<td>Table cell</td>
|
524
|
+
</tr>
|
525
|
+
<tr>
|
526
|
+
<th scope="row">3</th>
|
527
|
+
<td>Table cell</td>
|
528
|
+
<td>Table cell</td>
|
529
|
+
<td>Table cell</td>
|
530
|
+
<td>Table cell</td>
|
531
|
+
<td>Table cell</td>
|
532
|
+
<td>Table cell</td>
|
533
|
+
</tr>
|
534
|
+
</tbody>
|
535
|
+
</table>
|
536
|
+
</div>
|
333
537
|
|
334
538
|
</div><!-- /container -->
|
335
539
|
</body>
|
@@ -0,0 +1,73 @@
|
|
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>Time Picker - 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="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
|
32
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.37/js/bootstrap-datetimepicker.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>Time Picker</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://eonasdan.github.io/bootstrap-datetimepicker/#custom-formats">http://eonasdan.github.io/bootstrap-datetimepicker/#custom-formats</a>.
|
44
|
+
</div>
|
45
|
+
<hr>
|
46
|
+
<h3>Component</h3>
|
47
|
+
<div class="row">
|
48
|
+
<div class="col-lg-4 col-md-5 col-sm-6">
|
49
|
+
<div class="input-group time-picker-pf" id="datetimepicker3">
|
50
|
+
<input type="text" class="form-control">
|
51
|
+
<span class="input-group-addon btn btn-default">
|
52
|
+
<span class="fa fa-clock-o"></span>
|
53
|
+
</span>
|
54
|
+
</div>
|
55
|
+
<script>
|
56
|
+
$(function () {
|
57
|
+
$('#datetimepicker3').datetimepicker({
|
58
|
+
format: 'LT',
|
59
|
+
keyBinds: {
|
60
|
+
enter: function () {
|
61
|
+
$('#datetimepicker3').find('input').trigger('change');
|
62
|
+
this.hide();
|
63
|
+
}
|
64
|
+
}
|
65
|
+
});
|
66
|
+
$('#datetimepicker3').data('DateTimePicker').clear();
|
67
|
+
});
|
68
|
+
</script>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
</div><!-- /container -->
|
72
|
+
</body>
|
73
|
+
</html>
|
data/spec/html/toast.html
CHANGED
@@ -41,6 +41,7 @@
|
|
41
41
|
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> and <a href="http://getbootstrap.com" class="alert-link">http://getbootstrap.com</a>.
|
42
42
|
</div>
|
43
43
|
<hr>
|
44
|
+
<div class="toast-pf-top-right"></div>
|
44
45
|
<div class="toast-pf alert alert-success">
|
45
46
|
<div class="pull-right toast-pf-action">
|
46
47
|
<a href="#">Start Server</a>
|
@@ -82,6 +83,7 @@
|
|
82
83
|
<li><a href="#">Action</a></li>
|
83
84
|
<li><a href="#">Another action</a></li>
|
84
85
|
<li><a href="#">Something else here</a></li>
|
86
|
+
<li role="separator" class="divider"></li>
|
85
87
|
<li><a href="#">Separated link</a></li>
|
86
88
|
</ul>
|
87
89
|
</div>
|
@@ -128,6 +130,41 @@
|
|
128
130
|
<span class="pficon pficon-warning-triangle-o"></span>
|
129
131
|
Max-width is set on this example.
|
130
132
|
</div>
|
133
|
+
<hr>
|
134
|
+
<h2>Dynamic notifications</h2>
|
135
|
+
<p>
|
136
|
+
<button type="button" class="btn btn-default" id="dynamic-info">Info</button>
|
137
|
+
<button type="button" class="btn btn-success" id="dynamic-success">Success</button>
|
138
|
+
<button type="button" class="btn btn-warning" id="dynamic-warning">Warning</button>
|
139
|
+
<button type="button" class="btn btn-danger" id="dynamic-error">Error</button>
|
140
|
+
</p>
|
141
|
+
<script>
|
142
|
+
$('#dynamic-info').click(function() {
|
143
|
+
$().toastNotify({
|
144
|
+
level: 'info',
|
145
|
+
message: 'This is a dynamic notification!'
|
146
|
+
});
|
147
|
+
});
|
148
|
+
$('#dynamic-success').click(function() {
|
149
|
+
$().toastNotify({
|
150
|
+
level: 'success',
|
151
|
+
message: 'This is a dynamic notification!'
|
152
|
+
});
|
153
|
+
});
|
154
|
+
$('#dynamic-error').click(function() {
|
155
|
+
$().toastNotify({
|
156
|
+
level: 'error',
|
157
|
+
message: 'This is a dynamic notification!'
|
158
|
+
});
|
159
|
+
});
|
160
|
+
$('#dynamic-warning').click(function() {
|
161
|
+
$().toastNotify({
|
162
|
+
level: 'warning',
|
163
|
+
message: 'This is a dynamic notification!'
|
164
|
+
});
|
165
|
+
});
|
166
|
+
</script>
|
167
|
+
|
131
168
|
</div><!-- /container -->
|
132
169
|
</body>
|
133
170
|
</html>
|
data/spec/html/toolbar.html
CHANGED
data/tasks/converter.rb
CHANGED
@@ -14,11 +14,11 @@ class Converter
|
|
14
14
|
:replace_spin,
|
15
15
|
# :replace_fadein,
|
16
16
|
:replace_image_urls,
|
17
|
+
:remove_unnecessary_escaping,
|
17
18
|
:replace_escaping,
|
18
19
|
:convert_less_ampersand,
|
19
20
|
:deinterpolate_vararg_mixins,
|
20
|
-
:replace_calculation_semantics
|
21
|
-
:remove_unnecessary_escaping
|
21
|
+
:replace_calculation_semantics
|
22
22
|
]
|
23
23
|
TOP = <<-VAR.gsub(/^\s*/, '')
|
24
24
|
// PatternFly SASS
|
@@ -60,7 +60,7 @@ class Converter
|
|
60
60
|
|
61
61
|
# SASS doesn't require escaping in calc()
|
62
62
|
def remove_unnecessary_escaping(file)
|
63
|
-
file.gsub(/calc\(\~\'([^\']+)\'\)/, 'calc(\1)')
|
63
|
+
file.gsub(/calc\(\~\'([^\']+)\'\)/, 'calc(\1)').gsub(/calc\(\~\"([^\"]+)\"\)/, 'calc(\1)')
|
64
64
|
end
|
65
65
|
|
66
66
|
# Override
|
@@ -130,6 +130,9 @@ class Converter
|
|
130
130
|
bower_contrib('bootstrap-switch/src/less/bootstrap3/bootstrap-switch.less', 'bootstrap-switch.scss')
|
131
131
|
file = replace_all(file, 'patternfly/lib/bootstrap-switch/bootstrap-switch', 'patternfly/lib/bootstrap-switch')
|
132
132
|
|
133
|
+
bower_contrib('eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css', 'bootstrap-datetimepicker.scss', false)
|
134
|
+
file = replace_all(file, 'patternfly/lib/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker-build', 'patternfly/lib/bootstrap-datetimepicker')
|
135
|
+
|
133
136
|
TOP + remove_comments_and_whitespace(file)
|
134
137
|
end
|
135
138
|
|
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.3.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-03-
|
12
|
+
date: 2016-03-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -31,28 +31,28 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 3.3.
|
34
|
+
version: 3.3.6
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 3.3.
|
41
|
+
version: 3.3.6
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: font-awesome-sass
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 4.
|
48
|
+
version: 4.5.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 4.
|
55
|
+
version: 4.5.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rake
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -234,6 +234,8 @@ files:
|
|
234
234
|
- assets/fonts/patternfly/glyphicons-halflings-regular.ttf
|
235
235
|
- assets/fonts/patternfly/glyphicons-halflings-regular.woff
|
236
236
|
- assets/fonts/patternfly/glyphicons-halflings-regular.woff2
|
237
|
+
- assets/images/patternfly/OpenShift-logo.svg
|
238
|
+
- assets/images/patternfly/RH_atomic.svg
|
237
239
|
- assets/images/patternfly/apple-touch-icon-precomposed-114.png
|
238
240
|
- assets/images/patternfly/apple-touch-icon-precomposed-144.png
|
239
241
|
- assets/images/patternfly/apple-touch-icon-precomposed-152.png
|
@@ -246,6 +248,7 @@ files:
|
|
246
248
|
- assets/images/patternfly/brand-alt.svg
|
247
249
|
- assets/images/patternfly/brand.svg
|
248
250
|
- assets/images/patternfly/favicon.ico
|
251
|
+
- assets/images/patternfly/kubernetes.svg
|
249
252
|
- assets/images/patternfly/logo-alt.svg
|
250
253
|
- assets/images/patternfly/logo.svg
|
251
254
|
- assets/images/patternfly/spinner-inverse-lg.gif
|
@@ -311,6 +314,7 @@ files:
|
|
311
314
|
- assets/stylesheets/patternfly/_syntax-highlighting.scss
|
312
315
|
- assets/stylesheets/patternfly/_tables.scss
|
313
316
|
- assets/stylesheets/patternfly/_tabs.scss
|
317
|
+
- assets/stylesheets/patternfly/_time-picker.scss
|
314
318
|
- assets/stylesheets/patternfly/_toast.scss
|
315
319
|
- assets/stylesheets/patternfly/_toolbar.scss
|
316
320
|
- assets/stylesheets/patternfly/_tooltip.scss
|
@@ -319,6 +323,7 @@ files:
|
|
319
323
|
- assets/stylesheets/patternfly/_vertical-nav.scss
|
320
324
|
- assets/stylesheets/patternfly/lib/bootstrap-combobox.scss
|
321
325
|
- assets/stylesheets/patternfly/lib/bootstrap-datepicker.scss
|
326
|
+
- assets/stylesheets/patternfly/lib/bootstrap-datetimepicker.scss
|
322
327
|
- assets/stylesheets/patternfly/lib/bootstrap-select.scss
|
323
328
|
- assets/stylesheets/patternfly/lib/bootstrap-switch.scss
|
324
329
|
- assets/stylesheets/patternfly/lib/bootstrap-touchspin.scss
|
@@ -389,6 +394,7 @@ files:
|
|
389
394
|
- spec/html/tables.html
|
390
395
|
- spec/html/tabs.html
|
391
396
|
- spec/html/tests.css
|
397
|
+
- spec/html/time-picker.html
|
392
398
|
- spec/html/toast.html
|
393
399
|
- spec/html/toolbar.html
|
394
400
|
- spec/html/tooltip.html
|
@@ -486,6 +492,7 @@ test_files:
|
|
486
492
|
- spec/html/tables.html
|
487
493
|
- spec/html/tabs.html
|
488
494
|
- spec/html/tests.css
|
495
|
+
- spec/html/time-picker.html
|
489
496
|
- spec/html/toast.html
|
490
497
|
- spec/html/toolbar.html
|
491
498
|
- spec/html/tooltip.html
|