mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-15 06:39:20 +08:00
144 lines
2.5 KiB
CSS
Vendored
144 lines
2.5 KiB
CSS
Vendored
.snackbar-container {
|
|
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;
|
|
|
|
background-color: #376df9;
|
|
background: linear-gradient(100deg, #376df9 0, #ff5fa0 75%, #ffc55a 100%);
|
|
}
|
|
|
|
.snackbar-container .action {
|
|
background: white;
|
|
padding: 7px;
|
|
border-radius: 3px;
|
|
display: inline-block;
|
|
border: none;
|
|
font-size: inherit;
|
|
text-transform: uppercase;
|
|
color: #000000;
|
|
margin: 0 0 0 24px;
|
|
/*padding: 0;*/
|
|
min-width: min-content;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.snackbar-container {
|
|
min-width: 288px;
|
|
max-width: 568px;
|
|
display: inline-flex;
|
|
border-radius: 5px;
|
|
margin: 24px;
|
|
}
|
|
}
|
|
|
|
/* @media (max-width: 640px) {
|
|
.snackbar-container {
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
}
|
|
} */
|
|
|
|
.snackbar-pos.bottom-center {
|
|
top: auto !important;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
|
|
.snackbar-pos.bottom-left {
|
|
top: auto !important;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.snackbar-pos.bottom-right {
|
|
top: auto !important;
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.snackbar-pos.top-left {
|
|
bottom: auto !important;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.snackbar-pos.top-center {
|
|
bottom: auto !important;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
|
|
.snackbar-pos.top-right {
|
|
bottom: auto !important;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
/* Mobile Styles Start */
|
|
|
|
@media (max-width: 640px) {
|
|
.snackbar-container {
|
|
position: fixed;
|
|
top: 5rem;
|
|
bottom: initial;
|
|
left: calc(10vw - 0.5rem);
|
|
right: initial;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 80vw !important;
|
|
min-width: 80vw;
|
|
max-width: 80vw;
|
|
height: auto;
|
|
margin: 0;
|
|
margin-top: 1rem;
|
|
padding: 0.5rem;
|
|
word-wrap: break-word;
|
|
line-height: 1.2rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.snackbar-container p {
|
|
width: 80%;
|
|
}
|
|
|
|
.snackbar-container .action {
|
|
width: 15%;
|
|
padding: 0.2rem;
|
|
border-radius: 10px;
|
|
display: inline-block;
|
|
border: none;
|
|
font-size: 1rem;
|
|
text-transform: uppercase;
|
|
color: #000000;
|
|
margin: 0;
|
|
/*padding: 0;*/
|
|
cursor: pointer;
|
|
}
|
|
|
|
.snackbar-pos.bottom-center,
|
|
.snackbar-pos.top-center {
|
|
left: calc(10vw - 0.5rem);
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
/* Mobile Styles End */
|