material-sass 1.4.1 → 4.0.0.alpha5
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/Rakefile +61 -0
- data/app/assets/fonts/{MaterialIcons-Regular.eot → material-icons/MaterialIcons-Regular.eot} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.ijmap → material-icons/MaterialIcons-Regular.ijmap} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.svg → material-icons/MaterialIcons-Regular.svg} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.ttf → material-icons/MaterialIcons-Regular.ttf} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.woff → material-icons/MaterialIcons-Regular.woff} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.woff2 → material-icons/MaterialIcons-Regular.woff2} +0 -0
- data/app/assets/fonts/{README.md → material-icons/README.md} +0 -0
- data/app/assets/fonts/{codepoints → material-icons/codepoints} +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.ttf +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.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.ttf +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.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.ttf +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.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.ttf +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.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.ttf +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/material.js +739 -798
- data/app/assets/javascripts/material/addons-materialise/pickadate.js +139 -0
- data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +9 -0
- data/app/assets/javascripts/material/addons-materialise/wave.js +12 -0
- data/app/assets/javascripts/material/addons/pickadate.js +7 -0
- data/app/assets/javascripts/material/addons/textarea-autosize.js +5 -0
- data/app/assets/javascripts/material/{wave.js → addons/wave.js} +0 -10
- data/app/assets/javascripts/material/src/floating-label.js +91 -0
- data/app/assets/javascripts/material/src/navdrawer.js +352 -0
- data/app/assets/javascripts/material/src/tab-switch.js +136 -0
- data/app/assets/javascripts/material/src/util.js +138 -0
- data/app/assets/stylesheets/material.min.css +2 -2
- data/app/assets/stylesheets/material.scss +1 -1
- data/app/assets/stylesheets/material/_mixins.scss +21 -0
- data/app/assets/stylesheets/material/_utilities.scss +15 -0
- data/app/assets/stylesheets/material/_variables.scss +25 -0
- data/app/assets/stylesheets/material/base/_base.scss +482 -0
- data/app/assets/stylesheets/material/base/_grid.scss +28 -40
- data/app/assets/stylesheets/material/base/_typography.scss +208 -0
- data/app/assets/stylesheets/material/bootstrap/_alert.scss +55 -0
- data/app/assets/stylesheets/material/bootstrap/_animation.scss +26 -0
- data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +39 -0
- data/app/assets/stylesheets/material/bootstrap/_button-group.scss +155 -0
- data/app/assets/stylesheets/material/bootstrap/_carousel.scss +234 -0
- data/app/assets/stylesheets/material/bootstrap/_close.scss +31 -0
- data/app/assets/stylesheets/material/bootstrap/_code.scss +50 -0
- data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +69 -0
- data/app/assets/stylesheets/material/bootstrap/_form.scss +116 -0
- data/app/assets/stylesheets/material/bootstrap/_image.scss +25 -0
- data/app/assets/stylesheets/material/bootstrap/_jumbotron.scss +12 -0
- data/app/assets/stylesheets/material/bootstrap/_media.scss +69 -0
- data/app/assets/stylesheets/material/bootstrap/_nav.scss +118 -0
- data/app/assets/stylesheets/material/bootstrap/_pagination.scss +68 -0
- data/app/assets/stylesheets/material/bootstrap/_popover.scss +84 -0
- data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +37 -0
- data/app/assets/stylesheets/material/material.scss +62 -0
- data/app/assets/stylesheets/material/material/_button-flat.scss +53 -0
- data/app/assets/stylesheets/material/material/_button-float.scss +29 -0
- data/app/assets/stylesheets/material/material/_button.scss +241 -0
- data/app/assets/stylesheets/material/material/_card.scss +286 -0
- data/app/assets/stylesheets/material/material/_chip.scss +93 -0
- data/app/assets/stylesheets/material/material/_data-table.scss +138 -0
- data/app/assets/stylesheets/material/material/_dialog.scss +147 -0
- data/app/assets/stylesheets/material/material/_expansion-panel.scss +292 -0
- data/app/assets/stylesheets/material/material/_menu.scss +281 -0
- data/app/assets/stylesheets/material/material/_navdrawer.scss +289 -0
- data/app/assets/stylesheets/material/material/_picker.scss +272 -0
- data/app/assets/stylesheets/material/material/_progress-circular.scss +144 -0
- data/app/assets/stylesheets/material/material/_progress.scss +174 -0
- data/app/assets/stylesheets/material/material/_selection-control.scss +221 -0
- data/app/assets/stylesheets/material/material/_stepper.scss +135 -0
- data/app/assets/stylesheets/material/material/_tab.scss +196 -0
- data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +51 -0
- data/app/assets/stylesheets/material/material/_text-field-input-group.scss +76 -0
- data/app/assets/stylesheets/material/material/_text-field-textarea.scss +31 -0
- data/app/assets/stylesheets/material/material/_text-field.scss +179 -0
- data/app/assets/stylesheets/material/material/_toolbar.scss +516 -0
- data/app/assets/stylesheets/material/material/_tooltip.scss +86 -0
- data/app/assets/stylesheets/material/mixins/_background-variant.scss +14 -0
- data/app/assets/stylesheets/material/mixins/_border-radius.scss +34 -0
- data/app/assets/stylesheets/material/mixins/_breakpoint.scss +38 -0
- data/app/assets/stylesheets/material/mixins/_clearfix.scss +7 -0
- data/app/assets/stylesheets/material/mixins/_form.scss +60 -0
- data/app/assets/stylesheets/material/mixins/_grid.scss +149 -0
- data/app/assets/stylesheets/material/mixins/_hex-to-rgba.scss +3 -0
- data/app/assets/stylesheets/material/mixins/_hover.scss +70 -0
- data/app/assets/stylesheets/material/mixins/_image.scss +4 -0
- data/app/assets/stylesheets/material/mixins/_list.scss +4 -0
- data/app/assets/stylesheets/material/mixins/_nav-divider.scss +6 -0
- data/app/assets/stylesheets/material/mixins/_pull.scss +7 -0
- data/app/assets/stylesheets/material/mixins/_reset-text.scss +35 -0
- data/app/assets/stylesheets/material/mixins/_screenreader.scss +23 -0
- data/app/assets/stylesheets/material/mixins/_strip-unit.scss +3 -0
- data/app/assets/stylesheets/material/mixins/_tab-focus.scss +5 -0
- data/app/assets/stylesheets/material/mixins/_text-emphasis.scss +14 -0
- data/app/assets/stylesheets/material/mixins/_text-hide.scss +7 -0
- data/app/assets/stylesheets/material/mixins/_text-truncate.scss +5 -0
- data/app/assets/stylesheets/material/mixins/_transition.scss +55 -0
- data/app/assets/stylesheets/material/mixins/_typography.scss +69 -0
- data/app/assets/stylesheets/material/utilities/_align.scss +23 -0
- data/app/assets/stylesheets/material/utilities/_background.scss +23 -0
- data/app/assets/stylesheets/material/utilities/_border.scss +27 -0
- data/app/assets/stylesheets/material/utilities/_clearfix.scss +3 -0
- data/app/assets/stylesheets/material/utilities/_display.scss +11 -0
- data/app/assets/stylesheets/material/utilities/_float.scss +15 -0
- data/app/assets/stylesheets/material/utilities/_material-icons.scss +10 -0
- data/app/assets/stylesheets/material/utilities/_screenreader.scss +7 -0
- data/app/assets/stylesheets/material/utilities/_spacing.scss +65 -0
- data/app/assets/stylesheets/material/utilities/_text.scss +95 -0
- data/app/assets/stylesheets/material/utilities/_visibility.scss +50 -0
- data/app/assets/stylesheets/material/utilities/_waves.scss +48 -0
- data/app/assets/stylesheets/material/variables/_animation.scss +22 -0
- data/app/assets/stylesheets/material/variables/_colour.scss +389 -0
- data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +84 -0
- data/app/assets/stylesheets/material/variables/_grid.scss +32 -0
- data/app/assets/stylesheets/material/variables/_spacer.scss +73 -0
- data/app/assets/stylesheets/material/variables/_typography.scss +72 -0
- data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +129 -0
- data/app/assets/stylesheets/material/variables/_variable-material.scss +434 -0
- data/lib/material-sass/engine.rb +3 -2
- data/lib/material-sass/version.rb +1 -1
- metadata +128 -70
- data/app/assets/javascripts/material.min.js +0 -2
- data/app/assets/javascripts/material/_.js +0 -6
- data/app/assets/javascripts/material/bootstrap.js +0 -6
- data/app/assets/javascripts/material/form-floating-label.js +0 -49
- data/app/assets/javascripts/material/form-textarea.js +0 -13
- data/app/assets/javascripts/material/header.js +0 -12
- data/app/assets/javascripts/material/menu.js +0 -200
- data/app/assets/javascripts/material/modal.js +0 -12
- data/app/assets/javascripts/material/picker.js +0 -141
- data/app/assets/javascripts/material/snackbar.js +0 -116
- data/app/assets/javascripts/material/tab.js +0 -51
- data/app/assets/javascripts/material/tile.js +0 -181
- data/app/assets/stylesheets/material/addons/_material-icons.scss +0 -9
- data/app/assets/stylesheets/material/addons/_waves.scss +0 -44
- data/app/assets/stylesheets/material/addons/material-icons/_core.scss +0 -20
- data/app/assets/stylesheets/material/addons/material-icons/_larger.scss +0 -23
- data/app/assets/stylesheets/material/addons/material-icons/_path.scss +0 -11
- data/app/assets/stylesheets/material/addons/material-icons/_variables.scss +0 -3
- data/app/assets/stylesheets/material/base.scss +0 -50
- data/app/assets/stylesheets/material/base/_reset.scss +0 -421
- data/app/assets/stylesheets/material/components/_avatar.scss +0 -59
- data/app/assets/stylesheets/material/components/_breadcrumb.scss +0 -26
- data/app/assets/stylesheets/material/components/_button-flat.scss +0 -22
- data/app/assets/stylesheets/material/components/_button-float.scss +0 -183
- data/app/assets/stylesheets/material/components/_button.scss +0 -81
- data/app/assets/stylesheets/material/components/_card.scss +0 -175
- data/app/assets/stylesheets/material/components/_code.scss +0 -53
- data/app/assets/stylesheets/material/components/_dropdown.scss +0 -99
- data/app/assets/stylesheets/material/components/_form-checkbox.scss +0 -161
- data/app/assets/stylesheets/material/components/_form-floating-label.scss +0 -64
- data/app/assets/stylesheets/material/components/_form-switch.scss +0 -96
- data/app/assets/stylesheets/material/components/_form-textarea.scss +0 -4
- data/app/assets/stylesheets/material/components/_form.scss +0 -217
- data/app/assets/stylesheets/material/components/_label.scss +0 -23
- data/app/assets/stylesheets/material/components/_modal.scss +0 -164
- data/app/assets/stylesheets/material/components/_nav.scss +0 -53
- data/app/assets/stylesheets/material/components/_picker.scss +0 -298
- data/app/assets/stylesheets/material/components/_progress-circular.scss +0 -169
- data/app/assets/stylesheets/material/components/_progress-loadbar.scss +0 -97
- data/app/assets/stylesheets/material/components/_progress.scss +0 -132
- data/app/assets/stylesheets/material/components/_snackbar.scss +0 -59
- data/app/assets/stylesheets/material/components/_stepper.scss +0 -201
- data/app/assets/stylesheets/material/components/_tab.scss +0 -84
- data/app/assets/stylesheets/material/components/_table.scss +0 -82
- data/app/assets/stylesheets/material/components/_tile.scss +0 -156
- data/app/assets/stylesheets/material/elements/_content.scss +0 -42
- data/app/assets/stylesheets/material/elements/_header.scss +0 -141
- data/app/assets/stylesheets/material/elements/_menu.scss +0 -267
- data/app/assets/stylesheets/material/mixin/_grid.scss +0 -78
- data/app/assets/stylesheets/material/mixin/_responsive.scss +0 -32
- data/app/assets/stylesheets/material/mixin/_utilities.scss +0 -69
- data/app/assets/stylesheets/material/utilities/_print.scss +0 -95
- data/app/assets/stylesheets/material/utilities/_utilities-responsive.scss +0 -97
- data/app/assets/stylesheets/material/utilities/_utilities.scss +0 -393
- data/app/assets/stylesheets/material/var/_colours.scss +0 -336
- data/app/assets/stylesheets/material/var/_variables.scss +0 -78
@@ -0,0 +1,95 @@
|
|
1
|
+
// alignment
|
2
|
+
.text-justify {
|
3
|
+
text-align: justify !important;
|
4
|
+
}
|
5
|
+
|
6
|
+
.text-nowrap {
|
7
|
+
white-space: nowrap !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
.text-truncate {
|
11
|
+
@include text-truncate;
|
12
|
+
}
|
13
|
+
|
14
|
+
// horizontal
|
15
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
16
|
+
@include media-breakpoint-up($breakpoint) {
|
17
|
+
.text-#{$breakpoint}-center {
|
18
|
+
text-align: center !important;
|
19
|
+
}
|
20
|
+
|
21
|
+
.text-#{$breakpoint}-left {
|
22
|
+
text-align: left !important;
|
23
|
+
}
|
24
|
+
|
25
|
+
.text-#{$breakpoint}-right {
|
26
|
+
text-align: right !important;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
// color
|
32
|
+
// black and white
|
33
|
+
@include text-emphasis-variant('.text-black', $black);
|
34
|
+
@include text-emphasis-variant('.text-black-primary', $black-primary);
|
35
|
+
@include text-emphasis-variant('.text-black-secondary', $black-secondary);
|
36
|
+
@include text-emphasis-variant('.text-black-hint', $black-hint);
|
37
|
+
@include text-emphasis-variant('.text-black-divider', $black-divider);
|
38
|
+
|
39
|
+
@include text-emphasis-variant('.text-white', $white);
|
40
|
+
@include text-emphasis-variant('.text-white-primary', $white-primary);
|
41
|
+
@include text-emphasis-variant('.text-white-secondary', $white-secondary);
|
42
|
+
@include text-emphasis-variant('.text-white-hint', $white-hint);
|
43
|
+
@include text-emphasis-variant('.text-white-divider', $white-divider);
|
44
|
+
|
45
|
+
// font colour
|
46
|
+
@include text-emphasis-variant('.text-gray-dark', $black-primary, $black);
|
47
|
+
|
48
|
+
// offwhite
|
49
|
+
@include text-emphasis-variant('.text-muted', $text-muted, $text-muted-active);
|
50
|
+
|
51
|
+
// palette
|
52
|
+
@each $color in $palettes {
|
53
|
+
$i: index($palettes, $color);
|
54
|
+
|
55
|
+
@include text-emphasis-variant('.text-#{$color}', nth($palettes-color, $i), nth($palettes-color-dark, $i));
|
56
|
+
}
|
57
|
+
|
58
|
+
@include text-emphasis-variant('.text-inverse', $white-primary, $white);
|
59
|
+
|
60
|
+
// italcs and weight
|
61
|
+
.font-italic {
|
62
|
+
font-style: italic;
|
63
|
+
}
|
64
|
+
|
65
|
+
.font-weight-bold,
|
66
|
+
.font-weight-medium {
|
67
|
+
font-weight: $font-weight-medium;
|
68
|
+
}
|
69
|
+
|
70
|
+
.font-weight-light {
|
71
|
+
font-weight: $font-weight-light;
|
72
|
+
}
|
73
|
+
|
74
|
+
.font-weight-normal,
|
75
|
+
.font-weight-regular {
|
76
|
+
font-weight: $font-weight-regular;
|
77
|
+
}
|
78
|
+
|
79
|
+
// misc
|
80
|
+
.text-hide {
|
81
|
+
@include text-hide;
|
82
|
+
}
|
83
|
+
|
84
|
+
// transformation
|
85
|
+
.text-capitalize {
|
86
|
+
text-transform: capitalize !important;
|
87
|
+
}
|
88
|
+
|
89
|
+
.text-lowercase {
|
90
|
+
text-transform: lowercase !important;
|
91
|
+
}
|
92
|
+
|
93
|
+
.text-uppercase {
|
94
|
+
text-transform: uppercase !important;
|
95
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
.invisible {
|
2
|
+
visibility: hidden !important;
|
3
|
+
}
|
4
|
+
|
5
|
+
//
|
6
|
+
// print
|
7
|
+
//
|
8
|
+
.hidden-print {
|
9
|
+
@media print {
|
10
|
+
display: none !important;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
.visible-print-block {
|
15
|
+
display: none !important;
|
16
|
+
@media print {
|
17
|
+
display: block !important;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.visible-print-inline {
|
22
|
+
display: none !important;
|
23
|
+
@media print {
|
24
|
+
display: inline !important;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.visible-print-inline-block {
|
29
|
+
display: none !important;
|
30
|
+
@media print {
|
31
|
+
display: inline-block !important;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
//
|
36
|
+
// responsive
|
37
|
+
//
|
38
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
39
|
+
.hidden-#{$breakpoint}-up {
|
40
|
+
@include media-breakpoint-up($breakpoint) {
|
41
|
+
display: none !important;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.hidden-#{$breakpoint}-down {
|
46
|
+
@include media-breakpoint-down($breakpoint) {
|
47
|
+
display: none !important;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/*
|
2
|
+
* waves v0.7.4
|
3
|
+
* http://fian.my.id/Waves
|
4
|
+
*/
|
5
|
+
|
6
|
+
.waves-effect {
|
7
|
+
position: relative;
|
8
|
+
-webkit-tap-highlight-color: transparent;
|
9
|
+
.waves-ripple {
|
10
|
+
background-clip: content-box;
|
11
|
+
background-color: $waves-bg;
|
12
|
+
border-radius: 50%;
|
13
|
+
height: $waves-size;
|
14
|
+
margin-top: ($waves-size / -2);
|
15
|
+
margin-left: ($waves-size / -2);
|
16
|
+
opacity: 0;
|
17
|
+
position: absolute;
|
18
|
+
transform: scale(0) translate(0, 0);
|
19
|
+
width: $waves-size;
|
20
|
+
@include transition-standard(opacity, transform);
|
21
|
+
}
|
22
|
+
&.waves-light .waves-ripple {
|
23
|
+
background-color: $waves-bg-light;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.waves-wrap {
|
28
|
+
overflow: hidden;
|
29
|
+
pointer-events: none;
|
30
|
+
position: absolute;
|
31
|
+
top: 0;
|
32
|
+
right: 0;
|
33
|
+
bottom: 0;
|
34
|
+
left: 0;
|
35
|
+
user-select: none;
|
36
|
+
.waves-circle > & {
|
37
|
+
border-radius: 50%;
|
38
|
+
|
39
|
+
// r='0' disables rendering of the element
|
40
|
+
// the fake mask fixes an issue in Firefox
|
41
|
+
// it replaces `mask: url()` in previous versions
|
42
|
+
// because `url()` may cause issues with some build tools
|
43
|
+
mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle fill='none' r='0' stroke-width='0' /%3E%3C/svg%3E");
|
44
|
+
|
45
|
+
transform: translateZ(0);
|
46
|
+
-webkit-mask-image: -webkit-radial-gradient(circle, #ffffff 100%, #000000 100%);
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,22 @@
|
|
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;
|
@@ -0,0 +1,389 @@
|
|
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;
|