mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-24 01:06:07 +08:00
832d0b8dcf
Summary: - Update Account model witha default alias and DraftStore methods that construct new messages to use default alias if available. - Update AccountDetails page and add selector to select default alias Test Plan: - Unit tests Reviewers: evan, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2352
79 lines
1.6 KiB
Plaintext
79 lines
1.6 KiB
Plaintext
@import "ui-variables";
|
|
|
|
// Preferences Specific
|
|
.preferences-wrap {
|
|
.preferences-accounts {
|
|
.accounts-content {
|
|
display: flex;
|
|
|
|
.account-list {
|
|
width: 400px;
|
|
|
|
.items-wrapper {
|
|
height: 525px;
|
|
}
|
|
|
|
.account {
|
|
padding: 10px;
|
|
border-bottom: 1px solid @border-color-divider;
|
|
}
|
|
|
|
.account-name {
|
|
font-size: @font-size-large;
|
|
cursor:default;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.account-subtext {
|
|
font-size: @font-size-small;
|
|
cursor:default;
|
|
}
|
|
|
|
.btn-editable-list {
|
|
height: 35px;
|
|
width: 35px;
|
|
font-size: 1.3em;
|
|
}
|
|
}
|
|
|
|
.account-details {
|
|
width: 400px;
|
|
padding-top: 20px;
|
|
padding-left: @spacing-super-double;
|
|
padding-right: @spacing-super-double;
|
|
background-color: @gray-lighter;
|
|
border-top: 1px solid @border-color-divider;
|
|
border-right: 1px solid @border-color-divider;
|
|
border-bottom: 1px solid @border-color-divider;
|
|
|
|
.items-wrapper {
|
|
height: 180px;
|
|
}
|
|
|
|
&>h3 {
|
|
font-size: 1.2em;
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
&>input {
|
|
font-size: 0.9em;
|
|
width: 100%;
|
|
}
|
|
|
|
.default-alias-selector {
|
|
font-size: 0.9em;
|
|
float: right;
|
|
|
|
&>select {
|
|
min-width: 35%;
|
|
max-width: 243px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|