debian-mirror-gitlab/app/assets/stylesheets/framework/super_sidebar.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 lines
1.4 KiB
SCSS
Raw Normal View History

2023-03-17 16:20:25 +05:30
.super-sidebar {
top: 0;
width: $contextual-sidebar-width;
2023-04-23 21:23:45 +05:30
z-index: 600;
2023-03-17 16:20:25 +05:30
.user-bar {
background-color: $t-gray-a-04;
.tanuki-logo {
@include gl-vertical-align-middle;
}
}
2023-04-23 21:23:45 +05:30
.counter .gl-icon {
color: var(--gray-500, $gray-500);
}
.counter:hover,
.counter:focus,
.gl-dropdown-custom-toggle:hover .counter,
.gl-dropdown-custom-toggle:focus .counter,
.gl-dropdown-custom-toggle[aria-expanded='true'] .counter {
background-color: $gray-50;
border-color: transparent;
mix-blend-mode: multiply;
.gl-icon {
color: var(--gray-700, $gray-700);
}
}
2023-03-17 16:20:25 +05:30
.context-switcher-toggle {
&[aria-expanded='true'] {
background-color: $t-gray-a-08;
}
}
2023-04-23 21:23:45 +05:30
.btn-with-notification {
mix-blend-mode: unset !important; // Our tertiary buttons otherwise use another mix-blend mode, making border-color semi-transparent.
position: relative;
.notification {
background-color: $blue-500;
border: 2px solid $gray-10; // Same as the sidebar's background color.
position: absolute;
height: 9px;
width: 9px;
top: 5px;
left: 22px;
border-radius: 50%;
transition: background-color 100ms linear, border-color 100ms linear;
}
&:hover,
&:focus {
.notification {
border-color: $gray-50; // Same as the button's hover background color.
}
}
}
2023-03-17 16:20:25 +05:30
}
.with-performance-bar .super-sidebar {
top: $performance-bar-height;
}