2017-10-20 22:57:24 +00:00
|
|
|
.page-with-contextual-sidebar {
|
2017-12-07 23:41:58 +00:00
|
|
|
transition: padding-left $sidebar-transition-duration;
|
2017-12-07 17:16:38 +00:00
|
|
|
|
2019-03-04 08:23:55 +00:00
|
|
|
@include media-breakpoint-up(md) {
|
2017-10-20 22:57:24 +00:00
|
|
|
padding-left: $contextual-sidebar-collapsed-width;
|
2017-08-07 19:41:33 +00:00
|
|
|
}
|
2017-08-03 01:19:43 +00:00
|
|
|
|
2019-03-04 05:57:40 +00:00
|
|
|
@include media-breakpoint-up(xl) {
|
2017-10-20 22:57:24 +00:00
|
|
|
padding-left: $contextual-sidebar-width;
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
|
|
|
|
2018-10-06 17:16:40 +00:00
|
|
|
.issues-bulk-update.right-sidebar.right-sidebar-expanded .issuable-sidebar-header {
|
2017-07-24 07:47:38 +00:00
|
|
|
padding: 10px 0 15px;
|
|
|
|
}
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
|
|
|
|
2017-08-03 01:19:43 +00:00
|
|
|
.page-with-icon-sidebar {
|
2019-03-04 08:23:55 +00:00
|
|
|
@include media-breakpoint-up(md) {
|
2017-10-20 22:57:24 +00:00
|
|
|
padding-left: $contextual-sidebar-collapsed-width;
|
2017-08-03 01:19:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-27 20:30:15 +00:00
|
|
|
.context-header {
|
2017-07-17 22:33:12 +00:00
|
|
|
position: relative;
|
2017-08-07 14:52:24 +00:00
|
|
|
margin-right: 2px;
|
2018-01-02 18:27:58 +00:00
|
|
|
width: $contextual-sidebar-width;
|
2017-06-28 14:52:11 +00:00
|
|
|
|
2018-06-06 15:10:11 +00:00
|
|
|
> a,
|
|
|
|
> button {
|
2017-12-07 23:41:58 +00:00
|
|
|
transition: padding $sidebar-transition-duration;
|
2017-08-24 14:13:24 +00:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2017-07-17 22:33:12 +00:00
|
|
|
display: flex;
|
2018-06-06 15:10:11 +00:00
|
|
|
width: 100%;
|
2017-07-17 22:33:12 +00:00
|
|
|
align-items: center;
|
|
|
|
padding: 10px 16px 10px 10px;
|
|
|
|
color: $gl-text-color;
|
2018-06-06 15:10:11 +00:00
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
text-align: left;
|
2017-07-07 12:28:06 +00:00
|
|
|
|
2018-06-04 11:11:00 +00:00
|
|
|
&:hover,
|
2018-06-06 15:10:11 +00:00
|
|
|
&:focus {
|
2018-06-04 11:11:00 +00:00
|
|
|
background-color: $link-hover-background;
|
|
|
|
color: $gl-text-color;
|
2018-06-06 15:10:11 +00:00
|
|
|
outline: 0;
|
2018-06-04 11:11:00 +00:00
|
|
|
}
|
2017-06-28 14:52:11 +00:00
|
|
|
}
|
2017-07-07 16:23:56 +00:00
|
|
|
|
2017-07-17 22:33:12 +00:00
|
|
|
.avatar-container {
|
|
|
|
flex: 0 0 40px;
|
2020-03-31 00:08:09 +00:00
|
|
|
background-color: $white;
|
2017-07-17 22:33:12 +00:00
|
|
|
}
|
|
|
|
|
2017-08-23 19:34:32 +00:00
|
|
|
.sidebar-context-title {
|
2017-07-07 16:23:56 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-08-07 13:19:13 +00:00
|
|
|
|
|
|
|
&.text-secondary {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2017-07-07 16:23:56 +00:00
|
|
|
}
|
2017-06-27 20:30:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-avatar {
|
2020-03-31 00:08:09 +00:00
|
|
|
background-color: $white;
|
2017-06-27 20:30:15 +00:00
|
|
|
|
2017-09-28 13:43:52 +00:00
|
|
|
svg {
|
|
|
|
fill: $gl-text-color-secondary;
|
|
|
|
margin: auto;
|
2017-06-27 20:30:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-07 07:22:11 +00:00
|
|
|
@mixin collapse-contextual-sidebar-content {
|
|
|
|
.context-header {
|
|
|
|
height: 60px;
|
|
|
|
width: $contextual-sidebar-collapsed-width;
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 10px 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-top-level-items > li {
|
|
|
|
.sidebar-sub-level-items {
|
|
|
|
&:not(.flyout-list) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-icon-container {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-sidebar-button {
|
|
|
|
padding: 16px;
|
|
|
|
width: $contextual-sidebar-collapsed-width - 1px;
|
|
|
|
|
|
|
|
.collapse-text,
|
2020-06-22 18:08:47 +00:00
|
|
|
.icon-chevron-double-lg-left {
|
2019-02-07 07:22:11 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-06-22 18:08:47 +00:00
|
|
|
.icon-chevron-double-lg-right {
|
2019-02-07 07:22:11 +00:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-28 08:30:57 +00:00
|
|
|
.nav-sidebar {
|
2018-07-02 19:07:41 +00:00
|
|
|
transition: width $sidebar-transition-duration, left $sidebar-transition-duration;
|
2017-06-28 08:30:57 +00:00
|
|
|
position: fixed;
|
2018-10-06 17:16:40 +00:00
|
|
|
z-index: 600;
|
2017-10-20 22:57:24 +00:00
|
|
|
width: $contextual-sidebar-width;
|
2017-09-29 21:03:50 +00:00
|
|
|
top: $header-height;
|
2017-06-28 08:30:57 +00:00
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2017-10-10 22:39:51 +00:00
|
|
|
background-color: $gray-light;
|
2018-07-02 19:07:41 +00:00
|
|
|
box-shadow: inset -1px 0 0 $border-color;
|
2017-08-10 08:10:25 +00:00
|
|
|
transform: translate3d(0, 0, 0);
|
2017-07-07 12:28:06 +00:00
|
|
|
|
2017-12-07 17:16:38 +00:00
|
|
|
&:not(.sidebar-collapsed-desktop) {
|
2018-04-09 15:26:28 +00:00
|
|
|
@media (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, sm)) {
|
2018-10-06 17:16:40 +00:00
|
|
|
box-shadow: inset -1px 0 0 $border-color, 2px 1px 3px $dropdown-shadow-color;
|
2017-09-01 15:06:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-22 04:47:16 +00:00
|
|
|
@mixin collapse-contextual-sidebar {
|
2017-12-07 17:16:38 +00:00
|
|
|
width: $contextual-sidebar-collapsed-width;
|
2017-08-03 01:19:43 +00:00
|
|
|
|
2017-08-17 13:21:46 +00:00
|
|
|
.nav-sidebar-inner-scroll {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
.badge.badge-pill:not(.fly-out-badge),
|
2017-09-01 07:41:31 +00:00
|
|
|
.sidebar-context-title,
|
2017-08-08 16:07:16 +00:00
|
|
|
.nav-item-name {
|
2020-06-05 15:08:23 +00:00
|
|
|
@include gl-sr-only;
|
2017-08-17 07:54:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-top-level-items > li > a {
|
2019-09-19 11:50:12 +00:00
|
|
|
min-height: 45px;
|
2017-08-08 16:07:16 +00:00
|
|
|
}
|
2017-09-01 07:41:31 +00:00
|
|
|
|
|
|
|
.fly-out-top-item {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-09-16 17:19:59 +00:00
|
|
|
|
|
|
|
.avatar-container {
|
2018-10-02 09:08:57 +00:00
|
|
|
margin: 0 auto;
|
2017-09-16 17:19:59 +00:00
|
|
|
}
|
2017-08-03 01:19:43 +00:00
|
|
|
}
|
|
|
|
|
2019-01-22 04:47:16 +00:00
|
|
|
&.sidebar-collapsed-desktop {
|
|
|
|
@include collapse-contextual-sidebar;
|
|
|
|
}
|
|
|
|
|
2017-12-07 17:16:38 +00:00
|
|
|
&.sidebar-expanded-mobile {
|
2017-07-18 16:40:42 +00:00
|
|
|
left: 0;
|
2017-07-17 22:33:12 +00:00
|
|
|
}
|
|
|
|
|
2017-07-07 12:28:06 +00:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-06-28 08:30:57 +00:00
|
|
|
|
|
|
|
ul {
|
2017-07-07 12:28:06 +00:00
|
|
|
padding-left: 0;
|
2017-06-28 08:30:57 +00:00
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
2017-06-30 15:48:42 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
|
2017-06-28 08:30:57 +00:00
|
|
|
a {
|
2017-12-07 23:41:58 +00:00
|
|
|
transition: padding $sidebar-transition-duration;
|
2017-08-02 15:20:33 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-10-02 18:06:20 +00:00
|
|
|
padding: 12px $gl-padding;
|
2017-10-20 23:07:48 +00:00
|
|
|
color: $gl-text-color-secondary;
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
2017-08-02 15:20:33 +00:00
|
|
|
|
2017-07-12 09:50:26 +00:00
|
|
|
.nav-item-name {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2017-06-28 08:30:57 +00:00
|
|
|
|
2017-07-12 09:50:26 +00:00
|
|
|
&.active {
|
|
|
|
> a {
|
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
}
|
2017-07-07 12:28:06 +00:00
|
|
|
}
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
2017-06-30 15:48:42 +00:00
|
|
|
|
2019-03-04 08:23:55 +00:00
|
|
|
@include media-breakpoint-down(sm) {
|
2017-10-20 22:57:24 +00:00
|
|
|
left: (-$contextual-sidebar-width);
|
2017-06-30 15:48:42 +00:00
|
|
|
}
|
2017-08-02 15:20:33 +00:00
|
|
|
|
|
|
|
.nav-icon-container {
|
|
|
|
display: flex;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2017-09-01 07:41:31 +00:00
|
|
|
|
|
|
|
.fly-out-top-item {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-09-28 13:43:52 +00:00
|
|
|
|
|
|
|
svg {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
2019-02-07 07:22:11 +00:00
|
|
|
|
2019-03-04 08:23:55 +00:00
|
|
|
@media (min-width: map-get($grid-breakpoints, md)) and (max-width: map-get($grid-breakpoints, xl) - 1px) {
|
2019-03-04 04:49:18 +00:00
|
|
|
&:not(.sidebar-expanded-mobile) {
|
2019-02-07 07:22:11 +00:00
|
|
|
@include collapse-contextual-sidebar;
|
|
|
|
@include collapse-contextual-sidebar-content;
|
|
|
|
}
|
|
|
|
}
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
|
|
|
|
2017-08-10 08:10:25 +00:00
|
|
|
.nav-sidebar-inner-scroll {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2017-09-18 11:32:23 +00:00
|
|
|
overflow: auto;
|
2017-08-10 08:10:25 +00:00
|
|
|
}
|
|
|
|
|
2017-07-31 08:07:51 +00:00
|
|
|
.with-performance-bar .nav-sidebar {
|
2017-09-29 21:03:50 +00:00
|
|
|
top: $header-height + $performance-bar-height;
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-sub-level-items {
|
|
|
|
display: none;
|
2017-07-07 12:28:06 +00:00
|
|
|
padding-bottom: 8px;
|
2017-06-28 08:30:57 +00:00
|
|
|
|
|
|
|
> li {
|
|
|
|
a {
|
2017-08-08 19:47:47 +00:00
|
|
|
padding: 8px 16px 8px 40px;
|
2017-06-28 08:30:57 +00:00
|
|
|
|
2017-07-07 12:28:06 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-10-20 23:07:48 +00:00
|
|
|
background: $link-active-background;
|
|
|
|
color: $gl-text-color;
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2017-07-07 12:28:06 +00:00
|
|
|
a {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-10-20 23:07:48 +00:00
|
|
|
background: $link-active-background;
|
2017-07-07 12:28:06 +00:00
|
|
|
}
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-top-level-items {
|
2017-08-03 01:19:43 +00:00
|
|
|
margin-bottom: 60px;
|
|
|
|
|
2017-06-28 08:30:57 +00:00
|
|
|
> li {
|
2017-07-19 15:57:00 +00:00
|
|
|
> a {
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-up(sm) {
|
2018-07-02 19:07:41 +00:00
|
|
|
margin-right: 1px;
|
2017-07-19 15:57:00 +00:00
|
|
|
}
|
2017-07-28 09:14:32 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
2017-07-19 15:57:00 +00:00
|
|
|
}
|
|
|
|
|
2017-08-08 19:27:00 +00:00
|
|
|
&.is-showing-fly-out {
|
2017-07-28 14:56:08 +00:00
|
|
|
> a {
|
2018-07-02 19:07:41 +00:00
|
|
|
margin-right: 1px;
|
2017-07-28 09:14:32 +00:00
|
|
|
}
|
|
|
|
|
2017-07-18 13:18:11 +00:00
|
|
|
.sidebar-sub-level-items {
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-up(sm) {
|
2017-07-18 13:18:11 +00:00
|
|
|
position: fixed;
|
2017-07-19 07:38:20 +00:00
|
|
|
top: 0;
|
2017-09-16 17:19:59 +00:00
|
|
|
left: 0;
|
2017-08-08 11:15:03 +00:00
|
|
|
min-width: 150px;
|
2017-07-26 16:25:49 +00:00
|
|
|
margin-top: -1px;
|
2017-09-01 07:41:31 +00:00
|
|
|
padding: 4px 1px;
|
2020-03-31 00:08:09 +00:00
|
|
|
background-color: $white;
|
2017-07-19 07:38:20 +00:00
|
|
|
box-shadow: 2px 1px 3px $dropdown-shadow-color;
|
2017-07-26 16:25:49 +00:00
|
|
|
border: 1px solid $gray-darker;
|
2017-07-28 09:14:32 +00:00
|
|
|
border-left: 0;
|
2017-07-19 15:57:00 +00:00
|
|
|
border-radius: 0 3px 3px 0;
|
2017-07-19 07:38:20 +00:00
|
|
|
|
2017-07-25 15:53:53 +00:00
|
|
|
&::before {
|
2018-03-19 09:47:50 +00:00
|
|
|
content: '';
|
2017-07-25 15:53:53 +00:00
|
|
|
position: absolute;
|
2017-08-01 10:55:37 +00:00
|
|
|
top: -30px;
|
|
|
|
bottom: -30px;
|
2017-08-04 14:32:44 +00:00
|
|
|
left: -10px;
|
2017-08-01 10:55:37 +00:00
|
|
|
right: -30px;
|
2017-07-25 15:53:53 +00:00
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
2017-07-26 16:25:49 +00:00
|
|
|
&.is-above {
|
|
|
|
margin-top: 1px;
|
2017-07-19 07:38:20 +00:00
|
|
|
}
|
|
|
|
|
2017-09-01 07:41:31 +00:00
|
|
|
.divider {
|
|
|
|
height: 1px;
|
|
|
|
margin: 4px -1px;
|
|
|
|
padding: 0;
|
2018-12-06 21:23:55 +00:00
|
|
|
background-color: $dropdown-divider-bg;
|
2017-09-01 07:41:31 +00:00
|
|
|
}
|
|
|
|
|
2017-08-08 19:27:00 +00:00
|
|
|
> .active {
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
> a {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-19 07:38:20 +00:00
|
|
|
a {
|
2017-08-02 15:37:40 +00:00
|
|
|
padding: 8px 16px;
|
2017-07-28 09:14:32 +00:00
|
|
|
color: $gl-text-color;
|
|
|
|
|
2017-07-19 07:38:20 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-07-26 16:25:49 +00:00
|
|
|
background-color: $gray-darker;
|
2017-07-19 07:38:20 +00:00
|
|
|
}
|
2017-07-18 13:18:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
.badge.badge-pill {
|
2017-07-07 12:28:06 +00:00
|
|
|
background-color: $inactive-badge-background;
|
2017-10-20 23:07:48 +00:00
|
|
|
color: $gl-text-color-secondary;
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2017-10-20 23:07:48 +00:00
|
|
|
background: $link-active-background;
|
2017-06-28 08:30:57 +00:00
|
|
|
|
2017-07-28 09:14:32 +00:00
|
|
|
> a {
|
|
|
|
margin-left: 4px;
|
2017-12-07 23:41:58 +00:00
|
|
|
// Subtract width of left border on active element
|
2019-10-02 18:06:20 +00:00
|
|
|
padding-left: $gl-padding-12;
|
2017-07-28 09:14:32 +00:00
|
|
|
}
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
.badge.badge-pill {
|
2017-08-24 14:13:24 +00:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
|
|
|
|
2017-09-01 07:41:31 +00:00
|
|
|
.sidebar-sub-level-items:not(.is-fly-out-only) {
|
2017-06-28 08:30:57 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-04 14:32:44 +00:00
|
|
|
&.active > a:hover,
|
2017-08-01 07:49:03 +00:00
|
|
|
&.is-over > a {
|
2017-10-20 23:07:48 +00:00
|
|
|
background-color: $link-hover-background;
|
2017-06-28 08:30:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-03 01:19:43 +00:00
|
|
|
// Collapsed nav
|
|
|
|
|
2017-12-07 17:24:05 +00:00
|
|
|
.toggle-sidebar-button,
|
|
|
|
.close-nav-button {
|
2018-07-02 19:07:41 +00:00
|
|
|
width: $contextual-sidebar-width - 1px;
|
2017-12-07 23:41:58 +00:00
|
|
|
transition: width $sidebar-transition-duration;
|
2017-08-03 01:19:43 +00:00
|
|
|
position: fixed;
|
2018-11-02 13:07:17 +00:00
|
|
|
height: $toggle-sidebar-height;
|
2017-08-03 01:19:43 +00:00
|
|
|
bottom: 0;
|
2018-11-02 13:07:17 +00:00
|
|
|
padding: 0 $gl-padding;
|
2017-10-11 18:17:59 +00:00
|
|
|
background-color: $gray-light;
|
2017-08-07 19:41:33 +00:00
|
|
|
border: 0;
|
2018-07-02 19:07:41 +00:00
|
|
|
border-top: 1px solid $border-color;
|
2017-08-03 01:19:43 +00:00
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2017-09-28 13:43:52 +00:00
|
|
|
svg {
|
2017-08-03 01:19:43 +00:00
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
2020-06-22 18:08:47 +00:00
|
|
|
.icon-chevron-double-lg-right {
|
2017-08-03 01:19:43 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $border-color;
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-07 17:16:38 +00:00
|
|
|
.collapse-text {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2017-08-07 19:41:33 +00:00
|
|
|
|
2019-01-22 04:47:16 +00:00
|
|
|
.sidebar-collapsed-desktop {
|
|
|
|
@include collapse-contextual-sidebar-content;
|
|
|
|
}
|
|
|
|
|
2017-09-01 07:41:31 +00:00
|
|
|
.fly-out-top-item {
|
|
|
|
> a {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fly-out-badge {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fly-out-top-item-name {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2017-08-03 01:19:43 +00:00
|
|
|
|
|
|
|
// Mobile nav
|
|
|
|
|
2017-08-07 19:41:33 +00:00
|
|
|
.close-nav-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-07-17 22:33:12 +00:00
|
|
|
.toggle-mobile-nav {
|
|
|
|
display: none;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 6px 16px;
|
2017-09-18 16:21:04 +00:00
|
|
|
margin: 0 0 0 -15px;
|
2017-07-17 22:33:12 +00:00
|
|
|
height: 46px;
|
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: 20px;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
2019-03-04 08:23:55 +00:00
|
|
|
@include media-breakpoint-down(sm) {
|
2017-09-18 16:21:04 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-09-14 21:16:52 +00:00
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
2017-09-26 10:52:30 +00:00
|
|
|
|
|
|
|
+ .breadcrumbs-links {
|
2017-10-16 22:52:08 +00:00
|
|
|
padding-left: $gl-padding;
|
2017-09-26 10:52:30 +00:00
|
|
|
border-left: 1px solid $gl-text-color-quaternary;
|
|
|
|
}
|
|
|
|
}
|
2017-07-17 22:33:12 +00:00
|
|
|
}
|
|
|
|
|
2019-03-04 08:23:55 +00:00
|
|
|
@include media-breakpoint-down(sm) {
|
2017-08-07 19:41:33 +00:00
|
|
|
.close-nav-button {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2019-03-04 08:23:55 +00:00
|
|
|
.toggle-sidebar-button {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-07-18 16:40:42 +00:00
|
|
|
|
2019-03-04 08:23:55 +00:00
|
|
|
.mobile-overlay {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.mobile-nav-open {
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
background-color: $black-transparent;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 300;
|
|
|
|
}
|
2017-07-18 16:40:42 +00:00
|
|
|
}
|
|
|
|
}
|