patternfly-sass 2.8.0 → 2.9.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 +12 -12
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
- data/assets/javascripts/patternfly.min.js +1 -1
- data/assets/stylesheets/_patternfly.scss +1 -0
- data/assets/stylesheets/patternfly/_blank-slate.scss +4 -4
- data/assets/stylesheets/patternfly/_bootstrap-treeview.scss +2 -2
- data/assets/stylesheets/patternfly/_breadcrumbs.scss +1 -1
- data/assets/stylesheets/patternfly/_cards.scss +1 -1
- data/assets/stylesheets/patternfly/_datatables.scss +3 -3
- data/assets/stylesheets/patternfly/_dropdowns.scss +1 -1
- data/assets/stylesheets/patternfly/_icons.scss +1 -1
- data/assets/stylesheets/patternfly/_login.scss +1 -1
- data/assets/stylesheets/patternfly/_nav-vertical-alt.scss +2 -2
- data/assets/stylesheets/patternfly/_navbar-alt.scss +2 -2
- data/assets/stylesheets/patternfly/_navbar.scss +1 -1
- data/assets/stylesheets/patternfly/_popovers.scss +1 -1
- data/assets/stylesheets/patternfly/_search.scss +6 -6
- data/assets/stylesheets/patternfly/_sidebar.scss +27 -27
- data/assets/stylesheets/patternfly/_spinner.scss +6 -6
- data/assets/stylesheets/patternfly/_toast.scss +89 -0
- data/assets/stylesheets/patternfly/_type.scss +3 -3
- data/assets/stylesheets/patternfly/_variables.scss +8 -8
- data/bower.json +1 -1
- data/lib/patternfly-sass/version.rb +2 -2
- data/package.json +1 -1
- data/spec/html/cards.html +21 -0
- data/spec/html/dist/css/patternfly-additions.css +98 -1
- 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.map +1 -1
- data/spec/html/index.html +3 -0
- data/spec/html/layout-alt-fixed-inner-scroll.html +12 -0
- data/spec/html/layout-alt-fixed-with-footer-inner-scroll.html +12 -0
- data/spec/html/layout-alt-fixed-with-footer.html +12 -0
- data/spec/html/layout-alt-fixed.html +12 -0
- data/spec/html/toast.html +141 -0
- metadata +6 -3
@@ -535,6 +535,9 @@
|
|
535
535
|
<script>
|
536
536
|
var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A');
|
537
537
|
donutConfig.bindto = '#chart-pf-donut-1';
|
538
|
+
donutConfig.color = {
|
539
|
+
pattern: ["#cc0000","#D1D1D1"]
|
540
|
+
};
|
538
541
|
donutConfig.data = {
|
539
542
|
type: "donut",
|
540
543
|
columns: [
|
@@ -585,6 +588,9 @@
|
|
585
588
|
<script>
|
586
589
|
var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A');
|
587
590
|
donutConfig.bindto = '#chart-pf-donut-2';
|
591
|
+
donutConfig.color = {
|
592
|
+
pattern: ["#3f9c35","#D1D1D1"]
|
593
|
+
};
|
588
594
|
donutConfig.data = {
|
589
595
|
type: "donut",
|
590
596
|
columns: [
|
@@ -635,6 +641,9 @@
|
|
635
641
|
<script>
|
636
642
|
var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A');
|
637
643
|
donutConfig.bindto = '#chart-pf-donut-3';
|
644
|
+
donutConfig.color = {
|
645
|
+
pattern: ["#EC7A08","#D1D1D1"]
|
646
|
+
};
|
638
647
|
donutConfig.data = {
|
639
648
|
type: "donut",
|
640
649
|
columns: [
|
@@ -699,6 +708,9 @@
|
|
699
708
|
|
700
709
|
var donutConfig = c3ChartDefaults.getDefaultDonutConfig('A');
|
701
710
|
donutConfig.bindto = '#chart-pf-donut-4';
|
711
|
+
donutConfig.color = {
|
712
|
+
pattern: ["#EC7A08","#D1D1D1"]
|
713
|
+
};
|
702
714
|
donutConfig.data = {
|
703
715
|
type: "donut",
|
704
716
|
columns: [
|
@@ -0,0 +1,141 @@
|
|
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>Toast Notifications - 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="../components/jquery/dist/jquery.min.js"></script>
|
30
|
+
<script src="../components/bootstrap/dist/js/bootstrap.min.js"></script>
|
31
|
+
<script src="../dist/js/patternfly.min.js"></script>
|
32
|
+
</head>
|
33
|
+
|
34
|
+
<body>
|
35
|
+
<div class="container">
|
36
|
+
<div class="page-header">
|
37
|
+
<h1>Toast Notifications</h1>
|
38
|
+
</div>
|
39
|
+
<div class="alert alert-warning">
|
40
|
+
<span class="pficon pficon-warning-triangle-o"></span>
|
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
|
+
</div>
|
43
|
+
<hr>
|
44
|
+
<div class="toast-pf alert alert-success">
|
45
|
+
<div class="pull-right toast-pf-action">
|
46
|
+
<a href="#">Start Server</a>
|
47
|
+
</div>
|
48
|
+
<span class="pficon pficon-ok"></span>
|
49
|
+
<strong>server</strong> has been added to <a href="#" class="alert-link">main server</a>.
|
50
|
+
</div>
|
51
|
+
<br>
|
52
|
+
<div class="toast-pf alert alert-warning">
|
53
|
+
<div class="pull-right toast-pf-action">
|
54
|
+
<a href="#">Reload Server</a>
|
55
|
+
</div>
|
56
|
+
<span class="pficon pficon-warning-triangle-o"></span>
|
57
|
+
The server configuration changed.
|
58
|
+
</div>
|
59
|
+
<br>
|
60
|
+
<div class="toast-pf alert alert-danger">
|
61
|
+
<div class="pull-right toast-pf-action">
|
62
|
+
<a href="#">Retry</a>
|
63
|
+
</div>
|
64
|
+
<span class="pficon pficon-error-circle-o"></span>
|
65
|
+
Failed to add <strong>server_abc</strong>.
|
66
|
+
</div>
|
67
|
+
<br>
|
68
|
+
<div class="toast-pf alert alert-info">
|
69
|
+
<div class="pull-right toast-pf-action">
|
70
|
+
<a href="#">View Details</a>
|
71
|
+
</div>
|
72
|
+
<span class="pficon pficon-info"></span>
|
73
|
+
This server is in the North West Datacenter.
|
74
|
+
</div>
|
75
|
+
<hr>
|
76
|
+
<div class="toast-pf alert alert-info">
|
77
|
+
<div class="dropdown btn-group">
|
78
|
+
<button type="button" class="btn btn-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"><span class="fa fa-ellipsis-v"></span></button>
|
79
|
+
<ul class="dropdown-menu pull-right">
|
80
|
+
<li><a href="#">Action</a></li>
|
81
|
+
<li><a href="#">Another action</a></li>
|
82
|
+
<li><a href="#">Something else here</a></li>
|
83
|
+
<li role="separator" class="divider"></li>
|
84
|
+
<li><a href="#">Separated link</a></li>
|
85
|
+
</ul>
|
86
|
+
</div>
|
87
|
+
<div class="pull-right toast-pf-action">
|
88
|
+
<a href="#">Reload Server</a>
|
89
|
+
</div>
|
90
|
+
<span class="pficon pficon-info"></span>
|
91
|
+
<strong>Great job!</strong> This is really working out.
|
92
|
+
</div>
|
93
|
+
<br>
|
94
|
+
<div class="toast-pf alert alert-success alert-dismissable">
|
95
|
+
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">
|
96
|
+
<span class="pficon pficon-close"></span>
|
97
|
+
</button>
|
98
|
+
<span class="pficon pficon-ok"></span>
|
99
|
+
The server configuration changed.
|
100
|
+
|
101
|
+
</div>
|
102
|
+
<br>
|
103
|
+
<div class="toast-pf alert alert-warning alert-dismissable">
|
104
|
+
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">
|
105
|
+
<span class="pficon pficon-close"></span>
|
106
|
+
</button>
|
107
|
+
<div class="pull-right toast-pf-action">
|
108
|
+
<a href="#">Reload Server</a>
|
109
|
+
</div>
|
110
|
+
<span class="pficon pficon-warning-triangle-o"></span>
|
111
|
+
The server configuration changed.
|
112
|
+
</div>
|
113
|
+
<br>
|
114
|
+
<div class="toast-pf alert alert-danger">
|
115
|
+
<span class="pficon pficon-error-circle-o"></span>
|
116
|
+
Failed to add <strong>server_abc</strong>.
|
117
|
+
</div>
|
118
|
+
<hr>
|
119
|
+
<div class="toast-pf toast-pf-max-width alert alert-warning alert-dismissable">
|
120
|
+
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">
|
121
|
+
<span class="pficon pficon-close"></span>
|
122
|
+
</button>
|
123
|
+
<div class="pull-right toast-pf-action">
|
124
|
+
<a href="#">Reload Server</a>
|
125
|
+
</div>
|
126
|
+
<span class="pficon pficon-warning-triangle-o"></span>
|
127
|
+
Max-width is set on this example.
|
128
|
+
</div>
|
129
|
+
<script>
|
130
|
+
// Initialize Tooltip
|
131
|
+
$(document).ready(function() {
|
132
|
+
$('.toast-pf').tooltip({
|
133
|
+
selector: "[data-toggle=tooltip]",
|
134
|
+
container: "body"
|
135
|
+
});
|
136
|
+
});
|
137
|
+
</script>
|
138
|
+
|
139
|
+
</div><!-- /container -->
|
140
|
+
</body>
|
141
|
+
</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
|
+
version: 2.9.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:
|
12
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -444,6 +444,7 @@ files:
|
|
444
444
|
- assets/stylesheets/patternfly/_syntax-highlighting.scss
|
445
445
|
- assets/stylesheets/patternfly/_tables.scss
|
446
446
|
- assets/stylesheets/patternfly/_tabs.scss
|
447
|
+
- assets/stylesheets/patternfly/_toast.scss
|
447
448
|
- assets/stylesheets/patternfly/_toolbar.scss
|
448
449
|
- assets/stylesheets/patternfly/_tooltip.scss
|
449
450
|
- assets/stylesheets/patternfly/_type.scss
|
@@ -514,6 +515,7 @@ files:
|
|
514
515
|
- spec/html/tables.html
|
515
516
|
- spec/html/tabs.html
|
516
517
|
- spec/html/tests.css
|
518
|
+
- spec/html/toast.html
|
517
519
|
- spec/html/toolbar.html
|
518
520
|
- spec/html/tooltip.html
|
519
521
|
- spec/html/typography-2.css
|
@@ -542,7 +544,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
542
544
|
version: '0'
|
543
545
|
requirements: []
|
544
546
|
rubyforge_project:
|
545
|
-
rubygems_version: 2.
|
547
|
+
rubygems_version: 2.5.1
|
546
548
|
signing_key:
|
547
549
|
specification_version: 4
|
548
550
|
summary: Red Hat's Patternfly, converted to Sass and ready to drop into Rails
|
@@ -607,6 +609,7 @@ test_files:
|
|
607
609
|
- spec/html/tables.html
|
608
610
|
- spec/html/tabs.html
|
609
611
|
- spec/html/tests.css
|
612
|
+
- spec/html/toast.html
|
610
613
|
- spec/html/toolbar.html
|
611
614
|
- spec/html/tooltip.html
|
612
615
|
- spec/html/typography-2.css
|