summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/issues.less
blob: 26f8043e1d3533de2b9c5dbd19c9bd8a3e8ad2a5 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
@import (reference) "variables";
@import (reference) "mixins";
@import (reference) "ui";

@sideWidth: 300px;


.issues {

  &.sticky {

    .issues-workspace-list,
    .issues-workspace-component-viewer {
      padding-top: 22px + 5px + 5px + 1px + 10px;
    }

  }
}

.issues-workspace-list-component {
  line-height: 1.5;
}

.issues-workspace-list-component + .issue {
  margin-top: 10px;
}

.issue + .issues-workspace-list-component {
  margin-top: 25px;
}

.issues-workspace-list-component-part {
  margin-right: 10px;
  border-bottom: none;
}

.issues-workspace-component-viewer {
  display: none;
  padding: 1px 10px;
  min-height: 100vh;

  .code-issue-modern {
    margin: 5px 0;
  }
}

.issues-workspace-component-viewer-header {
  position: relative;
}

.issues-workspace-component-viewer-close {
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -8px;
}

.issues-extended-view {

  .search-navigator-workspace-list {
    display: none;
  }

  .issues-workspace-component-viewer {
    display: block;
  }
}

.issues-header-component {
  padding-left: 10px;
}

.issue-box {
  .clearfix;
  outline: 1px solid @barBorderColor;
  border-left: 2px solid transparent;
  overflow: hidden;

  &.selected {
    outline-color: @blue;
    border-color: @blue;
  }

  .code-issue {
    border: none;
    outline: none;
  }
}

.issue-box + .issue-box {
  margin-top: 12px;
}

.issue-box-details {

}

.code-issue-modern {
  outline: 1px solid @barBorderColor;
  border-left: 2px solid transparent;

  .code-issue-name,
  .code-issue-actions,
  .code-issue-details,
  .code-issue-comment {
    border: none;
    background: transparent;
  }

  &.selected {
    outline-color: @blue;
    border-color: @blue;
  }
}

.issue-box-snippet {
  padding: 3px 0;
  overflow: hidden;
  cursor: pointer;

  .code {
    border: none;
  }
}

.issue-box-component {
  padding: 5px;
}

.code .has-issues > pre {
  display: inline-block;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAGCAYAAAAPDoR2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1M0M2Rjk4M0M3QUYxMUUzODkzRUREMUM5OTNDMjY4QSIgeG1wTU06RG9jdW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