From 93e1ba4699b3863073f6e82d4901b7d7e2318068 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 13 Jul 2020 21:56:48 +0100 Subject: [PATCH] Change border radius of context menus and dialog from 4px to 8px Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/css/_common.scss | 6 +++--- res/css/structures/_ContextualMenu.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/res/css/_common.scss b/res/css/_common.scss index 1ff7f24396..5f698de7bf 100644 --- a/res/css/_common.scss +++ b/res/css/_common.scss @@ -265,7 +265,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus { padding: 25px 30px 30px 30px; max-height: 80%; box-shadow: 2px 15px 30px 0 $dialog-shadow-color; - border-radius: 4px; + border-radius: 8px; overflow-y: auto; } @@ -623,12 +623,12 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus { // round the top corners of the top button for the hover effect to be bounded &:first-child .mx_AccessibleButton:first-child { - border-radius: 4px 4px 0 0; // radius matches .mx_ContextualMenu + border-radius: 8px 8px 0 0; // radius matches .mx_ContextualMenu } // round the bottom corners of the bottom button for the hover effect to be bounded &:last-child .mx_AccessibleButton:last-child { - border-radius: 0 0 4px 4px; // radius matches .mx_ContextualMenu + border-radius: 0 0 8px 8px; // radius matches .mx_ContextualMenu } .mx_AccessibleButton { diff --git a/res/css/structures/_ContextualMenu.scss b/res/css/structures/_ContextualMenu.scss index 61070a0541..658033339a 100644 --- a/res/css/structures/_ContextualMenu.scss +++ b/res/css/structures/_ContextualMenu.scss @@ -31,7 +31,7 @@ limitations under the License. } .mx_ContextualMenu { - border-radius: 4px; + border-radius: 8px; box-shadow: 4px 4px 12px 0 $menu-box-shadow-color; background-color: $menu-bg-color; color: $primary-fg-color;