Skip to content

Commit

Permalink
Targets base inputs and only prevents outline if user uses a mouse (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tshfx authored and danjm committed Jul 17, 2019
1 parent 5cc4a5c commit 33071e3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion ui/app/components/ui/unit-input/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
font-size: 1rem;
font-family: Roboto;
border: none;
outline: 0 !important;
max-width: 22ch;
height: 16px;
line-height: 18px;
Expand Down
1 change: 0 additions & 1 deletion ui/app/css/itcss/components/account-dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
&__account-primary-balance {
color: $scorpion;
border: none;
outline: 0 !important;
}

&__account-secondary-balance {
Expand Down
1 change: 0 additions & 1 deletion ui/app/css/itcss/components/currency-display.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
font-size: 16px;
line-height: 22px;
border: none;
outline: 0 !important;
max-width: 22ch;
}

Expand Down
14 changes: 8 additions & 6 deletions ui/app/css/itcss/generic/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@ html {
display: flex;
}

input:focus,
textarea:focus {
outline: none;
}

.mouse-user-styles {
button:focus {
button:focus,
input:focus,
textarea:focus,
.unit-input__input,
.account-list-item__account-primary-balance,
.account-list-item__input,
.currency-display__input
{
outline: none;
}
}
Expand Down

0 comments on commit 33071e3

Please sign in to comment.