防止样式被 button[disabled] 的规则覆盖,所以使用了important

This commit is contained in:
Nino 2016-12-26 16:36:06 +08:00
parent f438240812
commit e440c562de

11
dist/btn/index.wxss vendored
View File

@ -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 */