From 1c7f63fc95e960c75ae08f1cead147c47a28532a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Wed, 11 Dec 2019 21:00:40 +0800 Subject: [PATCH] =?UTF-8?q?input=E7=BB=84=E4=BB=B6=E5=A2=9E=E5=8A=A0auto-b?= =?UTF-8?q?order=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/input.wc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/form/input.wc b/src/form/input.wc index b436d89..79e01b4 100644 --- a/src/form/input.wc +++ b/src/form/input.wc @@ -150,6 +150,9 @@ li { } /* --- */ +:host([auto-border]) .label { + border-color: transparent; +} :host([disabled]) .label { background: nth($cp, 1); cursor: not-allowed; @@ -157,6 +160,9 @@ li { } :host(:focus-within) { @include focus1; + .label { + border-color: nth($cp, 3); + } } :host(:focus-within[readonly]) { @include focus2;