1
0
mirror of https://github.com/moparisthebest/mail synced 2024-08-13 16:43:47 -04:00
mail/src/sass/components/_layout.scss
Tankred Hase b20ab9790c refactor files for transform transition for mobile
use prototypical inheritance by invoking parent functions in child scopes
2013-10-27 13:03:13 +01:00

36 lines
772 B
SCSS
Executable File

.main-content {
@include clearfix();
height: 100%;
overflow: hidden;
// double in modile to allow slide transition
@include respond-to(mobile) {
width: 200%; // this currently causes a smear effect bug on mail-list header in safari
transition: transform $time-nav-animation ease-in-out;
}
}
.column {
height: 100%;
overflow: hidden;
// half of main-content in mobile mode to allow slide transition
@include respond-to(mobile) {
width: 50%;
}
}
.column-left {
float: left;
@include respond-to(desktop) {
width: $content-nav-width;
border-right: 1px solid $color-grey-light;
}
}
.shift-right {
@include respond-to(mobile) {
transform: translateX(-50%);
}
}