materialize-sass 0.95.3.2 → 0.95.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +59 -59
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/app/assets/javascripts/materialize-sprockets.js +1 -1
- data/app/assets/javascripts/materialize.js +1 -0
- data/app/assets/javascripts/materialize/{animations.js → animation.js} +1 -0
- data/app/assets/javascripts/materialize/buttons.js +20 -20
- data/app/assets/javascripts/materialize/cards.js +11 -7
- data/app/assets/javascripts/materialize/collapsible.js +1 -1
- data/app/assets/javascripts/materialize/date_picker/picker.date.js +27 -24
- data/app/assets/javascripts/materialize/dropdown.js +17 -15
- data/app/assets/javascripts/materialize/forms.js +41 -19
- data/app/assets/javascripts/materialize/hammer.min.js +1 -1
- data/app/assets/javascripts/materialize/init.js +4 -4
- data/app/assets/javascripts/materialize/jquery.easing.1.3.js +1 -1
- data/app/assets/javascripts/materialize/leanModal.js +68 -23
- data/app/assets/javascripts/materialize/materialbox.js +22 -10
- data/app/assets/javascripts/materialize/parallax.js +10 -1
- data/app/assets/javascripts/materialize/pushpin.js +1 -13
- data/app/assets/javascripts/materialize/scrollFire.js +11 -10
- data/app/assets/javascripts/materialize/scrollspy.js +1 -1
- data/app/assets/javascripts/materialize/sideNav.js +42 -38
- data/app/assets/javascripts/materialize/slider.js +2 -3
- data/app/assets/javascripts/materialize/tabs.js +1 -2
- data/app/assets/javascripts/materialize/tooltip.js +0 -1
- data/app/assets/javascripts/materialize/transitions.js +60 -5
- data/app/assets/javascripts/materialize/velocity.min.js +3 -3
- data/app/assets/stylesheets/materialize/components/_buttons.scss +142 -140
- data/app/assets/stylesheets/materialize/components/_dropdown.scss +1 -0
- data/app/assets/stylesheets/materialize/components/_global.scss +3 -3
- data/app/assets/stylesheets/materialize/components/_grid.scss +2 -2
- data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +5 -5
- data/app/assets/stylesheets/materialize/components/_modal.scss +13 -0
- data/app/assets/stylesheets/materialize/components/_navbar.scss +15 -21
- data/app/assets/stylesheets/materialize/components/_preloader.scss +20 -24
- data/app/assets/stylesheets/materialize/components/_roboto.scss +15 -5
- data/app/assets/stylesheets/materialize/components/_sideNav.scss +1 -0
- data/app/assets/stylesheets/materialize/components/_slider.scss +1 -1
- data/app/assets/stylesheets/materialize/components/_tabs.scss +43 -43
- data/app/assets/stylesheets/materialize/components/_typography.scss +55 -55
- data/app/assets/stylesheets/materialize/components/_variables.scss +11 -11
- data/app/assets/stylesheets/materialize/components/_waves.scss +2 -3
- data/lib/materialize-sass/version.rb +1 -1
- metadata +27 -8
- checksums.yaml +0 -7
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: "Material-Design-Icons";
|
3
|
-
src:url("#{$icons-font-path}Material-Design-Icons.eot")
|
4
|
-
|
5
|
-
url("#{$icons-font-path}Material-Design-Icons.woff") format("woff"),
|
6
|
-
url("#{$icons-font-path}Material-Design-Icons.ttf") format("truetype"),
|
7
|
-
url("#{$icons-font-path}Material-Design-Icons.svg#Material-Design-Icons") format("svg");
|
3
|
+
src:font-url("#{$icons-font-path}Material-Design-Icons.eot?#iefix") format("embedded-opentype"),
|
4
|
+
font-url("#{$icons-font-path}Material-Design-Icons.woff2") format("woff2"),
|
5
|
+
font-url("#{$icons-font-path}Material-Design-Icons.woff") format("woff"),
|
6
|
+
font-url("#{$icons-font-path}Material-Design-Icons.ttf") format("truetype"),
|
7
|
+
font-url("#{$icons-font-path}Material-Design-Icons.svg#Material-Design-Icons") format("svg");
|
8
8
|
font-weight: normal;
|
9
9
|
font-style: normal;
|
10
10
|
}
|
@@ -30,6 +30,7 @@
|
|
30
30
|
}
|
31
31
|
|
32
32
|
.modal-footer {
|
33
|
+
@include border-radius(0 0 2px 2px);
|
33
34
|
background-color: #eee;
|
34
35
|
padding: 4px 6px;
|
35
36
|
height: 56px;
|
@@ -56,6 +57,7 @@
|
|
56
57
|
will-change: opacity;
|
57
58
|
}
|
58
59
|
|
60
|
+
// Modal with fixed action footer
|
59
61
|
.modal.modal-fixed-footer {
|
60
62
|
padding: 0;
|
61
63
|
height: 70%;
|
@@ -74,3 +76,14 @@
|
|
74
76
|
bottom: 0;
|
75
77
|
}
|
76
78
|
}
|
79
|
+
|
80
|
+
// Modal Bottom Sheet Style
|
81
|
+
.modal.bottom-sheet {
|
82
|
+
top: auto;
|
83
|
+
bottom: -100%;
|
84
|
+
margin: 0;
|
85
|
+
width: 100%;
|
86
|
+
max-height: 45%;
|
87
|
+
@include border-radius(0);
|
88
|
+
will-change: bottom, opacity;
|
89
|
+
}
|
@@ -5,22 +5,25 @@ nav {
|
|
5
5
|
width: 100%;
|
6
6
|
height: $navbar-height-mobile;
|
7
7
|
line-height: $navbar-height-mobile;
|
8
|
+
overflow: hidden;
|
9
|
+
|
10
|
+
a { color: #fff; }
|
8
11
|
|
9
12
|
.nav-wrapper {
|
10
13
|
position: relative;
|
11
14
|
height: 100%;
|
15
|
+
|
12
16
|
i {
|
13
17
|
font-size: 2rem;
|
14
18
|
}
|
15
19
|
}
|
16
20
|
|
17
|
-
a { color: #fff; }
|
18
|
-
|
19
21
|
@media #{$large-and-up} {
|
20
22
|
a.button-collapse { display: none; }
|
21
23
|
}
|
22
24
|
|
23
25
|
|
26
|
+
// Collapse button
|
24
27
|
a.button-collapse {
|
25
28
|
float: left;
|
26
29
|
position: relative;
|
@@ -29,40 +32,32 @@ nav {
|
|
29
32
|
color: #fff;
|
30
33
|
|
31
34
|
i {
|
35
|
+
|
32
36
|
font-size: 2.7rem;
|
33
37
|
height: $navbar-height-mobile;
|
34
38
|
line-height: $navbar-height-mobile;
|
35
39
|
}
|
36
40
|
}
|
37
41
|
|
42
|
+
|
43
|
+
// Logo
|
38
44
|
.brand-logo {
|
39
45
|
position: absolute;
|
40
46
|
color: #fff;
|
41
47
|
display: inline-block;
|
42
48
|
font-size: 2.1rem;
|
43
49
|
padding: 0;
|
50
|
+
|
44
51
|
&.center {
|
45
52
|
top: 50%;
|
46
53
|
left: 50%;
|
47
|
-
|
48
|
-
-moz-transform: translate(-50%, -50%);
|
49
|
-
-ms-transform: translate(-50%, -50%);
|
50
|
-
-o-transform: translate(-50%, -50%);
|
51
|
-
transform: translate(-50%, -50%);
|
54
|
+
@include transform(translate(-50%, -50%));
|
52
55
|
}
|
53
56
|
|
54
57
|
@media #{$medium-and-down} {
|
55
|
-
// left: 0;
|
56
|
-
// width: 100%;
|
57
|
-
// text-align: center;
|
58
|
-
// z-index: 0;
|
59
58
|
top: 50%;
|
60
59
|
left: 50%;
|
61
|
-
|
62
|
-
-moz-transform: translate(-50%, -50%);
|
63
|
-
-ms-transform: translate(-50%, -50%);
|
64
|
-
-o-transform: translate(-50%, -50%);
|
65
|
-
transform: translate(-50%, -50%);
|
60
|
+
@include transform(translate(-50%, -50%));
|
66
61
|
}
|
67
62
|
|
68
63
|
&.right {
|
@@ -71,13 +66,15 @@ nav {
|
|
71
66
|
}
|
72
67
|
}
|
73
68
|
|
69
|
+
|
70
|
+
// Navbar Links
|
74
71
|
ul {
|
75
72
|
margin: 0;
|
76
73
|
|
77
74
|
li {
|
75
|
+
@include transition(background-color .3s);
|
78
76
|
float: left;
|
79
77
|
padding: 0px;
|
80
|
-
@include transition(background-color .3s);
|
81
78
|
|
82
79
|
&:hover, &.active {
|
83
80
|
background-color: rgba(0,0,0,.1);
|
@@ -145,10 +142,7 @@ nav {
|
|
145
142
|
height: $navbar-height;
|
146
143
|
line-height: $navbar-height;
|
147
144
|
}
|
148
|
-
// nav .nav-wrapper i {
|
149
|
-
// font-size: 2rem;
|
150
|
-
// }
|
151
145
|
.navbar-fixed {
|
152
146
|
height: $navbar-height;
|
153
147
|
}
|
154
|
-
}
|
148
|
+
}
|
@@ -62,26 +62,26 @@
|
|
62
62
|
position: absolute;
|
63
63
|
width: 100%;
|
64
64
|
height: 100%;
|
65
|
-
|
66
|
-
filter: "alpha(opacity=(${iefactor}))";
|
67
|
-
-moz-opacity: 0;
|
68
|
-
-khtml-opacity: 0;
|
69
|
-
opacity: 0;
|
65
|
+
@include opacity(0);
|
70
66
|
}
|
71
67
|
|
72
|
-
.spinner-blue,
|
68
|
+
.spinner-blue,
|
69
|
+
.spinner-blue-only {
|
73
70
|
border-color: #4285f4;
|
74
71
|
}
|
75
72
|
|
76
|
-
.spinner-red,
|
73
|
+
.spinner-red,
|
74
|
+
.spinner-red-only {
|
77
75
|
border-color: #db4437;
|
78
76
|
}
|
79
77
|
|
80
|
-
.spinner-yellow,
|
78
|
+
.spinner-yellow,
|
79
|
+
.spinner-yellow-only {
|
81
80
|
border-color: #f4b400;
|
82
81
|
}
|
83
82
|
|
84
|
-
.spinner-green,
|
83
|
+
.spinner-green,
|
84
|
+
.spinner-green-only {
|
85
85
|
border-color: #0f9d58;
|
86
86
|
}
|
87
87
|
|
@@ -98,20 +98,6 @@
|
|
98
98
|
* specific properties properly, treats them as -webkit-animation, and overrides the
|
99
99
|
* other animation rules. See https://github.com/Polymer/platform/issues/53.
|
100
100
|
*/
|
101
|
-
.active .spinner-layer.spinner-blue-only,
|
102
|
-
.active .spinner-layer.spinner-red-only,
|
103
|
-
.active .spinner-layer.spinner-yellow-only,
|
104
|
-
.active .spinner-layer.spinner-green-only {
|
105
|
-
/* durations: 4 * ARCTIME */
|
106
|
-
-ms-filter: "progid:DXImageTransform@mixin Microsoft@mixin Alpha(Opacity=${iefactor})";
|
107
|
-
filter: "alpha(opacity=(${iefactor}))";
|
108
|
-
-moz-opacity: 1;
|
109
|
-
-khtml-opacity: 1;
|
110
|
-
opacity: 1;
|
111
|
-
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
112
|
-
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
113
|
-
}
|
114
|
-
|
115
101
|
.active .spinner-layer.spinner-blue {
|
116
102
|
/* durations: 4 * ARCTIME */
|
117
103
|
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, blue-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
@@ -136,6 +122,16 @@
|
|
136
122
|
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, green-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
137
123
|
}
|
138
124
|
|
125
|
+
.active .spinner-layer.spinner-blue-only,
|
126
|
+
.active .spinner-layer.spinner-red-only,
|
127
|
+
.active .spinner-layer.spinner-yellow-only,
|
128
|
+
.active .spinner-layer.spinner-green-only {
|
129
|
+
/* durations: 4 * ARCTIME */
|
130
|
+
@include opacity(1);
|
131
|
+
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
132
|
+
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
133
|
+
}
|
134
|
+
|
139
135
|
@-webkit-keyframes fill-unfill-rotate {
|
140
136
|
12.5% { -webkit-transform: rotate(135deg); } /* 0.5 * ARCSIZE */
|
141
137
|
25% { -webkit-transform: rotate(270deg); } /* 1 * ARCSIZE */
|
@@ -335,4 +331,4 @@
|
|
335
331
|
@keyframes fade-out {
|
336
332
|
from { opacity: 1; }
|
337
333
|
to { opacity: 0; }
|
338
|
-
}
|
334
|
+
}
|
@@ -1,28 +1,38 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: "Roboto";
|
3
|
-
src: font-url("#{$roboto-font-path}Roboto-Thin.
|
3
|
+
src: font-url("#{$roboto-font-path}Roboto-Thin.woff2") format("woff2"),
|
4
|
+
font-url("#{$roboto-font-path}Roboto-Thin.woff") format("woff"),
|
5
|
+
font-url("#{$roboto-font-path}Roboto-Thin.ttf") format("truetype");
|
4
6
|
font-weight: 200;
|
5
7
|
}
|
6
8
|
@font-face {
|
7
9
|
font-family: "Roboto";
|
8
|
-
src: font-url("#{$roboto-font-path}Roboto-Light.
|
10
|
+
src: font-url("#{$roboto-font-path}Roboto-Light.woff2") format("woff2"),
|
11
|
+
font-url("#{$roboto-font-path}Roboto-Light.woff") format("woff"),
|
12
|
+
font-url("#{$roboto-font-path}Roboto-Light.ttf") format("truetype");
|
9
13
|
font-weight: 300;
|
10
14
|
}
|
11
15
|
|
12
16
|
@font-face {
|
13
17
|
font-family: "Roboto";
|
14
|
-
src: font-url("#{$roboto-font-path}Roboto-Regular.
|
18
|
+
src: font-url("#{$roboto-font-path}Roboto-Regular.woff2") format("woff2"),
|
19
|
+
font-url("#{$roboto-font-path}Roboto-Regular.woff") format("woff"),
|
20
|
+
font-url("#{$roboto-font-path}Roboto-Regular.ttf") format("truetype");
|
15
21
|
font-weight: 400;
|
16
22
|
}
|
17
23
|
|
18
24
|
@font-face {
|
19
25
|
font-family: "Roboto";
|
20
|
-
src: font-url("#{$roboto-font-path}Roboto-Medium.
|
26
|
+
src: font-url("#{$roboto-font-path}Roboto-Medium.woff2") format("woff2"),
|
27
|
+
font-url("#{$roboto-font-path}Roboto-Medium.woff") format("woff"),
|
28
|
+
font-url("#{$roboto-font-path}Roboto-Medium.ttf") format("truetype");
|
21
29
|
font-weight: 500;
|
22
30
|
}
|
23
31
|
|
24
32
|
@font-face {
|
25
33
|
font-family: "Roboto";
|
26
|
-
src: font-url("#{$roboto-font-path}Roboto-Bold.
|
34
|
+
src: font-url("#{$roboto-font-path}Roboto-Bold.woff2") format("woff2"),
|
35
|
+
font-url("#{$roboto-font-path}Roboto-Bold.woff") format("woff"),
|
36
|
+
font-url("#{$roboto-font-path}Roboto-Bold.ttf") format("truetype");
|
27
37
|
font-weight: 700;
|
28
38
|
}
|
@@ -1,43 +1,43 @@
|
|
1
|
-
.tabs {
|
2
|
-
position: relative;
|
3
|
-
height: 48px;
|
4
|
-
background-color: #FFF;
|
5
|
-
margin: 0 auto;
|
6
|
-
width: 100%;
|
7
|
-
white-space: nowrap;
|
8
|
-
|
9
|
-
li.tab {
|
10
|
-
display: block;
|
11
|
-
float: left;
|
12
|
-
text-align: center;
|
13
|
-
background-color: #fff;
|
14
|
-
line-height: 48px;
|
15
|
-
height: 48px;
|
16
|
-
padding: 0 20px;
|
17
|
-
margin: 0;
|
18
|
-
text-transform: uppercase;
|
19
|
-
letter-spacing: .8px;
|
20
|
-
width: 15%;
|
21
|
-
|
22
|
-
a {
|
23
|
-
color: $tabs-text-color;
|
24
|
-
display: block;
|
25
|
-
width: 100%;
|
26
|
-
height: 100%;
|
27
|
-
@include transition( color .28s ease);
|
28
|
-
&:hover {
|
29
|
-
color: lighten($tabs-text-color, 20%);
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
.indicator {
|
34
|
-
position: absolute;
|
35
|
-
bottom: 0;
|
36
|
-
height: 2px;
|
37
|
-
background-color: $tabs-underline-color;
|
38
|
-
will-change: left, right;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
ul.tabs li.tab { padding: 0; }
|
43
|
-
|
1
|
+
.tabs {
|
2
|
+
position: relative;
|
3
|
+
height: 48px;
|
4
|
+
background-color: #FFF;
|
5
|
+
margin: 0 auto;
|
6
|
+
width: 100%;
|
7
|
+
white-space: nowrap;
|
8
|
+
|
9
|
+
li.tab {
|
10
|
+
display: block;
|
11
|
+
float: left;
|
12
|
+
text-align: center;
|
13
|
+
background-color: #fff;
|
14
|
+
line-height: 48px;
|
15
|
+
height: 48px;
|
16
|
+
padding: 0 20px;
|
17
|
+
margin: 0;
|
18
|
+
text-transform: uppercase;
|
19
|
+
letter-spacing: .8px;
|
20
|
+
width: 15%;
|
21
|
+
|
22
|
+
a {
|
23
|
+
color: $tabs-text-color;
|
24
|
+
display: block;
|
25
|
+
width: 100%;
|
26
|
+
height: 100%;
|
27
|
+
@include transition( color .28s ease);
|
28
|
+
&:hover {
|
29
|
+
color: lighten($tabs-text-color, 20%);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
.indicator {
|
34
|
+
position: absolute;
|
35
|
+
bottom: 0;
|
36
|
+
height: 2px;
|
37
|
+
background-color: $tabs-underline-color;
|
38
|
+
will-change: left, right;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
ul.tabs li.tab { padding: 0; }
|
43
|
+
|
@@ -1,55 +1,55 @@
|
|
1
|
-
a {
|
2
|
-
text-decoration: none;
|
3
|
-
}
|
4
|
-
|
5
|
-
html{
|
6
|
-
line-height: 1.5;
|
7
|
-
|
8
|
-
@media only screen and (min-width: 0) {
|
9
|
-
font-size: 14px;
|
10
|
-
}
|
11
|
-
|
12
|
-
@media only screen and (min-width: $medium-screen) {
|
13
|
-
font-size: 14.5px;
|
14
|
-
}
|
15
|
-
|
16
|
-
@media only screen and (min-width: $large-screen) {
|
17
|
-
font-size: 15px;
|
18
|
-
}
|
19
|
-
|
20
|
-
font-family: "Roboto", sans-serif;
|
21
|
-
font-weight: normal;
|
22
|
-
color: $off-black;
|
23
|
-
}
|
24
|
-
h1, h2, h3, h4, h5, h6 {
|
25
|
-
|
26
|
-
}
|
27
|
-
|
28
|
-
// Header Styles
|
29
|
-
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
|
30
|
-
h1 { font-size: $h1-fontsize; line-height: 1.1*$h1-fontsize; margin: ($h1-fontsize / 2) 0 ($h1-fontsize / 2.5) 0;}
|
31
|
-
h2 { font-size: $h2-fontsize; line-height: 1.1*$h2-fontsize; margin: ($h2-fontsize / 2) 0 ($h2-fontsize / 2.5) 0;}
|
32
|
-
h3 { font-size: $h3-fontsize; line-height: 1.1*$h3-fontsize; margin: ($h3-fontsize / 2) 0 ($h3-fontsize / 2.5) 0;}
|
33
|
-
h4 { font-size: $h4-fontsize; line-height: 1.1*$h4-fontsize; margin: ($h4-fontsize / 2) 0 ($h4-fontsize / 2.5) 0;}
|
34
|
-
h5 { font-size: $h5-fontsize; line-height: 1.1*$h5-fontsize; margin: ($h5-fontsize / 2) 0 ($h5-fontsize / 2.5) 0;}
|
35
|
-
h6 { font-size: $h6-fontsize; line-height: 1.1*$h6-fontsize; margin: ($h6-fontsize / 2) 0 ($h6-fontsize / 2.5) 0;}
|
36
|
-
|
37
|
-
// Text Styles
|
38
|
-
em { font-style: italic; }
|
39
|
-
strong { font-weight: 500; }
|
40
|
-
small { font-size: 75%; }
|
41
|
-
.light { font-weight: 300; }
|
42
|
-
|
43
|
-
.flow-text{
|
44
|
-
font-weight: 300;
|
45
|
-
$i: 0;
|
46
|
-
@while $i <= $intervals {
|
47
|
-
@media only screen and (min-width : 360 + ($i * $interval-size)) {
|
48
|
-
font-size: 1.2rem * (1 + (.02 * $i));
|
49
|
-
}
|
50
|
-
@media only screen and (min-width : 0 + ($i * $interval-size)) {
|
51
|
-
line-height: .8rem * (1 + (.13 * $i));
|
52
|
-
}
|
53
|
-
$i: $i + 1;
|
54
|
-
}
|
55
|
-
}
|
1
|
+
a {
|
2
|
+
text-decoration: none;
|
3
|
+
}
|
4
|
+
|
5
|
+
html{
|
6
|
+
line-height: 1.5;
|
7
|
+
|
8
|
+
@media only screen and (min-width: 0) {
|
9
|
+
font-size: 14px;
|
10
|
+
}
|
11
|
+
|
12
|
+
@media only screen and (min-width: $medium-screen) {
|
13
|
+
font-size: 14.5px;
|
14
|
+
}
|
15
|
+
|
16
|
+
@media only screen and (min-width: $large-screen) {
|
17
|
+
font-size: 15px;
|
18
|
+
}
|
19
|
+
|
20
|
+
font-family: "Roboto", sans-serif;
|
21
|
+
font-weight: normal;
|
22
|
+
color: $off-black;
|
23
|
+
}
|
24
|
+
h1, h2, h3, h4, h5, h6 {
|
25
|
+
font-weight: 400;
|
26
|
+
}
|
27
|
+
|
28
|
+
// Header Styles
|
29
|
+
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
|
30
|
+
h1 { font-size: $h1-fontsize; line-height: 1.1*$h1-fontsize; margin: ($h1-fontsize / 2) 0 ($h1-fontsize / 2.5) 0;}
|
31
|
+
h2 { font-size: $h2-fontsize; line-height: 1.1*$h2-fontsize; margin: ($h2-fontsize / 2) 0 ($h2-fontsize / 2.5) 0;}
|
32
|
+
h3 { font-size: $h3-fontsize; line-height: 1.1*$h3-fontsize; margin: ($h3-fontsize / 2) 0 ($h3-fontsize / 2.5) 0;}
|
33
|
+
h4 { font-size: $h4-fontsize; line-height: 1.1*$h4-fontsize; margin: ($h4-fontsize / 2) 0 ($h4-fontsize / 2.5) 0;}
|
34
|
+
h5 { font-size: $h5-fontsize; line-height: 1.1*$h5-fontsize; margin: ($h5-fontsize / 2) 0 ($h5-fontsize / 2.5) 0;}
|
35
|
+
h6 { font-size: $h6-fontsize; line-height: 1.1*$h6-fontsize; margin: ($h6-fontsize / 2) 0 ($h6-fontsize / 2.5) 0;}
|
36
|
+
|
37
|
+
// Text Styles
|
38
|
+
em { font-style: italic; }
|
39
|
+
strong { font-weight: 500; }
|
40
|
+
small { font-size: 75%; }
|
41
|
+
.light { font-weight: 300; }
|
42
|
+
|
43
|
+
.flow-text{
|
44
|
+
font-weight: 300;
|
45
|
+
$i: 0;
|
46
|
+
@while $i <= $intervals {
|
47
|
+
@media only screen and (min-width : 360 + ($i * $interval-size)) {
|
48
|
+
font-size: 1.2rem * (1 + (.02 * $i));
|
49
|
+
}
|
50
|
+
@media only screen and (min-width : 0 + ($i * $interval-size)) {
|
51
|
+
line-height: .8rem * (1 + (.13 * $i));
|
52
|
+
}
|
53
|
+
$i: $i + 1;
|
54
|
+
}
|
55
|
+
}
|