From de8c0ca8ca8ed959cca7ec2db087591eb965949c Mon Sep 17 00:00:00 2001 From: GradyD Date: Mon, 9 Mar 2015 18:50:31 -0400 Subject: [PATCH] Moved a few CSS elements to the variables.less for reuse/easy changes. --- less/_popups.less | 8 ++++---- less/_variables.less | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/less/_popups.less b/less/_popups.less index e55bcbb0..b9a570d5 100644 --- a/less/_popups.less +++ b/less/_popups.less @@ -1,10 +1,10 @@ .popover, .tooltip-inner { - color: #ececec; + color: @popover-color; font-weight: bold; line-height: 1em; - background: rgba(70,70,70,.9); - border: 1px solid rgba(70,70,70,.9); - border-radius: 2px; + background: @popover-background; + border: 1px solid @popover-background; + border-radius: @material-border-radius; .shadow-z-1(); } diff --git a/less/_variables.less b/less/_variables.less index a127e3f2..d5be9d0b 100644 --- a/less/_variables.less +++ b/less/_variables.less @@ -79,6 +79,9 @@ @progress-warning: @warning; @progress-danger: @danger; +// Global Material vars +@material-border-radius: 2px; + // Card @card-body-text: @lightbg-text; @card-body-background: #fff; @@ -86,3 +89,7 @@ @text-disabled: #a8a8a8; @background-disabled: #eaeaea; + +// Popups +@popover-background: rgba(70,70,70,.9); +@popover-color: #ececec;