diff options
author | 7PH <benjamin.raymond@sonarsource.com> | 2024-01-25 10:44:08 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-01-31 20:03:36 +0000 |
commit | 512c7e859f9279bab0dba9331919546cf20846de (patch) | |
tree | 9a20f3a8fa421cb0fb84c86935f98306c6832f1f /server/sonar-web/design-system/src/components | |
parent | b7d0b2a329fec46d7fab99504202424efaf2c811 (diff) | |
download | sonarqube-512c7e859f9279bab0dba9331919546cf20846de.tar.gz sonarqube-512c7e859f9279bab0dba9331919546cf20846de.zip |
SONAR-21455 Fix software quality impact measures in branch overview page
Diffstat (limited to 'server/sonar-web/design-system/src/components')
-rw-r--r-- | server/sonar-web/design-system/src/components/Card.tsx | 4 | ||||
-rw-r--r-- | server/sonar-web/design-system/src/components/Link.tsx | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/server/sonar-web/design-system/src/components/Card.tsx b/server/sonar-web/design-system/src/components/Card.tsx index 43ef238a2e3..3093905fa9f 100644 --- a/server/sonar-web/design-system/src/components/Card.tsx +++ b/server/sonar-web/design-system/src/components/Card.tsx @@ -56,6 +56,10 @@ const CardStyled = styled.div` ${tw`sw-rounded-1`}; `; +const LightGreyCardStyled = styled(CardStyled)` + border: ${themeBorder('default')}; +`; + const GreyCardStyled = styled(CardStyled)` border: ${themeBorder('default', 'almCardBorder')}; `; diff --git a/server/sonar-web/design-system/src/components/Link.tsx b/server/sonar-web/design-system/src/components/Link.tsx index 38ad2a351ab..edd9f192a40 100644 --- a/server/sonar-web/design-system/src/components/Link.tsx +++ b/server/sonar-web/design-system/src/components/Link.tsx @@ -154,6 +154,12 @@ export const NakedLink = styled(BaseLink)` border-bottom: none; font-weight: 600; color: ${themeColor('linkNaked')}; + + &:hover, + &:focus, + &:active { + color: ${themeColor('linkActive')}; + } `; export const DrilldownLink = styled(StyledBaseLink)` |