From be35f4d5781cb48ee0ee5a2cc0cd29877d6bc2fe Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Wed, 21 Aug 2019 14:55:44 +0200 Subject: [PATCH] only use bold icons on hidpi displays --- style/common.css | 6 ++++-- style/manager.css | 8 ++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/style/common.css b/style/common.css index e5001db..3f3e05d 100644 --- a/style/common.css +++ b/style/common.css @@ -104,8 +104,10 @@ html[data-platform="mac"] { .icon-server:before { content: '\f233'; } /* '' */ .icon-question-light:before { content: '\f29c'; } /* '' */ -[class^="icon-file-"]:before, [class*=" icon-file-"]:before { - font-weight: bold !important; +@media (min-resolution: 144dpi) { + [class^="icon-file-"]:before, [class*=" icon-file-"]:before { + font-weight: bold !important; + } } .icon-file-image { diff --git a/style/manager.css b/style/manager.css index 5618f01..a26f112 100644 --- a/style/manager.css +++ b/style/manager.css @@ -276,9 +276,13 @@ body > * { flex-grow: 0 !important; cursor: pointer; } -#statusNetwork:before { - font-weight: bold !important; + +@media (min-resolution: 144dpi) { + #statusNetwork:before { + font-weight: bold !important; + } } + #statusNetwork.icon-network-off { color: crimson; }