materialize-rails 0.97.5.custom1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +22 -0
- data/README.md +63 -0
- data/Rakefile +1 -0
- data/lib/materialize-rails.rb +25 -0
- data/lib/materialize-rails/engine.rb +14 -0
- data/lib/materialize-rails/version.rb +3 -0
- data/materialize-rails.gemspec +25 -0
- data/vendor/assets/fonts/materialize/material-design-icons/LICENSE.txt +428 -0
- data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.eot +0 -0
- data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.svg +769 -0
- data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.ttf +0 -0
- data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.woff +0 -0
- data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.woff2 +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Bold.eot +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Bold.ttf +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Bold.woff +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Bold.woff2 +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Light.eot +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Light.ttf +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Light.woff +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Light.woff2 +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Medium.eot +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Medium.ttf +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Medium.woff +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Medium.woff2 +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Regular.eot +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Regular.ttf +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Regular.woff +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Regular.woff2 +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Thin.eot +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Thin.ttf +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Thin.woff +0 -0
- data/vendor/assets/fonts/materialize/roboto/Roboto-Thin.woff2 +0 -0
- data/vendor/assets/javascripts/materialize.js +30 -0
- data/vendor/assets/javascripts/materialize/animation.js +9 -0
- data/vendor/assets/javascripts/materialize/buttons.js +91 -0
- data/vendor/assets/javascripts/materialize/cards.js +29 -0
- data/vendor/assets/javascripts/materialize/carousel.js +350 -0
- data/vendor/assets/javascripts/materialize/character_counter.js +59 -0
- data/vendor/assets/javascripts/materialize/chips.js +9 -0
- data/vendor/assets/javascripts/materialize/collapsible.js +137 -0
- data/vendor/assets/javascripts/materialize/date_picker/picker.date.js +1430 -0
- data/vendor/assets/javascripts/materialize/date_picker/picker.js +1123 -0
- data/vendor/assets/javascripts/materialize/dropdown.js +228 -0
- data/vendor/assets/javascripts/materialize/forms.js +581 -0
- data/vendor/assets/javascripts/materialize/global.js +45 -0
- data/vendor/assets/javascripts/materialize/hammer.min.js +1 -0
- data/vendor/assets/javascripts/materialize/initial.js +11 -0
- data/vendor/assets/javascripts/materialize/jquery.easing.1.3.js +205 -0
- data/vendor/assets/javascripts/materialize/jquery.hammer.js +33 -0
- data/vendor/assets/javascripts/materialize/leanModal.js +178 -0
- data/vendor/assets/javascripts/materialize/materialbox.js +269 -0
- data/vendor/assets/javascripts/materialize/parallax.js +58 -0
- data/vendor/assets/javascripts/materialize/pushpin.js +62 -0
- data/vendor/assets/javascripts/materialize/scrollFire.js +44 -0
- data/vendor/assets/javascripts/materialize/scrollspy.js +285 -0
- data/vendor/assets/javascripts/materialize/sideNav.js +315 -0
- data/vendor/assets/javascripts/materialize/slider.js +321 -0
- data/vendor/assets/javascripts/materialize/tabs.js +129 -0
- data/vendor/assets/javascripts/materialize/toasts.js +136 -0
- data/vendor/assets/javascripts/materialize/tooltip.js +203 -0
- data/vendor/assets/javascripts/materialize/transitions.js +154 -0
- data/vendor/assets/javascripts/materialize/velocity.min.js +5 -0
- data/vendor/assets/javascripts/materialize/waves.js +338 -0
- data/vendor/assets/stylesheets/components/_buttons.scss +181 -0
- data/vendor/assets/stylesheets/components/_cards.scss +134 -0
- data/vendor/assets/stylesheets/components/_carousel.scss +34 -0
- data/vendor/assets/stylesheets/components/_chips.scss +27 -0
- data/vendor/assets/stylesheets/components/_collapsible.scss +85 -0
- data/vendor/assets/stylesheets/components/_color.scss +412 -0
- data/vendor/assets/stylesheets/components/_dropdown.scss +57 -0
- data/vendor/assets/stylesheets/components/_form.scss +918 -0
- data/vendor/assets/stylesheets/components/_global.scss +766 -0
- data/vendor/assets/stylesheets/components/_grid.scss +146 -0
- data/vendor/assets/stylesheets/components/_icons-material-design.scss +3263 -0
- data/vendor/assets/stylesheets/components/_materialbox.scss +42 -0
- data/vendor/assets/stylesheets/components/_mixins.scss +5 -0
- data/vendor/assets/stylesheets/components/_modal.scss +90 -0
- data/vendor/assets/stylesheets/components/_navbar.scss +171 -0
- data/vendor/assets/stylesheets/components/_normalize.scss +427 -0
- data/vendor/assets/stylesheets/components/_prefixer.scss +384 -0
- data/vendor/assets/stylesheets/components/_preloader.scss +334 -0
- data/vendor/assets/stylesheets/components/_roboto.scss +49 -0
- data/vendor/assets/stylesheets/components/_sideNav.scss +112 -0
- data/vendor/assets/stylesheets/components/_slider.scss +92 -0
- data/vendor/assets/stylesheets/components/_table_of_contents.scss +33 -0
- data/vendor/assets/stylesheets/components/_tabs.scss +56 -0
- data/vendor/assets/stylesheets/components/_toast.scss +65 -0
- data/vendor/assets/stylesheets/components/_tooltip.scss +33 -0
- data/vendor/assets/stylesheets/components/_typography.scss +61 -0
- data/vendor/assets/stylesheets/components/_variables.scss +161 -0
- data/vendor/assets/stylesheets/components/_waves.scss +173 -0
- data/vendor/assets/stylesheets/components/date_picker/_default.date.scss +435 -0
- data/vendor/assets/stylesheets/components/date_picker/_default.scss +201 -0
- data/vendor/assets/stylesheets/components/date_picker/_default.time.scss +125 -0
- data/vendor/assets/stylesheets/materialize.scss +40 -0
- metadata +199 -0
@@ -0,0 +1,49 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: "Roboto";
|
3
|
+
src: local(Roboto Thin), url('#{$roboto-font-path}Roboto-Thin.eot');
|
4
|
+
src: font-url("#{$roboto-font-path}Roboto-Thin.eot?#iefix") format('embedded-opentype'),
|
5
|
+
font-url("#{$roboto-font-path}Roboto-Thin.woff2") format("woff2"),
|
6
|
+
font-url("#{$roboto-font-path}Roboto-Thin.woff") format("woff"),
|
7
|
+
font-url("#{$roboto-font-path}Roboto-Thin.ttf") format("truetype");
|
8
|
+
|
9
|
+
font-weight: 200;
|
10
|
+
}
|
11
|
+
@font-face {
|
12
|
+
font-family: "Roboto";
|
13
|
+
src: local(Roboto Light), url('#{$roboto-font-path}Roboto-Light.eot');
|
14
|
+
src: font-url("#{$roboto-font-path}Roboto-Light.eot?#iefix") format('embedded-opentype'),
|
15
|
+
font-url("#{$roboto-font-path}Roboto-Light.woff2") format("woff2"),
|
16
|
+
font-url("#{$roboto-font-path}Roboto-Light.woff") format("woff"),
|
17
|
+
font-url("#{$roboto-font-path}Roboto-Light.ttf") format("truetype");
|
18
|
+
font-weight: 300;
|
19
|
+
}
|
20
|
+
|
21
|
+
@font-face {
|
22
|
+
font-family: "Roboto";
|
23
|
+
src: local(Roboto Regular), url('#{$roboto-font-path}Roboto-Regular.eot');
|
24
|
+
src: font-url("#{$roboto-font-path}Roboto-Regular.eot?#iefix") format('embedded-opentype'),
|
25
|
+
font-url("#{$roboto-font-path}Roboto-Regular.woff2") format("woff2"),
|
26
|
+
font-url("#{$roboto-font-path}Roboto-Regular.woff") format("woff"),
|
27
|
+
font-url("#{$roboto-font-path}Roboto-Regular.ttf") format("truetype");
|
28
|
+
font-weight: 400;
|
29
|
+
}
|
30
|
+
|
31
|
+
@font-face {
|
32
|
+
font-family: "Roboto";
|
33
|
+
src: url('#{$roboto-font-path}Roboto-Medium.eot');
|
34
|
+
src: font-url("#{$roboto-font-path}Roboto-Medium.eot?#iefix") format('embedded-opentype'),
|
35
|
+
font-url("#{$roboto-font-path}Roboto-Medium.woff2") format("woff2"),
|
36
|
+
font-url("#{$roboto-font-path}Roboto-Medium.woff") format("woff"),
|
37
|
+
font-url("#{$roboto-font-path}Roboto-Medium.ttf") format("truetype");
|
38
|
+
font-weight: 500;
|
39
|
+
}
|
40
|
+
|
41
|
+
@font-face {
|
42
|
+
font-family: "Roboto";
|
43
|
+
src: url('#{$roboto-font-path}Roboto-Bold.eot');
|
44
|
+
src: font-url("#{$roboto-font-path}Roboto-Bold.eot?#iefix") format('embedded-opentype'),
|
45
|
+
font-url("#{$roboto-font-path}Roboto-Bold.woff2") format("woff2"),
|
46
|
+
font-url("#{$roboto-font-path}Roboto-Bold.woff") format("woff"),
|
47
|
+
font-url("#{$roboto-font-path}Roboto-Bold.ttf") format("truetype");
|
48
|
+
font-weight: 700;
|
49
|
+
}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
.side-nav {
|
2
|
+
position: fixed;
|
3
|
+
width: 240px;
|
4
|
+
left: -105%;
|
5
|
+
top: 0;
|
6
|
+
margin: 0;
|
7
|
+
height: 100%;
|
8
|
+
height: calc(100% + 60px);
|
9
|
+
height: -moz-calc(100%); //Temporary Firefox Fix
|
10
|
+
padding-bottom: 60px;
|
11
|
+
background-color: $sidenav-bg-color;
|
12
|
+
z-index: 999;
|
13
|
+
overflow-y: auto;
|
14
|
+
|
15
|
+
@extend .z-depth-1;
|
16
|
+
will-change: left;
|
17
|
+
|
18
|
+
// Right Align
|
19
|
+
&.right-aligned {
|
20
|
+
will-change: right;
|
21
|
+
right: -105%;
|
22
|
+
left: auto;
|
23
|
+
}
|
24
|
+
|
25
|
+
.collapsible{
|
26
|
+
margin: 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
|
30
|
+
li {
|
31
|
+
float: none;
|
32
|
+
padding: 0 $sidenav-padding-right;
|
33
|
+
line-height: $sidenav-item-height;
|
34
|
+
&:hover, &.active { background-color: #ddd; }
|
35
|
+
}
|
36
|
+
a {
|
37
|
+
color: #444;
|
38
|
+
display: block;
|
39
|
+
font-size: 1rem;
|
40
|
+
height: $sidenav-item-height;
|
41
|
+
line-height: $sidenav-item-height;
|
42
|
+
padding: 0 $sidenav-padding-right;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
|
47
|
+
// Touch interaction
|
48
|
+
.drag-target {
|
49
|
+
height: 100%;
|
50
|
+
width: 10px;
|
51
|
+
position: fixed;
|
52
|
+
top: 0;
|
53
|
+
z-index: 998;
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
// Hidden side-nav for all sizes
|
58
|
+
.side-nav.fixed {
|
59
|
+
a {
|
60
|
+
display: block;
|
61
|
+
padding: 0 $sidenav-padding-right;
|
62
|
+
color: #444;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
|
67
|
+
// Fixed side-nav shown
|
68
|
+
.side-nav.fixed {
|
69
|
+
left: 0;
|
70
|
+
position: fixed;
|
71
|
+
|
72
|
+
// Right Align
|
73
|
+
&.right-aligned {
|
74
|
+
right: 0;
|
75
|
+
left: auto;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
// Fixed sideNav hide on smaller
|
80
|
+
@media #{$medium-and-down} {
|
81
|
+
.side-nav.fixed {
|
82
|
+
left: -105%;
|
83
|
+
|
84
|
+
&.right-aligned {
|
85
|
+
right: -105%;
|
86
|
+
left: auto;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
.side-nav .collapsible-body li.active,
|
93
|
+
.side-nav.fixed .collapsible-body li.active {
|
94
|
+
background-color: $primary-color;
|
95
|
+
a {
|
96
|
+
color: $sidenav-bg-color;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
#sidenav-overlay {
|
102
|
+
position: fixed;
|
103
|
+
top: 0;
|
104
|
+
left: 0;
|
105
|
+
right: 0;
|
106
|
+
|
107
|
+
height: 120vh;
|
108
|
+
background-color: rgba(0,0,0,.5);
|
109
|
+
z-index: 997;
|
110
|
+
|
111
|
+
will-change: opacity;
|
112
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
.slider {
|
2
|
+
position: relative;
|
3
|
+
height: 400px;
|
4
|
+
width: 100%;
|
5
|
+
|
6
|
+
// Fullscreen slider
|
7
|
+
&.fullscreen {
|
8
|
+
height: 100%;
|
9
|
+
width: 100%;
|
10
|
+
position: absolute;
|
11
|
+
top: 0;
|
12
|
+
left: 0;
|
13
|
+
right: 0;
|
14
|
+
bottom: 0;
|
15
|
+
|
16
|
+
ul.slides {
|
17
|
+
height: 100%;
|
18
|
+
}
|
19
|
+
|
20
|
+
ul.indicators {
|
21
|
+
z-index: 2;
|
22
|
+
bottom: 30px;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.slides {
|
27
|
+
background-color: $slider-bg-color;
|
28
|
+
margin: 0;
|
29
|
+
height: 400px;
|
30
|
+
|
31
|
+
li {
|
32
|
+
opacity: 0;
|
33
|
+
position: absolute;
|
34
|
+
top: 0;
|
35
|
+
left: 0;
|
36
|
+
z-index: 1;
|
37
|
+
width: 100%;
|
38
|
+
height: inherit;
|
39
|
+
overflow: hidden;
|
40
|
+
|
41
|
+
img {
|
42
|
+
height: 100%;
|
43
|
+
width: 100%;
|
44
|
+
background-size: cover;
|
45
|
+
background-position: center;
|
46
|
+
}
|
47
|
+
|
48
|
+
.caption {
|
49
|
+
color: #fff;
|
50
|
+
position: absolute;
|
51
|
+
top: 15%;
|
52
|
+
left: 15%;
|
53
|
+
width: 70%;
|
54
|
+
opacity: 0;
|
55
|
+
|
56
|
+
p { color: $slider-bg-color-light; }
|
57
|
+
}
|
58
|
+
|
59
|
+
&.active {
|
60
|
+
z-index: 2;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
.indicators {
|
67
|
+
position: absolute;
|
68
|
+
text-align: center;
|
69
|
+
left: 0;
|
70
|
+
right: 0;
|
71
|
+
bottom: 0;
|
72
|
+
margin: 0;
|
73
|
+
|
74
|
+
.indicator-item {
|
75
|
+
display: inline-block;
|
76
|
+
position: relative;
|
77
|
+
cursor: pointer;
|
78
|
+
height: 16px;
|
79
|
+
width: 16px;
|
80
|
+
margin: 0 12px;
|
81
|
+
background-color: $slider-bg-color-light;
|
82
|
+
|
83
|
+
transition: background-color .3s;
|
84
|
+
border-radius: 50%;
|
85
|
+
|
86
|
+
&.active {
|
87
|
+
background-color: $slider-indicator-color;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/***************
|
2
|
+
Nav List
|
3
|
+
***************/
|
4
|
+
.table-of-contents {
|
5
|
+
&.fixed {
|
6
|
+
position: fixed;
|
7
|
+
}
|
8
|
+
|
9
|
+
li {
|
10
|
+
padding: 2px 0;
|
11
|
+
}
|
12
|
+
a {
|
13
|
+
display: inline-block;
|
14
|
+
font-weight: 300;
|
15
|
+
color: #757575;
|
16
|
+
padding-left: 20px;
|
17
|
+
height: 1.5rem;
|
18
|
+
line-height: 1.5rem;
|
19
|
+
letter-spacing: .4;
|
20
|
+
display: inline-block;
|
21
|
+
|
22
|
+
&:hover {
|
23
|
+
color: lighten(#757575, 20%);
|
24
|
+
padding-left: 19px;
|
25
|
+
border-left: 1px solid lighten(color("materialize-red", "base"),10%);
|
26
|
+
}
|
27
|
+
&.active {
|
28
|
+
font-weight: 500;
|
29
|
+
padding-left: 18px;
|
30
|
+
border-left: 2px solid lighten(color("materialize-red", "base"),10%);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
.tabs {
|
2
|
+
display: flex;
|
3
|
+
position: relative;
|
4
|
+
overflow-x: auto;
|
5
|
+
overflow-y: hidden;
|
6
|
+
height: 48px;
|
7
|
+
background-color: $tabs-bg-color;
|
8
|
+
margin: 0 auto;
|
9
|
+
width: 100%;
|
10
|
+
white-space: nowrap;
|
11
|
+
|
12
|
+
.tab {
|
13
|
+
-webkit-box-flex: 1;
|
14
|
+
-webkit-flex-grow: 1;
|
15
|
+
-ms-flex-positive: 1;
|
16
|
+
flex-grow: 1;
|
17
|
+
display: block;
|
18
|
+
float: left;
|
19
|
+
text-align: center;
|
20
|
+
line-height: 48px;
|
21
|
+
height: 48px;
|
22
|
+
padding: 0;
|
23
|
+
margin: 0;
|
24
|
+
text-transform: uppercase;
|
25
|
+
text-overflow: ellipsis;
|
26
|
+
overflow: hidden;
|
27
|
+
letter-spacing: .8px;
|
28
|
+
width: 15%;
|
29
|
+
min-width: 80px;
|
30
|
+
|
31
|
+
a {
|
32
|
+
color: $tabs-text-color;
|
33
|
+
display: block;
|
34
|
+
width: 100%;
|
35
|
+
height: 100%;
|
36
|
+
text-overflow: ellipsis;
|
37
|
+
overflow: hidden;
|
38
|
+
transition: color .28s ease;
|
39
|
+
&:hover {
|
40
|
+
color: lighten($tabs-text-color, 20%);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
&.disabled a {
|
45
|
+
color: lighten($tabs-text-color, 20%);
|
46
|
+
cursor: default;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
.indicator {
|
50
|
+
position: absolute;
|
51
|
+
bottom: 0;
|
52
|
+
height: 2px;
|
53
|
+
background-color: $tabs-underline-color;
|
54
|
+
will-change: left, right;
|
55
|
+
}
|
56
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
#toast-container {
|
2
|
+
display:block;
|
3
|
+
position: fixed;
|
4
|
+
z-index: 10000;
|
5
|
+
|
6
|
+
@media #{$small-and-down} {
|
7
|
+
min-width: 100%;
|
8
|
+
bottom: 0%;
|
9
|
+
}
|
10
|
+
@media #{$medium-only} {
|
11
|
+
left: 5%;
|
12
|
+
bottom: 7%;
|
13
|
+
max-width: 90%;
|
14
|
+
}
|
15
|
+
@media #{$large-and-up} {
|
16
|
+
top: 10%;
|
17
|
+
right: 7%;
|
18
|
+
max-width: 86%;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.toast {
|
23
|
+
@extend .z-depth-1;
|
24
|
+
border-radius: 2px;
|
25
|
+
top: 0;
|
26
|
+
width: auto;
|
27
|
+
clear: both;
|
28
|
+
margin-top: 10px;
|
29
|
+
position: relative;
|
30
|
+
max-width:100%;
|
31
|
+
height: auto;
|
32
|
+
min-height: $toast-height;
|
33
|
+
line-height: 1.5em;
|
34
|
+
word-break: break-all;
|
35
|
+
background-color: $toast-color;
|
36
|
+
padding: 10px 25px;
|
37
|
+
font-size: 1.1rem;
|
38
|
+
font-weight: 300;
|
39
|
+
color: $toast-text-color;
|
40
|
+
|
41
|
+
display: flex;
|
42
|
+
align-items: center;
|
43
|
+
justify-content: space-between;
|
44
|
+
|
45
|
+
.btn, .btn-flat {
|
46
|
+
margin: 0;
|
47
|
+
margin-left: 3rem;
|
48
|
+
}
|
49
|
+
|
50
|
+
&.rounded{
|
51
|
+
border-radius: 24px;
|
52
|
+
}
|
53
|
+
|
54
|
+
@media #{$small-and-down} {
|
55
|
+
width:100%;
|
56
|
+
border-radius: 0;
|
57
|
+
}
|
58
|
+
@media #{$medium-only} {
|
59
|
+
float: left;
|
60
|
+
}
|
61
|
+
@media #{$large-and-up} {
|
62
|
+
float: right;
|
63
|
+
}
|
64
|
+
|
65
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
.material-tooltip {
|
2
|
+
padding: 10px 8px;
|
3
|
+
font-size: 1rem;
|
4
|
+
z-index: 2000;
|
5
|
+
background-color: transparent;
|
6
|
+
border-radius: 2px;
|
7
|
+
color: #fff;
|
8
|
+
min-height: 36px;
|
9
|
+
line-height: 120%;
|
10
|
+
opacity: 0;
|
11
|
+
display: none;
|
12
|
+
position: absolute;
|
13
|
+
text-align: center;
|
14
|
+
max-width: calc(100% - 4px);
|
15
|
+
overflow: hidden;
|
16
|
+
left:0;
|
17
|
+
top:0;
|
18
|
+
will-change: top, left;
|
19
|
+
}
|
20
|
+
|
21
|
+
.backdrop {
|
22
|
+
position: absolute;
|
23
|
+
opacity: 0;
|
24
|
+
display: none;
|
25
|
+
height: 7px;
|
26
|
+
width: 14px;
|
27
|
+
border-radius: 0 0 14px 14px;
|
28
|
+
background-color: #323232;
|
29
|
+
z-index: -1;
|
30
|
+
transform-origin: 50% 10%;
|
31
|
+
|
32
|
+
will-change: transform, opacity;
|
33
|
+
}
|