blob: f870948cc4f667f947e8426c4bf8d2fcbe81dace (
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
.popover {
max-width: $popover-max-width;
border: 1px solid $gray-100;
box-shadow: $popover-box-shadow;
font-size: $gl-font-size-small;
/**
* Blue popover variation
*/
&.blue {
background-color: $blue-600;
border-color: $blue-600;
.popover-body {
color: $white;
}
&.bs-popover-bottom {
.arrow::before,
.arrow::after {
border-bottom-color: $blue-600;
}
}
&.bs-popover-top {
.arrow::before,
.arrow::after {
border-top-color: $blue-600;
}
}
&.bs-popover-right {
.arrow::after,
.arrow::before {
border-right-color: $blue-600;
}
}
&.bs-popover-left {
.arrow::before,
.arrow::after {
border-left-color: $blue-600;
}
}
}
}
.bs-popover-top {
/* When popover position is top, the arrow is translated 1 pixel
* due to the box-shadow include in our custom styles.
*/
> .arrow::before {
border-top-color: $gray-100;
bottom: 1px;
}
> .arrow::after {
bottom: 2px;
}
}
.bs-popover-bottom {
> .arrow::before {
border-bottom-color: $gray-100;
}
> .popover-header::before {
border-color: $white;
}
}
.bs-popover-right > .arrow::before {
border-right-color: $gray-100;
}
.bs-popover-left > .arrow::before {
border-left-color: $gray-100;
}
.popover-header {
background-color: $white;
font-size: $gl-font-size-small;
}
.popover-body {
padding: $gl-padding $gl-padding-12;
> .popover-hr {
margin: $gl-padding 0;
}
}
/**
* mr_popover component
*/
.mr-popover {
.text-secondary {
font-size: 12px;
line-height: 1.33;
}
}
.suggest-gitlab-ci-yml {
margin-top: -1em;
.popover-header {
padding: $gl-padding;
display: flex;
align-items: center;
}
}
|