2020-03-28 05:00:28 +08:00
|
|
|
.snackbar-container {
|
2020-03-31 02:16:08 +08:00
|
|
|
box-shadow: 9px 9px 16px #0a0b0c, -9px -9px 16px #222328;
|
|
|
|
transition: all 0.5s ease;
|
|
|
|
transition-property: top, right, bottom, left, opacity;
|
|
|
|
font-family: "Heebo", sans-serif;
|
|
|
|
font-size: 14px;
|
|
|
|
min-height: 14px;
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
color: #b4b4b4;
|
|
|
|
line-height: 22px;
|
|
|
|
padding: 18px 24px;
|
|
|
|
bottom: -100px;
|
|
|
|
top: -100px;
|
|
|
|
opacity: 0;
|
|
|
|
z-index: 9999;
|
2020-04-04 12:21:03 +08:00
|
|
|
|
|
|
|
background-color: #376df9;
|
|
|
|
background: linear-gradient(100deg, #376df9 0, #ff5fa0 75%, #ffc55a 100%);
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.snackbar-container .action {
|
2020-04-04 12:21:03 +08:00
|
|
|
background: white;
|
|
|
|
padding: 7px;
|
|
|
|
border-radius: 3px;
|
2020-03-31 02:16:08 +08:00
|
|
|
display: inline-block;
|
|
|
|
border: none;
|
|
|
|
font-size: inherit;
|
|
|
|
text-transform: uppercase;
|
2020-04-04 12:21:03 +08:00
|
|
|
color: #000000;
|
2020-03-31 02:16:08 +08:00
|
|
|
margin: 0 0 0 24px;
|
2020-04-04 12:21:03 +08:00
|
|
|
/*padding: 0;*/
|
2020-03-31 02:16:08 +08:00
|
|
|
min-width: min-content;
|
|
|
|
cursor: pointer;
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 640px) {
|
2020-03-31 02:16:08 +08:00
|
|
|
.snackbar-container {
|
|
|
|
min-width: 288px;
|
|
|
|
max-width: 568px;
|
|
|
|
display: inline-flex;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin: 24px;
|
|
|
|
}
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 640px) {
|
2020-03-31 02:16:08 +08:00
|
|
|
.snackbar-container {
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.snackbar-pos.bottom-center {
|
2020-03-31 02:16:08 +08:00
|
|
|
top: auto !important;
|
|
|
|
bottom: 0;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, 0);
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.snackbar-pos.bottom-left {
|
2020-03-31 02:16:08 +08:00
|
|
|
top: auto !important;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.snackbar-pos.bottom-right {
|
2020-03-31 02:16:08 +08:00
|
|
|
top: auto !important;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.snackbar-pos.top-left {
|
2020-03-31 02:16:08 +08:00
|
|
|
bottom: auto !important;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.snackbar-pos.top-center {
|
2020-03-31 02:16:08 +08:00
|
|
|
bottom: auto !important;
|
|
|
|
top: 0;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, 0);
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.snackbar-pos.top-right {
|
2020-03-31 02:16:08 +08:00
|
|
|
bottom: auto !important;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 640px) {
|
2020-03-31 02:16:08 +08:00
|
|
|
.snackbar-pos.bottom-center,
|
|
|
|
.snackbar-pos.top-center {
|
|
|
|
left: 0;
|
|
|
|
transform: none;
|
|
|
|
}
|
2020-03-28 05:00:28 +08:00
|
|
|
}
|