-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(toolbar): move border from toolbar to header/footer and incr…
…ease opacity This matches native iOS. Removed the `no-border-top` and `no-border-bottom` from toolbars since it is only added to `ion-header` and `ion-footer` now, and added `no-border` to each of those.
- Loading branch information
1 parent
91478ed
commit b515f52
Showing
8 changed files
with
166 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { Component, NgModule } from '@angular/core'; | ||
import { IonicApp, IonicModule } from '../../../..'; | ||
|
||
|
||
@Component({ | ||
templateUrl: 'main.html' | ||
}) | ||
export class E2EPage { | ||
|
||
} | ||
|
||
|
||
@Component({ | ||
template: '<ion-nav [root]="rootPage"></ion-nav>' | ||
}) | ||
export class E2EApp { | ||
rootPage = E2EPage; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [ | ||
E2EApp, | ||
E2EPage | ||
], | ||
imports: [ | ||
IonicModule.forRoot(E2EApp) | ||
], | ||
bootstrap: [IonicApp], | ||
entryComponents: [ | ||
E2EApp, | ||
E2EPage | ||
] | ||
}) | ||
export class AppModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
<ion-header> | ||
<ion-navbar color="primary"> | ||
<ion-title>Toolbar</ion-title> | ||
</ion-navbar> | ||
|
||
<ion-toolbar color="primary"> | ||
<ion-buttons start> | ||
<button ion-button icon-only> | ||
<ion-icon name="contact"></ion-icon> | ||
</button> | ||
<button ion-button icon-only> | ||
<ion-icon name="search"></ion-icon> | ||
</button> | ||
</ion-buttons> | ||
<ion-buttons end> | ||
<button ion-button icon-only color="secondary"> | ||
<ion-icon name="more"></ion-icon> | ||
</button> | ||
</ion-buttons> | ||
<ion-title>Subheader</ion-title> | ||
</ion-toolbar> | ||
</ion-header> | ||
|
||
<ion-content fullscreen="true"> | ||
<ion-card color="secondary"> | ||
<ion-card-header> | ||
Card Header | ||
</ion-card-header> | ||
<ion-card-content> | ||
<ion-card-title> | ||
Title | ||
</ion-card-title> | ||
Some normal text in content. | ||
<h3>h3 in content</h3> | ||
<p> | ||
Paragraph in content. | ||
</p> | ||
<p> | ||
Another paragraph in content. | ||
</p> | ||
</ion-card-content> | ||
</ion-card> | ||
|
||
<ion-card color="primary" class="rainbow-content"> | ||
<ion-card-header> | ||
Card Header | ||
</ion-card-header> | ||
<ion-card-content> | ||
<ion-card-title> | ||
Title | ||
</ion-card-title> | ||
Some normal text in content. | ||
<h3>h3 in content</h3> | ||
<p> | ||
Paragraph in content. | ||
</p> | ||
<p> | ||
Another paragraph in content. | ||
</p> | ||
</ion-card-content> | ||
</ion-card> | ||
|
||
<ion-card color="primary"> | ||
<ion-card-header> | ||
Card Header | ||
</ion-card-header> | ||
<ion-card-content> | ||
<ion-card-title> | ||
Title | ||
</ion-card-title> | ||
Some normal text in content. | ||
<h3>h3 in content</h3> | ||
<p> | ||
Paragraph in content. | ||
</p> | ||
<p> | ||
Another paragraph in content. | ||
</p> | ||
</ion-card-content> | ||
</ion-card> | ||
|
||
<ion-list> | ||
<ion-item *ngFor="let item of [0,1,2,3,4,5,6,7,8,9]"> | ||
{{ item }} | ||
</ion-item> | ||
</ion-list> | ||
|
||
</ion-content> | ||
|
||
<ion-footer> | ||
<ion-toolbar> | ||
<ion-buttons end> | ||
<button ion-button icon-only #button2> | ||
<ion-icon name="search"></ion-icon> | ||
</button> | ||
</ion-buttons> | ||
<ion-searchbar> | ||
</ion-searchbar> | ||
</ion-toolbar> | ||
|
||
<ion-toolbar> | ||
<ion-title> | ||
Footer | ||
</ion-title> | ||
</ion-toolbar> | ||
</ion-footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shouldn't this be
border-bottom-width: 0
?