patternfly-sass 3.17.0 → 3.20.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/OpenSans-Bold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.svg +19025 -1827
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.svg +19033 -1827
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.svg +19027 -1827
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.svg +19033 -1827
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.svg +19040 -1827
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.svg +19023 -1828
- data/assets/fonts/patternfly/OpenSans-Light-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.svg +19036 -1832
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.svg +19027 -1828
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.svg +19027 -1827
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.svg +19040 -1827
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.woff2 +0 -0
- 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/javascripts/patternfly-functions.js +118 -105
- data/assets/javascripts/patternfly-functions.min.js +1 -1
- data/assets/javascripts/patternfly-settings.js +24 -1
- data/assets/javascripts/patternfly-settings.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfEmpty.js +11 -2
- data/assets/javascripts/patternfly.dataTables.pfEmpty.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfFilter.js +13 -5
- data/assets/javascripts/patternfly.dataTables.pfFilter.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfPagination.js +401 -0
- data/assets/javascripts/patternfly.dataTables.pfPagination.min.js +1 -0
- data/assets/javascripts/patternfly.dataTables.pfSelect.js +2 -2
- data/assets/javascripts/patternfly.dataTables.pfSelect.min.js +1 -1
- data/assets/javascripts/patternfly.js +142 -106
- data/assets/javascripts/patternfly.min.js +2 -2
- data/assets/stylesheets/_patternfly.scss +1 -0
- data/assets/stylesheets/patternfly/_close.scss +2 -0
- data/assets/stylesheets/patternfly/_fonts.scss +95 -25
- data/assets/stylesheets/patternfly/_icons.scss +6 -0
- data/assets/stylesheets/patternfly/_list-view-dnd.scss +53 -0
- data/assets/stylesheets/patternfly/_list-view.scss +1 -0
- data/assets/stylesheets/patternfly/_pagination.scss +50 -0
- data/assets/stylesheets/patternfly/_variables.scss +2 -0
- data/assets/stylesheets/patternfly/lib/bootstrap-switch.scss +2 -5
- data/bower.json +1 -1
- data/lib/patternfly-sass/version.rb +2 -2
- data/package.json +1 -1
- data/spec/html/bar-charts.html +109 -0
- data/spec/html/basic.html +267 -0
- data/spec/html/bootstrap-treeview-2.html +3 -0
- data/spec/html/card-view-multi-select.html +20 -1
- data/spec/html/card-view-single-select.html +3 -0
- data/spec/html/cards.html +3 -0
- data/spec/html/dashboard.html +3 -0
- data/spec/html/dist/css/patternfly-additions.css +46 -0
- 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 +124 -5
- data/spec/html/dist/css/patternfly.css.map +1 -1
- data/spec/html/dist/css/patternfly.min.css +3 -3
- data/spec/html/dist/css/patternfly.min.css.map +1 -1
- data/spec/html/form.html +3 -0
- data/spec/html/icons.html +10 -0
- data/spec/html/index.html +9 -0
- data/spec/html/list-view-compound-expansion.html +3 -0
- data/spec/html/list-view-rows.html +1 -1
- data/spec/html/list-view-simple-expansion.html +3 -0
- data/spec/html/list-view.html +19 -0
- data/spec/html/pagination-card-view.html +560 -0
- data/spec/html/pagination-list-view.html +1204 -0
- data/spec/html/pagination-table-view.html +800 -0
- data/spec/html/pagination.html +37 -0
- data/spec/html/tab.html +267 -0
- data/spec/html/table-view-navbar.html +268 -0
- data/spec/html/table-view.html +265 -0
- data/spec/html/toolbar.html +3 -0
- data/spec/html/typography-2.html +3 -0
- data/spec/html/typography.html +17 -0
- metadata +21 -2
data/spec/html/basic.html
CHANGED
@@ -30,6 +30,7 @@
|
|
30
30
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
31
31
|
<script src="//cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
|
32
32
|
<script src="//cdn.datatables.net/select/1.2.0/js/dataTables.select.min.js"></script>
|
33
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script>
|
33
34
|
<script src="../../dist/js/patternfly.dataTables.pfEmpty.js"></script>
|
34
35
|
<script src="../../dist/js/patternfly.dataTables.pfFilter.js"></script>
|
35
36
|
<script src="../../dist/js/patternfly.dataTables.pfResize.js"></script>
|
@@ -138,6 +139,9 @@
|
|
138
139
|
<li>
|
139
140
|
<a href="cards.html">Cards</a>
|
140
141
|
</li>
|
142
|
+
<li>
|
143
|
+
<a href="pagination-card-view.html">Pagination - Card View</a>
|
144
|
+
</li>
|
141
145
|
</ul>
|
142
146
|
</div>
|
143
147
|
</nav>
|
@@ -241,6 +245,33 @@
|
|
241
245
|
</thead>
|
242
246
|
</table>
|
243
247
|
|
248
|
+
<form class="content-view-pf-pagination table-view-pf-pagination clearfix" id="pagination1">
|
249
|
+
<div class="form-group">
|
250
|
+
<select class="selectpicker pagination-pf-pagesize">
|
251
|
+
<option value="6">6</option>
|
252
|
+
<option value="10" >10</option>
|
253
|
+
<option value="15" selected="selected">15</option>
|
254
|
+
<option value="25">25</option>
|
255
|
+
<option value="50">50</option>
|
256
|
+
</select>
|
257
|
+
<span>per page</span>
|
258
|
+
</div>
|
259
|
+
<div class="form-group">
|
260
|
+
<span><span class="pagination-pf-items-current">1-15</span> of <span class="pagination-pf-items-total">75</span></span>
|
261
|
+
<ul class="pagination pagination-pf-back">
|
262
|
+
<li class="disabled"><a href="#" title="First Page"><span class="i fa fa-angle-double-left"></span></a></li>
|
263
|
+
<li class="disabled"><a href="#" title="Previous Page"><span class="i fa fa-angle-left"></span></a></li>
|
264
|
+
</ul>
|
265
|
+
<label for="pagination1-page" class="sr-only">Current Page</label>
|
266
|
+
<input class="pagination-pf-page" type="text" value="1" id="pagination1-page"/>
|
267
|
+
<span>of <span class="pagination-pf-pages">5</span></span>
|
268
|
+
<ul class="pagination pagination-pf-forward">
|
269
|
+
<li><a href="#" title="Next Page"><span class="i fa fa-angle-right"></span></a></li>
|
270
|
+
<li><a href="#" title="Last Page"><span class="i fa fa-angle-double-right"></span></a></li>
|
271
|
+
</ul>
|
272
|
+
</div>
|
273
|
+
</form>
|
274
|
+
|
244
275
|
<!-- Blank Slate HTML -->
|
245
276
|
<div class="blank-slate-pf table-view-pf-empty hidden" id="emptyState1">
|
246
277
|
<div class="blank-slate-pf-icon">
|
@@ -375,6 +406,240 @@ var dataSet = [{
|
|
375
406
|
platforms: "Win 95+ / OSX.1+",
|
376
407
|
version: "1.2",
|
377
408
|
grade: "A"
|
409
|
+
}, {
|
410
|
+
engine: "Gecko",
|
411
|
+
browser: "Mozilla 1.3",
|
412
|
+
platforms: "Win 95+ / OSX.1+",
|
413
|
+
version: "1.3",
|
414
|
+
grade: "A"
|
415
|
+
}, {
|
416
|
+
engine: "Gecko",
|
417
|
+
browser: "Mozilla 1.4",
|
418
|
+
platforms: "Win 95+ / OSX.1+",
|
419
|
+
version: "1.4",
|
420
|
+
grade: "A"
|
421
|
+
}, {
|
422
|
+
engine: "Gecko",
|
423
|
+
browser: "Mozilla 1.5",
|
424
|
+
platforms: "Win 95+ / OSX.1+",
|
425
|
+
version: "1.5",
|
426
|
+
grade: "A"
|
427
|
+
}, {
|
428
|
+
engine: "Gecko",
|
429
|
+
browser: "Mozilla 1.6",
|
430
|
+
platforms: "Win 95+ / OSX.1+",
|
431
|
+
version: "1.6",
|
432
|
+
grade: "A"
|
433
|
+
}, {
|
434
|
+
engine: "Gecko",
|
435
|
+
browser: "Mozilla 1.7",
|
436
|
+
platforms: "Win 98+ / OSX.1+",
|
437
|
+
version: "1.7",
|
438
|
+
grade: "A"
|
439
|
+
}, {
|
440
|
+
engine: "Gecko",
|
441
|
+
browser: "Mozilla 1.8",
|
442
|
+
platforms: "Win 98+ / OSX.1+",
|
443
|
+
version: "1.8",
|
444
|
+
grade: "A"
|
445
|
+
}, {
|
446
|
+
engine: "Gecko",
|
447
|
+
browser: "Seamonkey 1.1",
|
448
|
+
platforms: "Win 98+ / OSX.2+",
|
449
|
+
version: "1.8",
|
450
|
+
grade: "A"
|
451
|
+
}, {
|
452
|
+
engine: "Gecko",
|
453
|
+
browser: "Epiphany 2.20",
|
454
|
+
platforms: "Gnome",
|
455
|
+
version: "1.8",
|
456
|
+
grade: "A"
|
457
|
+
}, {
|
458
|
+
engine: "Webkit",
|
459
|
+
browser: "Safari 1.2",
|
460
|
+
platforms: "OSX.3",
|
461
|
+
version: "125.5",
|
462
|
+
grade: "A"
|
463
|
+
}, {
|
464
|
+
engine: "Webkit",
|
465
|
+
browser: "Safari 1.3",
|
466
|
+
platforms: "OSX.3",
|
467
|
+
version: "312.8",
|
468
|
+
grade: "A"
|
469
|
+
}, {
|
470
|
+
engine: "Webkit",
|
471
|
+
browser: "Safari 2.0",
|
472
|
+
platforms: "OSX.4+",
|
473
|
+
version: "419.3",
|
474
|
+
grade: "A"
|
475
|
+
}, {
|
476
|
+
engine: "Webkit",
|
477
|
+
browser: "Safari 3.0",
|
478
|
+
platforms: "OSX.4+",
|
479
|
+
version: "522.1",
|
480
|
+
grade: "A"
|
481
|
+
}, {
|
482
|
+
engine: "Webkit",
|
483
|
+
browser: "OmniWeb 5.5",
|
484
|
+
platforms: "OSX.4+",
|
485
|
+
version: "420",
|
486
|
+
grade: "A"
|
487
|
+
}, {
|
488
|
+
engine: "Webkit",
|
489
|
+
browser: "iPod Touch / iPhone",
|
490
|
+
platforms: "iPod",
|
491
|
+
version: "420.1",
|
492
|
+
grade: "A"
|
493
|
+
}, {
|
494
|
+
engine: "Webkit",
|
495
|
+
browser: "S60",
|
496
|
+
platforms: "S60",
|
497
|
+
version: "413",
|
498
|
+
grade: "A"
|
499
|
+
}, {
|
500
|
+
engine: "Presto",
|
501
|
+
browser: "Opera 7.0",
|
502
|
+
platforms: "Win 95+ / OSX.1+",
|
503
|
+
version: "-",
|
504
|
+
grade: "A"
|
505
|
+
}, {
|
506
|
+
engine: "Presto",
|
507
|
+
browser: "Opera 7.5",
|
508
|
+
platforms: "Win 95+ / OSX.2+",
|
509
|
+
version: "-",
|
510
|
+
grade: "A"
|
511
|
+
}, {
|
512
|
+
engine: "Presto",
|
513
|
+
browser: "Opera 8.0",
|
514
|
+
platforms: "Win 95+ / OSX.2+",
|
515
|
+
version: "-",
|
516
|
+
grade: "A"
|
517
|
+
}, {
|
518
|
+
engine: "Presto",
|
519
|
+
browser: "Opera 8.5",
|
520
|
+
platforms: "Win 95+ / OSX.2+",
|
521
|
+
version: "-",
|
522
|
+
grade: "A"
|
523
|
+
}, {
|
524
|
+
engine: "Presto",
|
525
|
+
browser: "Opera 9.0",
|
526
|
+
platforms: "Win 95+ / OSX.3+",
|
527
|
+
version: "-",
|
528
|
+
grade: "A"
|
529
|
+
}, {
|
530
|
+
engine: "Presto",
|
531
|
+
browser: "Opera 9.2",
|
532
|
+
platforms: "Win 88+ / OSX.3+",
|
533
|
+
version: "-",
|
534
|
+
grade: "A"
|
535
|
+
}, {
|
536
|
+
engine: "Presto",
|
537
|
+
browser: "Opera 9.5",
|
538
|
+
platforms: "Win 88+ / OSX.3+",
|
539
|
+
version: "-",
|
540
|
+
grade: "A"
|
541
|
+
}, {
|
542
|
+
engine: "Presto",
|
543
|
+
browser: "Opera for Wii",
|
544
|
+
platforms: "Wii",
|
545
|
+
version: "-",
|
546
|
+
grade: "A"
|
547
|
+
}, {
|
548
|
+
engine: "Presto",
|
549
|
+
browser: "Nokia N800",
|
550
|
+
platforms: "N800",
|
551
|
+
version: "-",
|
552
|
+
grade: "A"
|
553
|
+
}, {
|
554
|
+
engine: "Presto",
|
555
|
+
browser: "Nintendo DS browser",
|
556
|
+
platforms: "Nintendo DS",
|
557
|
+
version: "8.5",
|
558
|
+
grade: "C/A<sup>1</sup>"
|
559
|
+
}, {
|
560
|
+
engine: "KHTML",
|
561
|
+
browser: "Konqureror 3.1",
|
562
|
+
platforms: "KDE 3.1",
|
563
|
+
version: "3.1",
|
564
|
+
grade: "C"
|
565
|
+
}, {
|
566
|
+
engine: "KHTML",
|
567
|
+
browser: "Konqureror 3.3",
|
568
|
+
platforms: "KDE 3.3",
|
569
|
+
version: "3.3",
|
570
|
+
grade: "A"
|
571
|
+
}, {
|
572
|
+
engine: "KHTML",
|
573
|
+
browser: "Konqureror 3.5",
|
574
|
+
platforms: "KDE 3.5",
|
575
|
+
version: "3.5",
|
576
|
+
grade: "A"
|
577
|
+
}, {
|
578
|
+
engine: "Tasman",
|
579
|
+
browser: "Internet Explorer 4.5",
|
580
|
+
platforms: "Mac OS 8-9",
|
581
|
+
version: "-",
|
582
|
+
grade: "X"
|
583
|
+
}, {
|
584
|
+
engine: "Tasman",
|
585
|
+
browser: "Internet Explorer 5.1",
|
586
|
+
platforms: "Mac OS 7.6-9",
|
587
|
+
version: "1",
|
588
|
+
grade: "C"
|
589
|
+
}, {
|
590
|
+
engine: "Tasman",
|
591
|
+
browser: "Internet Explorer 5.2",
|
592
|
+
platforms: "Mac OS 8-X",
|
593
|
+
version: "1",
|
594
|
+
grade: "C"
|
595
|
+
}, {
|
596
|
+
engine: "Misc",
|
597
|
+
browser: "NetFront 3.1",
|
598
|
+
platforms: "Embedded devices",
|
599
|
+
version: "-",
|
600
|
+
grade: "C"
|
601
|
+
}, {
|
602
|
+
engine: "Misc",
|
603
|
+
browser: "NetFront 3.4",
|
604
|
+
platforms: "Embedded devices",
|
605
|
+
version: "-",
|
606
|
+
grade: "A"
|
607
|
+
}, {
|
608
|
+
engine: "Misc",
|
609
|
+
browser: "Dillo 0.8",
|
610
|
+
platforms: "Embedded devices",
|
611
|
+
version: "-",
|
612
|
+
grade: "X"
|
613
|
+
}, {
|
614
|
+
engine: "Misc",
|
615
|
+
browser: "Links",
|
616
|
+
platforms: "Text only",
|
617
|
+
version: "-",
|
618
|
+
grade: "X"
|
619
|
+
}, {
|
620
|
+
engine: "Misc",
|
621
|
+
browser: "Lynx",
|
622
|
+
platforms: "Text only",
|
623
|
+
version: "-",
|
624
|
+
grade: "X"
|
625
|
+
}, {
|
626
|
+
engine: "Misc",
|
627
|
+
browser: "IE Mobile",
|
628
|
+
platforms: "Windows Mobile 6",
|
629
|
+
version: "-",
|
630
|
+
grade: "C"
|
631
|
+
}, {
|
632
|
+
engine: "Misc",
|
633
|
+
browser: "PSP browser",
|
634
|
+
platforms: "PSP",
|
635
|
+
version: "-",
|
636
|
+
grade: "C"
|
637
|
+
}, {
|
638
|
+
engine: "Other browsers",
|
639
|
+
browser: "All others",
|
640
|
+
platforms: "-",
|
641
|
+
version: "-",
|
642
|
+
grade: "U"
|
378
643
|
}];
|
379
644
|
|
380
645
|
// DataTable Config
|
@@ -426,6 +691,7 @@ $("#table1").DataTable({
|
|
426
691
|
order: [[ 1, 'asc' ]],
|
427
692
|
pfConfig: {
|
428
693
|
emptyStateSelector: "#emptyState1",
|
694
|
+
filterCaseInsensitive: true,
|
429
695
|
filterCols: [
|
430
696
|
null,
|
431
697
|
{
|
@@ -446,6 +712,7 @@ $("#table1").DataTable({
|
|
446
712
|
placeholder: "Filter By CSS Grade..."
|
447
713
|
}
|
448
714
|
],
|
715
|
+
paginationSelector: "#pagination1",
|
449
716
|
toolbarSelector: "#toolbar1",
|
450
717
|
selectAllSelector: 'th:first-child input[type="checkbox"]'
|
451
718
|
},
|
@@ -144,6 +144,9 @@
|
|
144
144
|
<li>
|
145
145
|
<a href="cards.html">Cards</a>
|
146
146
|
</li>
|
147
|
+
<li>
|
148
|
+
<a href="pagination-card-view.html">Pagination - Card View</a>
|
149
|
+
</li>
|
147
150
|
</ul>
|
148
151
|
</div>
|
149
152
|
</nav>
|
@@ -255,7 +258,7 @@
|
|
255
258
|
</div><!-- /row -->
|
256
259
|
</div><!-- /container -->
|
257
260
|
|
258
|
-
<div class="container-fluid container-cards-pf">
|
261
|
+
<div class="container-fluid container-cards-pf" id="card-container">
|
259
262
|
<div class="row row-cards-pf">
|
260
263
|
<div class="col-xs-12 col-sm-4 col-md-3 col-lg-2">
|
261
264
|
<div class="card-pf card-pf-view card-pf-view-select card-pf-view-multi-select">
|
@@ -672,8 +675,24 @@
|
|
672
675
|
else
|
673
676
|
{ $(this).parent().parent().addClass('active'); }
|
674
677
|
});
|
678
|
+
// allow users to select multiple cards with shift key
|
679
|
+
$('#card-container').on('click', '.card-pf-view-checkbox>input', function(event) {
|
680
|
+
var $cardsContainer = $('.container-cards-pf');
|
681
|
+
var prevIndex = $cardsContainer.data('prevIndex');
|
682
|
+
var $cards = $cardsContainer.find('.card-pf');
|
683
|
+
var $currentCard = $(this).closest('.card-pf');
|
684
|
+
if(event.shiftKey && prevIndex > -1 && this.checked) {
|
685
|
+
var currentIndex = $cards.index($currentCard);
|
686
|
+
var $selectScope = currentIndex - prevIndex > 0
|
687
|
+
? $currentCard.parent().prevAll().not($cards.eq(prevIndex).parent().prevAll().addBack())
|
688
|
+
: $cards.eq(prevIndex).parent().prevAll().not($currentCard.parent().prevAll().addBack());
|
689
|
+
$selectScope.children().addClass('active').find('.card-pf-view-checkbox').children('input').prop('checked', true);
|
690
|
+
}
|
691
|
+
$cardsContainer.data('prevIndex', this.checked ? $cards.index($currentCard) : -1);
|
692
|
+
});
|
675
693
|
});
|
676
694
|
</script>
|
677
695
|
|
696
|
+
|
678
697
|
</body>
|
679
698
|
</html>
|
data/spec/html/cards.html
CHANGED
data/spec/html/dashboard.html
CHANGED
@@ -2750,6 +2750,8 @@ fieldset[disabled] .combobox-container .input-group-addon.active {
|
|
2750
2750
|
}
|
2751
2751
|
.close {
|
2752
2752
|
text-shadow: none;
|
2753
|
+
z-index: 1;
|
2754
|
+
position: relative;
|
2753
2755
|
opacity: 0.6;
|
2754
2756
|
filter: alpha(opacity=60);
|
2755
2757
|
}
|
@@ -2994,6 +2996,9 @@ fieldset[disabled] .combobox-container .input-group-addon.active {
|
|
2994
2996
|
.pficon-cpu:before {
|
2995
2997
|
content: "\e905";
|
2996
2998
|
}
|
2999
|
+
.pficon-degraded:before {
|
3000
|
+
content: "\e91b";
|
3001
|
+
}
|
2997
3002
|
.pficon-delete:before {
|
2998
3003
|
content: "\e611";
|
2999
3004
|
}
|
@@ -3063,6 +3068,9 @@ fieldset[disabled] .combobox-container .input-group-addon.active {
|
|
3063
3068
|
.pficon-project:before {
|
3064
3069
|
content: "\e622";
|
3065
3070
|
}
|
3071
|
+
.pficon-rebalance:before {
|
3072
|
+
content: "\e91c";
|
3073
|
+
}
|
3066
3074
|
.pficon-refresh:before,
|
3067
3075
|
.pficon-restart:before {
|
3068
3076
|
content: "\e613";
|
@@ -3602,6 +3610,8 @@ a.disabled {
|
|
3602
3610
|
}
|
3603
3611
|
.list-view-pf-stacked .list-view-pf-description {
|
3604
3612
|
display: block;
|
3613
|
+
-ms-flex: none;
|
3614
|
+
flex: none;
|
3605
3615
|
}
|
3606
3616
|
@media (min-width: 992px) {
|
3607
3617
|
.list-view-pf-description {
|
@@ -3759,6 +3769,42 @@ a.disabled {
|
|
3759
3769
|
position: relative;
|
3760
3770
|
width: 100%;
|
3761
3771
|
}
|
3772
|
+
.list-view-pf-dnd .dndDragging.drag-original {
|
3773
|
+
display: none;
|
3774
|
+
}
|
3775
|
+
.list-view-pf-dnd .dndDragging.drag-original .list-view-pf-dnd-original-items {
|
3776
|
+
display: block;
|
3777
|
+
}
|
3778
|
+
.list-view-pf-dnd .dndDragging .list-view-pf-dnd-drag-items {
|
3779
|
+
display: inline-block;
|
3780
|
+
}
|
3781
|
+
.list-view-pf-dnd .dndDragging .list-view-pf-dnd-original-items {
|
3782
|
+
display: none;
|
3783
|
+
}
|
3784
|
+
.list-view-pf-dnd .dndPlaceholder {
|
3785
|
+
background-color: #ededed;
|
3786
|
+
padding: 20px 0;
|
3787
|
+
}
|
3788
|
+
.list-view-pf-dnd .list-group-item-header {
|
3789
|
+
margin-left: -10px;
|
3790
|
+
}
|
3791
|
+
.list-view-pf-dnd .list-group-item-header:before {
|
3792
|
+
background-image: linear-gradient(to bottom, #0088ce 60%, #fff 0%);
|
3793
|
+
background-position: left;
|
3794
|
+
background-repeat: repeat-y;
|
3795
|
+
background-size: 2px 5px;
|
3796
|
+
border: 4px solid #0088ce;
|
3797
|
+
border-color: #00659c;
|
3798
|
+
content: "";
|
3799
|
+
height: 55px;
|
3800
|
+
left: 4px;
|
3801
|
+
position: absolute;
|
3802
|
+
top: 5px;
|
3803
|
+
width: 10px;
|
3804
|
+
}
|
3805
|
+
.list-view-pf-dnd-drag-items {
|
3806
|
+
display: none;
|
3807
|
+
}
|
3762
3808
|
.login-pf {
|
3763
3809
|
height: 100%;
|
3764
3810
|
}
|