mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
78 lines
1.4 KiB
Text
78 lines
1.4 KiB
Text
@import 'ui-variables';
|
|
|
|
.undo-redo-toast {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
z-index: 100;
|
|
width: 100%;
|
|
text-align: center;
|
|
pointer-events: none;
|
|
|
|
.content {
|
|
height: 45px;
|
|
display: inline-block;
|
|
padding-top: 12px;
|
|
opacity: 0.9;
|
|
border-radius: @border-radius-base;
|
|
background: @gray-darker;
|
|
white-space: nowrap;
|
|
cursor: default;
|
|
pointer-events: initial;
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
max-width: 90%;
|
|
}
|
|
|
|
.message {
|
|
flex: 1;
|
|
flex-shrink: 1;
|
|
margin-left: 16px;
|
|
margin-right: 30px;
|
|
color: @background-primary;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-align: left;
|
|
}
|
|
|
|
.action {
|
|
flex-shrink: 0;
|
|
margin-right: 15px;
|
|
white-space: nowrap;
|
|
|
|
img {
|
|
background-color: @background-primary;
|
|
}
|
|
.undo-action-text {
|
|
margin-left: 5px;
|
|
color: @background-primary;
|
|
}
|
|
}
|
|
}
|
|
|
|
body.platform-win32 {
|
|
.content {
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
.undo-redo-toast-fade-enter {
|
|
opacity: 0.01;
|
|
transform: translate3d(0, 10px, 0);
|
|
transition: all 0.15s ease-out;
|
|
}
|
|
|
|
.undo-redo-toast-fade-enter.undo-redo-toast-fade-enter-active {
|
|
opacity: 1;
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
|
|
.undo-redo-toast-fade-leave {
|
|
opacity: 1;
|
|
transform: translate3d(0, 0, 0);
|
|
transition: all 0.15s ease-in;
|
|
}
|
|
|
|
.undo-redo-toast-fade-leave.undo-redo-toast-fade-leave-active {
|
|
transform: translate3d(0, 10px, 0);
|
|
opacity: 0.01;
|
|
}
|