From 64465d72303732911c9adfb91f700a576bca0820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=84=B6=E5=88=99?= Date: Fri, 19 Jun 2015 17:35:32 +0800 Subject: [PATCH] up select style --- components/select/demo/combobox.md | 2 +- components/select/demo/tags.md | 2 +- style/components/select.less | 15 ++++++++++++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/components/select/demo/combobox.md b/components/select/demo/combobox.md index 45d8dc604c..1ab2fb21f0 100644 --- a/components/select/demo/combobox.md +++ b/components/select/demo/combobox.md @@ -1,4 +1,4 @@ -# suggest +# 智能提示 - order: 4 diff --git a/components/select/demo/tags.md b/components/select/demo/tags.md index 5d4ed205c6..ccecc4abe8 100644 --- a/components/select/demo/tags.md +++ b/components/select/demo/tags.md @@ -1,4 +1,4 @@ -# tags +# 标签 - order: 3 diff --git a/style/components/select.less b/style/components/select.less index 03f92da57d..fc87773f52 100644 --- a/style/components/select.less +++ b/style/components/select.less @@ -109,7 +109,7 @@ //display: inline-block; overflow: hidden; text-overflow: ellipsis; - padding-left: 8px; + padding-left: 4px; padding-bottom: 4px; } @@ -242,6 +242,19 @@ background-color: rgba(142, 200, 249, 0.1) !important; } + &-selected { + position: relative; + &:after { + content: '\e613'; + font-family: 'anticon'; + font-weight: bold; + position: absolute; + top: 6px; + right: 16px; + color: #3CB8F0; + } + } + &-disabled { color: #ccc; cursor: not-allowed;