aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2017-01-30 15:39:44 +0100
committerStas Vilchik <vilchiks@gmail.com>2017-01-30 16:09:27 +0100
commit6daa377dda51dd0eb525cb8178d8de7b2702861b (patch)
treee1a27826156ebe30df474ac58dc1366d78ac2070 /server
parent96348e73bd516fd410a10f6d04a6b7054728fb2a (diff)
downloadsonarqube-6daa377dda51dd0eb525cb8178d8de7b2702861b.tar.gz
sonarqube-6daa377dda51dd0eb525cb8178d8de7b2702861b.zip
fix rating's letter position
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/components/ui/Rating.css21
1 files changed, 11 insertions, 10 deletions
diff --git a/server/sonar-web/src/main/js/components/ui/Rating.css b/server/sonar-web/src/main/js/components/ui/Rating.css
index e4702058302..b16bc698e8e 100644
--- a/server/sonar-web/src/main/js/components/ui/Rating.css
+++ b/server/sonar-web/src/main/js/components/ui/Rating.css
@@ -2,7 +2,7 @@
display: inline-block;
width: 24px;
height: 24px;
- line-height: 23px;
+ line-height: 24px;
border-radius: 24px;
box-sizing: border-box;
color: #fff;
@@ -12,15 +12,6 @@
text-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
}
-.rating-small {
- width: 18px;
- height: 18px;
- line-height: 18px;
- margin-top: -1px;
- margin-bottom: -1px;
- font-size: 12px;
-}
-
.rating-muted {
background-color: #bdbdbd !important;
color: #fff !important;
@@ -38,6 +29,7 @@ a > .rating:hover {
}
.rating-A {
+ line-height: 23px;
background-color: #00aa00;
}
@@ -68,3 +60,12 @@ a .rating-D { border-bottom-color: #ed7d20; }
}
a .rating-E { border-bottom-color: #e00; }
+
+.rating-small {
+ width: 18px;
+ height: 18px;
+ line-height: 18px;
+ margin-top: -1px;
+ margin-bottom: -1px;
+ font-size: 12px;
+}