blob: 8553b3f02f023920f7c68ac7f0de9a3b9e0c95d6 (
plain) (
blame)
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
|
// Circle badge icon with drop shadow for icons and logos
.CircleBadge {
display: flex;
align-items: center;
justify-content: center;
background-color: $bg-white;
border-radius: 50%;
box-shadow: $box-shadow-medium;
}
.CircleBadge-icon {
max-width: 60% !important;
height: auto !important;
max-height: 55% !important;
}
// Small badge
.CircleBadge--small {
width: 56px;
height: 56px;
}
// Medium badge
.CircleBadge--medium {
width: 96px;
height: 96px;
}
// Large badge
.CircleBadge--large {
width: 128px;
height: 128px;
}
// Dashed line that connects badges..
// Wrap around 2 or more badges to create a horizonal line:
.DashedConnection {
position: relative;
&::before {
position: absolute;
top: 50%;
left: 0;
width: 100%;
content: "";
// stylelint-disable-next-line primer/borders
border-bottom: 2px dashed $border-gray;
}
.CircleBadge {
position: relative;
}
}
|