Moved a few CSS elements to the variables.less for reuse/easy changes.

This commit is contained in:
GradyD 2015-03-09 18:50:31 -04:00
parent 525110a2c1
commit de8c0ca8ca
2 changed files with 11 additions and 4 deletions

View File

@ -1,10 +1,10 @@
.popover, .tooltip-inner { .popover, .tooltip-inner {
color: #ececec; color: @popover-color;
font-weight: bold; font-weight: bold;
line-height: 1em; line-height: 1em;
background: rgba(70,70,70,.9); background: @popover-background;
border: 1px solid rgba(70,70,70,.9); border: 1px solid @popover-background;
border-radius: 2px; border-radius: @material-border-radius;
.shadow-z-1(); .shadow-z-1();
} }

View File

@ -79,6 +79,9 @@
@progress-warning: @warning; @progress-warning: @warning;
@progress-danger: @danger; @progress-danger: @danger;
// Global Material vars
@material-border-radius: 2px;
// Card // Card
@card-body-text: @lightbg-text; @card-body-text: @lightbg-text;
@card-body-background: #fff; @card-body-background: #fff;
@ -86,3 +89,7 @@
@text-disabled: #a8a8a8; @text-disabled: #a8a8a8;
@background-disabled: #eaeaea; @background-disabled: #eaeaea;
// Popups
@popover-background: rgba(70,70,70,.9);
@popover-color: #ececec;