Commit 77d78413 authored by Denys Mishunov's avatar Denys Mishunov

Moved right-sidebar styles out of the left column

In order to properly refactor the left-hand panel we should be
careful with the shared styles
parent f66f448b
...@@ -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