-
Notifications
You must be signed in to change notification settings - Fork 90
Added Less css pre-processing #392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
.card-pf-aggregate-status-alt { | ||
.card-pf-body { | ||
padding-bottom: 20px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should use variable here as in patternfly: (@grid-gutter-width / 2) |
||
} | ||
.card-pf-title { | ||
font-weight: 300; | ||
line-height: 22px; | ||
margin: 20px 0 10px 0; | ||
} | ||
.card-pf-aggregate-status-count { | ||
font-size: 24px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fonts should be expressed in terms of @font-size-base (@font-size-base * 2) in this case |
||
} | ||
.card-pf-aggregate-status-title { | ||
display: block; | ||
font-size: 12px; | ||
} | ||
.card-pf-aggregate-status-notifications { | ||
.card-pf-aggregate-status-notification { | ||
border-left: none; | ||
} | ||
.fa { | ||
position: relative; | ||
top: -1px; | ||
} | ||
.pficon { | ||
position: relative; | ||
top: -1px; | ||
} | ||
} | ||
} | ||
.card-pf-heading-no-bottom { | ||
margin: 0 -20px 0px; | ||
padding: 0 20px 0; | ||
} | ||
.card-pf-icon-image { | ||
height: 18px; | ||
margin: 0 5px 5px; | ||
} | ||
|
||
.trend-card-large-pf { | ||
.trend-header-pf { | ||
display: block; | ||
font-size: 16px; | ||
font-weight: 400; | ||
margin-left: 10px; | ||
} | ||
.trend-title-big-pf { | ||
font-size: 26px; | ||
font-weight: 300; | ||
margin-left: 10px; | ||
} | ||
.trend-title-small-pf { | ||
font-size: 12px; | ||
font-weight: 400; | ||
} | ||
} | ||
.trend-card-small-pf { | ||
.trend-header-pf { | ||
display: block; | ||
font-size: 12px; | ||
font-weight: 400; | ||
margin-left: 10px; | ||
} | ||
.trend-title-big-pf { | ||
font-size: 17px; | ||
font-weight: 400; | ||
margin-left: 10px; | ||
} | ||
.trend-title-small-pf { | ||
font-size: 10px; | ||
font-weight: 400; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,188 @@ | ||
pf-c3-chart { | ||
display: block; | ||
} | ||
.empty-chart-content { | ||
text-align: center; | ||
.pficon { | ||
font-size: 24px; | ||
} | ||
span { | ||
vertical-align: middle; | ||
width: 100%; | ||
} | ||
} | ||
.utilization-trend-chart-pf { | ||
.donut-chart-pf { | ||
float: left; | ||
padding-top: 15px; | ||
width: 100%; | ||
} | ||
h3 { | ||
font-weight: 400; | ||
} | ||
.current-values { | ||
border-bottom: 1px solid @color-pf-black-300; | ||
float: left; | ||
padding: 0 5px 10px 0; | ||
width: 100%; | ||
} | ||
.available-count { | ||
margin: 3px 0; | ||
padding-left: 0; | ||
padding-right: 5px; | ||
} | ||
.available-text { | ||
font-size: 12px; | ||
font-weight: 400; | ||
line-height: 14px; | ||
margin: 2px 0; | ||
padding: 0 5px; | ||
} | ||
.radial-chart { | ||
float: left; | ||
padding-top: 10px; | ||
width: 100%; | ||
} | ||
.sparkline-chart { | ||
float: left; | ||
margin-left: -5px; | ||
margin-right: -5px; | ||
width: 100%; | ||
} | ||
.legend-text { | ||
color: inherit; | ||
display: block; | ||
font-size: 12px; | ||
font-weight: 400; | ||
margin-left: 0; | ||
} | ||
} | ||
.utilization-trend-chart-pf.data-unavailable-pf { | ||
.current-values { | ||
color: transparent; | ||
} | ||
} | ||
|
||
.trend-flat-details { | ||
display: table; | ||
margin-top: 5px; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
.trend-flat-details { | ||
margin-top: 25px; | ||
} | ||
} | ||
|
||
.trend-flat-details-cell { | ||
display: table-cell; | ||
min-width: 70px; | ||
vertical-align: bottom; | ||
} | ||
.trend-header-compact-pf { | ||
display: block; | ||
font-size: 12px; | ||
font-weight: 400; | ||
} | ||
.trend-title-compact-big-pf { | ||
font-size: 36px; | ||
font-weight: 300; | ||
line-height: 1; | ||
} | ||
.trend-title-compact-small-pf { | ||
font-size: 12px; | ||
font-weight: 400; | ||
} | ||
.trend-title-flat-big-pf { | ||
font-size: 26px; | ||
font-weight: 300; | ||
line-height: 1; | ||
margin-right: 15px; | ||
} | ||
.trend-label-flat-pf { | ||
font-size: 12px; | ||
font-weight: 400; | ||
line-height: 1; | ||
} | ||
.trend-label-flat-strong-pf { | ||
display: block; | ||
font-size: 12px; | ||
font-weight: 700; | ||
line-height: 1; | ||
} | ||
.trend-footer-pf { | ||
color: #333333; | ||
font-size: 10px; | ||
font-weight: 400; | ||
margin-left: 10px; | ||
} | ||
|
||
.data-unavailable-pf[class*="trend-title-"] { | ||
color: transparent; | ||
} | ||
.data-unavailable-pf[class*="trend-label-"] { | ||
color: transparent; | ||
} | ||
.data-unavailable-pf { | ||
.trend-footer-pf { | ||
color: transparent; | ||
} | ||
} | ||
|
||
.utilization-bar-chart-pf { | ||
.progress-bar { | ||
-moz-transition: width .75s ease-in-out; | ||
-o-transition: width .75s ease-in-out; | ||
-webkit-transition: width .75s ease-in-out; | ||
transition: width .75s ease-in-out; | ||
} | ||
.progress-bar.animate { | ||
width: 0% !important; | ||
} | ||
} | ||
.heatmap-pf-container { | ||
position: relative; | ||
.heatmap-container { | ||
margin-left: -1px; | ||
} | ||
} | ||
.heatmap-pf-container-pf { | ||
.loading { | ||
position: absolute; | ||
right: 50%; | ||
top: 100px; | ||
z-index: 10; | ||
} | ||
} | ||
.heatmap-pf-svg { | ||
height: 100%; | ||
width: 100%; | ||
} | ||
.heatmap-pf-legend-container { | ||
list-style-type: none; | ||
margin-top: 5px; | ||
overflow: auto; | ||
padding: 0; | ||
} | ||
.heatmap-pf-legend-items { | ||
float: left; | ||
} | ||
.legend-pf-color-box { | ||
display: inline-block; | ||
height: 11px; | ||
margin-left: 5px; | ||
margin-right: 5px; | ||
width: 11px; | ||
&:first-of-type { | ||
margin-left: 0px; | ||
} | ||
} | ||
.legend-pf-text { | ||
font-size: 11px; | ||
font-weight: 400; | ||
line-height: 11px; | ||
padding-right: 5px; | ||
} | ||
.camelcase { | ||
text-transform: capitalize; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the less files should be added to the watch section so updates can be seen during development without rebuilding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are, there is a less task under the watch task.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah sorry, I just saw it still watching styles//*.css and missed the less section. Might want to remove the styles//*.css from the all section