mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
3ef6ea3ead
* refactor: some styles to reduce css bundle size * test: update snapshot * fix snapshot * fix test case * fix addonAfter * fix firefox style * reduce riddon css size * fix Input.Group border radius * remove unused css selectors * fix test cov * fix search button hover border * fix rtl textarea clear icon style * update demos * fix search rtl style * fix input search style
43 lines
842 B
Plaintext
43 lines
842 B
Plaintext
@import './index';
|
|
|
|
// ========================= Input =========================
|
|
.@{ant-prefix}-input-clear-icon {
|
|
margin: 0 @input-affix-margin;
|
|
color: @disabled-color;
|
|
font-size: @font-size-sm;
|
|
vertical-align: -1px;
|
|
// https://github.com/ant-design/ant-design/pull/18151
|
|
// https://codesandbox.io/s/wizardly-sun-u10br
|
|
cursor: pointer;
|
|
transition: color 0.3s;
|
|
|
|
&:hover {
|
|
color: @text-color-secondary;
|
|
}
|
|
|
|
&:active {
|
|
color: @text-color;
|
|
}
|
|
|
|
&-hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
// ======================= TextArea ========================
|
|
.@{ant-prefix}-input-affix-wrapper-textarea-with-clear-btn {
|
|
padding: 0 !important;
|
|
border: 0 !important;
|
|
|
|
.@{ant-prefix}-input-clear-icon {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
z-index: 1;
|
|
}
|
|
}
|