aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/init
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-06-08 14:55:57 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-06-08 16:19:45 +0200
commite4bdb659626dddf8a50aba7a3f33ddab084963eb (patch)
treeed5b3639059f2d117800a960dfb1e59992f4fd65 /server/sonar-web/src/main/less/init
parent7831e74970f8d9318eea6bb9d778320786439a7f (diff)
downloadsonarqube-e4bdb659626dddf8a50aba7a3f33ddab084963eb.tar.gz
sonarqube-e4bdb659626dddf8a50aba7a3f33ddab084963eb.zip
update page and tables styles
Diffstat (limited to 'server/sonar-web/src/main/less/init')
-rw-r--r--server/sonar-web/src/main/less/init/tables.less27
1 files changed, 20 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/less/init/tables.less b/server/sonar-web/src/main/less/init/tables.less
index d2ace99a05b..5a49b99c0f0 100644
--- a/server/sonar-web/src/main/less/init/tables.less
+++ b/server/sonar-web/src/main/less/init/tables.less
@@ -39,15 +39,23 @@ table {
color: @baseFontColor;
}
+table.data > thead:after {
+ display: block;
+ line-height: 5px;
+ content: "\200C";
+}
+
table.data > thead > tr > th {
vertical-align: top;
- font-size: 93%;
- padding: 5px;
- line-height: 1.4;
- text-transform: uppercase;
+ line-height: 24px;
+ padding: 8px 10px;
+ border-bottom: 1px solid @barBorderColor;
+ font-weight: 500;
& > .small {
- text-transform: none;
+ display: block;
+ line-height: 1.4;
+ font-weight: 400;
}
}
@@ -58,7 +66,7 @@ table.data > tfoot > tr > td {
}
table.data > tbody > tr > td {
- padding: 5px 5px;
+ padding: 8px 10px;
vertical-align: text-top;
line-height: 16px;
@@ -72,7 +80,7 @@ table.data td.small, table.data th.small {
white-space: nowrap;
}
-table.data.zebra > tbody > tr:nth-child(odd) {
+table.data.zebra > tbody > tr:nth-child(even) {
background-color: #f5f5f5;
}
@@ -84,6 +92,11 @@ table.data.zebra > tbody > tr.selected {
background-color: @lightBlue !important;
}
+table.data.condensed > tbody > tr > td {
+ padding-top: 5px;
+ padding-bottom: 5px;
+}
+
.data thead tr.total {
background-color: #EFEFEF;
font-weight: normal;