Skip to content

Commit 3b02864

Browse files
committed
Merge pull request #165 from jeff-phillips-18/master
Add pfEmptyChart directive, use it in Heatmap, Trends, and Utilizatio…
2 parents 8f5caae + 1e37707 commit 3b02864

File tree

47 files changed

+770
-324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+770
-324
lines changed

dist/angular-patternfly.js

Lines changed: 159 additions & 66 deletions
Large diffs are not rendered by default.

dist/angular-patternfly.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/docs/css/angular-patternfly.css

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@
3131
padding: 0 20px 0;
3232
}
3333

34+
.empty-chart-content {
35+
text-align: center;
36+
}
37+
38+
.empty-chart-content .pficon {
39+
font-size: 24px;
40+
}
41+
.empty-chart-content span {
42+
vertical-align: middle;
43+
width: 100%;
44+
}
45+
46+
3447
.utilization-chart-pf .donut-chart-pf {
3548
width: 100%;
3649
float: left;
@@ -55,7 +68,6 @@
5568
}
5669

5770
.utilization-chart-pf .available-text {
58-
color: #333;
5971
font-size: 12px;
6072
font-weight: 400;
6173
line-height: 14px;
@@ -84,6 +96,10 @@
8496
margin-left: 0;
8597
}
8698

99+
.utilization-chart-pf.data-unavailable-pf .current-values {
100+
color: transparent;
101+
}
102+
87103
.data-list-pf {
88104
background: #fff;
89105
overflow-x: hidden;
@@ -369,6 +385,14 @@
369385
margin-left: 10px;
370386
}
371387

388+
.data-unavailable-pf [class*="trend-title-"],[class*="trend-label-"] {
389+
color: transparent;
390+
}
391+
392+
.data-unavailable-pf .trend-footer-pf {
393+
color: transparent;
394+
}
395+
372396
.simple-filter a {
373397
cursor: pointer;
374398
}

dist/docs/css/examples.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,8 @@ hr {
9393
font-weight: 600;
9494
padding-bottom: 10px;
9595
}
96+
97+
.example-heatmap-container {
98+
border: solid 1px #d1d1d1;
99+
margin: 0 10px;
100+
}

0 commit comments

Comments
 (0)