防止样式被 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 */
.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 */