Skip to content

Commit

Permalink
Reorganized bar SCSS and removed flexbox from secondary
Browse files Browse the repository at this point in the history
Secondary bars don't need flexbox, so they are removed.
  • Loading branch information
mlynch committed Sep 10, 2013
1 parent 2fefe19 commit 659e0e0
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions scss/ionic/_bar.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
.bar {
@include user-select(none);

display: -webkit-box;
display: box;

position: fixed;
left: 0;
right: 0;
z-index: 10;

display: -webkit-box;
display: box;

width: 100%;
height: $bar-height;
padding: $bar-padding-portrait;
Expand All @@ -17,6 +16,8 @@
border-style: solid;
border-width: 0;

@include user-select(none);

&.bar-header {
border-bottom-width: 1px;
}
Expand Down Expand Up @@ -222,9 +223,11 @@

.bar-header-secondary {
top: $bar-height;
display: block;
}
.bar-footer-secondary {
bottom: $bar-height;
display: block;
}

/* Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab.
Expand Down

0 comments on commit 659e0e0

Please sign in to comment.