summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/code/code.css
blob: 937d646a0643e22198a4e467c87cc29c02ceee5c (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
.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: #777;
  font-size: 11px;
  content: ">";
}

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

.code-components-cell {
  min-width: 80px;
  padding-left: 30px !important;
  box-sizing: border-box;
}

.code-truncated {
  display: inline-block;
  vertical-align: text-top;
  max-width: 50vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.code-name-cell .code-truncated {
  max-width: 100%;
}

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

.code-search-with-results + .code-components {
  display: none;
}

.code-search .search-box {
  padding-right: 10px;
}

.code-search .search-box .note {
  vertical-align: middle;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.code-search .search-box input.touched ~ .note {
  opacity: 1;
}

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