浏览代码

Change submit button color on focus

Gaël Métais 10 年之前
父节点
当前提交
88bb2f91a5
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. 3 0
      front/src/css/index.css
  2. 4 0
      front/src/less/index.less

+ 3 - 0
front/src/css/index.css

@@ -16,6 +16,9 @@
   background: #e74c3c;
   color: #fff;
 }
+.launchBtn:focus {
+  background: #ffa319;
+}
 .launchBtn.disabled {
   background: #deaca6;
 }

+ 4 - 0
front/src/less/index.less

@@ -18,9 +18,13 @@
 .launchBtn {
     background: #e74c3c;
     color: #fff;
+    &:focus {
+        background: #ffa319;
+    }
     &.disabled {
         background: #deaca6;
     }
+    
 }
 
 .features {