refactor(css): update theme imports

This commit is contained in:
Brandy Carney
2016-09-13 16:57:27 -05:00
committed by Adam Bradley
parent 750cde38e2
commit 16df3a4aab
38 changed files with 262 additions and 204 deletions

View File

@@ -1,37 +1,34 @@
@import "../../globals.core";
@import "../../themes/ionic.globals";
ion-scroll {
position: relative;
display: block;
&.scroll-x scroll-content {
overflow-x: auto;
}
&.scroll-y scroll-content {
overflow-y: auto;
}
&[center] {
scroll-content {
display: flex;
align-items: center;
justify-content: center;
}
}
scroll-content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow-y: hidden;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
will-change: scroll-position;
}
}
ion-scroll.scroll-x .scroll-content {
overflow-x: auto;
}
ion-scroll.scroll-y .scroll-content {
overflow-y: auto;
}
ion-scroll[center] .scroll-content {
display: flex;
align-items: center;
justify-content: center;
}
ion-scroll .scroll-content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow-y: hidden;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
will-change: scroll-position;
}