Add shadow to the reply preview and autocomplete composer panes

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-07-16 15:26:25 +01:00
parent d5f2d43429
commit 576294e7ce
6 changed files with 11 additions and 2 deletions

View file

@ -6,9 +6,10 @@
border: 1px solid $primary-hairline-color;
background: $primary-bg-color;
border-bottom: none;
border-radius: 4px 4px 0 0;
border-radius: 8px 8px 0 0;
max-height: 50vh;
overflow: auto;
box-shadow: 0px -16px 32px $composer-shadow-color;
}
.mx_Autocomplete_ProviderSection {

View file

@ -22,9 +22,10 @@ limitations under the License.
border: 1px solid $primary-hairline-color;
background: $primary-bg-color;
border-bottom: none;
border-radius: 4px 4px 0 0;
border-radius: 8px 8px 0 0;
max-height: 50vh;
overflow: auto;
box-shadow: 0px -16px 32px $composer-shadow-color;
}
.mx_ReplyPreview_section {

View file

@ -211,6 +211,8 @@ $appearance-tab-border-color: $room-highlight-color;
$roomlist-background-blur-amount: 60px;
$tagpanel-background-blur-amount: 30px;
$composer-shadow-color: rgba(0, 0, 0, 0.28);
// ***** Mixins! *****
@define-mixin mx_DialogButton {

View file

@ -203,6 +203,8 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
// Appearance tab colors
$appearance-tab-border-color: $room-highlight-color;
$composer-shadow-color: tranparent;
// ***** Mixins! *****
@define-mixin mx_DialogButton {

View file

@ -331,6 +331,8 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
// FontSlider colors
$appearance-tab-border-color: $input-darker-bg-color;
$composer-shadow-color: tranparent;
// ***** Mixins! *****
@define-mixin mx_DialogButton {

View file

@ -335,6 +335,7 @@ $appearance-tab-border-color: $input-darker-bg-color;
$roomlist-background-blur-amount: 40px;
$tagpanel-background-blur-amount: 20px;
$composer-shadow-color: rgba(0, 0, 0, 0.04);
// ***** Mixins! *****