From 5b921b696067ada7e9057b8a0eed8febc17bac89 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 13 May 2016 23:16:59 +0800 Subject: [PATCH] Fix combobox focus style, close #1684 --- components/form/style/index.less | 4 ---- components/select/style/index.less | 5 +---- site/component/Header/index.less | 4 ---- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/components/form/style/index.less b/components/form/style/index.less index a47baff2c0..49d0f66285 100644 --- a/components/form/style/index.less +++ b/components/form/style/index.less @@ -401,10 +401,6 @@ form { } } - .ant-select-combobox .ant-select-search__field:focus { - box-shadow: none; - } - //datepicker .ant-calendar-picker-icon:after { color: @error-color; diff --git a/components/select/style/index.less b/components/select/style/index.less index 79954fb2a1..469df14ece 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -337,10 +337,7 @@ position: relative; z-index: 1; transition: all .3s @ease-in-out; - - &:focus { - box-shadow: 0 0 0 1px tint(@primary-color, 20%), 0 0 0 3px tint(@primary-color, 80%); - } + box-shadow: none; } .@{select-prefix-cls}-selection__rendered { padding: 0; diff --git a/site/component/Header/index.less b/site/component/Header/index.less index 546949e87f..8538d6701c 100644 --- a/site/component/Header/index.less +++ b/site/component/Header/index.less @@ -82,10 +82,6 @@ } } -.ant-select-combobox .ant-select-search__field:focus { - box-shadow: none; -} - .component-select { &.ant-select-dropdown { border: 0;