From d276fc13b7ee0cd4e27af42e15b95af36371597d Mon Sep 17 00:00:00 2001 From: bergware Date: Wed, 23 Jan 2019 12:19:58 +0100 Subject: [PATCH] Switch button: use orange color in ON state --- plugins/dynamix/styles/jquery.switchbutton.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/dynamix/styles/jquery.switchbutton.css b/plugins/dynamix/styles/jquery.switchbutton.css index 1f3da25d0..1e0ebea3b 100644 --- a/plugins/dynamix/styles/jquery.switchbutton.css +++ b/plugins/dynamix/styles/jquery.switchbutton.css @@ -1,4 +1,5 @@ .switch-button-label{float:left;font-size:1.1rem;text-transform:uppercase;letter-spacing:1px;cursor:pointer} -.switch-button-label.on{color:#0088CC;} -.switch-button-background{float:left;position:relative;background:#ccc;border:1px solid #aaa;margin:1px 10px;border-radius:4px;cursor:pointer} -.switch-button-button{position:absolute;left:-1px;top:-1px;background:#fafafa;border:1px solid #aaa;border-radius:4px} \ No newline at end of file +.switch-button-label.on{color:#ff8c2f} +.switch-button-background{float:left;position:relative;background-color:#ccc;border:1px solid #aaa;margin:1px 10px;border-radius:4px;cursor:pointer} +.switch-button-background.checked{background-color:#ff8c2f} +.switch-button-button{position:absolute;left:-1px;top:-1px;background-color:#fafafa;border:1px solid #aaa;border-radius:4px}