material-sass 4.0.0.alpha6 → 4.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +36 -8
- data/Rakefile +16 -3
- data/app/assets/javascripts/material-sprockets.js +6 -1
- data/app/assets/javascripts/material.js +654 -417
- data/app/assets/javascripts/material.min.js +1 -0
- data/app/assets/javascripts/material/addons/picker.date.js +234 -0
- data/app/assets/javascripts/material/addons/picker.js +172 -0
- data/app/assets/javascripts/material/addons/textarea-autosize.js +20 -2
- data/app/assets/javascripts/material/addons/waves.js +127 -0
- data/app/assets/javascripts/material/components/floating-label.js +92 -0
- data/app/assets/javascripts/material/components/navdrawer.js +353 -0
- data/app/assets/javascripts/material/components/selection-control-focus.js +47 -0
- data/app/assets/javascripts/material/components/tab-switch.js +148 -0
- data/app/assets/javascripts/material/components/util.js +133 -0
- data/app/assets/javascripts/material/initializers/picker.js +171 -0
- data/app/assets/javascripts/material/initializers/textarea-autosize.js +10 -0
- data/app/assets/javascripts/material/initializers/waves.js +13 -0
- data/app/assets/stylesheets/material/_colours.scss +324 -0
- data/app/assets/stylesheets/material/_functions.scss +65 -0
- data/app/assets/stylesheets/material/_mixins.scss +23 -23
- data/app/assets/stylesheets/material/_print.scss +102 -0
- data/app/assets/stylesheets/material/_utilities.scss +21 -17
- data/app/assets/stylesheets/material/_variables.scss +13 -42
- data/app/assets/stylesheets/material/base/_base.scss +420 -5
- data/app/assets/stylesheets/material/base/_grid.scss +34 -33
- data/app/assets/stylesheets/material/base/_typography.scss +165 -174
- data/app/assets/stylesheets/material/bootstrap/_alert.scss +32 -39
- data/app/assets/stylesheets/material/bootstrap/_badge.scss +34 -0
- data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +18 -18
- data/app/assets/stylesheets/material/bootstrap/_carousel.scss +127 -142
- data/app/assets/stylesheets/material/bootstrap/_close.scss +18 -19
- data/app/assets/stylesheets/material/bootstrap/_code.scss +10 -7
- data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +50 -56
- data/app/assets/stylesheets/material/bootstrap/_form.scss +159 -129
- data/app/assets/stylesheets/material/bootstrap/_image.scss +19 -16
- data/app/assets/stylesheets/material/bootstrap/_jumbotron.scss +10 -7
- data/app/assets/stylesheets/material/bootstrap/_nav.scss +71 -69
- data/app/assets/stylesheets/material/bootstrap/_pagination.scss +34 -26
- data/app/assets/stylesheets/material/bootstrap/_popover.scss +26 -59
- data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +4 -4
- data/app/assets/stylesheets/material/bootstrap/_transition.scss +10 -8
- data/app/assets/stylesheets/material/material.scss +75 -62
- data/app/assets/stylesheets/material/material/_button-flat.scss +26 -39
- data/app/assets/stylesheets/material/material/_button-float.scss +10 -14
- data/app/assets/stylesheets/material/material/_button-group.scss +268 -0
- data/app/assets/stylesheets/material/material/_button.scss +133 -189
- data/app/assets/stylesheets/material/material/_card.scss +300 -248
- data/app/assets/stylesheets/material/material/_chip.scss +65 -64
- data/app/assets/stylesheets/material/material/_data-table.scss +135 -45
- data/app/assets/stylesheets/material/material/_dialog.scss +141 -110
- data/app/assets/stylesheets/material/material/_expansion-panel.scss +86 -119
- data/app/assets/stylesheets/material/material/_menu.scss +308 -228
- data/app/assets/stylesheets/material/material/_navdrawer.scss +239 -234
- data/app/assets/stylesheets/material/material/_picker.scss +157 -155
- data/app/assets/stylesheets/material/material/_progress-circular.scss +80 -80
- data/app/assets/stylesheets/material/material/_progress.scss +180 -115
- data/app/assets/stylesheets/material/material/_selection-control.scss +132 -139
- data/app/assets/stylesheets/material/material/_stepper.scss +94 -93
- data/app/assets/stylesheets/material/material/_tab.scss +74 -93
- data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +29 -20
- data/app/assets/stylesheets/material/material/_text-field-input-group.scss +94 -24
- data/app/assets/stylesheets/material/material/_text-field-textarea.scss +13 -26
- data/app/assets/stylesheets/material/material/_text-field.scss +127 -118
- data/app/assets/stylesheets/material/material/_toolbar.scss +308 -313
- data/app/assets/stylesheets/material/material/_tooltip.scss +23 -62
- data/app/assets/stylesheets/material/mixins/_background-variant.scss +6 -6
- data/app/assets/stylesheets/material/mixins/_border-radius.scss +17 -17
- data/app/assets/stylesheets/material/mixins/_breakpoint.scss +32 -2
- data/app/assets/stylesheets/material/mixins/_clearfix.scss +1 -1
- data/app/assets/stylesheets/material/mixins/_form.scss +62 -25
- data/app/assets/stylesheets/material/mixins/_grid-framework.scss +8 -16
- data/app/assets/stylesheets/material/mixins/_grid.scss +40 -64
- data/app/assets/stylesheets/material/mixins/_material-icons.scss +36 -0
- data/app/assets/stylesheets/material/mixins/_nav-divider.scss +1 -1
- data/app/assets/stylesheets/material/mixins/_reset-text.scss +2 -21
- data/app/assets/stylesheets/material/mixins/_screenreader.scss +14 -12
- data/app/assets/stylesheets/material/mixins/_text-alignment.scss +23 -0
- data/app/assets/stylesheets/material/mixins/_text-emphasis.scss +6 -6
- data/app/assets/stylesheets/material/mixins/_transition.scss +42 -10
- data/app/assets/stylesheets/material/utilities/_background.scss +18 -18
- data/app/assets/stylesheets/material/utilities/_border.scss +88 -41
- data/app/assets/stylesheets/material/utilities/_display.scss +63 -30
- data/app/assets/stylesheets/material/utilities/_flex.scss +139 -134
- data/app/assets/stylesheets/material/utilities/_material-icons.scss +3 -5
- data/app/assets/stylesheets/material/utilities/_position.scss +19 -22
- data/app/assets/stylesheets/material/utilities/_sizing.scss +11 -12
- data/app/assets/stylesheets/material/utilities/_spacing.scss +51 -56
- data/app/assets/stylesheets/material/utilities/_text.scss +80 -75
- data/app/assets/stylesheets/material/utilities/_visibility.scss +5 -46
- data/app/assets/stylesheets/material/utilities/_waves.scss +11 -18
- data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +89 -82
- data/app/assets/stylesheets/material/variables/_grid.scss +29 -26
- data/app/assets/stylesheets/material/variables/_palette.scss +45 -0
- data/app/assets/stylesheets/material/variables/_spacer.scss +34 -88
- data/app/assets/stylesheets/material/variables/_transition.scss +29 -0
- data/app/assets/stylesheets/material/variables/_typography.scss +88 -74
- data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +196 -133
- data/app/assets/stylesheets/material/variables/_variable-material.scss +481 -429
- data/lib/material-sass/version.rb +1 -1
- data/material-sass.gemspec +3 -3
- metadata +26 -21
- data/app/assets/javascripts/material/addons-materialise/pickadate.js +0 -139
- data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +0 -11
- data/app/assets/javascripts/material/addons-materialise/wave.js +0 -15
- data/app/assets/javascripts/material/addons/pickadate.js +0 -7
- data/app/assets/javascripts/material/addons/wave.js +0 -5
- data/app/assets/javascripts/material/src/floating-label.js +0 -91
- data/app/assets/javascripts/material/src/navdrawer.js +0 -352
- data/app/assets/javascripts/material/src/tab-switch.js +0 -133
- data/app/assets/javascripts/material/src/util.js +0 -138
- data/app/assets/stylesheets/material/base/_normalize.scss +0 -253
- data/app/assets/stylesheets/material/base/_reboot.scss +0 -239
- data/app/assets/stylesheets/material/bootstrap/_button-group.scss +0 -134
- data/app/assets/stylesheets/material/mixins/_tab-focus.scss +0 -5
- data/app/assets/stylesheets/material/mixins/_transform.scss +0 -9
- data/app/assets/stylesheets/material/variables/_animation.scss +0 -22
- data/app/assets/stylesheets/material/variables/_colour.scss +0 -389
@@ -1,239 +0,0 @@
|
|
1
|
-
// box-sizing
|
2
|
-
html {
|
3
|
-
box-sizing: border-box;
|
4
|
-
}
|
5
|
-
|
6
|
-
*,
|
7
|
-
*::after,
|
8
|
-
*::before {
|
9
|
-
box-sizing: inherit;
|
10
|
-
}
|
11
|
-
|
12
|
-
@at-root {
|
13
|
-
@-ms-viewport { width: device-width; }
|
14
|
-
}
|
15
|
-
|
16
|
-
// document
|
17
|
-
body {
|
18
|
-
background-color: $body-bg;
|
19
|
-
color: $body-color;
|
20
|
-
font-family: $font-family-base;
|
21
|
-
font-size: $font-size-base;
|
22
|
-
font-weight: $font-weight-base;
|
23
|
-
line-height: $line-height-base;
|
24
|
-
}
|
25
|
-
|
26
|
-
html {
|
27
|
-
-ms-overflow-style: scrollbar;
|
28
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
29
|
-
}
|
30
|
-
|
31
|
-
[tabindex="-1"]:focus {
|
32
|
-
outline: 0 !important;
|
33
|
-
}
|
34
|
-
|
35
|
-
// clickable element
|
36
|
-
a,
|
37
|
-
area,
|
38
|
-
button,
|
39
|
-
input,
|
40
|
-
label,
|
41
|
-
select,
|
42
|
-
summary,
|
43
|
-
textarea,
|
44
|
-
[role="button"] {
|
45
|
-
touch-action: manipulation;
|
46
|
-
}
|
47
|
-
|
48
|
-
[role="button"] {
|
49
|
-
cursor: pointer;
|
50
|
-
}
|
51
|
-
|
52
|
-
// code
|
53
|
-
pre {
|
54
|
-
margin-top: 0;
|
55
|
-
margin-bottom: 1rem;
|
56
|
-
overflow: auto;
|
57
|
-
}
|
58
|
-
|
59
|
-
// figure
|
60
|
-
figure {
|
61
|
-
margin: 0 0 1rem;
|
62
|
-
}
|
63
|
-
|
64
|
-
// form
|
65
|
-
button,
|
66
|
-
input,
|
67
|
-
select,
|
68
|
-
textarea {
|
69
|
-
line-height: inherit;
|
70
|
-
}
|
71
|
-
|
72
|
-
button {
|
73
|
-
// active, focus, hover
|
74
|
-
&:focus {
|
75
|
-
outline: 1px dotted;
|
76
|
-
outline: 5px auto -webkit-focus-ring-color;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
fieldset {
|
81
|
-
border: 0;
|
82
|
-
margin: 0;
|
83
|
-
min-width: 0;
|
84
|
-
padding: 0;
|
85
|
-
}
|
86
|
-
|
87
|
-
input[type="checkbox"],
|
88
|
-
input[type="radio"] {
|
89
|
-
// disabled
|
90
|
-
&:disabled {
|
91
|
-
cursor: $cursor-disabled;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
input[type="date"],
|
96
|
-
input[type="datetime-local"],
|
97
|
-
input[type="month"],
|
98
|
-
input[type="time"] {
|
99
|
-
-webkit-appearance: listbox;
|
100
|
-
}
|
101
|
-
|
102
|
-
input[type="search"] {
|
103
|
-
-webkit-appearance: none;
|
104
|
-
}
|
105
|
-
|
106
|
-
label {
|
107
|
-
display: inline-block;
|
108
|
-
margin-bottom: 0.5rem;
|
109
|
-
}
|
110
|
-
|
111
|
-
legend {
|
112
|
-
display: block;
|
113
|
-
margin-bottom: 0.5rem;
|
114
|
-
padding: 0;
|
115
|
-
width: 100%;
|
116
|
-
@include typography-headline;
|
117
|
-
}
|
118
|
-
|
119
|
-
output {
|
120
|
-
display: inline-block;
|
121
|
-
}
|
122
|
-
|
123
|
-
select[multiple],
|
124
|
-
select[size] {
|
125
|
-
overflow: auto;
|
126
|
-
}
|
127
|
-
|
128
|
-
textarea {
|
129
|
-
resize: vertical;
|
130
|
-
}
|
131
|
-
|
132
|
-
// hidden
|
133
|
-
[hidden] {
|
134
|
-
display: none !important;
|
135
|
-
}
|
136
|
-
|
137
|
-
// images
|
138
|
-
img {
|
139
|
-
vertical-align: middle;
|
140
|
-
}
|
141
|
-
|
142
|
-
// link
|
143
|
-
a {
|
144
|
-
color: $link-color;
|
145
|
-
text-decoration: $link-decoration;
|
146
|
-
|
147
|
-
// active, focus, hover
|
148
|
-
@include active-focus-hover {
|
149
|
-
color: $link-color-active;
|
150
|
-
text-decoration: $link-decoration-active;
|
151
|
-
}
|
152
|
-
}
|
153
|
-
|
154
|
-
a:not([href]):not([tabindex]) {
|
155
|
-
color: inherit;
|
156
|
-
text-decoration: none;
|
157
|
-
|
158
|
-
// active, focus, hover
|
159
|
-
@include active-focus-hover {
|
160
|
-
color: inherit;
|
161
|
-
text-decoration: none;
|
162
|
-
}
|
163
|
-
|
164
|
-
&:focus {
|
165
|
-
outline: 0;
|
166
|
-
}
|
167
|
-
}
|
168
|
-
|
169
|
-
// table
|
170
|
-
caption {
|
171
|
-
caption-side: bottom;
|
172
|
-
color: $table-caption-color;
|
173
|
-
min-height: $table-thead-cell-height;
|
174
|
-
padding: $table-thead-padding-y $table-cell-padding-x-alt;
|
175
|
-
text-align: left;
|
176
|
-
@include typography-caption;
|
177
|
-
}
|
178
|
-
|
179
|
-
table {
|
180
|
-
background-color: $table-bg;
|
181
|
-
border-collapse: collapse;
|
182
|
-
}
|
183
|
-
|
184
|
-
th {
|
185
|
-
text-align: left;
|
186
|
-
}
|
187
|
-
|
188
|
-
// typography
|
189
|
-
abbr[data-original-title],
|
190
|
-
abbr[title] {
|
191
|
-
cursor: help;
|
192
|
-
}
|
193
|
-
|
194
|
-
address {
|
195
|
-
font-style: normal;
|
196
|
-
line-height: inherit;
|
197
|
-
margin-bottom: 1rem;
|
198
|
-
}
|
199
|
-
|
200
|
-
blockquote {
|
201
|
-
margin: 0 0 1rem;
|
202
|
-
}
|
203
|
-
|
204
|
-
dd {
|
205
|
-
margin-bottom: 0.5rem;
|
206
|
-
margin-left: 0;
|
207
|
-
}
|
208
|
-
|
209
|
-
dl {
|
210
|
-
margin-top: 0;
|
211
|
-
margin-bottom: 1rem;
|
212
|
-
}
|
213
|
-
|
214
|
-
dt {
|
215
|
-
font-weight: $dt-font-weight;
|
216
|
-
}
|
217
|
-
|
218
|
-
h1, h2, h3, h4, h5, h6 {
|
219
|
-
margin-top: 0;
|
220
|
-
margin-bottom: 0.5rem;
|
221
|
-
}
|
222
|
-
|
223
|
-
ol,
|
224
|
-
ul {
|
225
|
-
margin-top: 0;
|
226
|
-
margin-bottom: 1rem;
|
227
|
-
}
|
228
|
-
|
229
|
-
ol ol,
|
230
|
-
ol ul,
|
231
|
-
ul ol,
|
232
|
-
ul ul {
|
233
|
-
margin-bottom: 0;
|
234
|
-
}
|
235
|
-
|
236
|
-
p {
|
237
|
-
margin-top: 0;
|
238
|
-
margin-bottom: 1rem;
|
239
|
-
}
|
@@ -1,134 +0,0 @@
|
|
1
|
-
.btn-group,
|
2
|
-
.btn-group-vertical {
|
3
|
-
background-color: $btn-group-bg;
|
4
|
-
display: inline-flex;
|
5
|
-
padding: $btn-group-padding-y $btn-group-padding-x;
|
6
|
-
position: relative;
|
7
|
-
vertical-align: middle;
|
8
|
-
|
9
|
-
> .btn {
|
10
|
-
background-color: transparent;
|
11
|
-
box-shadow: none;
|
12
|
-
flex: 0 1 auto;
|
13
|
-
min-width: 0;
|
14
|
-
|
15
|
-
// active, focus, hover
|
16
|
-
&:active,
|
17
|
-
&.active {
|
18
|
-
background-color: $btn-bg-active;
|
19
|
-
box-shadow: none;
|
20
|
-
}
|
21
|
-
|
22
|
-
// disabled
|
23
|
-
&:disabled,
|
24
|
-
&.disabled {
|
25
|
-
background-color: transparent;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
// colour
|
30
|
-
@each $color in $palettes {
|
31
|
-
$i: index($palettes, $color);
|
32
|
-
|
33
|
-
> .btn-#{$color} {
|
34
|
-
@include plain-active-focus-hover {
|
35
|
-
color: nth($palettes-color, $i);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
> .btn-group,
|
41
|
-
> .btn-group-vertical {
|
42
|
-
padding: 0;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
.btn-group {
|
47
|
-
> .btn + .btn,
|
48
|
-
> .btn + .btn-group,
|
49
|
-
> .btn-group + .btn,
|
50
|
-
> .btn-group + .btn-group {
|
51
|
-
margin-left: $btn-group-padding-x;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
.btn-group-vertical {
|
56
|
-
align-items: flex-start;
|
57
|
-
flex-direction: column;
|
58
|
-
justify-content: center;
|
59
|
-
|
60
|
-
> .btn,
|
61
|
-
> .btn-group {
|
62
|
-
width: 100%;
|
63
|
-
}
|
64
|
-
|
65
|
-
> .btn + .btn,
|
66
|
-
> .btn + .btn-group,
|
67
|
-
> .btn-group + .btn,
|
68
|
-
> .btn-group + .btn-group {
|
69
|
-
margin-top: $btn-group-padding-y;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
// size
|
74
|
-
.btn-group-lg > .btn {
|
75
|
-
@extend .btn-lg;
|
76
|
-
}
|
77
|
-
|
78
|
-
.btn-group-sm > .btn {
|
79
|
-
@extend .btn-sm;
|
80
|
-
}
|
81
|
-
|
82
|
-
//
|
83
|
-
// checkbox and radio options
|
84
|
-
//
|
85
|
-
[data-toggle="buttons"] {
|
86
|
-
> .btn,
|
87
|
-
> .btn-group > .btn {
|
88
|
-
input[type="checkbox"],
|
89
|
-
input[type="radio"] {
|
90
|
-
clip: rect(0, 0, 0, 0);
|
91
|
-
pointer-events: none;
|
92
|
-
position: absolute;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
//
|
98
|
-
// split button dropdown
|
99
|
-
//
|
100
|
-
.btn + .dropdown-toggle-split {
|
101
|
-
padding-right: ($btn-padding-x * 0.5);
|
102
|
-
padding-left: ($btn-padding-x * 0.5);
|
103
|
-
|
104
|
-
&::after {
|
105
|
-
margin-left: 0;
|
106
|
-
}
|
107
|
-
|
108
|
-
.btn-group > & {
|
109
|
-
margin-left: 0;
|
110
|
-
}
|
111
|
-
}
|
112
|
-
|
113
|
-
// size
|
114
|
-
.btn-lg + .dropdown-toggle-split {
|
115
|
-
padding-right: ($btn-padding-x-lg * 0.5);
|
116
|
-
padding-left: ($btn-padding-x-lg * 0.5);
|
117
|
-
}
|
118
|
-
|
119
|
-
.btn-sm + .dropdown-toggle-split {
|
120
|
-
padding-right: ($btn-padding-x-sm * 0.5);
|
121
|
-
padding-left: ($btn-padding-x-sm * 0.5);
|
122
|
-
}
|
123
|
-
|
124
|
-
//
|
125
|
-
// toolbar
|
126
|
-
//
|
127
|
-
.btn-toolbar {
|
128
|
-
display: flex;
|
129
|
-
justify-content: flex-start;
|
130
|
-
|
131
|
-
.input-group {
|
132
|
-
width: auto;
|
133
|
-
}
|
134
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// the movement of an element is based on https://material.google.com/motion/movement.html
|
3
|
-
//
|
4
|
-
|
5
|
-
// based on https://material.google.com/motion/duration-easing.html#duration-easing-common-durations
|
6
|
-
$transition-duration: 0.3s !default;
|
7
|
-
$transition-duration-lg: 0.375s !default;
|
8
|
-
$transition-duration-sm: 0.225s !default;
|
9
|
-
|
10
|
-
$transition-duration-desktop: 0.2s !default;
|
11
|
-
$transition-duration-desktop-lg: 0.25s !default;
|
12
|
-
$transition-duration-desktop-sm: 0.15s !default;
|
13
|
-
|
14
|
-
$transition-duration-tablet: 0.39s !default;
|
15
|
-
$transition-duration-tablet-lg: 0.4875s !default;
|
16
|
-
$transition-duration-tablet-sm: 0.2925s !default;
|
17
|
-
|
18
|
-
// based on https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
19
|
-
$transition-timing-function-acceleration: cubic-bezier(0.4, 0.0, 1, 1) !default;
|
20
|
-
$transition-timing-function-deceleration: cubic-bezier(0.0, 0.0, 0.2, 1) !default;
|
21
|
-
$transition-timing-function-sharp: cubic-bezier(0.4, 0.0, 0.6, 1) !default;
|
22
|
-
$transition-timing-function-standard: cubic-bezier(0.4, 0.0, 0.2, 1) !default;
|
@@ -1,389 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// basic colour
|
3
|
-
// based on https://material.google.com/style/color.html#color-color-palette
|
4
|
-
//
|
5
|
-
$palette-amber-050: #fff8e1 !default;
|
6
|
-
$palette-amber-100: #ffecb3 !default;
|
7
|
-
$palette-amber-200: #ffe082 !default;
|
8
|
-
$palette-amber-300: #ffd54f !default;
|
9
|
-
$palette-amber-400: #ffca28 !default;
|
10
|
-
$palette-amber-500: #ffc107 !default;
|
11
|
-
$palette-amber-600: #ffb300 !default;
|
12
|
-
$palette-amber-700: #ffa000 !default;
|
13
|
-
$palette-amber-800: #ff8f00 !default;
|
14
|
-
$palette-amber-900: #ff6f00 !default;
|
15
|
-
$palette-amber-a100: #ffe57f !default;
|
16
|
-
$palette-amber-a200: #ffd740 !default;
|
17
|
-
$palette-amber-a400: #ffc400 !default;
|
18
|
-
$palette-amber-a700: #ffab00 !default;
|
19
|
-
|
20
|
-
$palette-blue-050: #e3f2fd !default;
|
21
|
-
$palette-blue-100: #bbdefb !default;
|
22
|
-
$palette-blue-200: #90caf9 !default;
|
23
|
-
$palette-blue-300: #64b5f6 !default;
|
24
|
-
$palette-blue-400: #42a5f5 !default;
|
25
|
-
$palette-blue-500: #2196f3 !default;
|
26
|
-
$palette-blue-600: #1e88e5 !default;
|
27
|
-
$palette-blue-700: #1976d2 !default;
|
28
|
-
$palette-blue-800: #1565c0 !default;
|
29
|
-
$palette-blue-900: #0d47a1 !default;
|
30
|
-
$palette-blue-a100: #82b1ff !default;
|
31
|
-
$palette-blue-a200: #448aff !default;
|
32
|
-
$palette-blue-a400: #2979ff !default;
|
33
|
-
$palette-blue-a700: #2962ff !default;
|
34
|
-
|
35
|
-
$palette-blue-grey-050: #eceff1 !default;
|
36
|
-
$palette-blue-grey-100: #cfd8dc !default;
|
37
|
-
$palette-blue-grey-200: #b0bec5 !default;
|
38
|
-
$palette-blue-grey-300: #90a4ae !default;
|
39
|
-
$palette-blue-grey-400: #78909c !default;
|
40
|
-
$palette-blue-grey-500: #607d8b !default;
|
41
|
-
$palette-blue-grey-600: #546e7a !default;
|
42
|
-
$palette-blue-grey-700: #455a64 !default;
|
43
|
-
$palette-blue-grey-800: #37474f !default;
|
44
|
-
$palette-blue-grey-900: #263238 !default;
|
45
|
-
|
46
|
-
$palette-brown-050: #efebe9 !default;
|
47
|
-
$palette-brown-100: #d7ccc8 !default;
|
48
|
-
$palette-brown-200: #bcaaa4 !default;
|
49
|
-
$palette-brown-300: #a1887f !default;
|
50
|
-
$palette-brown-400: #8d6e63 !default;
|
51
|
-
$palette-brown-500: #795548 !default;
|
52
|
-
$palette-brown-600: #6d4c41 !default;
|
53
|
-
$palette-brown-700: #5d4037 !default;
|
54
|
-
$palette-brown-800: #4e342e !default;
|
55
|
-
$palette-brown-900: #3e2723 !default;
|
56
|
-
|
57
|
-
$palette-cyan-050: #e0f7fa !default;
|
58
|
-
$palette-cyan-100: #b2ebf2 !default;
|
59
|
-
$palette-cyan-200: #80deea !default;
|
60
|
-
$palette-cyan-300: #4dd0e1 !default;
|
61
|
-
$palette-cyan-400: #26c6da !default;
|
62
|
-
$palette-cyan-500: #00bcd4 !default;
|
63
|
-
$palette-cyan-600: #00acc1 !default;
|
64
|
-
$palette-cyan-700: #0097a7 !default;
|
65
|
-
$palette-cyan-800: #00838f !default;
|
66
|
-
$palette-cyan-900: #006064 !default;
|
67
|
-
$palette-cyan-a100: #84ffff !default;
|
68
|
-
$palette-cyan-a200: #18ffff !default;
|
69
|
-
$palette-cyan-a400: #00e5ff !default;
|
70
|
-
$palette-cyan-a700: #00b8d4 !default;
|
71
|
-
|
72
|
-
$palette-deep-orange-050: #fbe9e7 !default;
|
73
|
-
$palette-deep-orange-100: #ffccbc !default;
|
74
|
-
$palette-deep-orange-200: #ffab91 !default;
|
75
|
-
$palette-deep-orange-300: #ff8a65 !default;
|
76
|
-
$palette-deep-orange-400: #ff7043 !default;
|
77
|
-
$palette-deep-orange-500: #ff5722 !default;
|
78
|
-
$palette-deep-orange-600: #f4511e !default;
|
79
|
-
$palette-deep-orange-700: #e64a19 !default;
|
80
|
-
$palette-deep-orange-800: #d84315 !default;
|
81
|
-
$palette-deep-orange-900: #bf360c !default;
|
82
|
-
$palette-deep-orange-a100: #ff9e80 !default;
|
83
|
-
$palette-deep-orange-a200: #ff6e40 !default;
|
84
|
-
$palette-deep-orange-a400: #ff3d00 !default;
|
85
|
-
$palette-deep-orange-a700: #ee2c00 !default;
|
86
|
-
|
87
|
-
$palette-deep-purple-050: #ede7f6 !default;
|
88
|
-
$palette-deep-purple-100: #d1c4e9 !default;
|
89
|
-
$palette-deep-purple-200: #b39ddb !default;
|
90
|
-
$palette-deep-purple-300: #9575cd !default;
|
91
|
-
$palette-deep-purple-400: #7e57c2 !default;
|
92
|
-
$palette-deep-purple-500: #673ab7 !default;
|
93
|
-
$palette-deep-purple-600: #5e35b1 !default;
|
94
|
-
$palette-deep-purple-700: #512da8 !default;
|
95
|
-
$palette-deep-purple-800: #4527a0 !default;
|
96
|
-
$palette-deep-purple-900: #311b92 !default;
|
97
|
-
$palette-deep-purple-a100: #b388ff !default;
|
98
|
-
$palette-deep-purple-a200: #7c4dff !default;
|
99
|
-
$palette-deep-purple-a400: #651fff !default;
|
100
|
-
$palette-deep-purple-a700: #6200ea !default;
|
101
|
-
|
102
|
-
$palette-green-050: #e8f5e9 !default;
|
103
|
-
$palette-green-100: #c8e6c9 !default;
|
104
|
-
$palette-green-200: #a5d6a7 !default;
|
105
|
-
$palette-green-300: #81c784 !default;
|
106
|
-
$palette-green-400: #66bb6a !default;
|
107
|
-
$palette-green-500: #4caf50 !default;
|
108
|
-
$palette-green-600: #43a047 !default;
|
109
|
-
$palette-green-700: #388e3c !default;
|
110
|
-
$palette-green-800: #2e7d32 !default;
|
111
|
-
$palette-green-900: #1b5e20 !default;
|
112
|
-
$palette-green-a100: #b9f6ca !default;
|
113
|
-
$palette-green-a200: #69f0ae !default;
|
114
|
-
$palette-green-a400: #00e676 !default;
|
115
|
-
$palette-green-a700: #00c853 !default;
|
116
|
-
|
117
|
-
$palette-grey-050: #fafafa !default;
|
118
|
-
$palette-grey-100: #f5f5f5 !default;
|
119
|
-
$palette-grey-200: #eeeeee !default;
|
120
|
-
$palette-grey-300: #e0e0e0 !default;
|
121
|
-
$palette-grey-400: #bdbdbd !default;
|
122
|
-
$palette-grey-500: #9e9e9e !default;
|
123
|
-
$palette-grey-600: #757575 !default;
|
124
|
-
$palette-grey-700: #616161 !default;
|
125
|
-
$palette-grey-800: #424242 !default;
|
126
|
-
$palette-grey-900: #212121 !default;
|
127
|
-
|
128
|
-
$palette-indigo-050: #e8eaf6 !default;
|
129
|
-
$palette-indigo-100: #c5cae9 !default;
|
130
|
-
$palette-indigo-200: #9fa8da !default;
|
131
|
-
$palette-indigo-300: #7986cb !default;
|
132
|
-
$palette-indigo-400: #5c6bc0 !default;
|
133
|
-
$palette-indigo-500: #3f51b5 !default;
|
134
|
-
$palette-indigo-600: #3949ab !default;
|
135
|
-
$palette-indigo-700: #303f9f !default;
|
136
|
-
$palette-indigo-800: #283593 !default;
|
137
|
-
$palette-indigo-900: #1a237e !default;
|
138
|
-
$palette-indigo-a100: #8c9eff !default;
|
139
|
-
$palette-indigo-a200: #536dfe !default;
|
140
|
-
$palette-indigo-a400: #3d5afe !default;
|
141
|
-
$palette-indigo-a700: #304ffe !default;
|
142
|
-
|
143
|
-
$palette-light-blue-050: #e1f5fe !default;
|
144
|
-
$palette-light-blue-100: #b3e5fc !default;
|
145
|
-
$palette-light-blue-200: #81d4fa !default;
|
146
|
-
$palette-light-blue-300: #4fc3f7 !default;
|
147
|
-
$palette-light-blue-400: #29b6f6 !default;
|
148
|
-
$palette-light-blue-500: #03a9f4 !default;
|
149
|
-
$palette-light-blue-600: #039be5 !default;
|
150
|
-
$palette-light-blue-700: #0288d1 !default;
|
151
|
-
$palette-light-blue-800: #0277bd !default;
|
152
|
-
$palette-light-blue-900: #01579b !default;
|
153
|
-
$palette-light-blue-a100: #80d8ff !default;
|
154
|
-
$palette-light-blue-a200: #40c4ff !default;
|
155
|
-
$palette-light-blue-a400: #00b0ff !default;
|
156
|
-
$palette-light-blue-a700: #0091ea !default;
|
157
|
-
|
158
|
-
$palette-light-green-050: #f1f8e9 !default;
|
159
|
-
$palette-light-green-100: #dcedc8 !default;
|
160
|
-
$palette-light-green-200: #c5e1a5 !default;
|
161
|
-
$palette-light-green-300: #aed581 !default;
|
162
|
-
$palette-light-green-400: #9ccc65 !default;
|
163
|
-
$palette-light-green-500: #8bc34a !default;
|
164
|
-
$palette-light-green-600: #7cb342 !default;
|
165
|
-
$palette-light-green-700: #689f38 !default;
|
166
|
-
$palette-light-green-800: #558b2f !default;
|
167
|
-
$palette-light-green-900: #33691e !default;
|
168
|
-
$palette-light-green-a100: #ccff90 !default;
|
169
|
-
$palette-light-green-a200: #b2ff59 !default;
|
170
|
-
$palette-light-green-a400: #76ff03 !default;
|
171
|
-
$palette-light-green-a700: #64dd17 !default;
|
172
|
-
|
173
|
-
$palette-lime-050: #f9fbe7 !default;
|
174
|
-
$palette-lime-100: #f0f4c3 !default;
|
175
|
-
$palette-lime-200: #e6ee9c !default;
|
176
|
-
$palette-lime-300: #dce775 !default;
|
177
|
-
$palette-lime-400: #d4e157 !default;
|
178
|
-
$palette-lime-500: #cddc39 !default;
|
179
|
-
$palette-lime-600: #c0ca33 !default;
|
180
|
-
$palette-lime-700: #afb42b !default;
|
181
|
-
$palette-lime-800: #9e9d24 !default;
|
182
|
-
$palette-lime-900: #827717 !default;
|
183
|
-
$palette-lime-a100: #f4ff81 !default;
|
184
|
-
$palette-lime-a200: #eeff41 !default;
|
185
|
-
$palette-lime-a400: #c6ff00 !default;
|
186
|
-
$palette-lime-a700: #aeea00 !default;
|
187
|
-
|
188
|
-
$palette-orange-050: #fff3e0 !default;
|
189
|
-
$palette-orange-100: #ffe0b2 !default;
|
190
|
-
$palette-orange-200: #ffcc80 !default;
|
191
|
-
$palette-orange-300: #ffb74d !default;
|
192
|
-
$palette-orange-400: #ffa726 !default;
|
193
|
-
$palette-orange-500: #ff9800 !default;
|
194
|
-
$palette-orange-600: #fb8c00 !default;
|
195
|
-
$palette-orange-700: #f57c00 !default;
|
196
|
-
$palette-orange-800: #ef6c00 !default;
|
197
|
-
$palette-orange-900: #e65100 !default;
|
198
|
-
$palette-orange-a100: #ffd180 !default;
|
199
|
-
$palette-orange-a200: #ffab40 !default;
|
200
|
-
$palette-orange-a400: #ff9100 !default;
|
201
|
-
$palette-orange-a700: #ff6d00 !default;
|
202
|
-
|
203
|
-
$palette-pink-050: #fce4ec !default;
|
204
|
-
$palette-pink-100: #f8bbd0 !default;
|
205
|
-
$palette-pink-200: #f48fb1 !default;
|
206
|
-
$palette-pink-300: #f06292 !default;
|
207
|
-
$palette-pink-400: #ec407a !default;
|
208
|
-
$palette-pink-500: #e91e63 !default;
|
209
|
-
$palette-pink-600: #d81b60 !default;
|
210
|
-
$palette-pink-700: #c2185b !default;
|
211
|
-
$palette-pink-800: #ad1457 !default;
|
212
|
-
$palette-pink-900: #880e4f !default;
|
213
|
-
$palette-pink-a100: #ff80ab !default;
|
214
|
-
$palette-pink-a200: #ff4081 !default;
|
215
|
-
$palette-pink-a400: #f50057 !default;
|
216
|
-
$palette-pink-a700: #c51162 !default;
|
217
|
-
|
218
|
-
$palette-purple-050: #f3e5f5 !default;
|
219
|
-
$palette-purple-100: #e1bee7 !default;
|
220
|
-
$palette-purple-200: #ce93d8 !default;
|
221
|
-
$palette-purple-300: #ba68c8 !default;
|
222
|
-
$palette-purple-400: #ab47bc !default;
|
223
|
-
$palette-purple-500: #9c27b0 !default;
|
224
|
-
$palette-purple-600: #8e24aa !default;
|
225
|
-
$palette-purple-700: #7b1fa2 !default;
|
226
|
-
$palette-purple-800: #6a1b9a !default;
|
227
|
-
$palette-purple-900: #4a148c !default;
|
228
|
-
$palette-purple-a100: #ea80fc !default;
|
229
|
-
$palette-purple-a200: #e040fb !default;
|
230
|
-
$palette-purple-a400: #d500f9 !default;
|
231
|
-
$palette-purple-a700: #aa00ff !default;
|
232
|
-
|
233
|
-
$palette-red-050: #ffebee !default;
|
234
|
-
$palette-red-100: #ffcdd2 !default;
|
235
|
-
$palette-red-200: #ef9a9a !default;
|
236
|
-
$palette-red-300: #e57373 !default;
|
237
|
-
$palette-red-400: #ef5350 !default;
|
238
|
-
$palette-red-500: #f44336 !default;
|
239
|
-
$palette-red-600: #e53935 !default;
|
240
|
-
$palette-red-700: #d32f2f !default;
|
241
|
-
$palette-red-800: #c62828 !default;
|
242
|
-
$palette-red-900: #b71c1c !default;
|
243
|
-
$palette-red-a100: #ff8a80 !default;
|
244
|
-
$palette-red-a200: #ff5252 !default;
|
245
|
-
$palette-red-a400: #ff1744 !default;
|
246
|
-
$palette-red-a700: #d50000 !default;
|
247
|
-
|
248
|
-
$palette-teal-050: #e0f2f1 !default;
|
249
|
-
$palette-teal-100: #b2dfdb !default;
|
250
|
-
$palette-teal-200: #80cbc4 !default;
|
251
|
-
$palette-teal-300: #4db6ac !default;
|
252
|
-
$palette-teal-400: #26a69a !default;
|
253
|
-
$palette-teal-500: #009688 !default;
|
254
|
-
$palette-teal-600: #00897b !default;
|
255
|
-
$palette-teal-700: #00796b !default;
|
256
|
-
$palette-teal-800: #00695c !default;
|
257
|
-
$palette-teal-900: #004d40 !default;
|
258
|
-
$palette-teal-a100: #a7ffeb !default;
|
259
|
-
$palette-teal-a200: #64ffda !default;
|
260
|
-
$palette-teal-a400: #1de9b6 !default;
|
261
|
-
$palette-teal-a700: #00bfa5 !default;
|
262
|
-
|
263
|
-
$palette-yellow-050: #fffde7 !default;
|
264
|
-
$palette-yellow-100: #fff9c4 !default;
|
265
|
-
$palette-yellow-200: #fff59d !default;
|
266
|
-
$palette-yellow-300: #fff176 !default;
|
267
|
-
$palette-yellow-400: #ffee58 !default;
|
268
|
-
$palette-yellow-500: #ffeb3b !default;
|
269
|
-
$palette-yellow-600: #fdd835 !default;
|
270
|
-
$palette-yellow-700: #fbc02d !default;
|
271
|
-
$palette-yellow-800: #f9a825 !default;
|
272
|
-
$palette-yellow-900: #f57f17 !default;
|
273
|
-
$palette-yellow-a100: #ffff8d !default;
|
274
|
-
$palette-yellow-a200: #ffff00 !default;
|
275
|
-
$palette-yellow-a400: #ffea00 !default;
|
276
|
-
$palette-yellow-a700: #ffd600 !default;
|
277
|
-
|
278
|
-
//
|
279
|
-
// black and white
|
280
|
-
// based on https://material.google.com/style/color.html#color-text-background-colors
|
281
|
-
//
|
282
|
-
$black: #000000 !default;
|
283
|
-
$black-primary: rgba(red($black), green($black), blue($black), 0.87) !default;
|
284
|
-
$black-secondary: rgba(red($black), green($black), blue($black), 0.54) !default;
|
285
|
-
$black-hint: rgba(red($black), green($black), blue($black), 0.38) !default;
|
286
|
-
$black-divider: rgba(red($black), green($black), blue($black), 0.12) !default;
|
287
|
-
$black-primary-solid: #212121 !default;
|
288
|
-
$black-secondary-solid: #757575 !default;
|
289
|
-
$black-hint-solid: #9e9e9e !default;
|
290
|
-
$black-divider-solid: #e1e1e1 !default;
|
291
|
-
|
292
|
-
$white: #ffffff !default;
|
293
|
-
$white-primary: rgba(red($white), green($white), blue($white), 1.00) !default;
|
294
|
-
$white-secondary: rgba(red($white), green($white), blue($white), 0.70) !default;
|
295
|
-
$white-hint: rgba(red($white), green($white), blue($white), 0.50) !default;
|
296
|
-
$white-divider: rgba(red($white), green($white), blue($white), 0.12) !default;
|
297
|
-
|
298
|
-
//
|
299
|
-
// offwhite
|
300
|
-
// based on https://material.google.com/style/color.html#color-themes
|
301
|
-
//
|
302
|
-
$offwhite: $palette-grey-100 !default;
|
303
|
-
$offwhite-dark: $palette-grey-300 !default;
|
304
|
-
$offwhite-light: $palette-grey-050 !default;
|
305
|
-
|
306
|
-
//
|
307
|
-
// palette
|
308
|
-
// based on https://material.google.com/style/color.html#color-color-schemes
|
309
|
-
// change these values to customise colour palettes
|
310
|
-
//
|
311
|
-
$brand-color: $palette-purple-500 !default;
|
312
|
-
$brand-color-dark: $palette-purple-700 !default;
|
313
|
-
$brand-color-light: $palette-purple-100 !default;
|
314
|
-
$brand-text-color: $white-primary !default;
|
315
|
-
$brand-text-color-dark: $white-primary !default;
|
316
|
-
$brand-text-color-light: $black-primary !default;
|
317
|
-
|
318
|
-
$brand-color-accent: $palette-pink-a200 !default;
|
319
|
-
$brand-color-accent-dark: $palette-pink-a400 !default;
|
320
|
-
$brand-color-accent-light: $palette-pink-a100 !default;
|
321
|
-
$brand-text-color-accent: $white-primary !default;
|
322
|
-
$brand-text-color-accent-dark: $white-primary !default;
|
323
|
-
$brand-text-color-accent-light: $black-primary !default;
|
324
|
-
|
325
|
-
// change the following lists to add, edit, or remove colours used throughout material css
|
326
|
-
$palettes: (
|
327
|
-
"primary",
|
328
|
-
// "primary" inherits brand colour, so that the naming is in line with Bootstrap 4
|
329
|
-
"secondary",
|
330
|
-
// "secondary" inherits brand accent colour, so that the naming is in line with Bootstrap 4
|
331
|
-
"danger",
|
332
|
-
"info",
|
333
|
-
"success",
|
334
|
-
"warning"
|
335
|
-
) !default;
|
336
|
-
|
337
|
-
$palettes-color: (
|
338
|
-
$brand-color,
|
339
|
-
$brand-color-accent,
|
340
|
-
$palette-red-500,
|
341
|
-
$palette-blue-500,
|
342
|
-
$palette-green-500,
|
343
|
-
$palette-orange-500
|
344
|
-
) !default;
|
345
|
-
|
346
|
-
$palettes-color-dark: (
|
347
|
-
$brand-color-dark,
|
348
|
-
$brand-color-accent-dark,
|
349
|
-
$palette-red-700,
|
350
|
-
$palette-blue-700,
|
351
|
-
$palette-green-700,
|
352
|
-
$palette-orange-700
|
353
|
-
) !default;
|
354
|
-
|
355
|
-
$palettes-color-light: (
|
356
|
-
$brand-color-light,
|
357
|
-
$brand-color-accent-light,
|
358
|
-
$palette-red-300,
|
359
|
-
$palette-blue-300,
|
360
|
-
$palette-green-300,
|
361
|
-
$palette-orange-300
|
362
|
-
) !default;
|
363
|
-
|
364
|
-
$palettes-text-color: (
|
365
|
-
$brand-text-color,
|
366
|
-
$brand-text-color-accent,
|
367
|
-
$white-primary,
|
368
|
-
$white-primary,
|
369
|
-
$black-primary,
|
370
|
-
$black-primary
|
371
|
-
) !default;
|
372
|
-
|
373
|
-
$palettes-text-color-dark: (
|
374
|
-
$brand-text-color-dark,
|
375
|
-
$brand-text-color-accent-dark,
|
376
|
-
$white-primary,
|
377
|
-
$white-primary,
|
378
|
-
$white-primary,
|
379
|
-
$black-primary
|
380
|
-
) !default;
|
381
|
-
|
382
|
-
$palettes-text-color-light: (
|
383
|
-
$brand-text-color-light,
|
384
|
-
$brand-text-color-accent-light,
|
385
|
-
$black-primary,
|
386
|
-
$black-primary,
|
387
|
-
$black-primary,
|
388
|
-
$black-primary
|
389
|
-
) !default;
|