]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-12538 Drop .flash and .flash-heavy classes
authorJeremy Davis <jeremy.davis@sonarsource.com>
Tue, 5 Nov 2019 08:54:58 +0000 (17:54 +0900)
committerSonarTech <sonartech@sonarsource.com>
Fri, 8 Nov 2019 19:21:12 +0000 (20:21 +0100)
server/sonar-web/src/main/js/app/styles/components/ui.css
server/sonar-web/src/main/js/apps/coding-rules/components/PageActions.tsx
server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx
server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/IssuesContainer-test.tsx.snap

index 258cccbb5881abfb52600425205e6a058a427b4e..13311b5992e8842be73fb2045ef8ae6e8cf37b9d 100644 (file)
   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;
index 886369de9fc98a7176b2a8e04c177adea9664a2b..5e3ec9eb3554f83f017f51dec4434014ac56eb71 100644 (file)
@@ -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}
index 039ead3490843517812f9005cefaace046ad1a70..0ed9cbacdbeaf35538fa07632a24a03ce136409c 100644 (file)
@@ -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}
index ce5f17eedd206e7256be02191abaeb6b1e5322e8..8caedd7a37b4558c21494ba12da7de9a35e44b80 100644 (file)
@@ -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}