aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/stylesheets
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-10-31 18:59:29 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2011-10-31 19:06:00 +0100
commit5aad37958e2ab2bcff3b98a3cbd943598503f9f0 (patch)
tree62a73a820820d64c02ee7a8c6f2de4a88fdd9030 /sonar-server/src/main/webapp/stylesheets
parentf321e371a974280ed4bc48ae054ebadb83f9c7aa (diff)
downloadsonarqube-5aad37958e2ab2bcff3b98a3cbd943598503f9f0.tar.gz
sonarqube-5aad37958e2ab2bcff3b98a3cbd943598503f9f0.zip
Improve rendering of duplications tab and add support for IE6
Diffstat (limited to 'sonar-server/src/main/webapp/stylesheets')
-rw-r--r--sonar-server/src/main/webapp/stylesheets/style.css57
1 files changed, 32 insertions, 25 deletions
diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css
index 598a30fc699..c7cf810ded2 100644
--- a/sonar-server/src/main/webapp/stylesheets/style.css
+++ b/sonar-server/src/main/webapp/stylesheets/style.css
@@ -724,6 +724,7 @@ ul.operations li img {
border-top: 1px solid #DDD;
border-bottom: 1px solid #DDD;
margin: 0;
+ background-color: #FFF;
}
.sources2 td.lid {
background-color: #ECECEC;
@@ -928,40 +929,46 @@ span.rulename a:hover {
/* DUPLICATIONS */
-#duplicationsTable > tbody > tr {
- padding-top: 2px;
+#duplications {
+ max-width: 100%;
}
-
-#duplicationsTable td.group-item {
- padding: 0px;
- height: 1px;
+#duplications td.item {
+ text-align: right;
+ vertical-align: top;
+ padding: 0;
}
-
-#duplicationsTable td.group-item > div {
- padding: 3px;
- margin: 2px 0px;
+#duplications td.item p {
+ padding: 3px 10px;
}
-#duplicationsTable td.group-item > div.selected {
- background-color: #fff;
- border: 1px solid #DDDDDD;
+#duplications td.fileItem {
+ text-align: left;
+ vertical-align: top;
+ padding: 0;
+ white-space: nowrap;
}
-
-#duplicationsTable td.source-snippet {
- background-color: #ddd;
- border: 1px solid #DDDDDD;
- padding: 0px;
+#duplications td.fileItem p {
+ padding: 3px 10px;
}
-
-#duplicationsTable td.source-snippet > div {
- padding: 2px;
- background-color: #fff;
+#duplications td.item p.selected, #duplications td.fileItem p.selected {
+ background-color: #EFEFEF;
+ border-top: 1px solid #DDD;
+ border-bottom: 1px solid #DDD;
+ padding: 3px 10px;
}
-
-.clickable {
- cursor: pointer;
+#duplications td.fileItem p.selected a {
+ text-decoration: none;
}
+#duplications td.sourceItem {
+ padding: 0 10px;
+ background-color: #EFEFEF;
+ border: 1px solid #DDD;
+ border-left: none;
+}
+#duplications td.sourceItem p {
+ padding: 3px;
+}
/* REVIEWS */