Web:Tooltip Fixed color

This commit is contained in:
Akmal Isomadinov 2023-12-13 16:53:58 +05:00
parent 642d1a3b42
commit f3e839cf0d
3 changed files with 7 additions and 10 deletions

View File

@ -50,7 +50,6 @@ const DataManagementWrapper = (props) => {
<Box as={"span"} marginProp="10px 0 0">
<Link
id="link-tooltip"
color="#333333"
fontSize="13px"
href={isAutoBackupPage ? automaticBackupUrl : dataBackupUrl}
target="_blank"

View File

@ -113,7 +113,7 @@ const SecretKeyInput = (props) => {
href={webhooksGuideUrl}
target="_blank"
className="link"
color="#333333">
>
{t("ReadMore")}
</Link>
</Text>
@ -131,7 +131,8 @@ const SecretKeyInput = (props) => {
isHovered={true}
onClick={hideReset}
className="link"
color="#333333">
color="#333333"
>
{t("ResetKey")}
</Link>
</Hint>
@ -158,7 +159,8 @@ const SecretKeyInput = (props) => {
fontWeight={600}
isHovered={true}
onClick={generatePassword}
className="link dotted">
className="link dotted"
>
{t("Generate")}
</Link>
</div>

View File

@ -137,22 +137,18 @@ const TooltipStyle = styled.div`
const StyledTooltipContainer = styled(Text)`
// margin: 8px 16px 16px 16px;
color: ${(props) => props.theme.passwordInput.tooltipTextColor} !important;
color: ${(props) => props.theme.passwordInput.tooltipTextColor};
.generate-btn-container {
margin-top: 10px;
}
.generate-btn {
color: ${(props) => props.theme.passwordInput.tooltipTextColor};
}
`;
StyledTooltipContainer.defaultProps = { theme: Base };
const StyledTooltipItem = styled(Text)`
//height: 24px;
color: ${(props) => (props.valid ? "#44bb00" : "#B40404")};
color: ${(props) => (props.valid ? "#44bb00" : "#B40404")} !important;
`;
export {