From 26c5493ff7d59ce3f08c13bc37784e5f9a09e1ba Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 29 May 2016 15:50:33 -0400 Subject: [PATCH] update input --- .../emby-webcomponents/emby-input/emby-input.js | 3 --- dashboard-ui/thirdparty/paper-button-style.css | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js b/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js index 0695cba8d7..2d7704c778 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js @@ -22,7 +22,6 @@ label.innerHTML = this.getAttribute('label') || ''; label.classList.add('inputLabel'); - label.classList.add('inputLabelUnfocused'); label.htmlFor = this.id; parentNode.insertBefore(label, this); @@ -41,10 +40,8 @@ this.addEventListener('focus', function () { onChange.call(this); label.classList.add('inputLabelFocused'); - label.classList.remove('inputLabelUnfocused'); }); this.addEventListener('blur', function () { - label.classList.add('inputLabelUnfocused'); label.classList.remove('inputLabelFocused'); }); diff --git a/dashboard-ui/thirdparty/paper-button-style.css b/dashboard-ui/thirdparty/paper-button-style.css index 035dc786ab..4380aff3a0 100644 --- a/dashboard-ui/thirdparty/paper-button-style.css +++ b/dashboard-ui/thirdparty/paper-button-style.css @@ -436,7 +436,7 @@ paper-input label, paper-textarea label { color: #ccc; } -.ui-body-b .selectLabelUnfocused, .ui-body-b .inputLabelUnfocused { +.ui-body-b .selectLabelUnfocused, .ui-body-b .inputLabel { color: #ccc; }