@materializecss/materialize 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Gruntfile.js +722 -712
- package/LICENSE +21 -21
- package/README.md +91 -91
- package/dist/css/materialize.css +68 -135
- package/dist/css/materialize.min.css +12 -12
- package/dist/js/materialize.js +1112 -1112
- package/dist/js/materialize.min.js +6 -6
- package/extras/noUiSlider/nouislider.css +403 -403
- package/extras/noUiSlider/nouislider.js +2147 -2147
- package/js/anime.min.js +34 -34
- package/js/autocomplete.js +479 -479
- package/js/buttons.js +354 -354
- package/js/cards.js +40 -40
- package/js/carousel.js +732 -732
- package/js/cash.js +960 -960
- package/js/characterCounter.js +136 -136
- package/js/chips.js +486 -486
- package/js/collapsible.js +275 -275
- package/js/component.js +44 -44
- package/js/datepicker.js +983 -983
- package/js/dropdown.js +669 -669
- package/js/forms.js +285 -285
- package/js/global.js +428 -428
- package/js/materialbox.js +453 -453
- package/js/modal.js +382 -382
- package/js/parallax.js +138 -138
- package/js/pushpin.js +148 -148
- package/js/range.js +263 -263
- package/js/scrollspy.js +295 -295
- package/js/select.js +391 -391
- package/js/sidenav.js +583 -583
- package/js/slider.js +359 -359
- package/js/tabs.js +402 -402
- package/js/tapTarget.js +315 -315
- package/js/timepicker.js +712 -712
- package/js/toasts.js +325 -325
- package/js/tooltip.js +320 -320
- package/js/waves.js +614 -614
- package/package.json +87 -84
- package/sass/_style.scss +929 -929
- package/sass/components/_badges.scss +55 -55
- package/sass/components/_buttons.scss +322 -322
- package/sass/components/_cards.scss +195 -195
- package/sass/components/_carousel.scss +90 -90
- package/sass/components/_chips.scss +96 -96
- package/sass/components/_collapsible.scss +91 -91
- package/sass/components/_collection.scss +106 -106
- package/sass/components/_color-classes.scss +32 -32
- package/sass/components/_color-variables.scss +370 -370
- package/sass/components/_datepicker.scss +191 -191
- package/sass/components/_dropdown.scss +84 -84
- package/sass/components/_global.scss +646 -646
- package/sass/components/_grid.scss +158 -158
- package/sass/components/_icons-material-design.scss +5 -5
- package/sass/components/_materialbox.scss +42 -42
- package/sass/components/_modal.scss +97 -97
- package/sass/components/_navbar.scss +208 -208
- package/sass/components/_normalize.scss +447 -447
- package/sass/components/_preloader.scss +334 -334
- package/sass/components/_pulse.scss +34 -34
- package/sass/components/_sidenav.scss +214 -214
- package/sass/components/_slider.scss +91 -91
- package/sass/components/_table_of_contents.scss +33 -33
- package/sass/components/_tabs.scss +99 -99
- package/sass/components/_tapTarget.scss +103 -103
- package/sass/components/_timepicker.scss +199 -199
- package/sass/components/_toast.scss +58 -58
- package/sass/components/_tooltip.scss +32 -32
- package/sass/components/_transitions.scss +12 -12
- package/sass/components/_typography.scss +62 -62
- package/sass/components/_variables.scss +352 -352
- package/sass/components/_waves.scss +187 -187
- package/sass/components/forms/_checkboxes.scss +200 -200
- package/sass/components/forms/_file-input.scss +44 -44
- package/sass/components/forms/_forms.scss +22 -22
- package/sass/components/forms/_input-fields.scss +388 -388
- package/sass/components/forms/_radio-buttons.scss +115 -115
- package/sass/components/forms/_range.scss +161 -161
- package/sass/components/forms/_select.scss +199 -199
- package/sass/components/forms/_switches.scss +91 -91
- package/sass/ghpages-materialize.scss +7 -7
- package/sass/materialize.scss +42 -42
|
@@ -1,195 +1,195 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
.card-panel {
|
|
4
|
-
transition: box-shadow .25s;
|
|
5
|
-
padding: $card-padding;
|
|
6
|
-
margin: $element-top-margin 0 $element-bottom-margin 0;
|
|
7
|
-
border-radius: 2px;
|
|
8
|
-
@extend .z-depth-1;
|
|
9
|
-
background-color: $card-bg-color;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.card {
|
|
13
|
-
position: relative;
|
|
14
|
-
margin: $element-top-margin 0 $element-bottom-margin 0;
|
|
15
|
-
background-color: $card-bg-color;
|
|
16
|
-
transition: box-shadow .25s;
|
|
17
|
-
border-radius: 2px;
|
|
18
|
-
@extend .z-depth-1;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
.card-title {
|
|
22
|
-
font-size: 24px;
|
|
23
|
-
font-weight: 300;
|
|
24
|
-
&.activator {
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Card Sizes
|
|
30
|
-
&.small, &.medium, &.large {
|
|
31
|
-
position: relative;
|
|
32
|
-
|
|
33
|
-
.card-image {
|
|
34
|
-
max-height: 60%;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
}
|
|
37
|
-
.card-image + .card-content {
|
|
38
|
-
max-height: 40%;
|
|
39
|
-
}
|
|
40
|
-
.card-content {
|
|
41
|
-
max-height: 100%;
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
}
|
|
44
|
-
.card-action {
|
|
45
|
-
position: absolute;
|
|
46
|
-
bottom: 0;
|
|
47
|
-
left: 0;
|
|
48
|
-
right: 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&.small {
|
|
53
|
-
height: 300px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&.medium {
|
|
57
|
-
height: 400px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.large {
|
|
61
|
-
height: 500px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// Horizontal Cards
|
|
65
|
-
&.horizontal {
|
|
66
|
-
&.small, &.medium, &.large {
|
|
67
|
-
.card-image {
|
|
68
|
-
height: 100%;
|
|
69
|
-
max-height: none;
|
|
70
|
-
overflow: visible;
|
|
71
|
-
|
|
72
|
-
img {
|
|
73
|
-
height: 100%;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
display: flex;
|
|
79
|
-
|
|
80
|
-
.card-image {
|
|
81
|
-
max-width: 50%;
|
|
82
|
-
img {
|
|
83
|
-
border-radius: 2px 0 0 2px;
|
|
84
|
-
max-width: 100%;
|
|
85
|
-
width: auto;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.card-stacked {
|
|
90
|
-
display: flex;
|
|
91
|
-
flex-direction: column;
|
|
92
|
-
flex: 1;
|
|
93
|
-
position: relative;
|
|
94
|
-
|
|
95
|
-
.card-content {
|
|
96
|
-
flex-grow: 1;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Sticky Action Section
|
|
102
|
-
&.sticky-action {
|
|
103
|
-
.card-action {
|
|
104
|
-
z-index: 2;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.card-reveal {
|
|
108
|
-
z-index: 1;
|
|
109
|
-
padding-bottom: 64px;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
.card-image {
|
|
117
|
-
position: relative;
|
|
118
|
-
|
|
119
|
-
// Image background for content
|
|
120
|
-
img {
|
|
121
|
-
display: block;
|
|
122
|
-
border-radius: 2px 2px 0 0;
|
|
123
|
-
position: relative;
|
|
124
|
-
left: 0;
|
|
125
|
-
right: 0;
|
|
126
|
-
top: 0;
|
|
127
|
-
bottom: 0;
|
|
128
|
-
width: 100%;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.card-title {
|
|
132
|
-
color: $card-bg-color;
|
|
133
|
-
position: absolute;
|
|
134
|
-
bottom: 0;
|
|
135
|
-
left: 0;
|
|
136
|
-
max-width: 100%;
|
|
137
|
-
padding: $card-padding;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.card-content {
|
|
142
|
-
padding: $card-padding;
|
|
143
|
-
border-radius: 0 0 2px 2px;
|
|
144
|
-
|
|
145
|
-
p {
|
|
146
|
-
margin: 0;
|
|
147
|
-
}
|
|
148
|
-
.card-title {
|
|
149
|
-
display: block;
|
|
150
|
-
line-height: 32px;
|
|
151
|
-
margin-bottom: 8px;
|
|
152
|
-
|
|
153
|
-
i {
|
|
154
|
-
line-height: 32px;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.card-action {
|
|
160
|
-
&:last-child {
|
|
161
|
-
border-radius: 0 0 2px 2px;
|
|
162
|
-
}
|
|
163
|
-
background-color: inherit; // Use inherit to inherit color classes
|
|
164
|
-
border-top: 1px solid rgba(160,160,160,.2);
|
|
165
|
-
position: relative;
|
|
166
|
-
padding: 16px $card-padding;
|
|
167
|
-
|
|
168
|
-
a:not(.btn):not(.btn-large):not(.btn-floating) {
|
|
169
|
-
color: $card-link-color;
|
|
170
|
-
margin-right: $card-padding;
|
|
171
|
-
transition: color .3s ease;
|
|
172
|
-
text-transform: uppercase;
|
|
173
|
-
|
|
174
|
-
&:hover { color: $card-link-color-light; }
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.card-reveal {
|
|
179
|
-
padding: $card-padding;
|
|
180
|
-
position: absolute;
|
|
181
|
-
background-color: $card-bg-color;
|
|
182
|
-
width: 100%;
|
|
183
|
-
overflow-y: auto;
|
|
184
|
-
left: 0;
|
|
185
|
-
top: 100%;
|
|
186
|
-
height: 100%;
|
|
187
|
-
z-index: 3;
|
|
188
|
-
display: none;
|
|
189
|
-
|
|
190
|
-
.card-title {
|
|
191
|
-
cursor: pointer;
|
|
192
|
-
display: block;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
.card-panel {
|
|
4
|
+
transition: box-shadow .25s;
|
|
5
|
+
padding: $card-padding;
|
|
6
|
+
margin: $element-top-margin 0 $element-bottom-margin 0;
|
|
7
|
+
border-radius: 2px;
|
|
8
|
+
@extend .z-depth-1;
|
|
9
|
+
background-color: $card-bg-color;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.card {
|
|
13
|
+
position: relative;
|
|
14
|
+
margin: $element-top-margin 0 $element-bottom-margin 0;
|
|
15
|
+
background-color: $card-bg-color;
|
|
16
|
+
transition: box-shadow .25s;
|
|
17
|
+
border-radius: 2px;
|
|
18
|
+
@extend .z-depth-1;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
.card-title {
|
|
22
|
+
font-size: 24px;
|
|
23
|
+
font-weight: 300;
|
|
24
|
+
&.activator {
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Card Sizes
|
|
30
|
+
&.small, &.medium, &.large {
|
|
31
|
+
position: relative;
|
|
32
|
+
|
|
33
|
+
.card-image {
|
|
34
|
+
max-height: 60%;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
}
|
|
37
|
+
.card-image + .card-content {
|
|
38
|
+
max-height: 40%;
|
|
39
|
+
}
|
|
40
|
+
.card-content {
|
|
41
|
+
max-height: 100%;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
}
|
|
44
|
+
.card-action {
|
|
45
|
+
position: absolute;
|
|
46
|
+
bottom: 0;
|
|
47
|
+
left: 0;
|
|
48
|
+
right: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.small {
|
|
53
|
+
height: 300px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.medium {
|
|
57
|
+
height: 400px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.large {
|
|
61
|
+
height: 500px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Horizontal Cards
|
|
65
|
+
&.horizontal {
|
|
66
|
+
&.small, &.medium, &.large {
|
|
67
|
+
.card-image {
|
|
68
|
+
height: 100%;
|
|
69
|
+
max-height: none;
|
|
70
|
+
overflow: visible;
|
|
71
|
+
|
|
72
|
+
img {
|
|
73
|
+
height: 100%;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
display: flex;
|
|
79
|
+
|
|
80
|
+
.card-image {
|
|
81
|
+
max-width: 50%;
|
|
82
|
+
img {
|
|
83
|
+
border-radius: 2px 0 0 2px;
|
|
84
|
+
max-width: 100%;
|
|
85
|
+
width: auto;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.card-stacked {
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
flex: 1;
|
|
93
|
+
position: relative;
|
|
94
|
+
|
|
95
|
+
.card-content {
|
|
96
|
+
flex-grow: 1;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// Sticky Action Section
|
|
102
|
+
&.sticky-action {
|
|
103
|
+
.card-action {
|
|
104
|
+
z-index: 2;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.card-reveal {
|
|
108
|
+
z-index: 1;
|
|
109
|
+
padding-bottom: 64px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
.card-image {
|
|
117
|
+
position: relative;
|
|
118
|
+
|
|
119
|
+
// Image background for content
|
|
120
|
+
img {
|
|
121
|
+
display: block;
|
|
122
|
+
border-radius: 2px 2px 0 0;
|
|
123
|
+
position: relative;
|
|
124
|
+
left: 0;
|
|
125
|
+
right: 0;
|
|
126
|
+
top: 0;
|
|
127
|
+
bottom: 0;
|
|
128
|
+
width: 100%;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.card-title {
|
|
132
|
+
color: $card-bg-color;
|
|
133
|
+
position: absolute;
|
|
134
|
+
bottom: 0;
|
|
135
|
+
left: 0;
|
|
136
|
+
max-width: 100%;
|
|
137
|
+
padding: $card-padding;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.card-content {
|
|
142
|
+
padding: $card-padding;
|
|
143
|
+
border-radius: 0 0 2px 2px;
|
|
144
|
+
|
|
145
|
+
p {
|
|
146
|
+
margin: 0;
|
|
147
|
+
}
|
|
148
|
+
.card-title {
|
|
149
|
+
display: block;
|
|
150
|
+
line-height: 32px;
|
|
151
|
+
margin-bottom: 8px;
|
|
152
|
+
|
|
153
|
+
i {
|
|
154
|
+
line-height: 32px;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.card-action {
|
|
160
|
+
&:last-child {
|
|
161
|
+
border-radius: 0 0 2px 2px;
|
|
162
|
+
}
|
|
163
|
+
background-color: inherit; // Use inherit to inherit color classes
|
|
164
|
+
border-top: 1px solid rgba(160,160,160,.2);
|
|
165
|
+
position: relative;
|
|
166
|
+
padding: 16px $card-padding;
|
|
167
|
+
|
|
168
|
+
a:not(.btn):not(.btn-large):not(.btn-floating) {
|
|
169
|
+
color: $card-link-color;
|
|
170
|
+
margin-right: $card-padding;
|
|
171
|
+
transition: color .3s ease;
|
|
172
|
+
text-transform: uppercase;
|
|
173
|
+
|
|
174
|
+
&:hover { color: $card-link-color-light; }
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.card-reveal {
|
|
179
|
+
padding: $card-padding;
|
|
180
|
+
position: absolute;
|
|
181
|
+
background-color: $card-bg-color;
|
|
182
|
+
width: 100%;
|
|
183
|
+
overflow-y: auto;
|
|
184
|
+
left: 0;
|
|
185
|
+
top: 100%;
|
|
186
|
+
height: 100%;
|
|
187
|
+
z-index: 3;
|
|
188
|
+
display: none;
|
|
189
|
+
|
|
190
|
+
.card-title {
|
|
191
|
+
cursor: pointer;
|
|
192
|
+
display: block;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
.carousel {
|
|
2
|
-
&.carousel-slider {
|
|
3
|
-
top: 0;
|
|
4
|
-
left: 0;
|
|
5
|
-
|
|
6
|
-
.carousel-fixed-item {
|
|
7
|
-
&.with-indicators {
|
|
8
|
-
bottom: 68px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
position: absolute;
|
|
12
|
-
left: 0;
|
|
13
|
-
right: 0;
|
|
14
|
-
bottom: 20px;
|
|
15
|
-
z-index: 1;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.carousel-item {
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
min-height: $carousel-height;
|
|
22
|
-
position: absolute;
|
|
23
|
-
top: 0;
|
|
24
|
-
left: 0;
|
|
25
|
-
|
|
26
|
-
h2 {
|
|
27
|
-
font-size: 24px;
|
|
28
|
-
font-weight: 500;
|
|
29
|
-
line-height: 32px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
p {
|
|
33
|
-
font-size: 15px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
overflow: hidden;
|
|
39
|
-
position: relative;
|
|
40
|
-
width: 100%;
|
|
41
|
-
height: $carousel-height;
|
|
42
|
-
perspective: 500px;
|
|
43
|
-
transform-style: preserve-3d;
|
|
44
|
-
transform-origin: 0% 50%;
|
|
45
|
-
|
|
46
|
-
.carousel-item {
|
|
47
|
-
visibility: hidden;
|
|
48
|
-
width: $carousel-item-width;
|
|
49
|
-
height: $carousel-item-height;
|
|
50
|
-
position: absolute;
|
|
51
|
-
top: 0;
|
|
52
|
-
left: 0;
|
|
53
|
-
|
|
54
|
-
& > img {
|
|
55
|
-
width: 100%;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.indicators {
|
|
60
|
-
position: absolute;
|
|
61
|
-
text-align: center;
|
|
62
|
-
left: 0;
|
|
63
|
-
right: 0;
|
|
64
|
-
bottom: 0;
|
|
65
|
-
margin: 0;
|
|
66
|
-
|
|
67
|
-
.indicator-item {
|
|
68
|
-
&.active {
|
|
69
|
-
background-color: #fff;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
display: inline-block;
|
|
73
|
-
position: relative;
|
|
74
|
-
cursor: pointer;
|
|
75
|
-
height: 8px;
|
|
76
|
-
width: 8px;
|
|
77
|
-
margin: 24px 4px;
|
|
78
|
-
background-color: rgba(255,255,255,.5);
|
|
79
|
-
|
|
80
|
-
transition: background-color .3s;
|
|
81
|
-
border-radius: 50%;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// Materialbox compatibility
|
|
86
|
-
&.scrolling .carousel-item .materialboxed,
|
|
87
|
-
.carousel-item:not(.active) .materialboxed {
|
|
88
|
-
pointer-events: none;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
1
|
+
.carousel {
|
|
2
|
+
&.carousel-slider {
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
|
|
6
|
+
.carousel-fixed-item {
|
|
7
|
+
&.with-indicators {
|
|
8
|
+
bottom: 68px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
position: absolute;
|
|
12
|
+
left: 0;
|
|
13
|
+
right: 0;
|
|
14
|
+
bottom: 20px;
|
|
15
|
+
z-index: 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.carousel-item {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
min-height: $carousel-height;
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 0;
|
|
24
|
+
left: 0;
|
|
25
|
+
|
|
26
|
+
h2 {
|
|
27
|
+
font-size: 24px;
|
|
28
|
+
font-weight: 500;
|
|
29
|
+
line-height: 32px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
p {
|
|
33
|
+
font-size: 15px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
position: relative;
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: $carousel-height;
|
|
42
|
+
perspective: 500px;
|
|
43
|
+
transform-style: preserve-3d;
|
|
44
|
+
transform-origin: 0% 50%;
|
|
45
|
+
|
|
46
|
+
.carousel-item {
|
|
47
|
+
visibility: hidden;
|
|
48
|
+
width: $carousel-item-width;
|
|
49
|
+
height: $carousel-item-height;
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 0;
|
|
52
|
+
left: 0;
|
|
53
|
+
|
|
54
|
+
& > img {
|
|
55
|
+
width: 100%;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.indicators {
|
|
60
|
+
position: absolute;
|
|
61
|
+
text-align: center;
|
|
62
|
+
left: 0;
|
|
63
|
+
right: 0;
|
|
64
|
+
bottom: 0;
|
|
65
|
+
margin: 0;
|
|
66
|
+
|
|
67
|
+
.indicator-item {
|
|
68
|
+
&.active {
|
|
69
|
+
background-color: #fff;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
display: inline-block;
|
|
73
|
+
position: relative;
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
height: 8px;
|
|
76
|
+
width: 8px;
|
|
77
|
+
margin: 24px 4px;
|
|
78
|
+
background-color: rgba(255,255,255,.5);
|
|
79
|
+
|
|
80
|
+
transition: background-color .3s;
|
|
81
|
+
border-radius: 50%;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Materialbox compatibility
|
|
86
|
+
&.scrolling .carousel-item .materialboxed,
|
|
87
|
+
.carousel-item:not(.active) .materialboxed {
|
|
88
|
+
pointer-events: none;
|
|
89
|
+
}
|
|
90
|
+
}
|