Skip to content

Commit

Permalink
focus borders on kui selects and textareas
Browse files Browse the repository at this point in the history
  • Loading branch information
snide committed Jun 12, 2017
1 parent f8bd667 commit 495af49
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
6 changes: 5 additions & 1 deletion ui_framework/components/form/_select.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
.kuiSelect {
@include select;

@include formControl;

&.kuiSelect-isInvalid {
@include formControlInvalid;
}

&:focus {
box-shadow: none;
@include formControlFocus;
}
}

.kuiSelect--large {
Expand Down
5 changes: 5 additions & 0 deletions ui_framework/components/form/_text_area.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
.kuiTextArea {
@include formControl;

&:focus {
box-shadow: none;
@include formControlFocus;
}

&.kuiTextArea-isInvalid {
@include formControlInvalid;
}
Expand Down
12 changes: 10 additions & 2 deletions ui_framework/dist/ui_framework.css
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ body {
border-color: #D86051; }
.kuiSelect:focus {
outline: none;
border-color: #6EADC1; }
border-color: #0079a5; }
.kuiSelect:disabled {
opacity: 0.4;
cursor: not-allowed; }
Expand All @@ -1111,9 +1111,13 @@ body {
border-color: #444444; }
.theme-dark .kuiSelect:focus {
outline: none;
border-color: #6EADC1; }
border-color: #0079a5; }
.kuiSelect.kuiSelect-isInvalid {
border-color: #D86051; }
.kuiSelect:focus {
box-shadow: none;
outline: none;
border-color: #0079a5; }

.kuiSelect--large {
min-width: 400px; }
Expand Down Expand Up @@ -1169,6 +1173,10 @@ body {
.theme-dark .kuiTextArea:focus {
outline: none;
border-color: #0079a5; }
.kuiTextArea:focus {
box-shadow: none;
outline: none;
border-color: #0079a5; }
.kuiTextArea.kuiTextArea-isInvalid {
border-color: #D86051; }

Expand Down

0 comments on commit 495af49

Please sign in to comment.