aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/pages/code.less
blob: ec50b00aeffec2db0191c685b57774601414286a (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
@import (reference) "../mixins";
@import (reference) "../variables";
@import (reference) "../init/type";


.code-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  padding-left: 10px;
  overflow: hidden;
}

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

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

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

.code-components-cell {
  width: 100px;
}

.code-truncated {
  display: inline-block;
  vertical-align: text-top;
  max-width: 300px;
  .text-ellipsis;
}

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

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

.code-source-viewer .source-viewer-header-component {
  visibility: hidden;
}