Browse Source

adding the card-bg variable.

pull/245/head
connors 11 years ago
parent
commit
7fa0b5febe
  1. 4
      dist/ratchet.css
  2. 2
      lib/sass/bars.scss
  3. 2
      lib/sass/cards.scss
  4. 4
      lib/sass/variables.scss

4
dist/ratchet.css vendored

@ -298,7 +298,7 @@ strong {
background-color: white; background-color: white;
} }
[class*="bar-"].bar-header-secondary { [class*="bar-"].bar-header-secondary {
top: 45px; top: 44px;
} }
[class*="bar-"].bar-footer { [class*="bar-"].bar-footer {
bottom: 0; bottom: 0;
@ -390,7 +390,7 @@ strong {
width: auto; width: auto;
overflow: hidden; overflow: hidden;
margin: 10px; margin: 10px;
background-color: #fff; background-color: white;
border: 1px solid #dddddd; border: 1px solid #dddddd;
border-radius: 6px; border-radius: 6px;
} }

2
lib/sass/bars.scss

@ -16,7 +16,7 @@
// Modifier class to dock any bar below .bar-nav // Modifier class to dock any bar below .bar-nav
&.bar-header-secondary { &.bar-header-secondary {
top: $bar-base-height + 1; top: $bar-base-height;
} }
// Modifier class to dock any bar to bottom of viewport // Modifier class to dock any bar to bottom of viewport

2
lib/sass/cards.scss

@ -6,7 +6,7 @@
width: auto; width: auto;
overflow: hidden; overflow: hidden;
margin: $bar-side-spacing; margin: $bar-side-spacing;
background-color: #fff; background-color: $card-bg;
border: $border-default; border: $border-default;
border-radius: $border-radius; border-radius: $border-radius;
} }

4
lib/sass/variables.scss

@ -32,6 +32,10 @@ $bar-base-height: 44px;
$bar-tab-height: 50px; $bar-tab-height: 50px;
$bar-side-spacing: 10px; $bar-side-spacing: 10px;
// Cards
// --------------------------------------------------
$card-bg: #fff;
// Buttons // Buttons
// -------------------------------------------------- // --------------------------------------------------

Loading…
Cancel
Save