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
@@ -1,97 +0,0 @@
|
|
1
|
-
.load-bar {
|
2
|
-
float: right;
|
3
|
-
height: 100%;
|
4
|
-
overflow: hidden;
|
5
|
-
width: 50%;
|
6
|
-
&:first-child {
|
7
|
-
float: left;
|
8
|
-
}
|
9
|
-
}
|
10
|
-
|
11
|
-
.load-bar-base {
|
12
|
-
animation: load-bar-right-in 0.9s $timing 1 forwards;
|
13
|
-
background-color: $brand-color-accent;
|
14
|
-
float: left;
|
15
|
-
height: 100%;
|
16
|
-
overflow: hidden;
|
17
|
-
transform: translate(-100%, 0);
|
18
|
-
transform-origin: top right;
|
19
|
-
width: 100%;
|
20
|
-
will-change: transform;
|
21
|
-
.load-bar:first-child & {
|
22
|
-
animation: load-bar-left-in 0.9s $timing 1 forwards;
|
23
|
-
transform: translate(100%, 0);
|
24
|
-
transform-origin: top left;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
// animation
|
29
|
-
@keyframes load-bar-left-in {
|
30
|
-
0% {
|
31
|
-
transform: translate(100%, 0);
|
32
|
-
}
|
33
|
-
100% {
|
34
|
-
transform: translate(0, 0);
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
@keyframes load-bar-right-in {
|
39
|
-
0% {
|
40
|
-
transform: translate(-100%, 0);
|
41
|
-
}
|
42
|
-
100% {
|
43
|
-
transform: translate(0, 0);
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
.load-bar-content {
|
48
|
-
animation: load-bar-right 3.6s linear infinite forwards;
|
49
|
-
animation-delay: 0.9s;
|
50
|
-
float: left;
|
51
|
-
height: 100%;
|
52
|
-
position: relative;
|
53
|
-
transform-origin: top center;
|
54
|
-
width: 400%;
|
55
|
-
will-change: transform;
|
56
|
-
.load-bar:first-child & {
|
57
|
-
animation: load-bar-left 3.6s linear infinite forwards;
|
58
|
-
animation-delay: 0.9s;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
|
62
|
-
// animation
|
63
|
-
@keyframes load-bar-left {
|
64
|
-
0% {
|
65
|
-
transform: translate(0, 0);
|
66
|
-
}
|
67
|
-
100% {
|
68
|
-
transform: translate(-100%, 0);
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
@keyframes load-bar-right {
|
73
|
-
0% {
|
74
|
-
transform: translate(-100%, 0);
|
75
|
-
}
|
76
|
-
100% {
|
77
|
-
transform: translate(0, 0);
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
.load-bar-progress {
|
82
|
-
background-color: transparent;
|
83
|
-
float: left;
|
84
|
-
height: 100%;
|
85
|
-
width: 25%;
|
86
|
-
}
|
87
|
-
|
88
|
-
// colour
|
89
|
-
@each $color in $palette-list-class {
|
90
|
-
$i: index($palette-list-class, $color);
|
91
|
-
|
92
|
-
@if $color != "brand-accent" {
|
93
|
-
.load-bar-progress-#{$color} {
|
94
|
-
background-color: nth($palette-list-color, $i);
|
95
|
-
}
|
96
|
-
}
|
97
|
-
}
|
@@ -1,132 +0,0 @@
|
|
1
|
-
.progress {
|
2
|
-
background-color: $brand-color-accent-light;
|
3
|
-
height: ($base / 2);
|
4
|
-
margin-top: $margin-md;
|
5
|
-
margin-bottom: $margin-md;
|
6
|
-
overflow: hidden;
|
7
|
-
position: relative;
|
8
|
-
}
|
9
|
-
|
10
|
-
.progress-bar {
|
11
|
-
background-color: $brand-color-accent;
|
12
|
-
border-radius: 0 1px 1px 0;
|
13
|
-
height: 100%;
|
14
|
-
position: absolute;
|
15
|
-
top: 0;
|
16
|
-
left: 0;
|
17
|
-
transition: width 0.3s $timing;
|
18
|
-
}
|
19
|
-
|
20
|
-
// colour
|
21
|
-
@each $color in $palette-list-class {
|
22
|
-
$i: index($palette-list-class, $color);
|
23
|
-
|
24
|
-
@if $color != "brand-accent" {
|
25
|
-
.progress-#{$color} {
|
26
|
-
background-color: nth($palette-list-light, $i);
|
27
|
-
.progress-bar {
|
28
|
-
background-color: nth($palette-list-color, $i);
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
.progress-bar-indeterminate {
|
35
|
-
background-color: $brand-color-accent;
|
36
|
-
&:after,
|
37
|
-
&:before {
|
38
|
-
animation-duration: 2.1s;
|
39
|
-
animation-iteration-count: infinite;
|
40
|
-
animation-timing-function: linear;
|
41
|
-
background-color: inherit;
|
42
|
-
border-radius: 1px;
|
43
|
-
content: '';
|
44
|
-
display: block;
|
45
|
-
position: absolute;
|
46
|
-
top: 0;
|
47
|
-
bottom: 0;
|
48
|
-
left: 0;
|
49
|
-
transition: width 0.3s $timing;
|
50
|
-
will-change: left, width;
|
51
|
-
}
|
52
|
-
&:after {
|
53
|
-
animation-name: pbar-indeterminate-one;
|
54
|
-
// position
|
55
|
-
left: 0;
|
56
|
-
}
|
57
|
-
&:before {
|
58
|
-
animation-name: pbar-indeterminate-two;
|
59
|
-
// position
|
60
|
-
right: 0;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
|
-
// animation
|
65
|
-
@keyframes pbar-indeterminate-one {
|
66
|
-
0% {
|
67
|
-
// position
|
68
|
-
left: 0%;
|
69
|
-
width: 0%;
|
70
|
-
}
|
71
|
-
50% {
|
72
|
-
// position
|
73
|
-
left: 25%;
|
74
|
-
width: 75%;
|
75
|
-
}
|
76
|
-
75% {
|
77
|
-
// position
|
78
|
-
left: 100%;
|
79
|
-
width: 0%;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
@keyframes pbar-indeterminate-two {
|
84
|
-
0%,
|
85
|
-
50% {
|
86
|
-
// position
|
87
|
-
left: 0%;
|
88
|
-
width: 0%;
|
89
|
-
}
|
90
|
-
75% {
|
91
|
-
// position
|
92
|
-
left: 0%;
|
93
|
-
width: 25%;
|
94
|
-
}
|
95
|
-
100% {
|
96
|
-
// position
|
97
|
-
left: 100%;
|
98
|
-
width: 0%;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
.progress-position-absolute-bottom,
|
103
|
-
.progress-position-absolute-top,
|
104
|
-
.progress-position-fixed-bottom,
|
105
|
-
.progress-position-fixed-top {
|
106
|
-
margin: 0;
|
107
|
-
// position
|
108
|
-
left: 0;
|
109
|
-
width: 100%;
|
110
|
-
}
|
111
|
-
|
112
|
-
.progress-position-absolute-bottom,
|
113
|
-
.progress-position-absolute-top {
|
114
|
-
position: absolute;
|
115
|
-
}
|
116
|
-
|
117
|
-
.progress-position-absolute-bottom,
|
118
|
-
.progress-position-fixed-bottom {
|
119
|
-
// position
|
120
|
-
bottom: 0;
|
121
|
-
}
|
122
|
-
|
123
|
-
.progress-position-absolute-top,
|
124
|
-
.progress-position-fixed-top {
|
125
|
-
// position
|
126
|
-
top: 0;
|
127
|
-
}
|
128
|
-
|
129
|
-
.progress-position-fixed-top,
|
130
|
-
.progress-position-fixed-bottom {
|
131
|
-
position: fixed;
|
132
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
.snackbar {
|
2
|
-
position: fixed;
|
3
|
-
right: 0;
|
4
|
-
bottom: 0;
|
5
|
-
left: 0;
|
6
|
-
z-index: ($top-base + 1);
|
7
|
-
a {
|
8
|
-
cursor: pointer;
|
9
|
-
&:focus,
|
10
|
-
&:hover {
|
11
|
-
text-decoration: none;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
// 768
|
15
|
-
@include responsive(sm) {
|
16
|
-
padding-right: $grid-gutter;
|
17
|
-
padding-left: $grid-gutter;
|
18
|
-
// position
|
19
|
-
bottom: $margin-md;
|
20
|
-
.fbtn-container ~ & {
|
21
|
-
// position
|
22
|
-
right: ($base * 2 + $fbtn-height + $grid-gutter);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
.snackbar-inner {
|
28
|
-
backface-visibility: hidden;
|
29
|
-
background-color: $black-text;
|
30
|
-
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
|
31
|
-
color: $white-text-solid;
|
32
|
-
display: flex;
|
33
|
-
max-width: 100%;
|
34
|
-
padding: $margin-sm $grid-gutter;
|
35
|
-
transform: translate(0, 200%);
|
36
|
-
transition: transform 0.3s $timing;
|
37
|
-
@include clearfix();
|
38
|
-
&.in {
|
39
|
-
transform: translate(0, 0);
|
40
|
-
}
|
41
|
-
// 768
|
42
|
-
@include responsive(sm) {
|
43
|
-
border-radius: 2px;
|
44
|
-
float: left;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
.snackbar-text {
|
49
|
-
min-width: 0;
|
50
|
-
}
|
51
|
-
|
52
|
-
[data-dismiss="snackbar"] {
|
53
|
-
cursor: pointer;
|
54
|
-
font-weight: $font-weight-medium;
|
55
|
-
margin-left: $grid-gutter;
|
56
|
-
order: 1;
|
57
|
-
text-transform: uppercase;
|
58
|
-
white-space: nowrap;
|
59
|
-
}
|
@@ -1,201 +0,0 @@
|
|
1
|
-
.stepper {
|
2
|
-
display: flex;
|
3
|
-
flex-shrink: 0;
|
4
|
-
overflow: hidden;
|
5
|
-
padding: $margin-md ($grid-gutter * 1.5);
|
6
|
-
position: relative;
|
7
|
-
&:focus,
|
8
|
-
&:hover {
|
9
|
-
text-decoration: none;
|
10
|
-
}
|
11
|
-
.stepper-horiz & {
|
12
|
-
align-items: center;
|
13
|
-
background-color: $white;
|
14
|
-
&:after,
|
15
|
-
&:before {
|
16
|
-
border-top: 1px solid $black-divider-solid;
|
17
|
-
content: "";
|
18
|
-
display: block;
|
19
|
-
position: absolute;
|
20
|
-
top: 50%;
|
21
|
-
width: $grid-gutter;
|
22
|
-
}
|
23
|
-
&:after {
|
24
|
-
// position
|
25
|
-
right: 0;
|
26
|
-
}
|
27
|
-
&:before {
|
28
|
-
// position
|
29
|
-
left: 0;
|
30
|
-
}
|
31
|
-
&:first-child:before,
|
32
|
-
&:last-child:after {
|
33
|
-
display: none;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
.stepper-horiz-alt & {
|
37
|
-
flex-direction: column;
|
38
|
-
flex-grow: 1;
|
39
|
-
&:after,
|
40
|
-
&:before {
|
41
|
-
// position
|
42
|
-
top: ($line-height / 2 + $margin-md);
|
43
|
-
width: calc(50% - #{$grid-gutter / 2 + $line-height / 2});
|
44
|
-
}
|
45
|
-
}
|
46
|
-
.stepper-vert & {
|
47
|
-
&:after,
|
48
|
-
&:before {
|
49
|
-
border-left: 1px solid $black-divider-solid;
|
50
|
-
content: "";
|
51
|
-
display: block;
|
52
|
-
position: absolute;
|
53
|
-
left: ($grid-gutter * 1.5 + $line-height / 2);
|
54
|
-
}
|
55
|
-
&:after {
|
56
|
-
// position
|
57
|
-
top: ($grid-gutter / 2 + $line-height + $margin-md);
|
58
|
-
bottom: 0;
|
59
|
-
}
|
60
|
-
&:before {
|
61
|
-
height: ($margin-md - $grid-gutter / 2);
|
62
|
-
// position
|
63
|
-
top: 0;
|
64
|
-
}
|
65
|
-
&:first-child:before,
|
66
|
-
&:last-child:after {
|
67
|
-
display: none;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
.stepper-control {
|
73
|
-
cursor: pointer;
|
74
|
-
&:focus,
|
75
|
-
&:hover {
|
76
|
-
background-color: $offwhite-solid;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
.stepper-horiz {
|
81
|
-
background-color: $white;
|
82
|
-
flex-grow: 1;
|
83
|
-
overflow-x: auto;
|
84
|
-
overflow-y: hidden;
|
85
|
-
position: relative;
|
86
|
-
-webkit-overflow-scrolling: touch;
|
87
|
-
-ms-overflow-style: -ms-autohiding-scrollbar;
|
88
|
-
&:before {
|
89
|
-
border-top: 1px solid $black-divider-solid;
|
90
|
-
content: "";
|
91
|
-
display: block;
|
92
|
-
position: absolute;
|
93
|
-
top: 50%;
|
94
|
-
right: ($grid-gutter * 1.5);
|
95
|
-
left: ($grid-gutter * 1.5);
|
96
|
-
}
|
97
|
-
}
|
98
|
-
|
99
|
-
.stepper-horiz-content {
|
100
|
-
flex-grow: 1;
|
101
|
-
padding-right: ($grid-gutter * 1.5);
|
102
|
-
padding-left: ($grid-gutter * 1.5);
|
103
|
-
position: relative;
|
104
|
-
}
|
105
|
-
|
106
|
-
.stepper-horiz-inner {
|
107
|
-
display: flex;
|
108
|
-
justify-content: space-between;
|
109
|
-
}
|
110
|
-
|
111
|
-
.stepper-step {
|
112
|
-
font-size: $font-size-h6;
|
113
|
-
font-weight: $font-weight-light;
|
114
|
-
height: $line-height;
|
115
|
-
line-height: $line-height;
|
116
|
-
position: relative;
|
117
|
-
text-align: center;
|
118
|
-
width: $line-height;
|
119
|
-
&:before {
|
120
|
-
background-color: $black-hint-solid;
|
121
|
-
border-radius: 50%;
|
122
|
-
content: "";
|
123
|
-
display: block;
|
124
|
-
height: 100%;
|
125
|
-
position: absolute;
|
126
|
-
top: 0;
|
127
|
-
left: 0;
|
128
|
-
width: 100%;
|
129
|
-
.stepper.active &,
|
130
|
-
.stepper.done & {
|
131
|
-
background-color: $brand-color;
|
132
|
-
}
|
133
|
-
}
|
134
|
-
}
|
135
|
-
|
136
|
-
.stepper-step-icon {
|
137
|
-
color: $white-text-solid;
|
138
|
-
display: none;
|
139
|
-
position: relative;
|
140
|
-
.stepper.done & {
|
141
|
-
display: inline-block;
|
142
|
-
}
|
143
|
-
}
|
144
|
-
|
145
|
-
.stepper-step-num {
|
146
|
-
color: $white-text-solid;
|
147
|
-
display: inline-block;
|
148
|
-
position: relative;
|
149
|
-
.stepper.active & {
|
150
|
-
color: $brand-text;
|
151
|
-
}
|
152
|
-
.stepper.done & {
|
153
|
-
display: none;
|
154
|
-
}
|
155
|
-
}
|
156
|
-
|
157
|
-
.stepper-text {
|
158
|
-
color: $black-text-solid;
|
159
|
-
font-size: $font-size;
|
160
|
-
font-weight: $font-weight-normal;
|
161
|
-
line-height: 1;
|
162
|
-
margin-left: ($grid-gutter / 2);
|
163
|
-
position: relative;
|
164
|
-
.stepper-horiz-alt & {
|
165
|
-
margin-top: $margin-sm;
|
166
|
-
margin-left: 0;
|
167
|
-
}
|
168
|
-
.stepper.active & {
|
169
|
-
font-weight: $font-weight-medium;
|
170
|
-
}
|
171
|
-
.stepper-control:focus &,
|
172
|
-
.stepper-control:hover & {
|
173
|
-
background-color: $offwhite-solid;
|
174
|
-
}
|
175
|
-
.stepper-vert & {
|
176
|
-
padding-top: (($line-height - $font-size) / 2);
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
.stepper-text-sub {
|
181
|
-
font-weight: $font-weight-normal;
|
182
|
-
}
|
183
|
-
|
184
|
-
.stepper-vert {
|
185
|
-
background-color: $white;
|
186
|
-
flex-grow: 1;
|
187
|
-
position: relative;
|
188
|
-
}
|
189
|
-
|
190
|
-
.stepper-vert-content {
|
191
|
-
border-left: 1px solid $black-divider-solid;
|
192
|
-
flex-grow: 1;
|
193
|
-
margin-left: ($grid-gutter * 1.5 + $line-height / 2);
|
194
|
-
padding-right: ($grid-gutter * 1.5);
|
195
|
-
padding-left: ($grid-gutter / 2 + $line-height / 2);
|
196
|
-
position: relative;
|
197
|
-
@include clearfix();
|
198
|
-
> :first-child {
|
199
|
-
margin-top: 0;
|
200
|
-
}
|
201
|
-
}
|