-
+
+
closeConfigPage()}>
+
+
+
+
+ {/*
-
+
*/}
);
diff --git a/src-ui/app/config_page/topbar/Topbar.module.scss b/src-ui/app/config_page/topbar/Topbar.module.scss
index 58bab324..c34633e0 100644
--- a/src-ui/app/config_page/topbar/Topbar.module.scss
+++ b/src-ui/app/config_page/topbar/Topbar.module.scss
@@ -1,12 +1,79 @@
.container {
width: 100%;
height: 0%;
+ transition: transform 0.5s ease;
}
+.show_config.container {
+ transform: translateY(0vh);
+}
+
+.show_main.container {
+ transform: translateY(100vh);
+}
+
+
.wrapper {
- height: var(--config_page_topbar_height);
background-color: var(--dark_850_color);
- display: flex;
- justify-content: space-between;
- flex-shrink: 0;
+ cursor: pointer;
+ height: 1rem;
+ width: 100%;
+ position: relative;
+ transition: all 0.3s ease;
+
+ &:hover {
+ height: 2rem;
+ .go_back_button {
+ top: -12rem;
+ transform: rotate(35deg);
+ }
+ .arrow_left_svg {
+ color: var(--dark_400_color);
+ }
+ .go_back_text {
+ color: var(--dark_400_color);
+ }
+ .go_back_text_wrapper {
+ padding-top: 8.2rem;
+ }
+ }
+
+}
+
+.go_back_button {
+ height: 16rem;
+ width: 16rem;
+ border-radius: 1.2rem;
+ background-color: var(--dark_850_color);
+ position: absolute;
+ top: -13.2rem;
+ right: 10rem;
+ transform: rotate(30deg);
+ transition: all 0.3s ease;
+}
+
+.arrow_left_svg {
+ height: 2.8rem;
+ position: absolute;
+ right: 1rem;
+ bottom: 0.4rem;
+ color: var(--dark_600_color);
+ transform: rotate(-100deg);
+}
+
+.go_back_text_wrapper {
+ position: absolute;
+ top: -4.6rem;
+ right: 0rem;
+ padding-top: 7.2rem;
+ padding-bottom: 1rem;
+ width: 15.2rem;
+ transition: all 0.3s ease;
+}
+
+.go_back_text {
+ color: var(--dark_650_color);
+ font-size: 1.6rem;
+ padding-left: 4rem;
+ transition: all 0.3s ease;
}
\ No newline at end of file
diff --git a/src-ui/app/main_page/sidebar_section/logo/Logo.module.scss b/src-ui/app/main_page/sidebar_section/logo/Logo.module.scss
index a1e64e37..1d6fbe7c 100644
--- a/src-ui/app/main_page/sidebar_section/logo/Logo.module.scss
+++ b/src-ui/app/main_page/sidebar_section/logo/Logo.module.scss
@@ -3,6 +3,7 @@
display: flex;
justify-content: center;
align-items: center;
+ flex-shrink: 0;
}
.logo {
diff --git a/src-ui/app/main_page/sidebar_section/main_function_switch/MainFunctionSwitch.module.scss b/src-ui/app/main_page/sidebar_section/main_function_switch/MainFunctionSwitch.module.scss
index bcdd30c5..bb0b65f2 100644
--- a/src-ui/app/main_page/sidebar_section/main_function_switch/MainFunctionSwitch.module.scss
+++ b/src-ui/app/main_page/sidebar_section/main_function_switch/MainFunctionSwitch.module.scss
@@ -9,7 +9,7 @@
.switch_container {
position: relative;
display: flex;
- justify-content: center;
+ justify-content: space-between;
align-items: center;
padding: 1.6rem 1.4rem;
background-color: var(--dark_825_color);
@@ -29,7 +29,6 @@
}
.label_wrapper {
- width: 100%;
display: flex;
justify-content: left;
align-items: center;
@@ -85,7 +84,6 @@ $loading_label_color: var(--dark_500_color);
display: flex;
justify-content: end;
align-items: center;
- width: 100%;
&.is_compact_mode {
display: none;
}
diff --git a/src-ui/app/main_page/sidebar_section/open_settings/OpenSettings.jsx b/src-ui/app/main_page/sidebar_section/open_settings/OpenSettings.jsx
index c939d6a1..92cc97fb 100644
--- a/src-ui/app/main_page/sidebar_section/open_settings/OpenSettings.jsx
+++ b/src-ui/app/main_page/sidebar_section/open_settings/OpenSettings.jsx
@@ -1,14 +1,12 @@
import styles from "./OpenSettings.module.scss";
+import { useIsOpenedConfigPage } from "@store";
import ConfigurationSvg from "@images/configuration.svg?react";
-// import { useWindow } from "@logics/useWindow";
-
export const OpenSettings = () => {
- // const { createConfigPage } = useWindow();
+ const { updateIsOpenedConfigPage } = useIsOpenedConfigPage();
const openConfigPage = () => {
-
- // createConfigPage();
+ updateIsOpenedConfigPage(true);
};
return (
diff --git a/src-ui/utils/variables.css b/src-ui/utils/variables.css
index 34273744..0f394542 100644
--- a/src-ui/utils/variables.css
+++ b/src-ui/utils/variables.css
@@ -46,6 +46,6 @@
--main_page_topbar_height: 4.8rem;
- --config_page_sidebar_width: 22rem;
- --config_page_topbar_height: 5.2rem;
+ --config_page_sidebar_width: 18rem;
+ --config_page_topbar_height: 8rem;
}
\ No newline at end of file