blob: 68e2b747c52d8c474376923eb297f28cb23ef635 (
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
|
/**
Shared styles for system note dot and icon styles used for MR, Issue, Work Item
*/
.system-note-tiny-dot {
width: 8px;
height: 8px;
margin-top: 6px;
margin-left: 12px;
margin-right: 8px;
border: 2px solid var(--gray-50, $gray-50);
}
.system-note-icon {
width: 20px;
height: 20px;
margin-left: 6px;
&.gl-bg-green-100 {
--bg-color: var(--green-100, #{$green-100});
}
&.gl-bg-red-100 {
--bg-color: var(--red-100, #{$red-100});
}
&.gl-bg-blue-100 {
--bg-color: var(--blue-100, #{$blue-100});
}
}
.system-note-icon:not(.mr-system-note-empty)::before {
content: '';
display: block;
position: absolute;
left: calc(50% - 1px);
bottom: 100%;
width: 2px;
height: 20px;
background: linear-gradient(to bottom, transparent, var(--bg-color));
.system-note:first-child & {
display: none;
}
}
.system-note-icon:not(.mr-system-note-empty)::after {
content: '';
display: block;
position: absolute;
left: calc(50% - 1px);
top: 100%;
width: 2px;
height: 20px;
background: linear-gradient(to bottom, var(--bg-color), transparent);
.system-note:last-child & {
display: none;
}
}
|