aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projects/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects/styles.css')
-rw-r--r--server/sonar-web/src/main/js/apps/projects/styles.css25
1 files changed, 24 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/styles.css b/server/sonar-web/src/main/js/apps/projects/styles.css
index d413f3d0cb6..5a94f6006a7 100644
--- a/server/sonar-web/src/main/js/apps/projects/styles.css
+++ b/server/sonar-web/src/main/js/apps/projects/styles.css
@@ -85,16 +85,39 @@
margin: 0 -15px;
}
+.project-card-leak-measures {
+ padding: 4px 0;
+ margin: 0 -4px 4px;
+ background-color: #fbf3d5;
+ border: 1px solid #eae3c7;
+}
+
.project-card-measures .project-card-measure {
width: 120px;
box-sizing: border-box;
padding: 0 15px;
}
-.project-card-measures .project-card-measure:nth-child(-n+2) {
+.project-card-leak-measures .project-card-measure {
+ width: 140px;
+ box-sizing: border-box;
+ padding: 0 5px;
+}
+
+.project-card-measure.smaller-card {
width: 90px;
}
+@media (max-width: 1130px) {
+ .project-card-leak-measures .project-card-measure {
+ width: 134px;
+ padding: 0 2px;
+ }
+ .project-card-measure.smaller-card {
+ width: 81px;
+ }
+}
+
.project-card-measure {
position: relative;
display: inline-block;