mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Yerk Yakr
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
<ion-view>
|
||||
|
||||
<ion-toolbar id="p1toolbar">
|
||||
<div class="toolbar-inner">
|
||||
<ion-title>secret</ion-title>
|
||||
</div>
|
||||
<button class="toolbar-primary-item" primary><i class="icon ion-ios-heart"></i></button>
|
||||
<ion-title>secret</ion-title>
|
||||
<button class="toolbar-secondary-item" primary><i class="icon ion-ios-gear"></i></button>
|
||||
</ion-toolbar>
|
||||
|
||||
<ion-content>
|
||||
@@ -144,6 +144,10 @@
|
||||
ion-toolbar {
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.platform-ios ion-toolbar .button i {
|
||||
color: #fff !important;
|
||||
font-size: 24px !important;
|
||||
}
|
||||
.platform-ios .item:first-of-type:before,
|
||||
.platform-ios .item:last-of-type:after,
|
||||
.platform-ios .item-content:after {
|
||||
|
||||
BIN
ionic/components/app/test/snapcat/p.jpg
Normal file
BIN
ionic/components/app/test/snapcat/p.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 118 KiB |
23
ionic/components/app/test/yerk/index.js
Normal file
23
ionic/components/app/test/yerk/index.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import {bootstrap} from 'angular2/angular2'
|
||||
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
import {Tabs, Tab, Content} from 'ionic/ionic'
|
||||
import {Engine} from 'ionic/engine/engine'
|
||||
import * as util from 'ionic/util'
|
||||
|
||||
|
||||
@Component({ selector: 'ion-app' })
|
||||
@View({
|
||||
templateUrl: 'main.html',
|
||||
directives: [Tabs, Tab, Content]
|
||||
})
|
||||
class IonicApp {
|
||||
constructor() {
|
||||
console.log('IonicApp Start');
|
||||
}
|
||||
}
|
||||
|
||||
export function main() {
|
||||
bootstrap(IonicApp);
|
||||
}
|
||||
54
ionic/components/app/test/yerk/main.html
Normal file
54
ionic/components/app/test/yerk/main.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<ion-tabs id="tabs">
|
||||
|
||||
<ion-tab tab-title="Home" tab-icon="ion-earth">
|
||||
<ion-content class="padding">
|
||||
</ion-content>
|
||||
</ion-tab>
|
||||
<ion-tab tab-title="Peek" tab-icon="ion-ios-glasses">
|
||||
<ion-content class="padding">
|
||||
</ion-content>
|
||||
</ion-tab>
|
||||
<ion-tab tab-title="Me" tab-icon="ion-ios-person">
|
||||
<ion-content class="padding">
|
||||
</ion-content>
|
||||
</ion-tab>
|
||||
<ion-tab tab-title="More" tab-icon="ion-ios-more">
|
||||
<ion-content class="padding">
|
||||
</ion-content>
|
||||
</ion-tab>
|
||||
|
||||
</ion-tabs>
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
#toolbar {
|
||||
background-color: #00E2BE;
|
||||
}
|
||||
|
||||
#tabs .tab-bar {
|
||||
background-color: #FEFEFE;
|
||||
}
|
||||
#tabs .tab-bar:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: auto;
|
||||
bottom: auto;
|
||||
left: 0;
|
||||
z-index: $z-index;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
transform-origin: 50% 0%;
|
||||
background-color: #00ECC4;
|
||||
content: '';
|
||||
|
||||
}
|
||||
|
||||
#tabs .tab-button {
|
||||
color: #C7C7C7;
|
||||
}
|
||||
#tabs .tab-button[aria-selected="true"] {
|
||||
color: #00ECC4;
|
||||
}
|
||||
</style>
|
||||
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
||||
<link href="/css/ionic.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
||||
<link href="/../../../../dist/css/ionic.css" rel="stylesheet">
|
||||
<!--
|
||||
<script src="/../../../node_modules/angular2/node_modules/zone.js/dist/zone.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user