aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/analysis-reports.less
blob: f17e158776e72e8bd3896aac1ea5af57c94c4b9e (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
@import (reference) "mixins";
@import (reference) "variables";
@import (reference) "ui";
@import (reference) "navigator/base";


@pendingColor: #fdfce2;
@workingColor: #ecf9fc;
@doneColor: #ecfced;
@failedColor: #fcecec;


.analysis-reports-navigator {
  margin: -10px;

  .navigator-side {
    width: 50%;
    max-width: none;
    min-width: 660px;
  }

  .navigator-results {
    width: auto;
    max-width: none;
    margin-top: 0;
  }

  .navigator-results-list > li {
    cursor: default;

    &:hover { background: transparent; }
  }

  .navigator-details { text-align: center; }

  .navigator-actions {
    padding: 5px 10px;
  }

}

.analysis-reports-report-pending {
  background-color: @pendingColor !important;
}

.analysis-reports-report-working {
  background-color: @workingColor !important;
}

.analysis-reports-report-done {
  background-color: @doneColor !important;
}

.analysis-reports-report-failed {
  background-color: @failedColor !important;

  .analysis-reports-report-id { color: darken(@failedColor, 60%); }
}

.analysis-reports-project {
  display: inline-block;
  vertical-align: middle;
  width: 30%;
  .text-ellipsis;
}

.analysis-reports-timestamp {
  display: inline-block;
  vertical-align: middle;
  width: 180px;
  margin-left: 15px;
}

.analysis-reports-report-id {
  position: absolute;
  top: 6px;
  right: 6px;
  opacity: 0.3;
  font-size: @bigFontSize;

  &:before { content: '#'; }
}

.analysis-reports-spinner {
  .size(200px, 200px);
  margin-top: 20px;
}

.analysis-reports-spinner,
.analysis-reports-spinner:before
.analysis-reports-spinner:after {
  -webkit-animation-duration: 6s;
  animation-duration: 6s;
}

.analysis-reports-timestamp-spinner {
  margin-left: 10px;
}

.analysis-reports-timestamp-spinner,
.analysis-reports-timestamp-spinner:before,
.analysis-reports-timestamp-spinner:after {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}