Explorar o código

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

lanjianrong %!s(int64=4) %!d(string=hai) anos
pai
achega
ff5702e389
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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;