From 7cb64edf04968904f3ab2bd256476f99e3e4121a Mon Sep 17 00:00:00 2001 From: Daniel Herrero Date: Thu, 23 Nov 2017 14:09:38 +0100 Subject: [PATCH] ajustes de etiquetas html y css --- client/core/src/autocomplete/autocomplete.html | 4 ++-- client/core/src/autocomplete/style.scss | 2 +- client/core/src/icon-menu/icon-menu.html | 4 ++-- client/core/src/icon-menu/icon-menu.js | 13 ++++++++++--- client/core/src/textfield/style.scss | 5 +++-- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/client/core/src/autocomplete/autocomplete.html b/client/core/src/autocomplete/autocomplete.html index e3887a937..b709e278a 100644 --- a/client/core/src/autocomplete/autocomplete.html +++ b/client/core/src/autocomplete/autocomplete.html @@ -1,6 +1,6 @@ - - + +
{ this.$timeout(() => { - this.showDropDown = true; + this.mouseFocus = true; + this.showDropDown = this.focused; }); }); this.$element.bind('mouseout', () => { this.$timeout(() => { - this.showDropDown = false; + this.mouseFocus = false; + this.showDropDown = this.focused; }); }); this.$element.bind('focusin', e => { this.$timeout(() => { + this.focused = true; this.showDropDown = true; }); }); this.$element.bind('focusout', e => { this.$timeout(() => { - this.showDropDown = false; + this.focused = false; + this.showDropDown = this.mouseFocus; }); }); } diff --git a/client/core/src/textfield/style.scss b/client/core/src/textfield/style.scss index aafeee204..b8d155777 100644 --- a/client/core/src/textfield/style.scss +++ b/client/core/src/textfield/style.scss @@ -8,11 +8,12 @@ vn-textfield { top: 0px; right: -6px; margin: 22px 0px; - background-color: white; + background: transparent; + z-index: 9999; } .material-icons { font-size: 18px; float: right; - margin-right: 5px; + margin-right: 5px; } } \ No newline at end of file