From 75c76b3a5bd21ead3f4756cade7ea7d35a2956d7 Mon Sep 17 00:00:00 2001 From: ESHA GOEL Date: Sat, 16 Apr 2022 13:21:42 +0530 Subject: [PATCH 1/3] changed font-weight to 400 to support light weight font --- res/css/_common.scss | 2 +- res/css/structures/_CreateRoom.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/css/_common.scss b/res/css/_common.scss index 5c6349c2204..e65f38e1b4e 100644 --- a/res/css/_common.scss +++ b/res/css/_common.scss @@ -294,7 +294,7 @@ legend { background-color: $background; color: $light-fg-color; z-index: 4012; - font-weight: 300; + font-weight: 400; font-size: $font-15px; position: relative; padding: 24px; diff --git a/res/css/structures/_CreateRoom.scss b/res/css/structures/_CreateRoom.scss index 78e6881b108..2557735d103 100644 --- a/res/css/structures/_CreateRoom.scss +++ b/res/css/structures/_CreateRoom.scss @@ -25,7 +25,7 @@ limitations under the License. .mx_CreateRoom textarea { border-radius: 3px; border: 1px solid $strong-input-border-color; - font-weight: 300; + font-weight: 400; font-size: $font-13px; padding: 9px; margin-top: 6px; From 91ebb9de864846e1ae73dcc1149e29f4ec8f365a Mon Sep 17 00:00:00 2001 From: ESHA GOEL Date: Fri, 22 Apr 2022 16:00:41 +0530 Subject: [PATCH 2/3] removed font-weight line and _CreateRoom.scss file --- res/css/_common.scss | 1 - res/css/structures/_CreateRoom.scss | 36 ----------------------------- 2 files changed, 37 deletions(-) delete mode 100644 res/css/structures/_CreateRoom.scss diff --git a/res/css/_common.scss b/res/css/_common.scss index e65f38e1b4e..05249130510 100644 --- a/res/css/_common.scss +++ b/res/css/_common.scss @@ -294,7 +294,6 @@ legend { background-color: $background; color: $light-fg-color; z-index: 4012; - font-weight: 400; font-size: $font-15px; position: relative; padding: 24px; diff --git a/res/css/structures/_CreateRoom.scss b/res/css/structures/_CreateRoom.scss deleted file mode 100644 index 2557735d103..00000000000 --- a/res/css/structures/_CreateRoom.scss +++ /dev/null @@ -1,36 +0,0 @@ -/* -Copyright 2015, 2016 OpenMarket Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_CreateRoom { - width: 960px; - margin-left: auto; - margin-right: auto; - color: $primary-content; -} - -.mx_CreateRoom input, -.mx_CreateRoom textarea { - border-radius: 3px; - border: 1px solid $strong-input-border-color; - font-weight: 400; - font-size: $font-13px; - padding: 9px; - margin-top: 6px; -} - -.mx_CreateRoom_description { - width: 330px; -} From 75b7068001c777ea65b2599de7f5cb462bc4ce2d Mon Sep 17 00:00:00 2001 From: ESHA GOEL Date: Fri, 22 Apr 2022 19:50:40 +0530 Subject: [PATCH 3/3] removed _CreateRoom from _components.scss --- res/css/_components.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/res/css/_components.scss b/res/css/_components.scss index 8b5dc63a0e6..c315b28b7f8 100644 --- a/res/css/_components.scss +++ b/res/css/_components.scss @@ -24,7 +24,6 @@ @import "./structures/_BackdropPanel.scss"; @import "./structures/_CompatibilityPage.scss"; @import "./structures/_ContextualMenu.scss"; -@import "./structures/_CreateRoom.scss"; @import "./structures/_FileDropTarget.scss"; @import "./structures/_FilePanel.scss"; @import "./structures/_GenericErrorPage.scss";