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 */
|
||||
.zui-btn.zui-btn--disabled {
|
||||
color: #999;
|
||||
background: #f8f8f8;
|
||||
border-color: #e5e5e5;
|
||||
cursor: not-allowed;
|
||||
opacity: 1;
|
||||
/* 防止样式被 button[disabled] 的规则覆盖,所以使用了important */
|
||||
color: #999 ! important;
|
||||
background: #f8f8f8 ! important;
|
||||
border-color: #e5e5e5 ! important;
|
||||
cursor: not-allowed ! important;
|
||||
opacity: 1 ! important;
|
||||
}
|
||||
|
||||
/* ::last-child */
|
||||
|
Loading…
x
Reference in New Issue
Block a user