2017-04-10 14:32:40 +02:00
|
|
|
.snack-bar {
|
2018-12-19 06:44:53 +01:00
|
|
|
bottom: 2rem;
|
|
|
|
left: 2rem;
|
2018-10-17 19:14:24 +02:00
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
background-color: $lbry-teal-4;
|
|
|
|
border-radius: 0.5rem;
|
2018-10-17 00:29:55 +02:00
|
|
|
color: $lbry-white;
|
2018-12-19 06:44:53 +01:00
|
|
|
padding: var(--spacing-vertical-small) var(--spacing-vertical-large) var(--spacing-vertical-small)
|
|
|
|
var(--spacing-vertical-medium);
|
2018-04-17 07:24:02 +02:00
|
|
|
position: fixed;
|
2017-12-21 18:32:51 +01:00
|
|
|
transition: all var(--transition-duration) var(--transition-type);
|
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
|
|
|
}
|
|
|
|
|
2018-10-29 18:23:53 +01:00
|
|
|
.snack-bar--error {
|
|
|
|
background-color: $lbry-red-5;
|
|
|
|
}
|
|
|
|
|
2017-04-10 14:32:40 +02:00
|
|
|
.snack-bar__action {
|
|
|
|
display: inline-block;
|
2019-01-08 00:29:40 +01:00
|
|
|
margin: var(--spacing-vertical-small) 0;
|
2017-04-10 14:32:40 +02:00
|
|
|
min-width: min-content;
|
2018-04-17 07:24:02 +02:00
|
|
|
text-transform: uppercase;
|
|
|
|
|
2018-10-17 00:29:55 +02:00
|
|
|
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) {
|
2018-12-19 06:44:53 +01:00
|
|
|
font-size: 1.5rem;
|
|
|
|
margin-right: var(--spacing-vertical-medium);
|
2018-04-17 07:24:02 +02:00
|
|
|
}
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-04-17 07:24:02 +02:00
|
|
|
&:nth-of-type(2) {
|
2018-12-19 06:44:53 +01:00
|
|
|
font-size: 1.25rem;
|
2018-04-17 07:24:02 +02:00
|
|
|
}
|
2017-04-10 14:32:40 +02:00
|
|
|
}
|
|
|
|
}
|