Skip to content
Snippets Groups Projects
Commit 42c593ad authored by Robert Hunt's avatar Robert Hunt
Browse files

Merge branch '361641-focus-more-form-fields' into 'master'

Add focus ring to more form elements

See merge request gitlab-org/gitlab!88028
parents 7732f285 7c6c2db2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -70,6 +70,15 @@
}
}
 
.dropdown-toggle,
.dropdown-menu-toggle,
.dropdown-menu-close {
&:active,
&:focus {
@include gl-focus;
}
}
// Get search dropdown to line up with other nav dropdowns
.search-input-container .dropdown-menu {
margin-top: 11px;
Loading
Loading
Loading
Loading
@@ -8,6 +8,13 @@ input {
background-color: $input-bg;
}
 
input,
textarea {
&:focus {
@include gl-focus;
}
}
input[type='text'].danger {
background: $input-danger-bg !important;
border-color: $red-400;
Loading
Loading
@@ -108,6 +115,10 @@ label {
width: $input-short-md-width;
}
}
&:focus {
@include gl-focus;
}
}
 
.select-control {
Loading
Loading
Loading
Loading
@@ -56,8 +56,7 @@
background-color: $white;
 
&.is-focused {
border-color: $input-focus-border-color;
box-shadow: $input-focus-box-shadow;
@include gl-focus;
 
.comment-toolbar,
.nav-links {
Loading
Loading
@@ -75,6 +74,11 @@
border-color: $green-500;
}
}
// Disable inner focus
textarea:focus {
box-shadow: none;
}
}
}
 
Loading
Loading
Loading
Loading
@@ -634,6 +634,10 @@ body {
.dropdown {
position: relative;
}
.dropdown-menu-toggle:active {
box-shadow: 0 0 0 1px #333, 0 0 0 3px #1f75cb;
outline: none;
}
.search-input-container .dropdown-menu {
margin-top: 11px;
}
Loading
Loading
Loading
Loading
@@ -619,6 +619,10 @@ body {
.dropdown {
position: relative;
}
.dropdown-menu-toggle:active {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #428fdc;
outline: none;
}
.search-input-container .dropdown-menu {
margin-top: 11px;
}
Loading
Loading
Loading
Loading
@@ -634,6 +634,10 @@ body {
.dropdown {
position: relative;
}
.dropdown-menu-toggle:active {
box-shadow: 0 0 0 1px #333, 0 0 0 3px #1f75cb;
outline: none;
}
.search-input-container .dropdown-menu {
margin-top: 11px;
}
Loading
Loading
Loading
Loading
@@ -619,6 +619,10 @@ body {
.dropdown {
position: relative;
}
.dropdown-menu-toggle:active {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #428fdc;
outline: none;
}
.search-input-container .dropdown-menu {
margin-top: 11px;
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment