lbry-desktop/src/renderer/scss/component/_snack-bar.scss
2018-10-22 12:30:15 -04:00

49 lines
986 B
SCSS

.snack-bar {
background-color: $lbry-teal-3;
border-radius: 10px;
// box-shadow: var(--box-shadow-layer);
color: $lbry-white;
display: flex;
justify-content: space-between;
margin-left: auto;
margin-right: auto;
max-width: var(--snack-bar-width);
min-width: 300px;
opacity: 0.95;
padding: 14px 20px 10px 20px;
position: fixed;
left: $spacing-vertical;
bottom: $spacing-vertical;
transition: all var(--transition-duration) var(--transition-type);
width: 100%;
z-index: 10000; /*hack to get it over react modal */
}
.snack-bar__action {
display: inline-block;
margin-bottom: 4px;
min-width: min-content;
text-transform: uppercase;
span:hover {
text-decoration: underline;
}
}
.snack-bar__message {
align-items: center;
display: flex;
flex-direction: row;
div {
&:nth-of-type(1) {
font-size: 30px;
margin-right: 20px;
}
&:nth-of-type(2) {
font-size: 16px;
margin-bottom: 4px;
}
}
}