Browse Source

Fix combobox focus style, close #1684

pull/1704/head
afc163 9 years ago
parent
commit
5b921b6960
  1. 4
      components/form/style/index.less
  2. 5
      components/select/style/index.less
  3. 4
      site/component/Header/index.less

4
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;

5
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;

4
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;

Loading…
Cancel
Save