Browse Source

upd(shortpassword): 按钮颜色抽离 (#415)

* upd: shortpassword按钮颜色抽离

Co-authored-by: richard1015 <51844712@qq.com>
Drjingfubo 4 years ago
parent
commit
da857bfe9a
1 changed files with 6 additions and 8 deletions
  1. 6 8
      src/packages/shortpassword/index.scss

+ 6 - 8
src/packages/shortpassword/index.scss

@@ -92,28 +92,26 @@
   margin-top: 20px;
   margin-top: 20px;
 
 
   .nut-shortpsd-cancle {
   .nut-shortpsd-cancle {
-    background: rgba(255, 255, 255, 1);
-    border: 1px solid rgba(250, 44, 25, 1);
+    background: $white;
+    border: 1px solid $primary-color;
     border-radius: 15px;
     border-radius: 15px;
     padding: 8px 38px;
     padding: 8px 38px;
     line-height: 1;
     line-height: 1;
     font-size: $font-size-2;
     font-size: $font-size-2;
-    color: rgba(250, 44, 25, 1);
+    color: $primary-color;
   }
   }
 
 
   .nut-shortpsd-sure {
   .nut-shortpsd-sure {
     background: linear-gradient(
     background: linear-gradient(
       135deg,
       135deg,
-      rgba(250, 44, 25, 1) 0%,
-      rgba(250, 63, 25, 1) 45%,
-      rgba(250, 89, 25, 1) 83%,
-      rgba(250, 100, 25, 1) 100%
+      $primary-color 0%,
+      $primary-color-end 100%
     );
     );
     border-radius: 15px;
     border-radius: 15px;
     padding: 8px 38px;
     padding: 8px 38px;
     line-height: 1;
     line-height: 1;
     font-size: $font-size-2;
     font-size: $font-size-2;
-    color: rgba(255, 255, 255, 1);
+    color: $white;
   }
   }
 }
 }