From 4eb85f10a9df72bd12ce8a0bcdf8dfbe85fa50d3 Mon Sep 17 00:00:00 2001 From: Julius Haertl Date: Wed, 27 Jul 2016 20:03:53 +0200 Subject: [PATCH] Theming: Cleanup and remove opacity from checkbox/radiobutton --- apps/theming/js/settings-admin.js | 3 +-- core/css/inputs.css | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/theming/js/settings-admin.js b/apps/theming/js/settings-admin.js index 8b0df5f4bf0..01ff9123842 100644 --- a/apps/theming/js/settings-admin.js +++ b/apps/theming/js/settings-admin.js @@ -57,8 +57,7 @@ function preview(setting, value) { var headerClass = document.getElementById('header'); var expandDisplayNameClass = document.getElementById('expandDisplayName'); var headerAppName = headerClass.getElementsByClassName('header-appname')[0]; - var textColor, elementColor, icon; - + var textColor, icon; var luminance = calculateLuminance(value); var elementColor = value; diff --git a/core/css/inputs.css b/core/css/inputs.css index e56f06082e7..b58310a5c58 100644 --- a/core/css/inputs.css +++ b/core/css/inputs.css @@ -93,7 +93,6 @@ input[type="checkbox"].checkbox + label:before { vertical-align: middle; background: url('../img/actions/checkbox.svg') left top no-repeat; - opacity: 0.7; } input[type="checkbox"].checkbox:disabled +label:before { opacity: .6; } @@ -167,7 +166,6 @@ input[type="radio"].radio + label:before { vertical-align: middle; background: url('../img/actions/radio.svg') left top no-repeat; - opacity: 0.7; } input[type="radio"].radio:checked + label:before { -- 2.39.5