From 4e56f06e18aca6cede7760e339f62c82ddd2f4ec Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Tue, 25 Jun 2024 13:53:50 +0700 Subject: [PATCH] MSP-3486 update style ( border and background ) for theme --- .../active-configurations-table.scss | 4 +++- src/components/Layout/layout.scss | 3 +-- src/pages/AppAccessPage/app-access-page.scss | 1 - .../configuration-editor-page.scss | 1 - src/pages/ConnectionsPage/connections.scss | 2 +- src/pages/SecurityLogPage/security-log-page.scss | 1 - src/pages/SessionsPage/sessions-page.scss | 1 - src/pages/UserEditor/user-editor.scss | 1 - src/pages/UsersPage/users-page.scss | 1 - src/ui/CloseBtn/close-btn.scss | 8 +++++++- src/widgets/Modal/modal.scss | 6 +++--- 11 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/components/ActiveConfigurationsTable/active-configurations-table.scss b/src/components/ActiveConfigurationsTable/active-configurations-table.scss index 3c34169..847545a 100644 --- a/src/components/ActiveConfigurationsTable/active-configurations-table.scss +++ b/src/components/ActiveConfigurationsTable/active-configurations-table.scss @@ -10,11 +10,13 @@ &__table { &__name-field { input { + color: #606060; border: none; background-color: transparent; width: 100%; &:focus-visible { + color: var(--ant-color-text); padding: $basic-padding; border-radius: 4px; outline: 1px solid $blue-color; @@ -34,7 +36,7 @@ .active-config { tr { - background: $blue-light; + background: var(--ant-color-info-bg); } } diff --git a/src/components/Layout/layout.scss b/src/components/Layout/layout.scss index a1504be..33c2c0a 100644 --- a/src/components/Layout/layout.scss +++ b/src/components/Layout/layout.scss @@ -19,7 +19,6 @@ } .ant-menu-title-content { - color: #1B1B1B; padding-left: 10px } } @@ -30,7 +29,7 @@ display: none !important; } - border-bottom: 1px solid lightgray; + border-bottom: 1px solid var(--ant-color-border); border-radius: 0 !important; & .ant-menu-submenu-title { diff --git a/src/pages/AppAccessPage/app-access-page.scss b/src/pages/AppAccessPage/app-access-page.scss index f6cb859..92e4686 100644 --- a/src/pages/AppAccessPage/app-access-page.scss +++ b/src/pages/AppAccessPage/app-access-page.scss @@ -3,7 +3,6 @@ .app-access-page { display: flex; height: 100%; - background: #fff; .ant-tree { background: none; diff --git a/src/pages/ConfigurationEditorPage/configuration-editor-page.scss b/src/pages/ConfigurationEditorPage/configuration-editor-page.scss index f7f37ce..7608262 100644 --- a/src/pages/ConfigurationEditorPage/configuration-editor-page.scss +++ b/src/pages/ConfigurationEditorPage/configuration-editor-page.scss @@ -3,7 +3,6 @@ .configuration-editor-page { display: flex; flex-direction: column; - background: white; -ms-overflow-style: none; /* IE и Edge */ scrollbar-width: none; border-left: 1px solid $border-color; diff --git a/src/pages/ConnectionsPage/connections.scss b/src/pages/ConnectionsPage/connections.scss index 436e270..1ff4bcd 100644 --- a/src/pages/ConnectionsPage/connections.scss +++ b/src/pages/ConnectionsPage/connections.scss @@ -18,7 +18,7 @@ &__inner-marker { font-size: 11px; - border: 1px solid #15D1E6; + border: 1px solid var(--ant-color-border); border-radius: 12px; padding: 0 4px; margin: 4px diff --git a/src/pages/SecurityLogPage/security-log-page.scss b/src/pages/SecurityLogPage/security-log-page.scss index 7f110af..d66bfb5 100644 --- a/src/pages/SecurityLogPage/security-log-page.scss +++ b/src/pages/SecurityLogPage/security-log-page.scss @@ -2,7 +2,6 @@ .security-log-page { height: 100%; - background: #fff; border: 1px solid $border-color; &__header { diff --git a/src/pages/SessionsPage/sessions-page.scss b/src/pages/SessionsPage/sessions-page.scss index 45e95f0..05e47a9 100644 --- a/src/pages/SessionsPage/sessions-page.scss +++ b/src/pages/SessionsPage/sessions-page.scss @@ -2,7 +2,6 @@ .sessions-page { height: 100%; - background: #fff; border: 1px solid $border-color; &__header { diff --git a/src/pages/UserEditor/user-editor.scss b/src/pages/UserEditor/user-editor.scss index 3dd6a2b..9356347 100644 --- a/src/pages/UserEditor/user-editor.scss +++ b/src/pages/UserEditor/user-editor.scss @@ -1,7 +1,6 @@ @import "../../constants/style/styleConst"; .user-editor { - background: #fff; height: 100%; border: 1px solid $border-color; diff --git a/src/pages/UsersPage/users-page.scss b/src/pages/UsersPage/users-page.scss index 96bc529..5be148b 100644 --- a/src/pages/UsersPage/users-page.scss +++ b/src/pages/UsersPage/users-page.scss @@ -2,7 +2,6 @@ .users-page { height: 100%; - background: #fff; border: 1px solid $border-color; .ant-btn-group >.ant-btn:first-child { z-index: 2; diff --git a/src/ui/CloseBtn/close-btn.scss b/src/ui/CloseBtn/close-btn.scss index 3f0e0fc..d190fe4 100644 --- a/src/ui/CloseBtn/close-btn.scss +++ b/src/ui/CloseBtn/close-btn.scss @@ -5,4 +5,10 @@ position: absolute; top: 8px; right: 8px; -} \ No newline at end of file + + svg { + path { + fill: var(--ant-color-text) !important; + } + } +} diff --git a/src/widgets/Modal/modal.scss b/src/widgets/Modal/modal.scss index 1c580c4..def814a 100644 --- a/src/widgets/Modal/modal.scss +++ b/src/widgets/Modal/modal.scss @@ -5,7 +5,7 @@ top: 50%; left: 50%; transform: translate(-50%, -50%); - background-color: rgba(211, 211, 211, 0.8); + background-color: var(--ant-color-bg-mask); width: 100%; height: 100%; display: flex; @@ -17,7 +17,7 @@ min-height: 170px; max-height: 90vh; max-width: 90%; - background: white; + background: var(--ant-layout-light-sider-bg); color: white; z-index: 10; border-radius: 16px; @@ -32,7 +32,7 @@ &__header { height: 50px; - background: white; + background: var(--ant-layout-light-sider-bg); overflow: hidden; border-top-left-radius: 16px; border-top-right-radius: 16px;