diff --git a/frontend/src/components/general/ControlButtons.vue b/frontend/src/components/general/ControlButtons.vue index 92265b0..ff1c4fb 100644 --- a/frontend/src/components/general/ControlButtons.vue +++ b/frontend/src/components/general/ControlButtons.vue @@ -7,22 +7,19 @@ import { WindowIsMaximised, } from '@runtime' -let windowMaximised: boolean - const CustomMinimise = async () => { const maximised = await WindowIsMaximised() + if (maximised) WindowUnmaximise() else WindowMaximise() - - windowMaximised = maximised } @@ -34,7 +31,7 @@ const CustomMinimise = async () => { display: flex; align-items: center; margin-right: 5px; - margin-top: 2px; + margin-top: 5px; /* border-left: rgba(211, 211, 211, 0.823) 1px solid; */ /* border-bottom: rgba(211, 211, 211, 0.823) 1px solid; */ /* border-bottom-left-radius: 5px; */ @@ -47,12 +44,20 @@ const CustomMinimise = async () => { .control-buttons .p-button { cursor: pointer; - color: rgba(201, 201, 201, 0.905); - width: 30px; + color: rgba(201, 201, 201, 0.8); + width: 32px; + padding: 0.25rem; } -.control-buttons :hover { - color: rgba(166, 105, 246, 0.863); - background-color: transparent; +.control-buttons :nth-child(1) :hover { + color: rgba(166, 105, 246, 1); +} + +.control-buttons :nth-child(2) :hover { + color: rgba(166, 105, 246, 1); +} + +.control-buttons :nth-child(3) :hover { + color: rgba(255, 93, 93, 1); } \ No newline at end of file diff --git a/frontend/src/components/general/Sidebar.vue b/frontend/src/components/general/Sidebar.vue index 6e48f0f..38b95ed 100644 --- a/frontend/src/components/general/Sidebar.vue +++ b/frontend/src/components/general/Sidebar.vue @@ -82,7 +82,7 @@ const ModDevTools = () => router.push('/mod-dev-tools') height: 100vh; width: 75px; border-right: rgba(255, 255, 255, 0.45) 1px outset; - background-color: rgb(28, 29, 33); + background-color: #202125; padding-left: 15px; padding-right: 15px; } diff --git a/frontend/src/components/index.ts b/frontend/src/components/index.ts index 555e1c2..beff376 100644 --- a/frontend/src/components/index.ts +++ b/frontend/src/components/index.ts @@ -4,7 +4,7 @@ export { default as Sidebar } from './general/Sidebar.vue' export { default as CardOverlay } from './reusable/CardOverlay.vue' -export { default as ModListDropdown } from './selected-game/ModListDropdown.vue' +export { default as ModListFilter } from './selected-game/ModListFilter.vue' export { default as ProfileManager } from './selected-game/ProfileManager.vue' export { default as ConfigEditLayout } from './selected-game/ConfigEditLayout.vue' export { default as ConfigEditorOverlay } from './selected-game/ConfigEditorOverlay.vue' diff --git a/frontend/src/components/selected-game/ConfigEditorOverlay.vue b/frontend/src/components/selected-game/ConfigEditorOverlay.vue index cd48464..f3f8324 100644 --- a/frontend/src/components/selected-game/ConfigEditorOverlay.vue +++ b/frontend/src/components/selected-game/ConfigEditorOverlay.vue @@ -76,9 +76,9 @@ const dialogStyle = () => {