diff --git a/public/static/css/dark.css b/public/static/css/dark.css index 77e455e..28498da 100644 --- a/public/static/css/dark.css +++ b/public/static/css/dark.css @@ -164,7 +164,7 @@ .theme-dark input { font-size: 1.2rem; color: #999; - background-color: rgb(64 64 64); + background-color: #404040; border: solid 1px #95a5a6; } @@ -348,10 +348,10 @@ color: #f1c40f; } .theme-dark .major-bg { - background-color: #242424; + background-color: #404040; } .theme-dark .normal-bg { - background-color: #697384; + background-color: #242424; } .theme-dark .focus-bg { background-color: #16a085; @@ -374,5 +374,5 @@ } .theme-dark .button-default { color: #999; - background-color: rgb(64 64 64); + background-color: #404040; } diff --git a/public/static/css/white.css b/public/static/css/white.css index 81fff8c..218c15b 100644 --- a/public/static/css/white.css +++ b/public/static/css/white.css @@ -258,7 +258,6 @@ padding: 1rem; color: #697384; margin: 1rem 0 0 0; - background-color: #f6f6f6; white-space: nowrap; overflow: auto; } @@ -347,25 +346,19 @@ color: #f1c40f; } -.theme-default .lightest-bg { - background-color: white; -} .theme-default .major-bg { background-color: #f6f6f6; } .theme-default .normal-bg { - background-color: #ecf0f6; + background-color: white; } .theme-default .focus-bg { background-color: #16a085; } .theme-default .minor-bg { - background-color: #2c3e50; + background-color: #ecf0f6; } -.theme-default button { - background-color: rgba(0, 0, 0, 0.3); -} -.theme-default ::placeholder { +.theme-default ::placeholder { color: #95a5a6; } .theme-default a { @@ -374,9 +367,6 @@ .theme-default a:hover { color: cc#2ecc71; } -.theme-default input { - background-color: rgba(0, 0, 0, 0.15); -} .theme-default input:focus { opacity: 0.8; box-shadow: 0 0.1rem 1rem rgba(22, 160, 133, 0.1); @@ -384,4 +374,4 @@ .theme-default .button-default { color: #697384; background-color: #ecf0f6; -} \ No newline at end of file +} diff --git a/src/client/web/src/components/control/tabs.tsx b/src/client/web/src/components/control/tabs.tsx index ef27ea4..29bb802 100644 --- a/src/client/web/src/components/control/tabs.tsx +++ b/src/client/web/src/components/control/tabs.tsx @@ -43,7 +43,7 @@ export class Tabs extends React.Component { const titleIcon = this.props.titleIcon != null - ? getIcon(this.props.titleIcon, "2rem", "major") + ? getIcon(this.props.titleIcon, "2rem", "normal") : null; const options = this.props.ui.control.options.get(this.props.targetControl); const tabs = options.map((option: string) => { @@ -51,10 +51,10 @@ export class Tabs extends React.Component { ? this.props.tabIcons.get(option) : defaultIconProps; - const iconColor = displaying === option ? iconProps.color : "major"; + const iconColor = displaying === option ? iconProps.color : "normal"; const icon = getIcon(iconProps.name, iconProps.size, iconColor); const fontColor = - displaying === option ? `${colorClass(iconColor)}-font` : "major-font"; + displaying === option ? `${colorClass(iconColor)}-font` : "normal-font"; return (