Browse Source

feat: 修改全局按钮在禁用时的主题色

lanjianrong 4 năm trước cách đây
mục cha
commit
ff5702e389
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      src/global.less

+ 8 - 0
src/global.less

@@ -59,6 +59,14 @@ body,
   background-color: unset;
 }
 
+.ant-btn-primary[disabled],
+.ant-btn-primary[disabled]:hover,
+.ant-btn-primary[disabled]:focus,
+.ant-btn-primary[disabled]:active {
+  color: white;
+  background: rgba(136, 106, 181, 0.5);
+}
+
 .ant-pro-top-nav-header-logo h1 {
   font-weight: 600;
   font-size: 18px;