Browse Source

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

Johan Ahlen 7 years ago
parent
commit
1b3258982e

File diff suppressed because it is too large
+ 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%;
       width: 100%;
     }
     }
     .text-input {
     .text-input {
-      padding: 0 10px 2px 19px;
+      padding: 1px 10px 1px 19px;
       border: 1px solid @cui-gray-400;
       border: 1px solid @cui-gray-400;
       border-radius: 4px;
       border-radius: 4px;
       margin-bottom: 20px;
       margin-bottom: 20px;
@@ -80,6 +80,13 @@
       -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
       -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;
       -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;
       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 {
     .text-input.error {
       border-color: #D0021B;
       border-color: #D0021B;

Some files were not shown because too many files changed in this diff