Alternate mobile transitions

This commit is contained in:
Benoit Favreault authored and Francis Lachapelle committed 2015-06-12 11:41:27 -04:00
1 parent 2446677172
commit 2c8d1b5db7
5 files changed
+53 -10

No files matched your search

@@ -1,4 +1,34 @@
@import 'extends';
// angular-material is mobile first (is it ?) SOGo is not. We're inversing
// the media definitions and replacing magic numbers with variables
// ----------------------------------------------------------------------------
md-content {
display: block;
position: relative;
overflow: auto;
background-color: transparent;
-webkit-overflow-scrolling: touch;
&[md-scroll-y] {
overflow-y: auto;
overflow-x: hidden;
}
&[md-scroll-x] {
overflow-x: auto;
overflow-y: hidden;
}
&[md-scroll-xy] {
}
&.md-padding {
padding: $mg;
}
}
// Overrides out of specs angular-material definition
@include at(sm) {
md-content.md-padding {
padding: $mg;
}
}