From f109f11ceb2319e6c74a1c40bbd00fc5d0f0ae4c Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 6 Oct 2020 12:51:00 -0700 Subject: [PATCH] style: fix too light form labels in DatabaseModal + DRY css (#11056) eventually should be moved away from bootstrap and onto a DRY ControlLabel component in our design system. --- .../views/CRUD/data/database/DatabaseModal.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx index c7ff2d3fb2..54e8a8c667 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx @@ -45,11 +45,10 @@ const StyledIcon = styled(Icon)` const StyledInputContainer = styled.div` margin-bottom: ${({ theme }) => theme.gridUnit * 2}px; - .label, .helper { display: block; padding: ${({ theme }) => theme.gridUnit}px 0; - color: ${({ theme }) => theme.colors.grayscale.light1}; + color: ${({ theme }) => theme.colors.grayscale.base}; font-size: ${({ theme }) => theme.typography.sizes.s - 1}px; text-align: left; @@ -313,7 +312,7 @@ const DatabaseModal: FunctionComponent = ({ key="1" > -
+
{t('Database Name')} *
@@ -328,7 +327,7 @@ const DatabaseModal: FunctionComponent = ({
-
+
{t('SQLAlchemy URI')} *
@@ -359,7 +358,7 @@ const DatabaseModal: FunctionComponent = ({ {t('Performance')}} key="2"> -
{t('Chart Cache Timeout')}
+
{t('Chart Cache Timeout')}
= ({ -
{t('CTAS Schema')}
+
{t('CTAS Schema')}
= ({ {t('Security')}} key="4"> -
{t('Secure Extra')}
+
{t('Secure Extra')}