mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
修复checkboxs按钮模式的disabled (#6410)
>> 样式和table高亮行bg类失效问题 Co-authored-by: v_xukeke <v_xukeke@bilibili.com>
This commit is contained in:
parent
2f3dbd8f47
commit
fa1e9e3144
@ -1,6 +1,10 @@
|
||||
@import './functions';
|
||||
@import './variables';
|
||||
$remFactor: 16px;
|
||||
|
||||
/* 此处放置需要override的变量,因为部分变量已经在variables.scss中定义 */
|
||||
$Table-strip-bg: transparent;
|
||||
|
||||
:root {
|
||||
--white: var(--colors-neutral-text-11);
|
||||
--primary: var(--colors-brand-5);
|
||||
|
@ -463,11 +463,16 @@
|
||||
border-color: var(--Checkbox-color);
|
||||
&:hover {
|
||||
border-color: var(--Checkbox-color) !important;
|
||||
box-shadow: -1px 0 0 0 var(--Checkbox-color) !important;
|
||||
&:first-child {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
&--button--disabled--checked.#{$ns}Checkbox--checkbox {
|
||||
background: var(--Checkbox-onDisabled-bg);
|
||||
border-color: var(--Checkbox-color) !important;
|
||||
box-shadow: none !important;
|
||||
&:hover {
|
||||
border-color: var(--Checkbox-color) !important;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user