From aea71b81042ddcf399a3da82ec6f8c3965b575ff Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 4 Apr 2016 16:53:36 +0800 Subject: update chips example codes --- dist/spectre.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dist') diff --git a/dist/spectre.css b/dist/spectre.css index fc3faa7..8d379ee 100644 --- a/dist/spectre.css +++ b/dist/spectre.css @@ -762,8 +762,8 @@ button.btn-block { } .btn.btn-clear, button.btn-clear { - width: 1.6rem; - height: 1.6rem; + width: 1.4rem; + height: 1.4rem; padding: 0; margin: 0.1rem -0.2rem 0.1rem 0.2rem; border: 0; @@ -1146,6 +1146,7 @@ textarea.form-input { padding: .3rem .6rem; border-radius: .3rem; font-size: 1.2rem; + vertical-align: middle; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; @@ -1156,6 +1157,10 @@ textarea.form-input { .chip .chip-name { margin-left: .4rem; } +.chip:hover, +.chip:focus { + background-color: #eaeaea; +} .label { display: inline-block; padding: .3rem .5rem; -- cgit v1.3.1-26-gb76a