aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2019-11-05 17:54:58 +0900
committerSonarTech <sonartech@sonarsource.com>2019-11-08 20:21:12 +0100
commit3014b42f3c126e3140e973302ed36b0dc9cb0623 (patch)
treed911d5b9b6201ce4caab243d1e9f75d485651229
parent0a719f229744d69560b6733757b8b4038a8e8670 (diff)
downloadsonarqube-3014b42f3c126e3140e973302ed36b0dc9cb0623.tar.gz
sonarqube-3014b42f3c126e3140e973302ed36b0dc9cb0623.zip
SONAR-12538 Drop .flash and .flash-heavy classes
-rw-r--r--server/sonar-web/src/main/js/app/styles/components/ui.css13
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/components/PageActions.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/IssuesContainer-test.tsx.snap4
4 files changed, 4 insertions, 17 deletions
diff --git a/server/sonar-web/src/main/js/app/styles/components/ui.css b/server/sonar-web/src/main/js/app/styles/components/ui.css
index 258cccbb588..13311b5992e 100644
--- a/server/sonar-web/src/main/js/app/styles/components/ui.css
+++ b/server/sonar-web/src/main/js/app/styles/components/ui.css
@@ -41,19 +41,6 @@
margin-right: 4px;
}
-.flash {
- background-color: transparent;
- transition: all 0.5s ease;
-}
-
-.flash.in {
- background-color: var(--alertBackgroundWarning);
-}
-
-.flash-heavy.in {
- background-color: #ffe456;
-}
-
.identity-provider {
display: inline-block;
line-height: 14px;
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/PageActions.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/PageActions.tsx
index 886369de9fc..5e3ec9eb355 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/components/PageActions.tsx
+++ b/server/sonar-web/src/main/js/apps/coding-rules/components/PageActions.tsx
@@ -41,7 +41,7 @@ export default function PageActions(props: Props) {
{props.paging && (
<PageCounter
- className="spacer-left flash flash-heavy"
+ className="spacer-left"
current={props.selectedIndex}
label={translate('coding_rules._rules')}
total={props.paging.total}
diff --git a/server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx b/server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx
index 039ead34908..0ed9cbacdbe 100644
--- a/server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx
+++ b/server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx
@@ -30,7 +30,7 @@ interface Props {
export default function IssuesCounter(props: Props) {
return (
<PageCounter
- className="spacer-left flash flash-heavy"
+ className="spacer-left"
current={props.current}
label={translate('issues.issues')}
total={props.total}
diff --git a/server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/IssuesContainer-test.tsx.snap b/server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/IssuesContainer-test.tsx.snap
index ce5f17eedd2..8caedd7a37b 100644
--- a/server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/IssuesContainer-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/IssuesContainer-test.tsx.snap
@@ -2,7 +2,7 @@
exports[`does not show current 1`] = `
<PageCounter
- className="spacer-left flash flash-heavy"
+ className="spacer-left"
label="issues.issues"
total={987654321}
/>
@@ -10,7 +10,7 @@ exports[`does not show current 1`] = `
exports[`formats numbers 1`] = `
<PageCounter
- className="spacer-left flash flash-heavy"
+ className="spacer-left"
current={1234}
label="issues.issues"
total={987654321}