lbry-desktop/src/renderer/scss/component/_snack-bar.scss

50 lines
943 B
SCSS
Raw Normal View History

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