mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
防止样式被 button[disabled] 的规则覆盖,所以使用了important
This commit is contained in:
parent
f438240812
commit
e440c562de
11
dist/btn/index.wxss
vendored
11
dist/btn/index.wxss
vendored
@ -125,11 +125,12 @@
|
|||||||
|
|
||||||
/* disabled */
|
/* disabled */
|
||||||
.zui-btn.zui-btn--disabled {
|
.zui-btn.zui-btn--disabled {
|
||||||
color: #999;
|
/* 防止样式被 button[disabled] 的规则覆盖,所以使用了important */
|
||||||
background: #f8f8f8;
|
color: #999 ! important;
|
||||||
border-color: #e5e5e5;
|
background: #f8f8f8 ! important;
|
||||||
cursor: not-allowed;
|
border-color: #e5e5e5 ! important;
|
||||||
opacity: 1;
|
cursor: not-allowed ! important;
|
||||||
|
opacity: 1 ! important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ::last-child */
|
/* ::last-child */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user