diff --git a/images/icons/v2/compose-24.svg b/images/icons/v2/compose-24.svg index 0b1eaa759..528247c53 100644 --- a/images/icons/v2/compose-24.svg +++ b/images/icons/v2/compose-24.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index f457c8983..686e04d40 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -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; diff --git a/stylesheets/components/LeftPaneSearchInput.scss b/stylesheets/components/LeftPaneSearchInput.scss index 4b8ee818b..30a26250b 100644 --- a/stylesheets/components/LeftPaneSearchInput.scss +++ b/stylesheets/components/LeftPaneSearchInput.scss @@ -4,11 +4,11 @@ .LeftPaneSearchInput { position: relative; margin: 0 16px; - margin-bottom: 16px; + margin-bottom: 8px; &__input { @include font-body-2; - border: none; + border: solid 1px transparent; border-radius: 8px; height: 28px; padding-left: 30px; @@ -16,18 +16,20 @@ width: 100%; @include light-theme { - background-color: $color-gray-15; - border: solid 1px $color-gray-15; + background-color: $color-black-alpha-08; color: $color-gray-90; + + &:placeholder { + color: $color-gray-45; + } } @include dark-theme { - background-color: $color-gray-65; - border: solid 1px $color-gray-65; + background-color: $color-white-alpha-12; color: $color-gray-05; - } - &:placeholder { - color: $color-gray-45; + &:placeholder { + color: $color-gray-25; + } } &:focus { @@ -53,7 +55,7 @@ width: 16px; @include light-theme { - @include color-svg('../images/icons/v2/search-16.svg', $color-gray-75); + @include color-svg('../images/icons/v2/search-16.svg', $color-gray-45); } @include dark-theme { @include color-svg('../images/icons/v2/search-16.svg', $color-gray-25); diff --git a/ts/components/LeftPane.tsx b/ts/components/LeftPane.tsx index 133192503..812cf1a24 100644 --- a/ts/components/LeftPane.tsx +++ b/ts/components/LeftPane.tsx @@ -566,10 +566,14 @@ export const LeftPane: React.FC = ({ }, updateSearchTerm, })} - {renderExpiredBuildDialog({ containerWidthBreakpoint: widthBreakpoint })} - {renderRelinkDialog({ containerWidthBreakpoint: widthBreakpoint })} - {renderNetworkStatus({ containerWidthBreakpoint: widthBreakpoint })} - {renderUpdateDialog({ containerWidthBreakpoint: widthBreakpoint })} +
+ {renderExpiredBuildDialog({ + containerWidthBreakpoint: widthBreakpoint, + })} + {renderRelinkDialog({ containerWidthBreakpoint: widthBreakpoint })} + {renderNetworkStatus({ containerWidthBreakpoint: widthBreakpoint })} + {renderUpdateDialog({ containerWidthBreakpoint: widthBreakpoint })} +
{preRowsNode && {preRowsNode}} {({ contentRect, measureRef }: MeasuredComponentProps) => ( diff --git a/ts/components/LeftPaneSearchInput.tsx b/ts/components/LeftPaneSearchInput.tsx index a90939f3e..b5d97e008 100644 --- a/ts/components/LeftPaneSearchInput.tsx +++ b/ts/components/LeftPaneSearchInput.tsx @@ -19,6 +19,7 @@ type PropsType = { value: string; }; +// TODO DESKTOP-3068: merge with export const LeftPaneSearchInput = forwardRef( ( {