aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-10-20 10:40:08 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-10-20 14:52:01 +0200
commit6bf0c30c664b7eb6e817b74d0a5e2948627c0caa (patch)
tree67c4b71aa221340c44202a2146a041dc864600e8
parent8e3b9b0f6a9e6113602def4460cd80711610337d (diff)
downloadsonarqube-6bf0c30c664b7eb6e817b74d0a5e2948627c0caa.tar.gz
sonarqube-6bf0c30c664b7eb6e817b74d0a5e2948627c0caa.zip
SONAR-9473 improve transition of dashed border
-rw-r--r--server/sonar-web/src/main/js/apps/issues/styles.css4
-rw-r--r--server/sonar-web/src/main/less/components/issues.less8
2 files changed, 5 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/styles.css b/server/sonar-web/src/main/js/apps/issues/styles.css
index fbdbbf15818..029b717cbed 100644
--- a/server/sonar-web/src/main/js/apps/issues/styles.css
+++ b/server/sonar-web/src/main/js/apps/issues/styles.css
@@ -130,12 +130,12 @@
}
.issues .issue {
+ outline: 1px dashed transparent;
cursor: pointer;
}
.issues .issue:hover {
- border-color: #dd4040;
- border-style: dashed;
+ outline-color: #dd4040;
}
@media (max-width: 1320px) {
diff --git a/server/sonar-web/src/main/less/components/issues.less b/server/sonar-web/src/main/less/components/issues.less
index b64de507c9b..493beefd842 100644
--- a/server/sonar-web/src/main/less/components/issues.less
+++ b/server/sonar-web/src/main/less/components/issues.less
@@ -36,10 +36,9 @@
position: relative;
padding-top: @topPadding;
padding-bottom: @bottomPadding;
- border: 1px solid transparent;
background-color: @issueBackgroundColor;
- outline: none;
- transition: border-color 0.3s ease;
+ box-shadow: 0px 0px 0px 1px @issueBackgroundColor;
+ transition: all 0.3s ease;
}
.issue-list,
@@ -48,8 +47,7 @@
}
.issue.selected {
- border-color: @issueBorderColor !important;
- border-style: solid !important;
+ box-shadow: 0px 0px 0px 1px @issueBorderColor;
}
.issue + .issue,