2015-10-23 19:30:37 +03:00
|
|
|
@import "~normalize.css";
|
2015-10-20 22:15:21 +03:00
|
|
|
@import "./base";
|
2015-11-09 05:46:52 +03:00
|
|
|
@import url($font-roboto-url);
|
2015-10-02 18:39:26 +03:00
|
|
|
|
|
|
|
html {
|
|
|
|
font-size: 62.5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-family: Roboto, sans-serif;
|
|
|
|
font-size: 1.6rem;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
* {
|
|
|
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a, abbr, address, article, aside, audio, b, blockquote, body, caption, cite,
|
|
|
|
code, dd, del, dfn, dialog, div, dl, dt, em, fieldset, figure, footer, form, h1,
|
|
|
|
h2, h3, h4, h5, h6, header, hgroup, hr, html, i, iframe, img, ins, kbd, label,
|
|
|
|
legend, li, mark, menu, nav, object, ol, p, pre, q, samp, section, small, span,
|
|
|
|
strong, sub, sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
*, *:before, *:after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6, label, p, button, abbr, a, span, small {
|
|
|
|
font-smoothing: antialiased;
|
2015-10-19 03:38:25 +03:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2015-10-02 18:39:26 +03:00
|
|
|
text-size-adjust: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:not([type="checkbox"]):not([type="radio"]), button {
|
|
|
|
outline: none;
|
|
|
|
appearance: none;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
|
|
|
}
|
|
|
|
|
2015-10-06 22:34:43 +03:00
|
|
|
// -- Material design font sizes
|
|
|
|
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
|
|
|
|
@include typo-display-3($color-contrast: true);
|
|
|
|
}
|
|
|
|
|
2015-10-06 08:42:36 +03:00
|
|
|
h1 {
|
2015-10-06 22:34:43 +03:00
|
|
|
@include typo-display-3;
|
2015-10-06 08:42:36 +03:00
|
|
|
}
|
2015-10-06 22:34:43 +03:00
|
|
|
|
2015-10-06 08:42:36 +03:00
|
|
|
h2 {
|
2015-10-06 22:34:43 +03:00
|
|
|
@include typo-display-2;
|
2015-10-06 08:42:36 +03:00
|
|
|
}
|
2015-10-06 22:34:43 +03:00
|
|
|
|
2015-10-06 08:42:36 +03:00
|
|
|
h3 {
|
2015-10-06 22:34:43 +03:00
|
|
|
@include typo-display-1;
|
2015-10-06 08:42:36 +03:00
|
|
|
}
|
2015-10-06 22:34:43 +03:00
|
|
|
|
2015-10-06 08:42:36 +03:00
|
|
|
h4 {
|
2015-10-06 22:34:43 +03:00
|
|
|
@include typo-headline;
|
2015-10-06 08:42:36 +03:00
|
|
|
}
|
2015-10-06 22:34:43 +03:00
|
|
|
|
2015-10-06 08:42:36 +03:00
|
|
|
h5 {
|
2015-10-06 22:34:43 +03:00
|
|
|
@include typo-title;
|
2015-10-06 08:42:36 +03:00
|
|
|
}
|
2015-10-06 22:34:43 +03:00
|
|
|
|
2015-10-06 08:42:36 +03:00
|
|
|
h6 {
|
2015-10-06 22:34:43 +03:00
|
|
|
@include typo-subhead;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
@include typo-body-1;
|
2015-10-06 08:42:36 +03:00
|
|
|
}
|
|
|
|
|
2015-10-02 18:39:26 +03:00
|
|
|
//-- Flex
|
|
|
|
[data-flex] {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
body[data-flex] {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
// -- Direction
|
|
|
|
[data-flex^="horizontal"] {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex^="vertical"] {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// -- Size {
|
|
|
|
[data-flex*="grow"] {
|
|
|
|
> *:not([data-column]):not([data-flex-grow]) {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-grow="min"] {
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-grow="max"] {
|
|
|
|
flex-grow: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
// -- Container properties
|
|
|
|
[data-flex*="wrap"] {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex*="center"] {
|
|
|
|
justify-content: center;
|
|
|
|
align-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-justify="start"] {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-justify="center"] {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-justify="end"] {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-content="start"] {
|
|
|
|
align-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-content="center"] {
|
|
|
|
align-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-content="end"] {
|
|
|
|
align-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-items="center"] {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-items="start"] {
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-items="end"] {
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
// -- Children properties
|
|
|
|
[data-flex-order="first"] {
|
|
|
|
order: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-flex-order="last"] {
|
|
|
|
order: 999999;
|
|
|
|
}
|