insomnia/app/ui/css/components/toast.less
Gregory Schier 1cf1037c93 Better Redux (#43)
* Started refactoring redux stores

* Oh God huge refactor here

* Sync contenst updates and nested folders

* Fixed render tests

* A bunch of tweaks
2016-11-16 09:18:39 -08:00

40 lines
717 B
Plaintext

@import '../constants/dimensions';
@import '../constants/colors';
@import '../constants/animations';
.toast {
opacity: 0;
position: absolute;
z-index: 100;
bottom: @padding-md;
right: @padding-md;
background: @bg-light;
color: @font-light-bg;
box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: row;
font-size: @font-size-sm;
transition: opacity 300ms;
&.toast--show {
opacity: 1;
}
.toast__message,
.toast__action {
padding: @padding-sm * 1.3 @padding-md * 1.3;
height: auto;
}
.toast__action {
color: darken(@surprise, 10);
text-transform: uppercase;
font-size: @font-size-sm;
&:hover {
background: @hl-xs;
}
}
}