aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/code/code.css
blob: 7588b745ab244ef5c5eb7c2f46a9c893b1833df5 (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
/*
 * SonarQube
 * Copyright (C) 2009-2022 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.
 */
.code-components .page-actions {
  margin-top: -35px;
}

.code-components .boxed-group.search-results {
  padding-top: 16px;
}

.code-components .boxed-group.search-results .page-actions {
  margin-top: -50px;
}

.code-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
}

.code-breadcrumbs > li {
  padding: 5px 5px 3px;
}

.code-breadcrumbs > li:first-child {
  padding-left: 0;
}

.code-breadcrumbs > li::after {
  position: relative;
  top: -1px;
  padding-left: 10px;
  color: var(--secondFontColor);
  font-size: 11px;
  content: '>';
}

.code-breadcrumbs > li:last-child::after {
  display: none;
}

.code-components-cell {
  padding-left: calc(2 * var(--gridSize)) !important;
  box-sizing: border-box;
}

.code-components-rating-cell {
  width: 110px;
}

.code-name-cell {
  max-width: 0;
}

@media (max-width: 1200px) {
  .code-name-cell .badge {
    display: none;
  }
}

.code-search {
  margin-bottom: 10px;
  display: flex;
}

.code-components-header {
  position: sticky;
  top: 105px;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1;
}

table > thead > tr.code-components-header > th {
  vertical-align: middle;
}

.code-child-component-icon {
  display: inline-block;
  border-left: 1px solid var(--secondFontColor);
  border-bottom: 1px solid var(--secondFontColor);
  margin-left: 8px;
  margin-bottom: 8px;
  margin-right: 4px;
  height: 8px;
  width: 4px;
}

.code-components .no-file .h1 {
  position: fixed;
  top: 50%;
}