aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-09-22 15:44:08 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-09-22 15:44:08 +0200
commit62c1d5a328e9b3d6a8c82b464e4542f4bca7f7f3 (patch)
tree8c593d685b40c262b59685abb403efbdc5e8917f /server/sonar-web
parentfe652d093dcf660fae4fc29dc79e33ffeb03270e (diff)
downloadsonarqube-62c1d5a328e9b3d6a8c82b464e4542f4bca7f7f3.tar.gz
sonarqube-62c1d5a328e9b3d6a8c82b464e4542f4bca7f7f3.zip
fix image paths
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/less/components/navigator/base.less4
-rw-r--r--server/sonar-web/src/main/less/components/navigator/filters.less4
-rw-r--r--server/sonar-web/src/main/less/deprecated.less10
-rw-r--r--server/sonar-web/src/main/less/select2-sonar.less6
-rwxr-xr-xserver/sonar-web/src/main/less/select2.less16
-rw-r--r--server/sonar-web/src/main/less/style.less36
6 files changed, 38 insertions, 38 deletions
diff --git a/server/sonar-web/src/main/less/components/navigator/base.less b/server/sonar-web/src/main/less/components/navigator/base.less
index b04fcc89f0b..86dc0e06fad 100644
--- a/server/sonar-web/src/main/less/components/navigator/base.less
+++ b/server/sonar-web/src/main/less/components/navigator/base.less
@@ -110,7 +110,7 @@
position: absolute;
z-index: @navigator-fetching-z-index;
top: 0; bottom: 0; left: 0; right: 0;
- background: #fff url(../../images/loading.gif) no-repeat 4px 4px;
+ background: #fff url(../../../images/loading.gif) no-repeat 4px 4px;
}
}
@@ -329,7 +329,7 @@
overflow: auto;
&.loading {
- background: @white url("../../images/loading.gif") no-repeat 4px 2px;
+ background: @white url("../../../images/loading.gif") no-repeat 4px 2px;
}
}
diff --git a/server/sonar-web/src/main/less/components/navigator/filters.less b/server/sonar-web/src/main/less/components/navigator/filters.less
index 23220dc6a03..51a52071fe1 100644
--- a/server/sonar-web/src/main/less/components/navigator/filters.less
+++ b/server/sonar-web/src/main/less/components/navigator/filters.less
@@ -301,7 +301,7 @@
display: block;
width: 16px;
height: 16px;
- background: #fff url(../../images/loading.gif) no-repeat center center;
+ background: #fff url(../../../images/loading.gif) no-repeat center center;
}
&.fetching-error {
@@ -331,7 +331,7 @@
.navigator-filter-favorite-toggle {
width: 16px;
height: @navigatorFiltersHeight;
- background: url(../../images/navigator/favorite-filters@2x.png) no-repeat center center;
+ background: url(../../../images/navigator/favorite-filters@2x.png) no-repeat center center;
background-size: 16px 14px;
}
diff --git a/server/sonar-web/src/main/less/deprecated.less b/server/sonar-web/src/main/less/deprecated.less
index c63f07efa0b..bb8bb2652e5 100644
--- a/server/sonar-web/src/main/less/deprecated.less
+++ b/server/sonar-web/src/main/less/deprecated.less
@@ -31,7 +31,7 @@
}
.loading {
- background: url("../../images/loading.gif") no-repeat 4px 2px;
+ background: url("../images/loading.gif") no-repeat 4px 2px;
color: #444;
padding: 3px 25px;
}
@@ -264,7 +264,7 @@ th.operations, td.operations {
}
.source_options td {
- background: url("../../images/sep12.png") no-repeat scroll 0 50% transparent;
+ background: url("../images/sep12.png") no-repeat scroll 0 50% transparent;
padding: 0 10px;
}
@@ -403,13 +403,13 @@ div.autocompleteNote {
}
a.external {
- background: url('../../images/links/external.png') no-repeat 100% 0;
+ background: url('../images/links/external.png') no-repeat 100% 0;
padding: 0 16px 0 0;
}
.fav {
display: inline-block;
- background: url('../../images/star.png') no-repeat 100% 0;
+ background: url('../images/star.png') no-repeat 100% 0;
width: 16px;
height: 16px;
vertical-align: text-bottom;
@@ -417,7 +417,7 @@ a.external {
.notfav {
display: inline-block;
- background: url('../../images/star_off.png') no-repeat 100% 0;
+ background: url('../images/star_off.png') no-repeat 100% 0;
width: 16px;
height: 16px;
vertical-align: text-bottom;
diff --git a/server/sonar-web/src/main/less/select2-sonar.less b/server/sonar-web/src/main/less/select2-sonar.less
index 606d3c06c41..196401120e8 100644
--- a/server/sonar-web/src/main/less/select2-sonar.less
+++ b/server/sonar-web/src/main/less/select2-sonar.less
@@ -20,9 +20,9 @@
@import (reference) "mixins";
@import (reference) "variables";
-@imagesPath: '../../images/select2.png';
-@imagesPath2x: '../../images/select2x2.png';
-@spinnerPath: '../../images/spinner.gif';
+@imagesPath: '../images/select2.png';
+@imagesPath2x: '../images/select2x2.png';
+@spinnerPath: '../images/spinner.gif';
.select2-container {
vertical-align: middle;
diff --git a/server/sonar-web/src/main/less/select2.less b/server/sonar-web/src/main/less/select2.less
index ead62d565a7..a3e3669d612 100755
--- a/server/sonar-web/src/main/less/select2.less
+++ b/server/sonar-web/src/main/less/select2.less
@@ -71,7 +71,7 @@ Version: 3.2 Timestamp: Mon Sep 10 10:38:04 PDT 2012
width: 12px;
height: 12px;
font-size: 1px;
- background: url('../../images/select2.png') right top no-repeat;
+ background: url('../images/select2.png') right top no-repeat;
cursor: pointer;
text-decoration: none;
border: 0;
@@ -119,7 +119,7 @@ Version: 3.2 Timestamp: Mon Sep 10 10:38:04 PDT 2012
}
.select2-container .select2-choice div b {
- background: url('../../images/select2.png') no-repeat 0 1px;
+ background: url('../images/select2.png') no-repeat 0 1px;
display: block;
width: 100%;
height: 100%;
@@ -143,7 +143,7 @@ Version: 3.2 Timestamp: Mon Sep 10 10:38:04 PDT 2012
}
.select2-search input {
- background: #fff url('../../images/select2.png') no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%);
+ background: #fff url('../images/select2.png') no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%);
padding: 4px 20px 4px 5px;
outline: 0;
border: 1px solid #aaa;
@@ -162,7 +162,7 @@ Version: 3.2 Timestamp: Mon Sep 10 10:38:04 PDT 2012
}
.select2-search input.select2-active {
- background: #ffff url('../../images/spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%);
+ background: #ffff url('../images/spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%);
}
.select2-container-active .select2-choice,
@@ -259,7 +259,7 @@ Version: 3.2 Timestamp: Mon Sep 10 10:38:04 PDT 2012
}
.select2-more-results.select2-active {
- background: #f4f4f4 url('../../images/spinner.gif') no-repeat 100%;
+ background: #f4f4f4 url('../images/spinner.gif') no-repeat 100%;
}
.select2-more-results {
@@ -331,7 +331,7 @@ Version: 3.2 Timestamp: Mon Sep 10 10:38:04 PDT 2012
}
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
- background: #fff url('../../images/spinner.gif') no-repeat 100% !important;
+ background: #fff url('../images/spinner.gif') no-repeat 100% !important;
}
.select2-default {
@@ -368,7 +368,7 @@ Version: 3.2 Timestamp: Mon Sep 10 10:38:04 PDT 2012
width: 12px;
height: 13px;
font-size: 1px;
- background: url('../../images/select2.png') right top no-repeat;
+ background: url('../images/select2.png') right top no-repeat;
outline: none;
}
@@ -417,7 +417,7 @@ Version: 3.2 Timestamp: Mon Sep 10 10:38:04 PDT 2012
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice div b {
- background-image: url(../../images/select2x2.png) !important;
+ background-image: url(../images/select2x2.png) !important;
background-repeat: no-repeat !important;
background-size: 60px 40px !important;
}
diff --git a/server/sonar-web/src/main/less/style.less b/server/sonar-web/src/main/less/style.less
index 7434276f08b..5743af7c82e 100644
--- a/server/sonar-web/src/main/less/style.less
+++ b/server/sonar-web/src/main/less/style.less
@@ -151,7 +151,7 @@ ul.headerLine li {
}
ul.headerLine li.sep {
- background: url("../../images/sep12.png") no-repeat scroll 50% 50% transparent;
+ background: url("../images/sep12.png") no-repeat scroll 50% 50% transparent;
padding: 0 5px 0 5px;
}
@@ -167,39 +167,39 @@ select.withIcons option, span.withIcons {
}
option.status_open {
- background-image: url('../../images/status/OPEN.png');
+ background-image: url('../images/status/OPEN.png');
}
option.status_reopened {
- background-image: url('../../images/status/REOPENED.png');
+ background-image: url('../images/status/REOPENED.png');
}
option.status_resolved {
- background-image: url('../../images/status/RESOLVED.png');
+ background-image: url('../images/status/RESOLVED.png');
}
option.status_closed {
- background-image: url('../../images/status/CLOSED.png');
+ background-image: url('../images/status/CLOSED.png');
}
option.sev_INFO, span.sev_INFO {
- background-image: url('../../images/priority/INFO.png');
+ background-image: url('../images/priority/INFO.png');
}
option.sev_MINOR, span.sev_MINOR {
- background-image: url('../../images/priority/MINOR.png');
+ background-image: url('../images/priority/MINOR.png');
}
option.sev_MAJOR, span.sev_MAJOR {
- background-image: url('../../images/priority/MAJOR.png');
+ background-image: url('../images/priority/MAJOR.png');
}
option.sev_CRITICAL, span.sev_CRITICAL {
- background-image: url('../../images/priority/CRITICAL.png');
+ background-image: url('../images/priority/CRITICAL.png');
}
option.sev_BLOCKER, span.sev_BLOCKER {
- background-image: url('../../images/priority/BLOCKER.png');
+ background-image: url('../images/priority/BLOCKER.png');
}
/* ------------------- VARIATIONS ------------------- */
@@ -230,7 +230,7 @@ option.sev_BLOCKER, span.sev_BLOCKER {
color: #444;
vertical-align: bottom;
font-weight: bold;
- background: url('../../images/information.png') no-repeat left center;
+ background: url('../images/information.png') no-repeat left center;
}
.help p {
@@ -327,7 +327,7 @@ ul.bullet {
ul.bullet li {
padding: 2px 0;
- list-style-image: url("../../images/bullet.png");
+ list-style-image: url("../images/bullet.png");
}
.rule_title {
@@ -625,7 +625,7 @@ table.without-header {
}
.line-info {
- background: url('../../images/information.png') no-repeat scroll left 50% transparent;
+ background: url('../images/information.png') no-repeat scroll left 50% transparent;
padding-left: 18px
}
@@ -687,25 +687,25 @@ table.nowrap td.small, td.nowrap.small, th.nowrap.small {
.csv {
display: block;
- background: url("../../images/csv.png") no-repeat scroll left 50% transparent;
+ background: url("../images/csv.png") no-repeat scroll left 50% transparent;
padding: 2px 0 2px 20px;
}
.add {
display: block;
- background: url("../../images/add.png") no-repeat scroll left 50% transparent;
+ background: url("../images/add.png") no-repeat scroll left 50% transparent;
padding: 2px 0 2px 20px;
}
.restore {
display: block;
- background: url("../../images/restore.gif") no-repeat scroll left 50% transparent;
+ background: url("../images/restore.gif") no-repeat scroll left 50% transparent;
padding: 2px 0 2px 20px;
}
.compare {
display: block;
- background: url("../../images/compare.png") no-repeat scroll left 50% transparent;
+ background: url("../images/compare.png") no-repeat scroll left 50% transparent;
padding: 2px 0 2px 20px;
}
@@ -719,7 +719,7 @@ table.nowrap td.small, td.nowrap.small, th.nowrap.small {
}
.link-more {
- background-image: url('../../images/bullet_arrow_down.png');
+ background-image: url('../images/bullet_arrow_down.png');
background-repeat: no-repeat;
padding-right: 20px;
background-position: right center;