aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/ui/DuplicationsRating.css
blob: 6e9842abc7764150a898060c48d7b57c4bf803c7 (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
.duplications-rating {
  position: relative;
  display: inline-flex;
  vertical-align: top;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border: 3px solid #f3ca8e;
  border-radius: 24px;
  box-sizing: border-box;
}

.duplications-rating-small {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.duplications-rating-big {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

.duplications-rating-muted {
  border-color: #bdbdbd !important;
}

.duplications-rating-muted:after {
  background-color: #bdbdbd !important;
}

.duplications-rating:after {
  border-radius: 24px;
  background-color: #f3ca8e;
  content: "";
}

.duplications-rating-A {
  border-color: #85bb43;
}

.duplications-rating-A:after {
  display: none;
}

.duplications-rating-B:after {
  width: 6px;
  height: 6px;
}

.duplications-rating-small.duplications-rating-B:after {
  width: 2px;
  height: 2px;
}

.duplications-rating-big.duplications-rating-B:after {
  width: 12px;
  height: 12px;
}

.duplications-rating-C:after {
  width: 8px;
  height: 8px;
}

.duplications-rating-small.duplications-rating-C:after {
  width: 6px;
  height: 6px;
}

.duplications-rating-big.duplications-rating-C:after {
  width: 16px;
  height: 16px;
}

.duplications-rating-D {
  border-color: #d4333f;
}

.duplications-rating-D:after {
  width: 12px;
  height: 12px;
  background-color: #d4333f;
}

.duplications-rating-small.duplications-rating-D:after {
  width: 8px;
  height: 8px;
}

.duplications-rating-big.duplications-rating-D:after {
  width: 24px;
  height: 24px;
}

.duplications-rating-E {
  border-color: #d4333f;
}

.duplications-rating-E:after {
  width: 14px;
  height: 14px;
  background-color: #d4333f;
}

.duplications-rating-small.duplications-rating-E:after {
  width: 10px;
  height: 10px;
}

.duplications-rating-big.duplications-rating-E:after {
  width: 28px;
  height: 28px;
}