From 3b23785d476d4e261ae63b0d0850ba98539f6375 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 8 Dec 2011 14:55:19 +0100 Subject: [PATCH] Revert some changes in the CSS of code viewer --- .../src/main/webapp/stylesheets/style.css | 38 +++++++++++-------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css index d2afd594de5..ba007973d9c 100644 --- a/sonar-server/src/main/webapp/stylesheets/style.css +++ b/sonar-server/src/main/webapp/stylesheets/style.css @@ -827,17 +827,13 @@ ul.operations li img { padding: 2px 0.5em 0 0.5em; vertical-align: top; font-size: 85%; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; } + .sources2 td.lid a { text-decoration: none; color: #AAA; } + .sources2 td.scm { border-right: 1px solid #DDD; border-left: 1px solid #DDD; @@ -850,49 +846,65 @@ ul.operations li img { padding: 0 0.3em; white-space: nowrap; } + .sources2 tr.row td.plus { background-color: #ECECEC; border-left: 1px solid #DDD; padding: 0; width: 16px; } + .sources2 tr.row:hover td.plus { background: url("../images/add.png") no-repeat scroll left 50% #ECECEC; } + .sources2 td.plus a { display: block; cursor: pointer; height: 16px; width: 16px; } -.sources2 td.nothing { + +.sources2 td.gray { border-left: 1px solid #DDD; background-color: #ECECEC; padding: 2px 0.5em 0; } + +.sources2 td.white { + border-left: 1px solid #DDD; + background-color: #FFF; +} + .sources2 span.date, .sources2 span.date a { color: #AAA; font-size: 85%; text-decoration: none; } + .sources2 span.author, .sources2 span.author a { font-size: 85%; } + .sources2 div.violation, #global_violations div.violation { background-color: #FFF; margin: 0; border: 1px solid #DDD; } + .sources2 div.violation .actions, #global_violations div.violation .actions { visibility: hidden; } + .sources2 div.violation:hover .actions, #global_violations div.violation:hover .actions { visibility: visible; } + .sources2 div.violation .actions form, #global_violations div.violation .actions form { display: inline; visibility: visible; } + .sources2 td.reviewForm { width: 100%; padding: 10px; @@ -963,25 +975,18 @@ span.rulename a:hover { width: 100%; border-right: 1px solid #DDD; } + .sources2 td.line pre { font-size: 12px; font-family: monospace; } -.sources2 td.line:hover { - background-color: #ECECEC; -} + .sources2 td.ind { border-right: 1px solid #DDD; min-width: 1.5em; padding: 0 0.3em; text-align: center; vertical-align: middle; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; } .sources2 td.ok { @@ -1005,6 +1010,7 @@ span.rulename a:hover { .sources2 td.violations { background-color: #FFF; padding: 10px; + border-left: 1px solid #DDD; border-right: 1px solid #DDD; } -- 2.39.5