From a1cbd8832c2dd2e94cd25a66e6977876fa0a57cd Mon Sep 17 00:00:00 2001 From: nobody Date: Wed, 27 May 2020 18:27:27 +0200 Subject: [PATCH] Improved toggle size --- pages/popup/popup.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/popup/popup.css b/pages/popup/popup.css index ca5dee37..aa6f0b19 100644 --- a/pages/popup/popup.css +++ b/pages/popup/popup.css @@ -159,6 +159,7 @@ footer { .button { -moz-user-select: none; + user-select: none; background-color: #f5f5f5; border-radius: 2px; border: 1px solid #cfcfcf; @@ -167,7 +168,6 @@ footer { float: right; font-size: 12px; padding: 5px 22px; - user-select: none; } .button:hover { @@ -228,8 +228,8 @@ footer { .switch { position: relative; display: inline-block; - width: 26px; - height: 16px; + width: 40px; + height: 22px; } .switch input { @@ -254,8 +254,8 @@ footer { .slider:before, .slider-disabled:before { position: absolute; content: ""; - height: 12px; - width: 12px; + height: 18px; + width: 18px; left: 2px; bottom: 2px; background-color: #f9f9fa; @@ -269,9 +269,9 @@ input:checked + .slider { } input:checked + .slider:before { - -webkit-transform: translateX(10px); - -ms-transform: translateX(10px); - transform: translateX(10px); + -webkit-transform: translateX(18px); + -ms-transform: translateX(18px); + transform: translateX(18px); } .slider-disabled {