bytewax-docs 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.stylelintrc +13 -0
- data/LICENSE.txt +21 -0
- data/README.md +175 -0
- data/_assets/js/cookies.js +39 -0
- data/_assets/js/docs.js +103 -0
- data/_assets/js/lib/jquery-3.6.0.min.js +2 -0
- data/_assets/js/lib/jquery.scrollspy.js +97 -0
- data/_assets/js/lib/marked.min.js +6 -0
- data/_assets/js/lib/notebook.min.js +1 -0
- data/_assets/js/lib/prism.js +17 -0
- data/_assets/js/lib/simple-jekyll-search.min.js +6 -0
- data/_assets/js/navbar.js +90 -0
- data/_assets/js/search.js +12 -0
- data/_assets/js/tutorial.js +248 -0
- data/_assets/scss/components/article.scss +132 -0
- data/_assets/scss/components/cookie-consent.scss +35 -0
- data/_assets/scss/components/footer.scss +154 -0
- data/_assets/scss/components/navbar.scss +345 -0
- data/_assets/scss/components/newsletter.scss +222 -0
- data/_assets/scss/global/alerts.scss +112 -0
- data/_assets/scss/global/animate.scss +633 -0
- data/_assets/scss/global/buttons.scss +186 -0
- data/_assets/scss/global/fonts.scss +95 -0
- data/_assets/scss/global/layout.scss +25 -0
- data/_assets/scss/global/mixins.scss +134 -0
- data/_assets/scss/global/normalize.scss +349 -0
- data/_assets/scss/global/prism.scss +383 -0
- data/_assets/scss/global/slick.scss +133 -0
- data/_assets/scss/global/typography.scss +106 -0
- data/_assets/scss/global/variables.scss +23 -0
- data/_assets/scss/main.scss +35 -0
- data/_assets/scss/templates/default.scss +100 -0
- data/_assets/scss/templates/docs/content.scss +113 -0
- data/_assets/scss/templates/docs/layout.scss +21 -0
- data/_assets/scss/templates/docs/pagination.scss +48 -0
- data/_assets/scss/templates/docs/sidebar.scss +222 -0
- data/_assets/scss/templates/docs/toc.scss +65 -0
- data/_assets/scss/templates/tutorials/archive.scss +173 -0
- data/_assets/scss/templates/tutorials/content.scss +208 -0
- data/_assets/scss/templates/tutorials/layout.scss +22 -0
- data/_assets/scss/templates/tutorials/snippets.scss +259 -0
- data/_config.yml +84 -0
- data/_data/categories.yml +3 -0
- data/_data/cookies.yml +10 -0
- data/_data/footer.yml +14 -0
- data/_data/navbar.yml +17 -0
- data/_docs/another-article.md +19 -0
- data/_docs/sample-article.md +19 -0
- data/_includes/alert.html +4 -0
- data/_includes/cookie-consent.html +13 -0
- data/_includes/docs/pagination.html +28 -0
- data/_includes/docs/sidebar.html +42 -0
- data/_includes/docs/toc.html +4 -0
- data/_includes/footer.html +36 -0
- data/_includes/google_analytics.html +12 -0
- data/_includes/head.html +73 -0
- data/_includes/navbar.html +57 -0
- data/_includes/tutorials/content.html +30 -0
- data/_includes/tutorials/post.html +31 -0
- data/_includes/tutorials/snippets.html +36 -0
- data/_layouts/base.html +21 -0
- data/_layouts/default.html +14 -0
- data/_layouts/docs.html +32 -0
- data/_layouts/tutorial.html +17 -0
- data/_layouts/tutorials.html +26 -0
- data/_tutorials/hello-world.md +142 -0
- data/assets/css/docs.css +1 -0
- data/assets/css/main.css +8 -0
- data/assets/fonts/jetbrains-mono-v3-latin-regular.eot +0 -0
- data/assets/fonts/jetbrains-mono-v3-latin-regular.svg +318 -0
- data/assets/fonts/jetbrains-mono-v3-latin-regular.ttf +0 -0
- data/assets/fonts/jetbrains-mono-v3-latin-regular.woff +0 -0
- data/assets/fonts/jetbrains-mono-v3-latin-regular.woff2 +0 -0
- data/assets/fonts/material-icons.woff2 +0 -0
- data/assets/fonts/open-sans-v18-latin-600.eot +0 -0
- data/assets/fonts/open-sans-v18-latin-600.svg +336 -0
- data/assets/fonts/open-sans-v18-latin-600.ttf +0 -0
- data/assets/fonts/open-sans-v18-latin-600.woff +0 -0
- data/assets/fonts/open-sans-v18-latin-600.woff2 +0 -0
- data/assets/fonts/open-sans-v18-latin-600italic.eot +0 -0
- data/assets/fonts/open-sans-v18-latin-600italic.svg +349 -0
- data/assets/fonts/open-sans-v18-latin-600italic.ttf +0 -0
- data/assets/fonts/open-sans-v18-latin-600italic.woff +0 -0
- data/assets/fonts/open-sans-v18-latin-600italic.woff2 +0 -0
- data/assets/fonts/open-sans-v18-latin-700.eot +0 -0
- data/assets/fonts/open-sans-v18-latin-700.svg +334 -0
- data/assets/fonts/open-sans-v18-latin-700.ttf +0 -0
- data/assets/fonts/open-sans-v18-latin-700.woff +0 -0
- data/assets/fonts/open-sans-v18-latin-700.woff2 +0 -0
- data/assets/fonts/open-sans-v18-latin-700italic.eot +0 -0
- data/assets/fonts/open-sans-v18-latin-700italic.svg +342 -0
- data/assets/fonts/open-sans-v18-latin-700italic.ttf +0 -0
- data/assets/fonts/open-sans-v18-latin-700italic.woff +0 -0
- data/assets/fonts/open-sans-v18-latin-700italic.woff2 +0 -0
- data/assets/fonts/open-sans-v18-latin-italic.eot +0 -0
- data/assets/fonts/open-sans-v18-latin-italic.svg +349 -0
- data/assets/fonts/open-sans-v18-latin-italic.ttf +0 -0
- data/assets/fonts/open-sans-v18-latin-italic.woff +0 -0
- data/assets/fonts/open-sans-v18-latin-italic.woff2 +0 -0
- data/assets/fonts/open-sans-v18-latin-regular.eot +0 -0
- data/assets/fonts/open-sans-v18-latin-regular.svg +336 -0
- data/assets/fonts/open-sans-v18-latin-regular.ttf +0 -0
- data/assets/fonts/open-sans-v18-latin-regular.woff +0 -0
- data/assets/fonts/open-sans-v18-latin-regular.woff2 +0 -0
- data/assets/img/cancel-grey.svg +11 -0
- data/assets/img/cancel.svg +3 -0
- data/assets/img/facebook-yellow.svg +11 -0
- data/assets/img/facebook.svg +3 -0
- data/assets/img/favicon.png +0 -0
- data/assets/img/github_black.svg +4 -0
- data/assets/img/github_white.svg +4 -0
- data/assets/img/linkedin-yellow.svg +12 -0
- data/assets/img/linkedin.svg +3 -0
- data/assets/img/logo.svg +44 -0
- data/assets/img/logo_mono.svg +40 -0
- data/assets/img/logo_white.svg +46 -0
- data/assets/img/logo_yellow.svg +44 -0
- data/assets/img/og-image.png +0 -0
- data/assets/img/twitter-yellow.svg +14 -0
- data/assets/img/twitter.svg +3 -0
- data/assets/js/color-mode.min.js +2 -0
- data/assets/js/scripts.js +625 -0
- data/assets/js/scripts.min.js +56 -0
- data/gulpfile.js +49 -0
- data/package-lock.json +7350 -0
- data/package.json +34 -0
- data/search.json +13 -0
- data/tutorials/hello-world/Dockerfile +4 -0
- data/tutorials/hello-world/client.py +3 -0
- data/tutorials/hello-world/hello-world.png +0 -0
- data/tutorials/hello-world/hello.py +10 -0
- data/tutorials/hello-world/setup.sh +5 -0
- data/tutorials/hello-world/shell_commands.sh +5 -0
- data/tutorials/hello-world/swarm.yaml +26 -0
- metadata +191 -0
@@ -0,0 +1,186 @@
|
|
1
|
+
/** UI Elements -- Buttons **/
|
2
|
+
.btn{
|
3
|
+
display:inline-block;
|
4
|
+
font-weight:600;
|
5
|
+
font-family:$mainFont;
|
6
|
+
line-height:1;
|
7
|
+
text-align:center;
|
8
|
+
text-decoration:none;
|
9
|
+
border-radius:0;
|
10
|
+
outline:none;
|
11
|
+
cursor:pointer;
|
12
|
+
@include transition(.25s ease-in-out);
|
13
|
+
&--lg{
|
14
|
+
padding:18px 30px;
|
15
|
+
font-size:1.125em;
|
16
|
+
border:1px solid;
|
17
|
+
@include min-sm{
|
18
|
+
padding:18px 36px;
|
19
|
+
font-size:1.11em;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
&--md{
|
23
|
+
padding:14px 27px;
|
24
|
+
font-size:1em;
|
25
|
+
border:1px solid;
|
26
|
+
@include min-sm{
|
27
|
+
padding:15px 32px;
|
28
|
+
font-size:.88em;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
&--primary{
|
32
|
+
color:$white;
|
33
|
+
background-color:$yellow;
|
34
|
+
border-color:$yellow;
|
35
|
+
&:hover, &:focus{
|
36
|
+
color:$yellow;
|
37
|
+
background:transparent;
|
38
|
+
border-color:$yellow;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
&--secondary{
|
42
|
+
color:$white;
|
43
|
+
background-color:$blue;
|
44
|
+
border-color:$blue;
|
45
|
+
&:hover, &:focus{
|
46
|
+
color:$blue;
|
47
|
+
background:transparent;
|
48
|
+
border-color:rgba($blue,.38);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
&--ghost{
|
52
|
+
color:rgba($black,.87);
|
53
|
+
background-color:transparent;
|
54
|
+
border-color:rgba($black,.87);
|
55
|
+
&:hover, &:focus{
|
56
|
+
color:$white;
|
57
|
+
background:$black;
|
58
|
+
border-color:$black;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
&__github{
|
62
|
+
display:inline-block;
|
63
|
+
width:18px;
|
64
|
+
height:18px;
|
65
|
+
margin-right:-2px;
|
66
|
+
margin-left:8px;
|
67
|
+
vertical-align:-4px;
|
68
|
+
background:url('../img/github_black.svg')no-repeat center;
|
69
|
+
background-size:100%;
|
70
|
+
@include min-sm{
|
71
|
+
width:24px;
|
72
|
+
height:24px;
|
73
|
+
margin-right:-4px;
|
74
|
+
vertical-align:-6px;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
&:hover &__github{
|
78
|
+
background:url('../img/github_white.svg')no-repeat center;
|
79
|
+
background-size:100%;
|
80
|
+
}
|
81
|
+
&--md &__github{
|
82
|
+
margin-left:6px;
|
83
|
+
@include min-sm{
|
84
|
+
vertical-align:-7px;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
&__icon{
|
88
|
+
display:inline-block;
|
89
|
+
width:18px;
|
90
|
+
height:18px;
|
91
|
+
font-size:18px;
|
92
|
+
vertical-align:-4px;
|
93
|
+
@include min-sm{
|
94
|
+
width:24px;
|
95
|
+
height:24px;
|
96
|
+
font-size:24px;
|
97
|
+
vertical-align:-6px;
|
98
|
+
}
|
99
|
+
@include material-icons;
|
100
|
+
&--left{
|
101
|
+
margin-right:8px;
|
102
|
+
margin-left:-2px;
|
103
|
+
}
|
104
|
+
&--right{
|
105
|
+
margin-right:-2px;
|
106
|
+
margin-left:8px;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
&--md &__icon{
|
110
|
+
@include min-sm{
|
111
|
+
vertical-align:-7px;
|
112
|
+
}
|
113
|
+
&--left{
|
114
|
+
margin-right:6px;
|
115
|
+
}
|
116
|
+
&--right{
|
117
|
+
margin-left:6px;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
&__arrow{
|
121
|
+
&::before{
|
122
|
+
display:inline-block;
|
123
|
+
width:18px;
|
124
|
+
height:18px;
|
125
|
+
font-size:18px;
|
126
|
+
vertical-align:-4px;
|
127
|
+
content:"";
|
128
|
+
@include material-icons;
|
129
|
+
@include min-sm{
|
130
|
+
width:24px;
|
131
|
+
height:24px;
|
132
|
+
font-size:24px;
|
133
|
+
vertical-align:-6px;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
&--left::before{
|
137
|
+
margin-right:8px;
|
138
|
+
margin-left:-2px;
|
139
|
+
content:"arrow_backward";
|
140
|
+
@include min-sm{
|
141
|
+
margin-left:-4px;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
&--right::before{
|
145
|
+
margin-right:-2px;
|
146
|
+
margin-left:8px;
|
147
|
+
content:"arrow_forward";
|
148
|
+
@include min-sm{
|
149
|
+
margin-right:-4px;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
|
156
|
+
/** Dark mode styles **/
|
157
|
+
body.dark-mode .btn{
|
158
|
+
&--secondary{
|
159
|
+
color:$white;
|
160
|
+
background-color:$yellow;
|
161
|
+
border-color:$yellow;
|
162
|
+
&:hover, &:focus{
|
163
|
+
color:$yellow;
|
164
|
+
background:transparent;
|
165
|
+
border-color:$yellow;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
&--ghost{
|
169
|
+
color:$white;
|
170
|
+
background-color:transparent;
|
171
|
+
border-color:rgba($white,.18);
|
172
|
+
&:hover, &:focus{
|
173
|
+
color:$black;
|
174
|
+
background-color:$white;
|
175
|
+
border-color:$white;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
&__github{
|
179
|
+
background:url('../img/github_white.svg')no-repeat center;
|
180
|
+
background-size:100%;
|
181
|
+
}
|
182
|
+
&:hover .btn__github{
|
183
|
+
background:url('../img/github_black.svg')no-repeat center;
|
184
|
+
background-size:100%;
|
185
|
+
}
|
186
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/** Open Sans **/
|
2
|
+
@font-face {
|
3
|
+
font-weight: 400;
|
4
|
+
font-family: 'Open Sans';
|
5
|
+
font-style: normal;
|
6
|
+
src: url('../fonts/open-sans-v18-latin-regular.eot'); /* IE9 Compat Modes */
|
7
|
+
src: local(''),
|
8
|
+
url('../fonts/open-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
9
|
+
url('../fonts/open-sans-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
10
|
+
url('../fonts/open-sans-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
|
11
|
+
url('../fonts/open-sans-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
12
|
+
url('../fonts/open-sans-v18-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
|
13
|
+
}
|
14
|
+
@font-face {
|
15
|
+
font-weight: 400;
|
16
|
+
font-family: 'Open Sans';
|
17
|
+
font-style: italic;
|
18
|
+
src: url('../fonts/open-sans-v18-latin-italic.eot'); /* IE9 Compat Modes */
|
19
|
+
src: local(''),
|
20
|
+
url('../fonts/open-sans-v18-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
21
|
+
url('../fonts/open-sans-v18-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
|
22
|
+
url('../fonts/open-sans-v18-latin-italic.woff') format('woff'), /* Modern Browsers */
|
23
|
+
url('../fonts/open-sans-v18-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
|
24
|
+
url('../fonts/open-sans-v18-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
|
25
|
+
}
|
26
|
+
@font-face {
|
27
|
+
font-weight: 600;
|
28
|
+
font-family: 'Open Sans';
|
29
|
+
font-style: normal;
|
30
|
+
src: url('../fonts/open-sans-v18-latin-600.eot'); /* IE9 Compat Modes */
|
31
|
+
src: local(''),
|
32
|
+
url('../fonts/open-sans-v18-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
33
|
+
url('../fonts/open-sans-v18-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
34
|
+
url('../fonts/open-sans-v18-latin-600.woff') format('woff'), /* Modern Browsers */
|
35
|
+
url('../fonts/open-sans-v18-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
|
36
|
+
url('../fonts/open-sans-v18-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
|
37
|
+
}
|
38
|
+
@font-face {
|
39
|
+
font-weight: 600;
|
40
|
+
font-family: 'Open Sans';
|
41
|
+
font-style: italic;
|
42
|
+
src: url('../fonts/open-sans-v18-latin-600italic.eot'); /* IE9 Compat Modes */
|
43
|
+
src: local(''),
|
44
|
+
url('../fonts/open-sans-v18-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
45
|
+
url('../fonts/open-sans-v18-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
|
46
|
+
url('../fonts/open-sans-v18-latin-600italic.woff') format('woff'), /* Modern Browsers */
|
47
|
+
url('../fonts/open-sans-v18-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
|
48
|
+
url('../fonts/open-sans-v18-latin-600italic.svg#OpenSans') format('svg'); /* Legacy iOS */
|
49
|
+
}
|
50
|
+
@font-face {
|
51
|
+
font-weight: 700;
|
52
|
+
font-family: 'Open Sans';
|
53
|
+
font-style: normal;
|
54
|
+
src: url('../fonts/open-sans-v18-latin-700.eot'); /* IE9 Compat Modes */
|
55
|
+
src: local(''),
|
56
|
+
url('../fonts/open-sans-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
57
|
+
url('../fonts/open-sans-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
58
|
+
url('../fonts/open-sans-v18-latin-700.woff') format('woff'), /* Modern Browsers */
|
59
|
+
url('../fonts/open-sans-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
|
60
|
+
url('../fonts/open-sans-v18-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
|
61
|
+
}
|
62
|
+
@font-face {
|
63
|
+
font-weight: 700;
|
64
|
+
font-family: 'Open Sans';
|
65
|
+
font-style: italic;
|
66
|
+
src: url('../fonts/open-sans-v18-latin-700italic.eot'); /* IE9 Compat Modes */
|
67
|
+
src: local(''),
|
68
|
+
url('../fonts/open-sans-v18-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
69
|
+
url('../fonts/open-sans-v18-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
|
70
|
+
url('../fonts/open-sans-v18-latin-700italic.woff') format('woff'), /* Modern Browsers */
|
71
|
+
url('../fonts/open-sans-v18-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
|
72
|
+
url('../fonts/open-sans-v18-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
|
73
|
+
}
|
74
|
+
|
75
|
+
/** Material Icons **/
|
76
|
+
@font-face {
|
77
|
+
font-weight: 400;
|
78
|
+
font-family: 'Material Icons';
|
79
|
+
font-style: normal;
|
80
|
+
src: url('../fonts/material-icons.woff2') format('woff2');
|
81
|
+
}
|
82
|
+
|
83
|
+
/** JetBrains Mono **/
|
84
|
+
@font-face {
|
85
|
+
font-weight: 400;
|
86
|
+
font-family: 'JetBrains Mono';
|
87
|
+
font-style: normal;
|
88
|
+
src: url('../fonts/jetbrains-mono-v3-latin-regular.eot'); /* IE9 Compat Modes */
|
89
|
+
src: local(''),
|
90
|
+
url('../fonts/jetbrains-mono-v3-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
91
|
+
url('../fonts/jetbrains-mono-v3-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
92
|
+
url('../fonts/jetbrains-mono-v3-latin-regular.woff') format('woff'), /* Modern Browsers */
|
93
|
+
url('../fonts/jetbrains-mono-v3-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
94
|
+
url('../fonts/jetbrains-mono-v3-latin-regular.svg#JetBrainsMono') format('svg'); /* Legacy iOS */
|
95
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/** Layout styles **/
|
2
|
+
*, *:before, *:after{
|
3
|
+
box-sizing:border-box;
|
4
|
+
}
|
5
|
+
.row{
|
6
|
+
display:flex;
|
7
|
+
flex-direction:row;
|
8
|
+
flex-wrap:wrap;
|
9
|
+
}
|
10
|
+
.container{
|
11
|
+
max-width:1366px;
|
12
|
+
margin:0 auto;
|
13
|
+
padding-right:18px;
|
14
|
+
padding-left:18px;
|
15
|
+
@include min-lg{
|
16
|
+
padding-right:24px;
|
17
|
+
padding-left:24px;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
.main{
|
21
|
+
padding-top:92px;
|
22
|
+
@include min-lg{
|
23
|
+
padding-top:126px;
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,134 @@
|
|
1
|
+
/** Cross-browser grayscale **/
|
2
|
+
@mixin grayscale($opacity){
|
3
|
+
-webkit-filter: grayscale($opacity);
|
4
|
+
filter: gray;
|
5
|
+
}
|
6
|
+
|
7
|
+
/** Cross-browser placeholder **/
|
8
|
+
@mixin placeholder($color){
|
9
|
+
&::-webkit-input-placeholder{
|
10
|
+
color:$color;
|
11
|
+
}
|
12
|
+
&:-moz-placeholder{
|
13
|
+
color:$color;
|
14
|
+
}
|
15
|
+
&::-moz-placeholder{
|
16
|
+
color:$color;
|
17
|
+
}
|
18
|
+
&:-ms-input-placeholder{
|
19
|
+
color:$color;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
/** Cross-browser opacity **/
|
24
|
+
@mixin opacity($opacity) {
|
25
|
+
opacity: $opacity;
|
26
|
+
$opacity-ie: $opacity * 100;
|
27
|
+
filter: alpha(opacity=$opacity-ie);
|
28
|
+
}
|
29
|
+
|
30
|
+
/** Cross-browser transition **/
|
31
|
+
@mixin transition($args) {
|
32
|
+
-webkit-transition: $args;
|
33
|
+
-moz-transition: $args;
|
34
|
+
-ms-transition: $args;
|
35
|
+
-o-transition: $args;
|
36
|
+
transition: $args;
|
37
|
+
}
|
38
|
+
|
39
|
+
/** Material Icons mixin **/
|
40
|
+
@mixin material-icons{
|
41
|
+
font-weight: normal;
|
42
|
+
font-family: 'Material Icons';
|
43
|
+
font-style: normal;
|
44
|
+
line-height: 1;
|
45
|
+
direction: ltr;
|
46
|
+
letter-spacing: normal;
|
47
|
+
white-space: nowrap;
|
48
|
+
text-transform: none;
|
49
|
+
word-wrap: normal;
|
50
|
+
-webkit-font-feature-settings: 'liga';
|
51
|
+
-webkit-font-smoothing: antialiased;
|
52
|
+
}
|
53
|
+
|
54
|
+
/** Media queries **/
|
55
|
+
@mixin min-1600 {
|
56
|
+
@media only screen and (min-width: 1600px) {
|
57
|
+
@content;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
@mixin max-1600 {
|
61
|
+
@media only screen and (max-width: 1600px) {
|
62
|
+
@content;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
@mixin min-1440 {
|
66
|
+
@media only screen and (min-width: 1440px) {
|
67
|
+
@content;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
@mixin max-1440 {
|
71
|
+
@media only screen and (max-width: 1440px) {
|
72
|
+
@content;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
@mixin min-xxl {
|
76
|
+
@media only screen and (min-width: 1280px) {
|
77
|
+
@content;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
@mixin max-xxl {
|
81
|
+
@media only screen and (max-width: 1280px) {
|
82
|
+
@content;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
@mixin min-xl {
|
86
|
+
@media only screen and (min-width: 1024px) {
|
87
|
+
@content;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
@mixin max-xl {
|
91
|
+
@media only screen and (max-width: 1024px) {
|
92
|
+
@content;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
@mixin min-lg {
|
96
|
+
@media only screen and (min-width: 992px) {
|
97
|
+
@content;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
@mixin max-lg {
|
101
|
+
@media only screen and (max-width: 992px) {
|
102
|
+
@content;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
@mixin min-md {
|
106
|
+
@media only screen and (min-width: 768px) {
|
107
|
+
@content;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
@mixin max-md {
|
111
|
+
@media only screen and (max-width: 768px) {
|
112
|
+
@content;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
@mixin min-sm {
|
116
|
+
@media only screen and (min-width: 576px) {
|
117
|
+
@content;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
@mixin max-sm {
|
121
|
+
@media only screen and (max-width: 576px) {
|
122
|
+
@content;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
@mixin min-xs {
|
126
|
+
@media only screen and (min-width: 320px) {
|
127
|
+
@content;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
@mixin max-xs {
|
131
|
+
@media only screen and (max-width: 320px) {
|
132
|
+
@content;
|
133
|
+
}
|
134
|
+
}
|
@@ -0,0 +1,349 @@
|
|
1
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/* Document
|
4
|
+
========================================================================== */
|
5
|
+
|
6
|
+
/**
|
7
|
+
* 1. Correct the line height in all browsers.
|
8
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
9
|
+
*/
|
10
|
+
|
11
|
+
html {
|
12
|
+
line-height: 1.15; /* 1 */
|
13
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
14
|
+
}
|
15
|
+
|
16
|
+
/* Sections
|
17
|
+
========================================================================== */
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Remove the margin in all browsers.
|
21
|
+
*/
|
22
|
+
|
23
|
+
body {
|
24
|
+
margin: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Render the `main` element consistently in IE.
|
29
|
+
*/
|
30
|
+
|
31
|
+
main {
|
32
|
+
display: block;
|
33
|
+
}
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
37
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
38
|
+
*/
|
39
|
+
|
40
|
+
h1 {
|
41
|
+
margin: 0.67em 0;
|
42
|
+
font-size: 2em;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Grouping content
|
46
|
+
========================================================================== */
|
47
|
+
|
48
|
+
/**
|
49
|
+
* 1. Add the correct box sizing in Firefox.
|
50
|
+
* 2. Show the overflow in Edge and IE.
|
51
|
+
*/
|
52
|
+
|
53
|
+
hr {
|
54
|
+
box-sizing: content-box; /* 1 */
|
55
|
+
height: 0; /* 1 */
|
56
|
+
overflow: visible; /* 2 */
|
57
|
+
}
|
58
|
+
|
59
|
+
/**
|
60
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
61
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
62
|
+
*/
|
63
|
+
|
64
|
+
pre {
|
65
|
+
font-size: 1em; /* 2 */
|
66
|
+
font-family: monospace, monospace; /* 1 */
|
67
|
+
}
|
68
|
+
|
69
|
+
/* Text-level semantics
|
70
|
+
========================================================================== */
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Remove the gray background on active links in IE 10.
|
74
|
+
*/
|
75
|
+
|
76
|
+
a {
|
77
|
+
background-color: transparent;
|
78
|
+
}
|
79
|
+
|
80
|
+
/**
|
81
|
+
* 1. Remove the bottom border in Chrome 57-
|
82
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
83
|
+
*/
|
84
|
+
|
85
|
+
abbr[title] {
|
86
|
+
text-decoration: underline; /* 2 */
|
87
|
+
text-decoration: underline dotted; /* 2 */
|
88
|
+
border-bottom: none; /* 1 */
|
89
|
+
}
|
90
|
+
|
91
|
+
/**
|
92
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
93
|
+
*/
|
94
|
+
|
95
|
+
b,
|
96
|
+
strong {
|
97
|
+
font-weight: bolder;
|
98
|
+
}
|
99
|
+
|
100
|
+
/**
|
101
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
102
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
103
|
+
*/
|
104
|
+
|
105
|
+
code,
|
106
|
+
kbd,
|
107
|
+
samp {
|
108
|
+
font-size: 1em; /* 2 */
|
109
|
+
font-family: monospace, monospace; /* 1 */
|
110
|
+
}
|
111
|
+
|
112
|
+
/**
|
113
|
+
* Add the correct font size in all browsers.
|
114
|
+
*/
|
115
|
+
|
116
|
+
small {
|
117
|
+
font-size: 80%;
|
118
|
+
}
|
119
|
+
|
120
|
+
/**
|
121
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
122
|
+
* all browsers.
|
123
|
+
*/
|
124
|
+
|
125
|
+
sub,
|
126
|
+
sup {
|
127
|
+
position: relative;
|
128
|
+
font-size: 75%;
|
129
|
+
line-height: 0;
|
130
|
+
vertical-align: baseline;
|
131
|
+
}
|
132
|
+
|
133
|
+
sub {
|
134
|
+
bottom: -0.25em;
|
135
|
+
}
|
136
|
+
|
137
|
+
sup {
|
138
|
+
top: -0.5em;
|
139
|
+
}
|
140
|
+
|
141
|
+
/* Embedded content
|
142
|
+
========================================================================== */
|
143
|
+
|
144
|
+
/**
|
145
|
+
* Remove the border on images inside links in IE 10.
|
146
|
+
*/
|
147
|
+
|
148
|
+
img {
|
149
|
+
border-style: none;
|
150
|
+
}
|
151
|
+
|
152
|
+
/* Forms
|
153
|
+
========================================================================== */
|
154
|
+
|
155
|
+
/**
|
156
|
+
* 1. Change the font styles in all browsers.
|
157
|
+
* 2. Remove the margin in Firefox and Safari.
|
158
|
+
*/
|
159
|
+
|
160
|
+
button,
|
161
|
+
input,
|
162
|
+
optgroup,
|
163
|
+
select,
|
164
|
+
textarea {
|
165
|
+
margin: 0; /* 2 */
|
166
|
+
font-size: 100%; /* 1 */
|
167
|
+
font-family: inherit; /* 1 */
|
168
|
+
line-height: 1.15; /* 1 */
|
169
|
+
}
|
170
|
+
|
171
|
+
/**
|
172
|
+
* Show the overflow in IE.
|
173
|
+
* 1. Show the overflow in Edge.
|
174
|
+
*/
|
175
|
+
|
176
|
+
button,
|
177
|
+
input { /* 1 */
|
178
|
+
overflow: visible;
|
179
|
+
}
|
180
|
+
|
181
|
+
/**
|
182
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
183
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
184
|
+
*/
|
185
|
+
|
186
|
+
button,
|
187
|
+
select { /* 1 */
|
188
|
+
text-transform: none;
|
189
|
+
}
|
190
|
+
|
191
|
+
/**
|
192
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
193
|
+
*/
|
194
|
+
|
195
|
+
button,
|
196
|
+
[type="button"],
|
197
|
+
[type="reset"],
|
198
|
+
[type="submit"] {
|
199
|
+
-webkit-appearance: button;
|
200
|
+
}
|
201
|
+
|
202
|
+
/**
|
203
|
+
* Remove the inner border and padding in Firefox.
|
204
|
+
*/
|
205
|
+
|
206
|
+
button::-moz-focus-inner,
|
207
|
+
[type="button"]::-moz-focus-inner,
|
208
|
+
[type="reset"]::-moz-focus-inner,
|
209
|
+
[type="submit"]::-moz-focus-inner {
|
210
|
+
padding: 0;
|
211
|
+
border-style: none;
|
212
|
+
}
|
213
|
+
|
214
|
+
/**
|
215
|
+
* Restore the focus styles unset by the previous rule.
|
216
|
+
*/
|
217
|
+
|
218
|
+
button:-moz-focusring,
|
219
|
+
[type="button"]:-moz-focusring,
|
220
|
+
[type="reset"]:-moz-focusring,
|
221
|
+
[type="submit"]:-moz-focusring {
|
222
|
+
outline: 1px dotted ButtonText;
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Correct the padding in Firefox.
|
227
|
+
*/
|
228
|
+
|
229
|
+
fieldset {
|
230
|
+
padding: 0.35em 0.75em 0.625em;
|
231
|
+
}
|
232
|
+
|
233
|
+
/**
|
234
|
+
* 1. Correct the text wrapping in Edge and IE.
|
235
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
236
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
237
|
+
* `fieldset` elements in all browsers.
|
238
|
+
*/
|
239
|
+
|
240
|
+
legend {
|
241
|
+
display: table; /* 1 */
|
242
|
+
box-sizing: border-box; /* 1 */
|
243
|
+
max-width: 100%; /* 1 */
|
244
|
+
padding: 0; /* 3 */
|
245
|
+
color: inherit; /* 2 */
|
246
|
+
white-space: normal; /* 1 */
|
247
|
+
}
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
251
|
+
*/
|
252
|
+
|
253
|
+
progress {
|
254
|
+
vertical-align: baseline;
|
255
|
+
}
|
256
|
+
|
257
|
+
/**
|
258
|
+
* Remove the default vertical scrollbar in IE 10+.
|
259
|
+
*/
|
260
|
+
|
261
|
+
textarea {
|
262
|
+
overflow: auto;
|
263
|
+
}
|
264
|
+
|
265
|
+
/**
|
266
|
+
* 1. Add the correct box sizing in IE 10.
|
267
|
+
* 2. Remove the padding in IE 10.
|
268
|
+
*/
|
269
|
+
|
270
|
+
[type="checkbox"],
|
271
|
+
[type="radio"] {
|
272
|
+
box-sizing: border-box; /* 1 */
|
273
|
+
padding: 0; /* 2 */
|
274
|
+
}
|
275
|
+
|
276
|
+
/**
|
277
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
278
|
+
*/
|
279
|
+
|
280
|
+
[type="number"]::-webkit-inner-spin-button,
|
281
|
+
[type="number"]::-webkit-outer-spin-button {
|
282
|
+
height: auto;
|
283
|
+
}
|
284
|
+
|
285
|
+
/**
|
286
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
287
|
+
* 2. Correct the outline style in Safari.
|
288
|
+
*/
|
289
|
+
|
290
|
+
[type="search"] {
|
291
|
+
outline-offset: -2px; /* 2 */
|
292
|
+
-webkit-appearance: textfield; /* 1 */
|
293
|
+
}
|
294
|
+
|
295
|
+
/**
|
296
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
297
|
+
*/
|
298
|
+
|
299
|
+
[type="search"]::-webkit-search-decoration {
|
300
|
+
-webkit-appearance: none;
|
301
|
+
}
|
302
|
+
|
303
|
+
/**
|
304
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
305
|
+
* 2. Change font properties to `inherit` in Safari.
|
306
|
+
*/
|
307
|
+
|
308
|
+
::-webkit-file-upload-button {
|
309
|
+
font: inherit; /* 2 */
|
310
|
+
-webkit-appearance: button; /* 1 */
|
311
|
+
}
|
312
|
+
|
313
|
+
/* Interactive
|
314
|
+
========================================================================== */
|
315
|
+
|
316
|
+
/*
|
317
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
318
|
+
*/
|
319
|
+
|
320
|
+
details {
|
321
|
+
display: block;
|
322
|
+
}
|
323
|
+
|
324
|
+
/*
|
325
|
+
* Add the correct display in all browsers.
|
326
|
+
*/
|
327
|
+
|
328
|
+
summary {
|
329
|
+
display: list-item;
|
330
|
+
}
|
331
|
+
|
332
|
+
/* Misc
|
333
|
+
========================================================================== */
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Add the correct display in IE 10+.
|
337
|
+
*/
|
338
|
+
|
339
|
+
template {
|
340
|
+
display: none;
|
341
|
+
}
|
342
|
+
|
343
|
+
/**
|
344
|
+
* Add the correct display in IE 10.
|
345
|
+
*/
|
346
|
+
|
347
|
+
[hidden] {
|
348
|
+
display: none;
|
349
|
+
}
|