Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-03-21 07:25:22 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2017-03-21 07:25:22 +0300
commit977f6e379683d096aa5ae2db15330f35c3796dd2 (patch)
tree96812ec633ee32239a7426583e6dc647403703ac /app/assets/stylesheets/framework/filters.scss
parent9b57b4bbe06b85bd05f113c64a6f2ecbb6a0cd87 (diff)
parent204afc1bbf359bdb8cc4ab6dd1070e1d47347856 (diff)
Merge branch 'add-filter-focus-style' into 'master'
Add filter focus for filtered search visual tokens See merge request !9875
Diffstat (limited to 'app/assets/stylesheets/framework/filters.scss')
-rw-r--r--app/assets/stylesheets/framework/filters.scss18
1 files changed, 14 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/filters.scss b/app/assets/stylesheets/framework/filters.scss
index 7cb72fe516f..51805c5d734 100644
--- a/app/assets/stylesheets/framework/filters.scss
+++ b/app/assets/stylesheets/framework/filters.scss
@@ -173,16 +173,26 @@
}
}
+ &:hover {
+ @extend .form-control:hover;
+ }
+
+ &.focus,
+ &.focus:hover {
+ border-color: $dropdown-input-focus-border;
+ box-shadow: 0 0 4px $search-input-focus-shadow-color;
+ }
+
+ &.focus .fa-filter {
+ color: $common-gray-dark;
+ }
+
.form-control {
position: relative;
min-width: 200px;
padding: 5px 25px 6px 0;
border-color: transparent;
- &:focus ~ .fa-filter {
- color: $common-gray-dark;
- }
-
&:focus,
&:hover {
outline: none;