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/header.scss')
-rw-r--r--app/assets/stylesheets/framework/header.scss72
1 files changed, 44 insertions, 28 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss
index d1231da83d4..a5ff3c9c980 100644
--- a/app/assets/stylesheets/framework/header.scss
+++ b/app/assets/stylesheets/framework/header.scss
@@ -8,7 +8,7 @@ $search-input-field-x-min-width: 200px;
min-height: $header-height;
border: 0;
position: fixed;
- top: 0;
+ top: $calc-application-bars-height;
left: 0;
right: 0;
border-radius: 0;
@@ -312,21 +312,52 @@ $search-input-field-x-min-width: 200px;
margin-top: $dropdown-vertical-offset;
}
-.breadcrumbs {
- display: flex;
- min-height: $breadcrumb-min-height;
- color: $gl-text-color;
+.top-bar-container {
+ min-height: $top-bar-height;
}
-.breadcrumbs-container {
- display: flex;
- width: 100%;
- padding-top: $gl-padding / 2;
- padding-bottom: $gl-padding / 2;
- align-items: center;
+.top-bar-fixed {
+ background-color: $body-bg;
+ left: 0;
+ position: fixed;
+ right: 0;
+ top: $calc-application-bars-height;
+ width: auto;
+ z-index: $top-bar-z-index;
+ @include gl-inset-border-b-1-gray-100;
+
+ .breadcrumbs-list {
+ @include media-breakpoint-down(xs) {
+ flex-wrap: nowrap;
+ }
+ }
+
+ @media (prefers-reduced-motion: no-preference) {
+ transition: left $gl-transition-duration-medium, right $gl-transition-duration-medium;
+ }
+
+ @include media-breakpoint-up(md) {
+ .right-sidebar-collapsed & {
+ right: $gutter-collapsed-width;
+ }
+
+ .right-sidebar-expanded & {
+ right: $gutter-width;
+ }
+ }
+
+ @include media-breakpoint-up(xl) {
+ .page-with-super-sidebar & {
+ left: $super-sidebar-width;
+ }
+
+ .page-with-super-sidebar-collapsed & {
+ left: 0;
+ }
+ }
}
-.breadcrumbs-links {
+.breadcrumbs {
flex: 1;
min-width: 0;
align-self: center;
@@ -348,16 +379,6 @@ $search-input-field-x-min-width: 200px;
top: 1px;
}
}
-
- .dropdown-menu li a .identicon {
- width: 17px;
- height: 17px;
- font-size: $gl-font-size-xs;
- vertical-align: middle;
- text-indent: 0;
- line-height: $gl-font-size-xs + 2px;
- display: inline-block;
- }
}
.breadcrumbs-list {
@@ -498,11 +519,6 @@ $search-input-field-x-min-width: 200px;
visibility: visible;
}
-.with-performance-bar .navbar-gitlab,
-.with-performance-bar .fixed-top {
- top: $performance-bar-height;
-}
-
.navbar-empty {
justify-content: center;
height: $header-height;
@@ -558,7 +574,7 @@ $search-input-field-x-min-width: 200px;
@include media-breakpoint-down(sm) {
@include gl-display-block;
- + .breadcrumbs-links {
+ + .breadcrumbs {
@include gl-pl-4;
@include gl-border-l-1;
@include gl-border-l-solid;