Commit 65ee36a7 authored by syed's avatar syed

Improved and followed pattern suggestions

parent 5e898fa2
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
// Group == heading + body // Group == heading + body
.accordion-group { .accordion-group {
margin-bottom: 2px; margin-bottom: 2px;
border: 1px solid @accordion-group-border-color; border: 1px solid @accordion-border-color;
border-radius: @border-radius-base; border-radius: @border-radius-base;
} }
.accordion-heading { .accordion-heading {
...@@ -27,5 +27,5 @@ ...@@ -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 @accordion-group-border-color; border-top: 1px solid @accordion-border-color;
} }
...@@ -44,7 +44,7 @@ a.badge { ...@@ -44,7 +44,7 @@ a.badge {
a.list-group-item.active > .badge, a.list-group-item.active > .badge,
.nav-pills > .active > a > .badge { .nav-pills > .active > a > .badge {
color: @link-color; color: @link-color;
background-color: @active-badge-bg-color; background-color: @badge-active-bg;
} }
.nav-pills > li > a > .badge { .nav-pills > li > a > .badge {
margin-left: 3px; margin-left: 3px;
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
padding: 8px 15px; padding: 8px 15px;
margin: 0 0 @line-height-computed; margin: 0 0 @line-height-computed;
list-style: none; list-style: none;
background-color: @breadcrumb-bg-color; background-color: @breadcrumb-bg;
border-radius: @border-radius-base; border-radius: @border-radius-base;
> li { > li {
display: inline-block; display: inline-block;
text-shadow: 0 1px 0 @breadcrumb-text-shadow-color; text-shadow: @breadcrumb-text-shadow;
&+li:before { &+li:before {
display: inline-block; display: inline-block;
content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space
......
...@@ -10,18 +10,15 @@ ...@@ -10,18 +10,15 @@
// Inner Files color variables (can say inline colors) // Inner Files color variables (can say inline colors)
// -------------------------------------------------- // --------------------------------------------------
@color-1: #e5e5e5; //Mercury, RGB: 229, 229, 229 @accordion-border-color: #e5e5e5;
@color-2: #fff; //white, RGB: 255, 255, 255
@color-3: #f5f5f5; //Wild Sand, RGB: 245, 245, 245
@accordion-group-border-color: @color-1; @badge-color: #fff;
@badge-active-bg: #fff;
@badge-link-hover-color: #fff;
@active-badge-bg-color: @color-2; @breadcrumb-bg: #f5f5f5;
@badge-link-hover-color: @color-2; @breadcrumb-text-shadow: 0 1px 0 #fff;
@badge-color: @color-2;
@breadcrumb-text-shadow-color: @color-2;
@breadcrumb-bg-color: @color-3;
// Grays // Grays
// ------------------------- // -------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment