From 7291227a64cc13ed294692067a461c7224526cb7 Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 8 Aug 2017 11:08:18 -0400 Subject: [PATCH] fix #2836 --- src/css/popup.css | 20 ++++++++++++-------- src/popup.html | 8 ++++---- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/css/popup.css b/src/css/popup.css index fb8769897..12b0b8e1d 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -193,20 +193,24 @@ body[dir="ltr"] #extraTools > span > span.badge { body[dir="rtl"] #extraTools > span > span.badge { right: 100%; } -#extraTools > span.on > span:last-of-type { +#extraTools > span > span:last-of-type { color: #e00; - font-size: 1.1em; - left: 0; + left: 50%; position: absolute; - text-align: center; top: 0; - width: 100%; + transform: translateX(-50%); + visibility: hidden; } -#extraTools > span.on > span:last-of-type:after { - content: '\2715'; +#extraTools > span > span:last-of-type > svg { + stroke: red; + stroke-width: 2; + width: 1em; + } +#extraTools > span.on > span:last-of-type { + visibility: visible; } #extraTools > span:hover { - color: #444; + color: #333; } #refresh { diff --git a/src/popup.html b/src/popup.html index 3b303eced..a3208e82a 100644 --- a/src/popup.html +++ b/src/popup.html @@ -33,10 +33,10 @@

 

 

- - - - + + + +