Commit cb1c2cdd authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch '322680-moveout-right-menu' into 'master'

Moved right-sidebar styles out of the left column

See merge request gitlab-org/gitlab!62118
parents 0767e822 77d78413
...@@ -363,21 +363,8 @@ ...@@ -363,21 +363,8 @@
// Collapsed nav // Collapsed nav
.toggle-sidebar-button, .toggle-sidebar-button,
.close-nav-button, .close-nav-button {
.toggle-right-sidebar-button { @include side-panel-toggle;
transition: width $sidebar-transition-duration;
height: $toggle-sidebar-height;
padding: 0 $gl-padding;
background-color: $gray-light;
border: 0;
color: $gl-text-color-secondary;
display: flex;
align-items: center;
&:hover {
background-color: $border-color;
color: $gl-text-color;
}
} }
.toggle-sidebar-button, .toggle-sidebar-button,
...@@ -396,10 +383,6 @@ ...@@ -396,10 +383,6 @@
} }
} }
.toggle-right-sidebar-button {
border-bottom: 1px solid $border-color;
}
.collapse-text { .collapse-text {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
......
...@@ -446,3 +446,19 @@ ...@@ -446,3 +446,19 @@
} }
} }
} }
@mixin side-panel-toggle {
transition: width $sidebar-transition-duration;
height: $toggle-sidebar-height;
padding: 0 $gl-padding;
background-color: $gray-light;
border: 0;
color: $gl-text-color-secondary;
display: flex;
align-items: center;
&:hover {
background-color: $border-color;
color: $gl-text-color;
}
}
...@@ -232,3 +232,8 @@ ...@@ -232,3 +232,8 @@
} }
} }
} }
.toggle-right-sidebar-button {
@include side-panel-toggle;
border-bottom: 1px solid $border-color;
}
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