Commit 7ffadfff authored by Annabel Gray's avatar Annabel Gray

Merge branch 'update-left-side-nav-border' into 'master'

Update left side nav border UI

Closes #46222

See merge request gitlab-org/gitlab-ce!19967
parents 80e671ae 6ecb2b1b
...@@ -68,8 +68,7 @@ ...@@ -68,8 +68,7 @@
} }
.nav-sidebar { .nav-sidebar {
transition: width $sidebar-transition-duration, transition: width $sidebar-transition-duration, left $sidebar-transition-duration;
left $sidebar-transition-duration;
position: fixed; position: fixed;
z-index: 400; z-index: 400;
width: $contextual-sidebar-width; width: $contextual-sidebar-width;
...@@ -77,12 +76,12 @@ ...@@ -77,12 +76,12 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
background-color: $gray-light; background-color: $gray-light;
box-shadow: inset -2px 0 0 $border-color; box-shadow: inset -1px 0 0 $border-color;
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
&:not(.sidebar-collapsed-desktop) { &:not(.sidebar-collapsed-desktop) {
@media (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, sm)) { @media (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, sm)) {
box-shadow: inset -2px 0 0 $border-color, box-shadow: inset -1px 0 0 $border-color,
2px 1px 3px $dropdown-shadow-color; 2px 1px 3px $dropdown-shadow-color;
} }
} }
...@@ -214,7 +213,7 @@ ...@@ -214,7 +213,7 @@
> li { > li {
> a { > a {
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
margin-right: 2px; margin-right: 1px;
} }
&:hover { &:hover {
...@@ -224,7 +223,7 @@ ...@@ -224,7 +223,7 @@
&.is-showing-fly-out { &.is-showing-fly-out {
> a { > a {
margin-right: 2px; margin-right: 1px;
} }
.sidebar-sub-level-items { .sidebar-sub-level-items {
...@@ -317,14 +316,14 @@ ...@@ -317,14 +316,14 @@
.toggle-sidebar-button, .toggle-sidebar-button,
.close-nav-button { .close-nav-button {
width: $contextual-sidebar-width - 2px; width: $contextual-sidebar-width - 1px;
transition: width $sidebar-transition-duration; transition: width $sidebar-transition-duration;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
padding: $gl-padding; padding: $gl-padding;
background-color: $gray-light; background-color: $gray-light;
border: 0; border: 0;
border-top: 2px solid $border-color; border-top: 1px solid $border-color;
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -379,7 +378,7 @@ ...@@ -379,7 +378,7 @@
.toggle-sidebar-button { .toggle-sidebar-button {
padding: 16px; padding: 16px;
width: $contextual-sidebar-collapsed-width - 2px; width: $contextual-sidebar-collapsed-width - 1px;
.collapse-text, .collapse-text,
.icon-angle-double-left { .icon-angle-double-left {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment