From cbcad03bc6ad68c1ae9d27ece1ea9a846de2dde5 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Tue, 4 Jan 2022 11:22:09 +0800 Subject: [PATCH] fix style --- src/ui/header.css | 10 ++++++++++ src/ui/index.tis | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/ui/header.css b/src/ui/header.css index 4efeba514..e444c1f56 100644 --- a/src/ui/header.css +++ b/src/ui/header.css @@ -46,10 +46,20 @@ header span:hover { background: #f7f7f7; } +@media platform != "OSX" { +header span:hover { + background: #d9d9d9; +} +} + header #screen:hover { background: #d9d9d9; } +header #secure:hover { + background: unset; +} + header span:active, header #screen:active { color: black; background: color(gray-bg); diff --git a/src/ui/index.tis b/src/ui/index.tis index 89b6fa063..0ad2b17d8 100644 --- a/src/ui/index.tis +++ b/src/ui/index.tis @@ -303,7 +303,7 @@ class InstallMe: Reactor.Component { return
{translate('install_tip')}
- +
; }