diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-05-22 17:14:37 +0200 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-06-09 08:26:48 +0200 |
commit | 1689d1f1ca71dfac66682fd87b4ce56ad58dfce0 (patch) | |
tree | a0af224d5d10ee2f62b76a190c220ba735667940 /server/sonar-web/src/main/js/apps/projects/styles.css | |
parent | c26d1c37fdcbc8cbdeb0390648c071297d72d027 (diff) | |
download | sonarqube-1689d1f1ca71dfac66682fd87b4ce56ad58dfce0.tar.gz sonarqube-1689d1f1ca71dfac66682fd87b4ce56ad58dfce0.zip |
SONAR-9245 Create the leak view on projects page
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.css | 25 |
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; |