mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
6a4613b4a1
Summary: This diff: - Improves the styling of the tabs in the preferences sidebar. - Adds an optional param to section cofnig that puts an "account" submenu beneath the tab item. - Renames preferences "sections" => "tabs", and renames the PreferencesSectionStore to PreferencesUIStore. I think we should include "UI" in more of our stores, and I think "tabs" is a good idea because it's unambigious—there's no way you could confuse it for a "section" of the NylasEnv.config tree or think it deals with actually saving prefs. Test Plan: Inspect visually Reviewers: evan, juan Reviewed By: evan Differential Revision: https://phab.nylas.com/D2296
27 lines
484 B
Text
27 lines
484 B
Text
@import "ui-variables";
|
|
@import "ui-mixins";
|
|
|
|
.disclosure-triangle {
|
|
flex-shrink: 0;
|
|
padding:7px;
|
|
padding-top:12px;
|
|
width:20px;
|
|
visibility: hidden;
|
|
|
|
div {
|
|
transform:rotate(90deg);
|
|
transition: transform 90ms linear;
|
|
border-top: 4px solid transparent;
|
|
border-bottom: 4px solid transparent;
|
|
border-left: 7px solid @text-color-very-subtle;
|
|
}
|
|
|
|
&.visible {
|
|
visibility: visible;
|
|
}
|
|
&.collapsed {
|
|
div {
|
|
transform:rotate(0deg);
|
|
}
|
|
}
|
|
}
|