From 2f4919b61d17126e5b8b18aa6fa26db82b04091c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Thu, 28 Oct 2021 09:13:56 +0200 Subject: [PATCH 1/3] Remove unused CSS classes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/elements/AccessibleTooltipButton.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/views/elements/AccessibleTooltipButton.tsx b/src/components/views/elements/AccessibleTooltipButton.tsx index d2a4801a2dd..e239028ab81 100644 --- a/src/components/views/elements/AccessibleTooltipButton.tsx +++ b/src/components/views/elements/AccessibleTooltipButton.tsx @@ -16,7 +16,6 @@ limitations under the License. */ import React from 'react'; -import classNames from 'classnames'; import AccessibleButton from "./AccessibleButton"; import Tooltip, { Alignment } from './Tooltip'; @@ -70,13 +69,12 @@ export default class AccessibleTooltipButton extends React.PureComponent : null; + />; return ( Date: Thu, 28 Oct 2021 09:14:08 +0200 Subject: [PATCH 2/3] Update how tooltips look MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- res/css/views/elements/_Tooltip.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/res/css/views/elements/_Tooltip.scss b/res/css/views/elements/_Tooltip.scss index 6c5a7da55af..d55435547f5 100644 --- a/res/css/views/elements/_Tooltip.scss +++ b/res/css/views/elements/_Tooltip.scss @@ -52,7 +52,6 @@ limitations under the License. display: none; position: fixed; border-radius: 8px; - box-shadow: 4px 4px 12px 0 $menu-box-shadow-color; z-index: 6000; // Higher than context menu so tooltips can be used everywhere padding: 10px; pointer-events: none; @@ -63,7 +62,7 @@ limitations under the License. word-break: break-word; margin-right: 50px; - background-color: $inverted-bg-color; + background-color: #21262CF2; // Same on both themes color: $accent-fg-color; border: 0; text-align: center; From b333a67014d5f411597f7b2d14009fb741cb763b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Mon, 1 Nov 2021 17:53:58 +0100 Subject: [PATCH 3/3] Make the opacity of tooltips 100% MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- res/css/views/elements/_Tooltip.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/css/views/elements/_Tooltip.scss b/res/css/views/elements/_Tooltip.scss index d55435547f5..7e6b36a2bab 100644 --- a/res/css/views/elements/_Tooltip.scss +++ b/res/css/views/elements/_Tooltip.scss @@ -62,7 +62,7 @@ limitations under the License. word-break: break-word; margin-right: 50px; - background-color: #21262CF2; // Same on both themes + background-color: #21262C; // Same on both themes color: $accent-fg-color; border: 0; text-align: center;