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:
Diffstat (limited to 'app/assets/stylesheets/framework/dropdowns.scss')
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss26
1 files changed, 25 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index 5c6d9266f7c..43e14a63f9d 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -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;
@@ -206,6 +215,13 @@
text-decoration: none;
}
+ &:active,
+ &:focus,
+ &:focus:active,
+ &.is-focused {
+ @include gl-focus($inset: true);
+ }
+
&.dropdown-menu-user-link {
line-height: 16px;
padding-top: 10px;
@@ -271,7 +287,6 @@
display: block;
text-align: left;
list-style: none;
- padding: 0 1px;
> a,
button,
@@ -839,6 +854,15 @@
color: $red-700;
}
+ .frequent-items-list-item-container .gl-button {
+ &:active,
+ &:focus,
+ &:focus:active,
+ &.is-focused {
+ @include gl-focus($inset: true);
+ }
+ }
+
.frequent-items-list-item-container a {
display: flex;
}