mirror of
https://github.com/apache/superset.git
synced 2024-09-06 22:07:34 -04:00
chore: Removes hard-coded opacity and spacing from BigNumber (#19536)
This commit is contained in:
parent
6fa99d6b07
commit
356a03833b
@ -277,7 +277,8 @@ class BigNumberVis extends React.PureComponent<BigNumberVisProps> {
|
||||
}
|
||||
|
||||
export default styled(BigNumberVis)`
|
||||
font-family: ${({ theme }) => theme.typography.families.sansSerif};
|
||||
${({ theme }) => `
|
||||
font-family: ${theme.typography.families.sansSerif};
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@ -293,11 +294,11 @@ export default styled(BigNumberVis)`
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
.alert {
|
||||
font-size: ${({ theme }) => theme.typography.sizes.s};
|
||||
font-size: ${theme.typography.sizes.s};
|
||||
margin: -0.5em 0 0.4em;
|
||||
line-height: 1;
|
||||
padding: 2px 4px 3px;
|
||||
border-radius: 3px;
|
||||
padding: ${theme.gridUnit}px;
|
||||
border-radius: ${theme.gridUnit}px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -324,12 +325,8 @@ export default styled(BigNumberVis)`
|
||||
.kicker,
|
||||
.header-line,
|
||||
.subheader-line {
|
||||
opacity: 0.5;
|
||||
opacity: ${theme.opacity.mediumHeavy};
|
||||
}
|
||||
}
|
||||
|
||||
.superset-data-ui-tooltip {
|
||||
z-index: 1000;
|
||||
background: #000;
|
||||
}
|
||||
`}
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user