1
0
mirror of https://github.com/moparisthebest/mail synced 2024-08-13 16:43:47 -04:00
mail/src/sass/_scaffolding.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

54 lines
924 B
SCSS
Executable File

// Reset the box-sizing
*,
*:before,
*:after {
box-sizing: border-box;
}
// Body reset
html {
font-size: 62.5%;
height: 100%;
}
body {
font-family: $font-family-base;
font-size: $font-size-base;
line-height: $line-height-base;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: 100%;
}
// Reset fonts for relevant elements
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
// add space at the top since ios7 apps are now fullscreen
.ios-spacer {
padding-top: 20px;
}
// Basic layout
.main-app-view {
height: 100%;
::-webkit-scrollbar {
width: 0px;
}
// remove flickering on item touch selection in ios
* {
-webkit-tap-highlight-color: transparent !important;
}
}