Browse Source

Adding correct support for bar footers.

pull/231/head
connors 11 years ago
parent
commit
cea7a11a2e
  1. 10
      dist/ratchet.css
  2. 13
      lib/sass/bars.scss

10
dist/ratchet.css vendored

@ -303,9 +303,11 @@ strong {
[class*="bar-"].bar-footer {
bottom: 0;
}
[class*="bar-"].bar-footer.bar-standard, [class*="bar-"].bar-footer-secondary.bar-standard {
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
box-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
[class*="bar-"].bar-footer-secondary {
bottom: 44px;
}
[class*="bar-"].bar-footer-secondary-tab {
bottom: 50px;
}
.bar-nav {
@ -346,8 +348,6 @@ strong {
bottom: 0;
height: 50px;
padding: 0;
-webkit-box-shadow: 0 0px 1px rgba(0, 0, 0, 0.85);
box-shadow: 0 0px 1px rgba(0, 0, 0, 0.85);
}
.tab-inner {

13
lib/sass/bars.scss

@ -22,10 +22,14 @@
bottom: 0;
}
// Flip border position to top for footer bars
&.bar-footer.bar-standard,
&.bar-footer-secondary.bar-standard {
@include box-shadow(0 0 1px rgba(0,0,0,.85));
// Modifier class to dock any bar above a standard bar
&.bar-footer-secondary {
bottom: $bar-base-height;
}
// Modifier class to dock any bar above a .bar-tab
&.bar-footer-secondary-tab {
bottom: $bar-tab-height;
}
}
@ -78,7 +82,6 @@
bottom: 0;
height: $bar-tab-height;
padding: 0;
@include box-shadow(0 0px 1px rgba(0,0,0,.85));
}
// Wrapper for individual tab

Loading…
Cancel
Save