mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
reorg scss folder, closes #92
This commit is contained in:
@ -83,8 +83,8 @@ module.exports = function(grunt) {
|
|||||||
sass: {
|
sass: {
|
||||||
dist: {
|
dist: {
|
||||||
files: {
|
files: {
|
||||||
'dist/css/ionic.css': 'scss/ionic/ionic.scss',
|
'dist/css/ionic.css': 'scss/ionic.scss',
|
||||||
'dist/css/ionic-ios7.css': 'scss/ionic-ios7/ionic-ios7.scss'
|
'dist/css/themes/ionic-ios7.css': 'scss/themes/ios7/ionic-ios7.scss'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
2750
dist/css/ionic-ios7.css
vendored
2750
dist/css/ionic-ios7.css
vendored
File diff suppressed because it is too large
Load Diff
380
dist/css/ionic.css
vendored
380
dist/css/ionic.css
vendored
@ -2013,7 +2013,7 @@ sub {
|
|||||||
fieldset {
|
fieldset {
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
padding: 0.35em 0.625em 0.75em;
|
padding: 0.35em 0.625em 0.75em;
|
||||||
border: 1px solid silver; }
|
border: 1px solid #c0c0c0; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 1. Correct `color` not being inherited in IE 8/9.
|
* 1. Correct `color` not being inherited in IE 8/9.
|
||||||
@ -3493,6 +3493,145 @@ button.item-button-right:after {
|
|||||||
.padding-right > .list .item-divider {
|
.padding-right > .list .item-divider {
|
||||||
margin-right: 0; }
|
margin-right: 0; }
|
||||||
|
|
||||||
|
.nav-content {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: white; }
|
||||||
|
|
||||||
|
.badge {
|
||||||
|
display: inline-block;
|
||||||
|
min-width: 10px;
|
||||||
|
padding: 3px 8px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: white;
|
||||||
|
line-height: 16px;
|
||||||
|
vertical-align: baseline;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #999999;
|
||||||
|
border-radius: 10px; }
|
||||||
|
.badge:empty {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.button .badge {
|
||||||
|
position: relative;
|
||||||
|
top: -1px; }
|
||||||
|
|
||||||
|
.badge-default {
|
||||||
|
background: white; }
|
||||||
|
|
||||||
|
.badge-secondary {
|
||||||
|
background: whitesmoke; }
|
||||||
|
|
||||||
|
.badge-primary {
|
||||||
|
background: #4a87ee; }
|
||||||
|
|
||||||
|
.badge-info {
|
||||||
|
background: #43cee6; }
|
||||||
|
|
||||||
|
.badge-success {
|
||||||
|
background: #66cc33; }
|
||||||
|
|
||||||
|
.badge-warning {
|
||||||
|
background: #f0b840; }
|
||||||
|
|
||||||
|
.badge-danger {
|
||||||
|
background: #ef4e3a; }
|
||||||
|
|
||||||
|
.badge-dark {
|
||||||
|
background: #444444; }
|
||||||
|
|
||||||
|
.badge-gray-darker {
|
||||||
|
background: #222222; }
|
||||||
|
|
||||||
|
.badge-gray-dark {
|
||||||
|
background: #333333; }
|
||||||
|
|
||||||
|
.badge-gray {
|
||||||
|
background: #555555; }
|
||||||
|
|
||||||
|
.badge-gray-light {
|
||||||
|
background: #999999; }
|
||||||
|
|
||||||
|
.badge-gray-ligher {
|
||||||
|
background: #eeeeee; }
|
||||||
|
|
||||||
|
.slide-box {
|
||||||
|
background-color: #000;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden; }
|
||||||
|
|
||||||
|
.slide-box-slides {
|
||||||
|
position: relative;
|
||||||
|
white-space: nowrap;
|
||||||
|
-webkit-transition: -webkit-transform 0 ease-in-out;
|
||||||
|
font-size: 0; }
|
||||||
|
|
||||||
|
.slide-box-animating {
|
||||||
|
-webkit-transition-duration: 0.2s; }
|
||||||
|
|
||||||
|
.slide-box-slide {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: top;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%; }
|
||||||
|
.slide-box-slide img {
|
||||||
|
width: 100%; }
|
||||||
|
|
||||||
|
.slide-box-pager {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 20px;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center; }
|
||||||
|
.slide-box-pager > * {
|
||||||
|
display: inline-block;
|
||||||
|
text-decoration: none;
|
||||||
|
margin: 0px 5px;
|
||||||
|
color: #fff;
|
||||||
|
opacity: 0.3; }
|
||||||
|
.slide-box-pager > *.active {
|
||||||
|
-webkit-transition: opacity 0.4s ease-in;
|
||||||
|
opacity: 1; }
|
||||||
|
|
||||||
|
.split-pane {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: -moz-flex;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-align: stretch;
|
||||||
|
-ms-flex-align: stretch;
|
||||||
|
-webkit-align-items: stretch;
|
||||||
|
-moz-align-items: stretch;
|
||||||
|
align-items: stretch; }
|
||||||
|
|
||||||
|
.split-pane-menu {
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-webkit-flex: 0 0 320px;
|
||||||
|
-moz-box-flex: 0;
|
||||||
|
-moz-flex: 0 0 320px;
|
||||||
|
-ms-flex: 0 0 320px;
|
||||||
|
flex: 0 0 320px;
|
||||||
|
height: 100%;
|
||||||
|
width: 320px;
|
||||||
|
border-right: 1px solid #eeeeee;
|
||||||
|
overflow-y: auto; }
|
||||||
|
@media all and (max-width: 568px) {
|
||||||
|
.split-pane-menu {
|
||||||
|
border-right: none; } }
|
||||||
|
|
||||||
|
.split-pane-content {
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-webkit-flex: 1 0 auto;
|
||||||
|
-moz-box-flex: 1;
|
||||||
|
-moz-flex: 1 0 auto;
|
||||||
|
-ms-flex: 1 0 auto;
|
||||||
|
flex: 1 0 auto; }
|
||||||
|
|
||||||
form {
|
form {
|
||||||
margin: 0 0 1.42857; }
|
margin: 0 0 1.42857; }
|
||||||
|
|
||||||
@ -3670,7 +3809,7 @@ input[type="file"] {
|
|||||||
line-height: 34px; }
|
line-height: 34px; }
|
||||||
|
|
||||||
select {
|
select {
|
||||||
border: 1px solid #cccccc;
|
border: 1px solid #ccc;
|
||||||
background-color: white; }
|
background-color: white; }
|
||||||
|
|
||||||
select[multiple],
|
select[multiple],
|
||||||
@ -3725,7 +3864,7 @@ input[type="checkbox"][readonly] {
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: white;
|
background: white;
|
||||||
content: ' ';
|
content: ' ';
|
||||||
transition: background-color 0.1s ease-in-out; }
|
transition: background-color .1s ease-in-out; }
|
||||||
|
|
||||||
/* the checkmark within the box */
|
/* the checkmark within the box */
|
||||||
.checkbox input:after {
|
.checkbox input:after {
|
||||||
@ -3740,7 +3879,7 @@ input[type="checkbox"][readonly] {
|
|||||||
border-right: 0;
|
border-right: 0;
|
||||||
content: ' ';
|
content: ' ';
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.05s ease-in-out;
|
transition: opacity .05s ease-in-out;
|
||||||
-webkit-transform: rotate(-45deg);
|
-webkit-transform: rotate(-45deg);
|
||||||
transform: rotate(-45deg); }
|
transform: rotate(-45deg); }
|
||||||
|
|
||||||
@ -4156,7 +4295,7 @@ input[type="range"] {
|
|||||||
.button-icon:active, .button-icon.active {
|
.button-icon:active, .button-icon.active {
|
||||||
background: none;
|
background: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
text-shadow: 0px 0px 10px white; }
|
text-shadow: 0px 0px 10px #fff; }
|
||||||
|
|
||||||
.padding > .button.block:first-child {
|
.padding > .button.block:first-child {
|
||||||
margin-top: 0; }
|
margin-top: 0; }
|
||||||
@ -4218,139 +4357,6 @@ a.button {
|
|||||||
border-right-width: 1px;
|
border-right-width: 1px;
|
||||||
border-radius: 0px 2px 2px 0px; }
|
border-radius: 0px 2px 2px 0px; }
|
||||||
|
|
||||||
.badge {
|
|
||||||
display: inline-block;
|
|
||||||
min-width: 10px;
|
|
||||||
padding: 3px 8px;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: white;
|
|
||||||
line-height: 16px;
|
|
||||||
vertical-align: baseline;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-align: center;
|
|
||||||
background-color: #999999;
|
|
||||||
border-radius: 10px; }
|
|
||||||
.badge:empty {
|
|
||||||
display: none; }
|
|
||||||
|
|
||||||
.button .badge {
|
|
||||||
position: relative;
|
|
||||||
top: -1px; }
|
|
||||||
|
|
||||||
.badge-default {
|
|
||||||
background: white; }
|
|
||||||
|
|
||||||
.badge-secondary {
|
|
||||||
background: whitesmoke; }
|
|
||||||
|
|
||||||
.badge-primary {
|
|
||||||
background: #4a87ee; }
|
|
||||||
|
|
||||||
.badge-info {
|
|
||||||
background: #43cee6; }
|
|
||||||
|
|
||||||
.badge-success {
|
|
||||||
background: #66cc33; }
|
|
||||||
|
|
||||||
.badge-warning {
|
|
||||||
background: #f0b840; }
|
|
||||||
|
|
||||||
.badge-danger {
|
|
||||||
background: #ef4e3a; }
|
|
||||||
|
|
||||||
.badge-dark {
|
|
||||||
background: #444444; }
|
|
||||||
|
|
||||||
.badge-gray-darker {
|
|
||||||
background: #222222; }
|
|
||||||
|
|
||||||
.badge-gray-dark {
|
|
||||||
background: #333333; }
|
|
||||||
|
|
||||||
.badge-gray {
|
|
||||||
background: #555555; }
|
|
||||||
|
|
||||||
.badge-gray-light {
|
|
||||||
background: #999999; }
|
|
||||||
|
|
||||||
.badge-gray-ligher {
|
|
||||||
background: #eeeeee; }
|
|
||||||
|
|
||||||
.slide-box {
|
|
||||||
background-color: #000;
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden; }
|
|
||||||
|
|
||||||
.slide-box-slides {
|
|
||||||
position: relative;
|
|
||||||
white-space: nowrap;
|
|
||||||
-webkit-transition: -webkit-transform 0 ease-in-out;
|
|
||||||
font-size: 0; }
|
|
||||||
|
|
||||||
.slide-box-animating {
|
|
||||||
-webkit-transition-duration: 0.2s; }
|
|
||||||
|
|
||||||
.slide-box-slide {
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: top;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%; }
|
|
||||||
.slide-box-slide img {
|
|
||||||
width: 100%; }
|
|
||||||
|
|
||||||
.slide-box-pager {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 20px;
|
|
||||||
width: 100%;
|
|
||||||
text-align: center; }
|
|
||||||
.slide-box-pager > * {
|
|
||||||
display: inline-block;
|
|
||||||
text-decoration: none;
|
|
||||||
margin: 0px 5px;
|
|
||||||
color: #fff;
|
|
||||||
opacity: 0.3; }
|
|
||||||
.slide-box-pager > *.active {
|
|
||||||
-webkit-transition: opacity 0.4s ease-in;
|
|
||||||
opacity: 1; }
|
|
||||||
|
|
||||||
.split-pane {
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: -moz-flex;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-align: stretch;
|
|
||||||
-ms-flex-align: stretch;
|
|
||||||
-webkit-align-items: stretch;
|
|
||||||
-moz-align-items: stretch;
|
|
||||||
align-items: stretch; }
|
|
||||||
|
|
||||||
.split-pane-menu {
|
|
||||||
-webkit-box-flex: 0;
|
|
||||||
-webkit-flex: 0 0 320px;
|
|
||||||
-moz-box-flex: 0;
|
|
||||||
-moz-flex: 0 0 320px;
|
|
||||||
-ms-flex: 0 0 320px;
|
|
||||||
flex: 0 0 320px;
|
|
||||||
height: 100%;
|
|
||||||
width: 320px;
|
|
||||||
border-right: 1px solid #eeeeee;
|
|
||||||
overflow-y: auto; }
|
|
||||||
@media all and (max-width: 568px) {
|
|
||||||
.split-pane-menu {
|
|
||||||
border-right: none; } }
|
|
||||||
|
|
||||||
.split-pane-content {
|
|
||||||
-webkit-box-flex: 1;
|
|
||||||
-webkit-flex: 1 0 auto;
|
|
||||||
-moz-box-flex: 1;
|
|
||||||
-moz-flex: 1 0 auto;
|
|
||||||
-ms-flex: 1 0 auto;
|
|
||||||
flex: 1 0 auto; }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Scroll is the scroll view component available for complex and custom
|
* Scroll is the scroll view component available for complex and custom
|
||||||
* scroll view functionality.
|
* scroll view functionality.
|
||||||
@ -4376,12 +4382,6 @@ a.button {
|
|||||||
-o-text-size-adjust: none;
|
-o-text-size-adjust: none;
|
||||||
text-size-adjust: none; }
|
text-size-adjust: none; }
|
||||||
|
|
||||||
.nav-content {
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background-color: white; }
|
|
||||||
|
|
||||||
@-webkit-keyframes slideInLeft {
|
@-webkit-keyframes slideInLeft {
|
||||||
0% {
|
0% {
|
||||||
-webkit-transform: translate3d(100%, 0, 0); }
|
-webkit-transform: translate3d(100%, 0, 0); }
|
||||||
@ -4554,86 +4554,6 @@ a.button {
|
|||||||
-webkit-transform: rotate(360deg);
|
-webkit-transform: rotate(360deg);
|
||||||
transform: rotate(360deg); } }
|
transform: rotate(360deg); } }
|
||||||
|
|
||||||
/**
|
|
||||||
* Nav controllers and header bar animations
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
.content-slide-in {
|
|
||||||
&.ng-enter, > .ng-enter {
|
|
||||||
-webkit-transition: 0.5s ease-in-out all;
|
|
||||||
-webkit-transform:translate3d(100%,0,0) ;
|
|
||||||
box-shadow: -1px 0px 10px rgba(0,0,0,0.6);
|
|
||||||
}
|
|
||||||
&.ng-enter-active, > .ng-enter-active {
|
|
||||||
-webkit-transform:translate3d(0,0,0) ;
|
|
||||||
}
|
|
||||||
&.ng-leave, > .ng-leave {
|
|
||||||
-webkit-transition: 0.5s ease-in-out all;
|
|
||||||
-webkit-transform:translate3d(0%,0,0);
|
|
||||||
}
|
|
||||||
&.ng-leave-active, > .ng-leave-active {
|
|
||||||
-webkit-transform:translate3d(-10%,0,0);
|
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
.content-slide-out.ng-enter, .content-slide-out > .ng-enter {
|
|
||||||
z-index: 1;
|
|
||||||
-webkit-transition: 0.5s ease-in-out all;
|
|
||||||
-webkit-transform: translate3d(-100%, 0, 0);
|
|
||||||
box-shadow: -1px 0px 10px rgba(0, 0, 0, 0.6); }
|
|
||||||
.content-slide-out.ng-enter-active, .content-slide-out > .ng-enter-active {
|
|
||||||
-webkit-transform: translate3d(0, 0, 0); }
|
|
||||||
.content-slide-out.ng-leave, .content-slide-out > .ng-leave {
|
|
||||||
z-index: 0;
|
|
||||||
-webkit-transition: 0.5s ease-in-out all;
|
|
||||||
-webkit-transform: translate3d(0%, 0, 0); }
|
|
||||||
.content-slide-out.ng-leave-active, .content-slide-out > .ng-leave-active {
|
|
||||||
-webkit-transform: translate3d(10%, 0, 0);
|
|
||||||
opacity: 0.8; }
|
|
||||||
|
|
||||||
.bar-title-in-add {
|
|
||||||
-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
|
|
||||||
-webkit-transform: translate3d(100%, 0, 0);
|
|
||||||
opacity: 0; }
|
|
||||||
|
|
||||||
.bar-title-in-add-active {
|
|
||||||
-webkit-transform: translate3d(0px, 0, 0);
|
|
||||||
opacity: 1; }
|
|
||||||
|
|
||||||
.bar-title-out-add {
|
|
||||||
-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.5s ease-in-out; }
|
|
||||||
|
|
||||||
.bar-title-out-add-active {
|
|
||||||
-webkit-transform: translate3d(-100%, 0, 0);
|
|
||||||
opacity: 0; }
|
|
||||||
|
|
||||||
.bar-button-in {
|
|
||||||
opacity: 0; }
|
|
||||||
|
|
||||||
.bar-button-in-add {
|
|
||||||
-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
|
|
||||||
-webkit-transform: translate3d(50%, 0, 0);
|
|
||||||
opacity: 0; }
|
|
||||||
|
|
||||||
.bar-button-in-active {
|
|
||||||
-webkit-transform: translate3d(0px, 0, 0);
|
|
||||||
opacity: 1; }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Tab controller animations
|
|
||||||
*/
|
|
||||||
.fade-in-out.ng-enter, .fade-in-out > .ng-enter {
|
|
||||||
opacity: 0;
|
|
||||||
-webkit-transition: opacity 0.3s ease-in-out; }
|
|
||||||
.fade-in-out.ng-enter-active, .fade-in-out > .ng-enter-active {
|
|
||||||
opacity: 1; }
|
|
||||||
.fade-in-out.ng-leave, .fade-in-out > .ng-leave {
|
|
||||||
opacity: 1;
|
|
||||||
-webkit-transition: opacity 0.3s ease-in-out; }
|
|
||||||
.fade-in-out.ng-leave-active, .fade-in-out > .ng-leave-active {
|
|
||||||
opacity: 0; }
|
|
||||||
|
|
||||||
.ion-default {
|
.ion-default {
|
||||||
color: white; }
|
color: white; }
|
||||||
|
|
||||||
@ -4716,9 +4636,9 @@ a.button {
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
-webkit-animation: spin 0.75s linear infinite;
|
-webkit-animation: spin .75s linear infinite;
|
||||||
-moz-animation: spin 0.75s linear infinite;
|
-moz-animation: spin .75s linear infinite;
|
||||||
animation: spin 0.75s linear infinite; }
|
animation: spin .75s linear infinite; }
|
||||||
.ion-loading:before {
|
.ion-loading:before {
|
||||||
content: "\e144"; }
|
content: "\e144"; }
|
||||||
|
|
||||||
@ -4731,9 +4651,9 @@ a.button {
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
-webkit-animation: spin 0.75s linear infinite;
|
-webkit-animation: spin .75s linear infinite;
|
||||||
-moz-animation: spin 0.75s linear infinite;
|
-moz-animation: spin .75s linear infinite;
|
||||||
animation: spin 0.75s linear infinite; }
|
animation: spin .75s linear infinite; }
|
||||||
.ion-refreshing:before {
|
.ion-refreshing:before {
|
||||||
content: "\e144"; }
|
content: "\e144"; }
|
||||||
|
|
||||||
|
|||||||
136
dist/css/themes/ionic-ios7.css
vendored
Normal file
136
dist/css/themes/ionic-ios7.css
vendored
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
/**
|
||||||
|
* Nav controllers and header bar animations
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
.content-slide-in {
|
||||||
|
&.ng-enter, > .ng-enter {
|
||||||
|
-webkit-transition: 0.5s ease-in-out all;
|
||||||
|
-webkit-transform:translate3d(100%,0,0) ;
|
||||||
|
box-shadow: -1px 0px 10px rgba(0,0,0,0.6);
|
||||||
|
}
|
||||||
|
&.ng-enter-active, > .ng-enter-active {
|
||||||
|
-webkit-transform:translate3d(0,0,0) ;
|
||||||
|
}
|
||||||
|
&.ng-leave, > .ng-leave {
|
||||||
|
-webkit-transition: 0.5s ease-in-out all;
|
||||||
|
-webkit-transform:translate3d(0%,0,0);
|
||||||
|
}
|
||||||
|
&.ng-leave-active, > .ng-leave-active {
|
||||||
|
-webkit-transform:translate3d(-10%,0,0);
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
.content-slide-out.ng-enter, .content-slide-out > .ng-enter {
|
||||||
|
z-index: 1;
|
||||||
|
-webkit-transition: 0.5s ease-in-out all;
|
||||||
|
-webkit-transform: translate3d(-100%, 0, 0);
|
||||||
|
box-shadow: -1px 0px 10px rgba(0, 0, 0, 0.6); }
|
||||||
|
.content-slide-out.ng-enter-active, .content-slide-out > .ng-enter-active {
|
||||||
|
-webkit-transform: translate3d(0, 0, 0); }
|
||||||
|
.content-slide-out.ng-leave, .content-slide-out > .ng-leave {
|
||||||
|
z-index: 0;
|
||||||
|
-webkit-transition: 0.5s ease-in-out all;
|
||||||
|
-webkit-transform: translate3d(0%, 0, 0); }
|
||||||
|
.content-slide-out.ng-leave-active, .content-slide-out > .ng-leave-active {
|
||||||
|
-webkit-transform: translate3d(10%, 0, 0);
|
||||||
|
opacity: 0.8; }
|
||||||
|
|
||||||
|
.bar-title-in-add {
|
||||||
|
-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
|
||||||
|
-webkit-transform: translate3d(100%, 0, 0);
|
||||||
|
opacity: 0; }
|
||||||
|
|
||||||
|
.bar-title-in-add-active {
|
||||||
|
-webkit-transform: translate3d(0px, 0, 0);
|
||||||
|
opacity: 1; }
|
||||||
|
|
||||||
|
.bar-title-out-add {
|
||||||
|
-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.5s ease-in-out; }
|
||||||
|
|
||||||
|
.bar-title-out-add-active {
|
||||||
|
-webkit-transform: translate3d(-100%, 0, 0);
|
||||||
|
opacity: 0; }
|
||||||
|
|
||||||
|
.bar-button-in {
|
||||||
|
opacity: 0; }
|
||||||
|
|
||||||
|
.bar-button-in-add {
|
||||||
|
-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
|
||||||
|
-webkit-transform: translate3d(50%, 0, 0);
|
||||||
|
opacity: 0; }
|
||||||
|
|
||||||
|
.bar-button-in-active {
|
||||||
|
-webkit-transform: translate3d(0px, 0, 0);
|
||||||
|
opacity: 1; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tab controller animations
|
||||||
|
*/
|
||||||
|
.fade-in-out.ng-enter, .fade-in-out > .ng-enter {
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transition: opacity 0.3s ease-in-out; }
|
||||||
|
.fade-in-out.ng-enter-active, .fade-in-out > .ng-enter-active {
|
||||||
|
opacity: 1; }
|
||||||
|
.fade-in-out.ng-leave, .fade-in-out > .ng-leave {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transition: opacity 0.3s ease-in-out; }
|
||||||
|
.fade-in-out.ng-leave-active, .fade-in-out > .ng-leave-active {
|
||||||
|
opacity: 0; }
|
||||||
|
|
||||||
|
/* the overall container of the toggle */
|
||||||
|
.toggle {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
/* hide the actual checkbox */
|
||||||
|
.toggle input {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.toggle .track {
|
||||||
|
/* the background of the toggle's track area */
|
||||||
|
/* also the track appearance when the toggle is "off" */
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: 54px;
|
||||||
|
height: 32px;
|
||||||
|
border: solid 2px #dddddd;
|
||||||
|
border-radius: 20px;
|
||||||
|
background-color: white;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: 0.4s ease; }
|
||||||
|
|
||||||
|
.toggle .handle {
|
||||||
|
/* the handle (circle) thats inside the toggle's track area */
|
||||||
|
/* also the appearance when the handle is "off" */
|
||||||
|
position: absolute;
|
||||||
|
display: block;
|
||||||
|
width: auto;
|
||||||
|
/* override defaults */
|
||||||
|
height: auto;
|
||||||
|
/* override defaults */
|
||||||
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 4px 5px rgba(0, 0, 0, 0.25);
|
||||||
|
border-radius: 20px;
|
||||||
|
background-color: white;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 20px;
|
||||||
|
transition: 0.2s ease;
|
||||||
|
transition-property: left, right;
|
||||||
|
transition-delay: 0s, .05s; }
|
||||||
|
|
||||||
|
.toggle :checked + .track {
|
||||||
|
/* When the toggle is "on" */
|
||||||
|
/* the track when the toggle is "on" */
|
||||||
|
border-color: #4bd863;
|
||||||
|
background-color: #ccc;
|
||||||
|
box-shadow: inset 0 0 0 20px #4bd863;
|
||||||
|
transition: 0.2s ease;
|
||||||
|
/* the handle when the toggle is "on" */ }
|
||||||
|
.toggle :checked + .track .handle {
|
||||||
|
background-color: white;
|
||||||
|
right: 0;
|
||||||
|
left: 20px;
|
||||||
|
-webkit-transform: none;
|
||||||
|
transition-delay: .05s, 0s; }
|
||||||
@ -1,41 +0,0 @@
|
|||||||
@charset "UTF-8";
|
|
||||||
|
|
||||||
@import
|
|
||||||
// Variables
|
|
||||||
"../ionic/mixins",
|
|
||||||
"../ionic/variables",
|
|
||||||
"variables",
|
|
||||||
|
|
||||||
// Base
|
|
||||||
"../ionic/reset",
|
|
||||||
"../ionic/scaffolding",
|
|
||||||
"../ionic/type",
|
|
||||||
|
|
||||||
// Nav
|
|
||||||
"../ionic/bar",
|
|
||||||
"../ionic/tabs",
|
|
||||||
"../ionic/menu",
|
|
||||||
"../ionic/modal",
|
|
||||||
"../ionic/items",
|
|
||||||
"../ionic/list",
|
|
||||||
|
|
||||||
// Forms
|
|
||||||
"../ionic/form",
|
|
||||||
"toggle",
|
|
||||||
"../ionic/radio",
|
|
||||||
"../ionic/range",
|
|
||||||
|
|
||||||
// Buttons
|
|
||||||
"../ionic/button",
|
|
||||||
"../ionic/button-bar",
|
|
||||||
|
|
||||||
// Badges
|
|
||||||
"../ionic/badge",
|
|
||||||
|
|
||||||
// Animations
|
|
||||||
"../ionic/animations/simple",
|
|
||||||
"../ionic/animations/bar_ios7",
|
|
||||||
|
|
||||||
// Util
|
|
||||||
"../ionic/icons",
|
|
||||||
"../ionic/util";
|
|
||||||
@ -6,20 +6,18 @@
|
|||||||
"variables",
|
"variables",
|
||||||
|
|
||||||
// Ionicons
|
// Ionicons
|
||||||
"../../ionicons/scss/ionicons-variables",
|
"../ionicons/scss/ionicons-variables",
|
||||||
"../../ionicons/scss/ionicons-font",
|
"../ionicons/scss/ionicons-font",
|
||||||
"../../ionicons/scss/ionicons-animation",
|
"../ionicons/scss/ionicons-animation",
|
||||||
"../../ionicons/scss/ionicons-icons",
|
"../ionicons/scss/ionicons-icons",
|
||||||
|
|
||||||
// Base
|
// Base
|
||||||
"reset",
|
"reset",
|
||||||
"scaffolding",
|
"scaffolding",
|
||||||
"type",
|
"type",
|
||||||
|
|
||||||
// Action Sheet
|
// Components
|
||||||
"action-sheet",
|
"action-sheet",
|
||||||
|
|
||||||
// Nav
|
|
||||||
"bar",
|
"bar",
|
||||||
"tabs",
|
"tabs",
|
||||||
"menu",
|
"menu",
|
||||||
@ -27,6 +25,10 @@
|
|||||||
"popup",
|
"popup",
|
||||||
"items",
|
"items",
|
||||||
"list",
|
"list",
|
||||||
|
"nav",
|
||||||
|
"badge",
|
||||||
|
"slide-box",
|
||||||
|
"split-pane",
|
||||||
|
|
||||||
// Forms
|
// Forms
|
||||||
"form",
|
"form",
|
||||||
@ -39,23 +41,9 @@
|
|||||||
"button",
|
"button",
|
||||||
"button-bar",
|
"button-bar",
|
||||||
|
|
||||||
// Badges
|
|
||||||
"badge",
|
|
||||||
|
|
||||||
// Components
|
|
||||||
"slide-box",
|
|
||||||
|
|
||||||
"split-pane",
|
|
||||||
|
|
||||||
"scroll",
|
|
||||||
|
|
||||||
"nav",
|
|
||||||
|
|
||||||
// Animations
|
|
||||||
"animations/simple",
|
|
||||||
"animations/bar_ios7",
|
|
||||||
|
|
||||||
// Util
|
// Util
|
||||||
|
"scroll",
|
||||||
|
"animations",
|
||||||
"icons",
|
"icons",
|
||||||
"util",
|
"util",
|
||||||
"platform";
|
"platform";
|
||||||
9
scss/themes/ios7/ionic-ios7.scss
Normal file
9
scss/themes/ios7/ionic-ios7.scss
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
@import
|
||||||
|
"../../mixins",
|
||||||
|
"../../variables",
|
||||||
|
|
||||||
|
"variables",
|
||||||
|
"animations",
|
||||||
|
"toggle";
|
||||||
Reference in New Issue
Block a user