Преглед на файлове

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

lanjianrong преди 4 години
родител
ревизия
ff5702e389
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  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;