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,35 @@
|
|
1
|
+
@mixin reset-text {
|
2
|
+
font-family: $font-family-base;
|
3
|
+
font-style: normal;
|
4
|
+
font-weight: normal;
|
5
|
+
letter-spacing: normal;
|
6
|
+
line-break: auto;
|
7
|
+
line-height: $line-height-base;
|
8
|
+
text-align: left;
|
9
|
+
text-align: start;
|
10
|
+
text-decoration: none;
|
11
|
+
text-shadow: none;
|
12
|
+
text-transform: none;
|
13
|
+
white-space: normal;
|
14
|
+
word-break: normal;
|
15
|
+
word-spacing: normal;
|
16
|
+
}
|
17
|
+
|
18
|
+
@mixin reset-to-material-icons($base: $font-size-base) {
|
19
|
+
direction: ltr;
|
20
|
+
display: inline-block;
|
21
|
+
font-family: "Material Icons";
|
22
|
+
font-feature-settings: "liga";
|
23
|
+
font-size: #{($material-icon-size / $font-size-root) / strip-unit($base)}em;
|
24
|
+
font-style: normal;
|
25
|
+
font-weight: normal;
|
26
|
+
letter-spacing: normal;
|
27
|
+
line-height: #{strip-unit($base) / (($material-icon-size / $font-size-root) / strip-unit($base))}em;;
|
28
|
+
text-rendering: optimizeLegibility;
|
29
|
+
text-transform: none;
|
30
|
+
vertical-align: middle;
|
31
|
+
white-space: nowrap;
|
32
|
+
word-wrap: normal;
|
33
|
+
-webkit-font-smoothing: antialiased;
|
34
|
+
-moz-osx-font-smoothing: grayscale;
|
35
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@mixin sr-only {
|
2
|
+
border: 0;
|
3
|
+
clip: rect(0,0,0,0);
|
4
|
+
height: 1px;
|
5
|
+
margin: -1px;
|
6
|
+
padding: 0;
|
7
|
+
overflow: hidden;
|
8
|
+
position: absolute;
|
9
|
+
width: 1px;
|
10
|
+
}
|
11
|
+
|
12
|
+
@mixin sr-only-focusable {
|
13
|
+
// active, focus, hover
|
14
|
+
&:active,
|
15
|
+
&:focus {
|
16
|
+
clip: auto;
|
17
|
+
height: auto;
|
18
|
+
margin: 0;
|
19
|
+
overflow: visible;
|
20
|
+
position: static;
|
21
|
+
width: auto;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
@mixin text-emphasis-variant($class, $color, $color-dark: "") {
|
2
|
+
#{$class} {
|
3
|
+
color: $color !important;
|
4
|
+
}
|
5
|
+
|
6
|
+
@if $color-dark != "" {
|
7
|
+
a#{$class} {
|
8
|
+
// active, focus, hover
|
9
|
+
@include active-focus-hover {
|
10
|
+
color: $color-dark !important;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
@mixin transition-acceleration($property...) {
|
2
|
+
transition-duration: $transition-duration-sm;
|
3
|
+
transition-property: $property;
|
4
|
+
transition-timing-function: $transition-timing-function-acceleration;
|
5
|
+
|
6
|
+
@include media-breakpoint-up(sm) {
|
7
|
+
transition-duration: $transition-duration-tablet-sm;
|
8
|
+
}
|
9
|
+
|
10
|
+
@include media-breakpoint-up(lg) {
|
11
|
+
transition-duration: $transition-duration-desktop-sm;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
@mixin transition-deceleration($property...) {
|
16
|
+
transition-duration: $transition-duration-lg;
|
17
|
+
transition-property: $property;
|
18
|
+
transition-timing-function: $transition-timing-function-deceleration;
|
19
|
+
|
20
|
+
@include media-breakpoint-up(sm) {
|
21
|
+
transition-duration: $transition-duration-tablet-lg;
|
22
|
+
}
|
23
|
+
|
24
|
+
@include media-breakpoint-up(lg) {
|
25
|
+
transition-duration: $transition-duration-desktop-lg;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
@mixin transition-sharp($property...) {
|
30
|
+
transition-duration: $transition-duration-sm;
|
31
|
+
transition-property: $property;
|
32
|
+
transition-timing-function: $transition-timing-function-sharp;
|
33
|
+
|
34
|
+
@include media-breakpoint-up(sm) {
|
35
|
+
transition-duration: $transition-duration-tablet-sm;
|
36
|
+
}
|
37
|
+
|
38
|
+
@include media-breakpoint-up(lg) {
|
39
|
+
transition-duration: $transition-duration-desktop-sm;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
@mixin transition-standard($property...) {
|
44
|
+
transition-duration: $transition-duration;
|
45
|
+
transition-property: $property;
|
46
|
+
transition-timing-function: $transition-timing-function-standard;
|
47
|
+
|
48
|
+
@include media-breakpoint-up(sm) {
|
49
|
+
transition-duration: $transition-duration-tablet;
|
50
|
+
}
|
51
|
+
|
52
|
+
@include media-breakpoint-up(lg) {
|
53
|
+
transition-duration: $transition-duration-desktop;
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
@mixin typography-display-4 {
|
2
|
+
font-size: $font-size-display-4;
|
3
|
+
font-weight: $font-weight-display-4;
|
4
|
+
letter-spacing: $letter-spacing-display-4;
|
5
|
+
line-height: $line-height-display-4;
|
6
|
+
}
|
7
|
+
|
8
|
+
@mixin typography-display-3 {
|
9
|
+
font-size: $font-size-display-3;
|
10
|
+
font-weight: $font-weight-display-3;
|
11
|
+
letter-spacing: $letter-spacing-display-3;
|
12
|
+
line-height: $line-height-display-3;
|
13
|
+
}
|
14
|
+
|
15
|
+
@mixin typography-display-2 {
|
16
|
+
font-size: $font-size-display-2;
|
17
|
+
font-weight: $font-weight-display-2;
|
18
|
+
letter-spacing: $letter-spacing-display-2;
|
19
|
+
line-height: $line-height-display-2;
|
20
|
+
}
|
21
|
+
|
22
|
+
@mixin typography-display-1 {
|
23
|
+
font-size: $font-size-display-1;
|
24
|
+
font-weight: $font-weight-display-1;
|
25
|
+
letter-spacing: $letter-spacing-display-1;
|
26
|
+
line-height: $line-height-display-1;
|
27
|
+
}
|
28
|
+
|
29
|
+
@mixin typography-headline {
|
30
|
+
font-size: $font-size-headline;
|
31
|
+
font-weight: $font-weight-headline;
|
32
|
+
letter-spacing: $letter-spacing-headline;
|
33
|
+
line-height: $line-height-headline;
|
34
|
+
}
|
35
|
+
|
36
|
+
@mixin typography-title {
|
37
|
+
font-size: $font-size-title;
|
38
|
+
font-weight: $font-weight-title;
|
39
|
+
letter-spacing: $letter-spacing-title;
|
40
|
+
line-height: $line-height-title;
|
41
|
+
}
|
42
|
+
|
43
|
+
@mixin typography-subheading {
|
44
|
+
font-size: $font-size-subheading;
|
45
|
+
font-weight: $font-weight-subheading;
|
46
|
+
letter-spacing: $letter-spacing-subheading;
|
47
|
+
line-height: $line-height-subheading;
|
48
|
+
}
|
49
|
+
|
50
|
+
@mixin typography-body-2 {
|
51
|
+
font-size: $font-size-body-2;
|
52
|
+
font-weight: $font-weight-body-2;
|
53
|
+
letter-spacing: $letter-spacing-body-2;
|
54
|
+
line-height: $line-height-body-2;
|
55
|
+
}
|
56
|
+
|
57
|
+
@mixin typography-body-1 {
|
58
|
+
font-size: $font-size-body-1;
|
59
|
+
font-weight: $font-weight-body-1;
|
60
|
+
letter-spacing: $letter-spacing-body-1;
|
61
|
+
line-height: $line-height-body-1;
|
62
|
+
}
|
63
|
+
|
64
|
+
@mixin typography-caption {
|
65
|
+
font-size: $font-size-caption;
|
66
|
+
font-weight: $font-weight-caption;
|
67
|
+
letter-spacing: $letter-spacing-caption;
|
68
|
+
line-height: $line-height-caption;
|
69
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.align-top {
|
2
|
+
vertical-align: top !important;
|
3
|
+
}
|
4
|
+
|
5
|
+
.align-text-top {
|
6
|
+
vertical-align: text-top !important;
|
7
|
+
}
|
8
|
+
|
9
|
+
.align-middle {
|
10
|
+
vertical-align: middle !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
.align-baseline {
|
14
|
+
vertical-align: baseline !important;
|
15
|
+
}
|
16
|
+
|
17
|
+
.align-text-bottom {
|
18
|
+
vertical-align: text-bottom !important;
|
19
|
+
}
|
20
|
+
|
21
|
+
.align-bottom {
|
22
|
+
vertical-align: bottom !important;
|
23
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// dark and light theme
|
2
|
+
// based on https://material.google.com/style/color.html#color-themes
|
3
|
+
@include bg-variant('.bg-dark-1', $dark-theme-1);
|
4
|
+
@include bg-variant('.bg-dark-2', $dark-theme-2);
|
5
|
+
@include bg-variant('.bg-dark-3', $dark-theme-3);
|
6
|
+
@include bg-variant('.bg-dark-4', $dark-theme-4);
|
7
|
+
|
8
|
+
@include bg-variant('.bg-light-1', $light-theme-1);
|
9
|
+
@include bg-variant('.bg-light-2', $light-theme-2);
|
10
|
+
@include bg-variant('.bg-light-3', $light-theme-3);
|
11
|
+
@include bg-variant('.bg-light-4', $light-theme-4);
|
12
|
+
|
13
|
+
// offwhite
|
14
|
+
@include bg-variant('.bg-faded', $offwhite, $offwhite-dark);
|
15
|
+
|
16
|
+
// palette
|
17
|
+
@each $color in $palettes {
|
18
|
+
$i: index($palettes, $color);
|
19
|
+
|
20
|
+
@include bg-variant('.bg-#{$color}', nth($palettes-color, $i), nth($palettes-color-dark, $i));
|
21
|
+
}
|
22
|
+
|
23
|
+
@include bg-variant('.bg-inverse', $dark-theme-4, $dark-theme-3);
|
@@ -0,0 +1,27 @@
|
|
1
|
+
//
|
2
|
+
// border radius
|
3
|
+
//
|
4
|
+
.rounded {
|
5
|
+
@include border-radius($border-radius);
|
6
|
+
}
|
7
|
+
|
8
|
+
.rounded-top {
|
9
|
+
@include border-top-radius($border-radius);
|
10
|
+
}
|
11
|
+
|
12
|
+
.rounded-right {
|
13
|
+
@include border-right-radius($border-radius);
|
14
|
+
}
|
15
|
+
|
16
|
+
.rounded-bottom {
|
17
|
+
@include border-bottom-radius($border-radius);
|
18
|
+
}
|
19
|
+
|
20
|
+
.rounded-left {
|
21
|
+
@include border-left-radius($border-radius);
|
22
|
+
}
|
23
|
+
|
24
|
+
// circle
|
25
|
+
.rounded-circle {
|
26
|
+
border-radius: 50%;
|
27
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
2
|
+
@include media-breakpoint-up($breakpoint) {
|
3
|
+
.float-#{$breakpoint}-left {
|
4
|
+
@include pull-left;
|
5
|
+
}
|
6
|
+
|
7
|
+
.float-#{$breakpoint}-none {
|
8
|
+
float: none !important;
|
9
|
+
}
|
10
|
+
|
11
|
+
.float-#{$breakpoint}-right {
|
12
|
+
@include pull-right;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
.material-icons {
|
2
|
+
font-size: #{($material-icon-size / $font-size-root) / strip-unit($font-size-base)}em;
|
3
|
+
line-height: #{strip-unit($font-size-base) / (($material-icon-size / $font-size-root) / strip-unit($font-size-base))}em;
|
4
|
+
vertical-align: middle;
|
5
|
+
}
|
6
|
+
|
7
|
+
.material-icons-inline {
|
8
|
+
font-size: inherit;
|
9
|
+
line-height: 1;
|
10
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
//
|
2
|
+
// height and width
|
3
|
+
//
|
4
|
+
.h-100 {
|
5
|
+
height: 100% !important;
|
6
|
+
}
|
7
|
+
|
8
|
+
.w-100 {
|
9
|
+
width: 100% !important;
|
10
|
+
}
|
11
|
+
|
12
|
+
//
|
13
|
+
// margin and padding
|
14
|
+
//
|
15
|
+
.mx-auto {
|
16
|
+
margin-right: auto !important;
|
17
|
+
margin-left: auto !important;
|
18
|
+
}
|
19
|
+
|
20
|
+
@each $prop, $prop-abbr in (margin: m, padding: p) {
|
21
|
+
@each $size, $values in $spacers {
|
22
|
+
$length-x: map-get($values, x);
|
23
|
+
$length-y: map-get($values, y);
|
24
|
+
|
25
|
+
.#{$prop-abbr}-#{$size} {
|
26
|
+
#{$prop}: $length-y $length-x !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
.#{$prop-abbr}t-#{$size} {
|
30
|
+
#{$prop}-top: $length-y !important;
|
31
|
+
}
|
32
|
+
|
33
|
+
.#{$prop-abbr}r-#{$size} {
|
34
|
+
#{$prop}-right: $length-x !important;
|
35
|
+
}
|
36
|
+
|
37
|
+
.#{$prop-abbr}b-#{$size} {
|
38
|
+
#{$prop}-bottom: $length-y !important;
|
39
|
+
}
|
40
|
+
|
41
|
+
.#{$prop-abbr}l-#{$size} {
|
42
|
+
#{$prop}-left: $length-x !important;
|
43
|
+
}
|
44
|
+
|
45
|
+
.#{$prop-abbr}x-#{$size} {
|
46
|
+
#{$prop}-right: $length-x !important;
|
47
|
+
#{$prop}-left: $length-x !important;
|
48
|
+
}
|
49
|
+
.#{$prop-abbr}y-#{$size} {
|
50
|
+
#{$prop}-top: $length-y !important;
|
51
|
+
#{$prop}-bottom: $length-y !important;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
//
|
57
|
+
// positioning
|
58
|
+
//
|
59
|
+
.pos-f-t {
|
60
|
+
position: fixed;
|
61
|
+
top: 0;
|
62
|
+
right: 0;
|
63
|
+
left: 0;
|
64
|
+
z-index: map-get($toolbar-elevation-shadow, elevation);
|
65
|
+
}
|