mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
687597134d
Summary: - New behavior is that the in split mode, you will perform actions on the selection via the MessageListToolbar (the toolbar positioned above the message list) - Refactored and moved around a bunch of code to achieve this: - Mostly renaming stuff and moving stuff around and removing some duplication - Update naming of toolbar role to a single role, and update relevant code - Converted and refactored a bunch of code into ES6, specifically to reuse the code for the ThreadActionsToolbar at the 2 locations - Deprecated MultiselectActionBar in favor of MultiselectToolbar - Deprecated old roles - Punted the animation for the stackable cards in the selection display for now. - #370 Test Plan: - Manual and unit tests Reviewers: evan, drew, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2756
53 lines
1.1 KiB
Text
53 lines
1.1 KiB
Text
@import "ui-variables";
|
|
@img-path: "../internal_packages/thread-list/assets/graphic-stackable-card-filled.svg";
|
|
|
|
.selected-items-stack {
|
|
display: flex;
|
|
align-self: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
|
|
.selected-items-stack-content {
|
|
display: flex;
|
|
position: relative;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 198px;
|
|
height: 268px;
|
|
|
|
.stack {
|
|
.card {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 198px;
|
|
height: 268px;
|
|
background: url(@img-path);
|
|
background-size: 198px 268px;
|
|
}
|
|
}
|
|
|
|
.count-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
z-index: 6;
|
|
|
|
.count {
|
|
font-size: 4em;
|
|
font-weight: 200;
|
|
color: @text-color-very-subtle;
|
|
}
|
|
.count-message {
|
|
padding-top: @padding-base-vertical;
|
|
color: @text-color-very-subtle;
|
|
}
|
|
.clear {
|
|
padding-top: @padding-large-vertical * 2;
|
|
color: @text-color-link;
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|