blob: 4b55b39d6f3e240801dad1159b9e10105685dbaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
.super-sidebar {
top: 0;
width: $contextual-sidebar-width;
z-index: 600;
.user-bar {
background-color: $t-gray-a-04;
.tanuki-logo {
@include gl-vertical-align-middle;
}
}
.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);
}
}
.context-switcher-toggle {
&[aria-expanded='true'] {
background-color: $t-gray-a-08;
}
}
.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.
}
}
}
}
.with-performance-bar .super-sidebar {
top: $performance-bar-height;
}
|