Detail view: store tab BG color in $csui-tab-bg for resuse in other styles

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c56e59f2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c56e59f2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c56e59f2

Branch: refs/heads/ui-restyle
Commit: c56e59f2cdafb38ec8efa961b0dc071e2fdcb39f
Parents: c81b9fc
Author: Brian Federle <[email protected]>
Authored: Tue Oct 8 13:56:33 2013 -0700
Committer: Brian Federle <[email protected]>
Committed: Tue Oct 8 13:56:33 2013 -0700

----------------------------------------------------------------------
 ui/stylesheets/csui/_details.scss | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c56e59f2/ui/stylesheets/csui/_details.scss
----------------------------------------------------------------------
diff --git a/ui/stylesheets/csui/_details.scss 
b/ui/stylesheets/csui/_details.scss
index 2ef9417..70cdaef 100644
--- a/ui/stylesheets/csui/_details.scss
+++ b/ui/stylesheets/csui/_details.scss
@@ -15,6 +15,8 @@
 // specific language governing permissions and limitations
 // under the License.
 
+$csui-tab-bg: lighten(#ccc, 15%);
+
 @mixin csui-tab {
     float: left;
     list-style: none;
@@ -30,7 +32,7 @@
 }
 
 @mixin csui-tab-active {
-    background: lighten(#ccc, 15%);
+    background: $csui-tab-bg;
     border-radius: 8px 8px 0 0;
     margin: 0;
 
@@ -53,7 +55,7 @@
 }
 
 @mixin csui-details {
-    background: lighten(#ccc, 15%);
+    background: $csui-tab-bg;
     padding: 10px;
     border-bottom: 1px solid #ccc;
 }

Reply via email to