lbry-desktop/src/renderer/scss/component/_snack-bar.scss
ポール ウェッブ 2a3491013b Second refactor pass
2018-10-22 12:30:15 -04:00

50 lines
943 B
SCSS

.snack-bar {
bottom: $spacing-vertical;
left: $spacing-vertical;
background-color: $lbry-teal-3;
border-radius: 10px;
color: $lbry-white;
display: flex;
justify-content: space-between;
margin-right: auto;
margin-left: auto;
max-width: var(--snack-bar-width);
min-width: 300px;
opacity: 0.95;
padding: 14px 20px 10px 20px;
position: fixed;
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;
}
}
}