Left pane design tweaks

This commit is contained in:
Josh Perez 2022-01-31 10:45:04 -05:00 committed by GitHub
parent 1c43e7501c
commit c857250b12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 84 additions and 23 deletions

View file

@ -2705,21 +2705,69 @@ button.ConversationDetails__action-button {
}
&__compose-icon {
$icon: '../images/icons/v2/compose-24.svg';
width: 24px;
height: 24px;
-webkit-app-region: no-drag;
align-items: center;
background: none;
border-radius: 4px;
border: 2px solid transparent;
display: flex;
height: 32px;
justify-content: center;
padding: 2px;
width: 32px;
@include light-theme {
@include color-svg($icon, $color-gray-90);
&:hover,
&:focus {
background: $color-gray-15;
}
&:active {
background: $color-gray-05;
}
}
@include dark-theme {
@include color-svg($icon, $color-gray-02);
&:hover,
&:focus {
background: $color-gray-75;
}
&:active {
background: $color-gray-65;
}
}
&:focus {
@include color-svg($icon, $color-ultramarine);
@include keyboard-mode {
&:focus {
border-color: $color-ultramarine;
}
}
@include dark-keyboard-mode {
&:focus {
border-color: $color-ultramarine-light;
}
}
&::before {
$icon: '../images/icons/v2/compose-24.svg';
width: 24px;
height: 24px;
content: '';
@include light-theme {
@include color-svg($icon, $color-gray-75);
&:hover,
&:active,
&:focus {
@include color-svg($icon, $color-gray-90);
}
}
@include dark-theme {
@include color-svg($icon, $color-gray-15);
&:hover,
&:active,
&:focus {
@include color-svg($icon, $color-gray-02);
}
}
}
}
}
@ -5244,6 +5292,12 @@ button.module-image__border-overlay:focus {
}
}
.module-left-pane__dialogs {
&:first-child {
margin-top: 8px;
}
}
.module-left-pane__empty {
align-items: center;
display: flex;