Removed unnecessary abs positioning and subheader top

This commit is contained in:
Max Lynch
2013-11-28 11:59:01 -06:00
parent 3ea744c95a
commit 194bc67b75
4 changed files with 5 additions and 35 deletions

8
dist/css/ionic.css vendored
View File

@@ -3024,14 +3024,6 @@ a.subdued {
.bar-tabs {
padding: 0; }
.bar-subheader {
top: 44px;
display: block; }
.bar-subfooter {
bottom: 44px;
display: block; }
/**
* Tabs
* --------------------------------------------------

View File

@@ -60,6 +60,11 @@
title="'Title'"
type="bar-primary"></header-bar>
<div class="bar bar-positive bar-subheader">
<a href="#" class="button button-danger button-clear">Edit</a>
<h1 class="title">Scroll Me</h1>
<a href="#" class="button button-danger button-clear">Delete</a>
</div>
<content
on-refresh="onRefresh()"
on-refresh-opening="onRefreshOpening(amount)"

View File

@@ -228,12 +228,3 @@
.bar-tabs {
padding: 0;
}
.bar-subheader {
top: $bar-height;
display: block;
}
.bar-subfooter {
bottom: $bar-height;
display: block;
}

View File

@@ -139,24 +139,6 @@ body, .ionic-body {
}
}
// Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab.
// Note: For these to work, content must come after both bars in the markup
.has-header {
//top: $bar-height;
}
.has-subheader {
//top: $bar-height * 2;
}
.has-footer {
//bottom: $bar-height;
}
// Specify that a content area will have tabs
.has-tabs {
//bottom: 44px;
}
// A full screen section with a solid background
.pane {