mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Removed unnecessary abs positioning and subheader top
This commit is contained in:
8
dist/css/ionic.css
vendored
8
dist/css/ionic.css
vendored
@@ -3024,14 +3024,6 @@ a.subdued {
|
||||
.bar-tabs {
|
||||
padding: 0; }
|
||||
|
||||
.bar-subheader {
|
||||
top: 44px;
|
||||
display: block; }
|
||||
|
||||
.bar-subfooter {
|
||||
bottom: 44px;
|
||||
display: block; }
|
||||
|
||||
/**
|
||||
* Tabs
|
||||
* --------------------------------------------------
|
||||
|
||||
@@ -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)"
|
||||
|
||||
@@ -228,12 +228,3 @@
|
||||
.bar-tabs {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.bar-subheader {
|
||||
top: $bar-height;
|
||||
display: block;
|
||||
}
|
||||
.bar-subfooter {
|
||||
bottom: $bar-height;
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user