aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/locations/CrossFileLocationNavigator.css
blob: a02d8b8d1cd426a05c1183135ae598ddddaa934f (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
/*
 * SonarQube
 * Copyright (C) 2009-2023 SonarSource SA
 * mailto:info AT sonarsource DOT com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
.locations-navigator-file {
  position: relative;
}

.locations-navigator-file + .locations-navigator-file {
  margin-top: calc(1.5 * var(--gridSize));
}

.locations-navigator-file:not(:last-child)::before {
  position: absolute;
  display: block;
  width: 0;
  top: 13px;
  bottom: calc(-2 * var(--gridSize));
  left: 4px;
  border-left: 1px dotted var(--conciseIssueRed);
  content: '';
}

.location-file-locations {
  padding-left: calc(2 * var(--gridSize));
}

.location-file {
  height: calc(2 * var(--gridSize));
  padding-bottom: calc(0.5 * var(--gridSize));
  font-size: var(--smallFontSize);
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-file-circle,
.location-file-circle-multiple,
.location-file-circle-multiple::before,
.location-file-circle-multiple::after {
  position: relative;
  top: 1px;
  display: inline-block;
  width: calc(1px + var(--gridSize));
  height: calc(1px + var(--gridSize));
  border: 1px solid var(--conciseIssueRed);
  border-radius: 100%;
  box-sizing: border-box;
  background-color: var(--issueBgColor);
}

.location-file-circle-multiple {
  top: -2px;
}

.location-file-circle-multiple::before {
  position: absolute;
  z-index: calc(5 + var(--normalZIndex));
  top: 2px;
  left: -1px;
  content: '';
}

.location-file-circle-multiple::after {
  position: absolute;
  z-index: calc(5 + var(--aboveNormalZIndex));
  top: 5px;
  left: -1px;
  content: '';
}

.location-file-more {
  border-color: rgba(209, 133, 130, 0.2);
  color: rgb(209, 133, 130) !important;
  font-style: italic;
  font-weight: normal;
}

.location-file-more:hover,
.location-file-more:focus {
  border-color: rgba(209, 133, 130, 0.6);
}