aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2019-10-08 17:01:20 +0200
committerSonarTech <sonartech@sonarsource.com>2019-10-16 11:09:15 +0200
commit79ba2d14a88a1a14521b33256710db9c1477909f (patch)
treeb9090caf0ea1b67e90f00970f741064723bb76d0
parentf28d76906b92be41c31db5ad06b711ae9cafd063 (diff)
downloadsonarqube-79ba2d14a88a1a14521b33256710db9c1477909f.tar.gz
sonarqube-79ba2d14a88a1a14521b33256710db9c1477909f.zip
SONAR-12533 Drop unused css classes
-rw-r--r--server/sonar-web/src/main/js/app/styles/components/menu.css5
-rw-r--r--server/sonar-web/src/main/js/app/styles/init/links.css50
-rw-r--r--server/sonar-web/src/main/js/app/styles/init/type.css8
3 files changed, 4 insertions, 59 deletions
diff --git a/server/sonar-web/src/main/js/app/styles/components/menu.css b/server/sonar-web/src/main/js/app/styles/components/menu.css
index 137bee29b31..90ed0f285f1 100644
--- a/server/sonar-web/src/main/js/app/styles/components/menu.css
+++ b/server/sonar-web/src/main/js/app/styles/components/menu.css
@@ -100,11 +100,6 @@
background-color: var(--barBackgroundColor);
}
-.menu > li > a.text-danger,
-.menu > li > a.text-danger:hover {
- color: var(--red) !important;
-}
-
.menu .menu-vertically-limited,
.menu.menu-vertically-limited {
max-height: 300px;
diff --git a/server/sonar-web/src/main/js/app/styles/init/links.css b/server/sonar-web/src/main/js/app/styles/init/links.css
index 545144085be..4f443603577 100644
--- a/server/sonar-web/src/main/js/app/styles/init/links.css
+++ b/server/sonar-web/src/main/js/app/styles/init/links.css
@@ -98,26 +98,6 @@ a.active-link,
cursor: default;
}
-.link-red,
-a.text-danger {
- border-bottom: 1px solid #f8dbde;
- color: var(--red);
-}
-
-.link-red:hover,
-a.text-danger:hover,
-.link-red:active,
-a.text-danger:active,
-.link-red:focus,
-a.text-danger:focus {
- color: #af252f;
-}
-
-.link-red:focus,
-a.text-danger:focus {
- outline: 1px dotted var(--red);
-}
-
a.text-muted {
border-bottom: 1px solid #dddddd;
color: var(--secondFontColor);
@@ -133,36 +113,6 @@ a.text-muted:focus {
outline: 1px dotted var(--blue);
}
-a.text-warning {
- border-bottom: 1px solid #fcebdd;
- color: var(--orange);
-}
-
-a.text-warning:hover,
-a.text-warning:active,
-a.text-warning:focus {
- color: #f1994f;
-}
-
-a.text-warning:focus {
- outline: 1px dotted var(--orange);
-}
-
-a.text-success {
- border-bottom: 1px solid #77ff77;
- color: var(--green);
-}
-
-a.text-success:hover,
-a.text-success:active,
-a.text-success:focus {
- color: #007700;
-}
-
-a.text-success:focus {
- outline: 1px dotted var(--green);
-}
-
a.set-homepage-link:focus,
a.favorite-link:focus {
outline: 1px dotted var(--blue);
diff --git a/server/sonar-web/src/main/js/app/styles/init/type.css b/server/sonar-web/src/main/js/app/styles/init/type.css
index 8e812a83275..50f62834c71 100644
--- a/server/sonar-web/src/main/js/app/styles/init/type.css
+++ b/server/sonar-web/src/main/js/app/styles/init/type.css
@@ -266,19 +266,19 @@ small,
}
.text-danger {
- color: var(--red);
+ color: var(--red) !important;
}
.text-warning {
- color: var(--orange);
+ color: var(--orange) !important;
}
.text-info {
- color: var(--blue);
+ color: var(--blue) !important;
}
.text-success {
- color: var(--green);
+ color: var(--green) !important;
}
.monospaced {