aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/ui/DuplicationsRating.css
blob: 77d99af4129083a390632479b663758c58c6a98d (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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
.duplications-rating {
  position: relative;
  display: inline-flex;
  vertical-align: top;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border: 3px solid #ed7d20;
  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-huge {
  width: 60px;
  height: 60px;
  border-width: 4px;
  border-radius: 30px;
}

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

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

.duplications-rating:after {
  border-radius: 24px;
  content: "";
}

.duplications-rating-A {
  border-color: #00aa00;
}

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

.duplications-rating-B {
  border-color: #b0d513;
}

.duplications-rating-B:after {
  width: 6px;
  height: 6px;
  background-color: #b0d513;
}

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

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

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

.duplications-rating-C {
  border-color: #eabe06;
}

.duplications-rating-C:after {
  width: 8px;
  height: 8px;
  background-color: #eabe06;
}

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

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

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

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

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

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

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

.duplications-rating-huge.duplications-rating-D:after {
  width: 36px;
  height: 36px;
}

.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;
}

.duplications-rating-huge.duplications-rating-E:after {
  width: 42px;
  height: 42px;
}