소스 검색

HUE-8318 [frontend] Remove misaligned red glow from login input on focus

(cherry picked from commit 1b3258982e60c7305919c5b5b4adcd45834ee756)
Johan Ahlen 7 년 전
부모
커밋
e3e2b1b669
2개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 0
      desktop/core/src/desktop/static/desktop/css/login.css
  2. 8 1
      desktop/core/src/desktop/static/desktop/less/login.less

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/login.css


+ 8 - 1
desktop/core/src/desktop/static/desktop/less/login.less

@@ -71,7 +71,7 @@
       width: 100%;
     }
     .text-input {
-      padding: 0 10px 2px 19px;
+      padding: 1px 10px 1px 19px;
       border: 1px solid @cui-gray-400;
       border-radius: 4px;
       margin-bottom: 20px;
@@ -80,6 +80,13 @@
       -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
       transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
+
+      input:focus {
+        border-color: initial !important;
+        -webkit-box-shadow: none !important;
+        -moz-box-shadow: none !important;
+        box-shadow: none !important;
+      }
     }
     .text-input.error {
       border-color: #D0021B;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.