Move accordion inline properties to variables.les

This commit is contained in:
syed 2013-07-19 18:18:01 +05:00
parent 710dbb5260
commit 95be924926
2 changed files with 9 additions and 2 deletions

View File

@ -11,7 +11,7 @@
// Group == heading + body // Group == heading + body
.accordion-group { .accordion-group {
margin-bottom: 2px; margin-bottom: 2px;
border: 1px solid #e5e5e5; border: 1px solid @accordion-group-border-color;
border-radius: @border-radius-base; border-radius: @border-radius-base;
} }
.accordion-heading { .accordion-heading {
@ -27,5 +27,5 @@
// Inner needs the styles because you can't animate properly with any styles on the element // Inner needs the styles because you can't animate properly with any styles on the element
.accordion-inner { .accordion-inner {
padding: 9px 15px; padding: 9px 15px;
border-top: 1px solid #e5e5e5; border-top: 1px solid @accordion-group-border-color;
} }

View File

@ -7,6 +7,13 @@
// -------------------------------------------------- // --------------------------------------------------
// Inner Files color variables (can say inline colors)
// --------------------------------------------------
@color-1: #e5e5e5; //Mercury, RGB: 229, 229, 229
@accordion-group-border-color: @color-1;
// Grays // Grays
// ------------------------- // -------------------------