diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/advancedsettings.css.ts b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/advancedsettings.css.ts
index 88808cd7..74d2f6e2 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/advancedsettings.css.ts
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/advancedsettings.css.ts
@@ -1,4 +1,4 @@
-import { style, globalStyle } from '@vanilla-extract/css';
+import { style, globalStyle } from "@vanilla-extract/css";
export const AdvancedSettingsList = style({
// font-size: 9pt;
@@ -6,17 +6,32 @@ export const AdvancedSettingsList = style({
// padding-left: 10px;
// list-style-type: none;
- fontSize: '9pt',
- marginBottom: '5px',
- paddingLeft: '10px',
- listStyleType: 'none',
-
+ fontSize: "9pt",
+ marginBottom: "5px",
+ paddingLeft: "10px",
+ listStyleType: "none",
});
export const AdvancedSettingItem = style({
- paddingBottom: '5px',
+ paddingBottom: "5px",
});
-globalStyle( 'button > h4', {
- color:'lightgrey'
-});
\ No newline at end of file
+export const MenuButton = style({
+ display: "block",
+ width: "100%",
+ textAlign: "left",
+ backgroundColor: "transparent",
+ color: "#fff",
+ border: "0 none",
+ cursor: "pointer",
+ padding: "0",
+ marginBottom: "10px",
+});
+
+globalStyle(`${MenuButton}> h4`, {
+ color: '#e7ba71',
+ marginTop:"5px !important",
+
+});
+
+
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx
index db42a828..0c0f6811 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/gpuSettings/index.tsx
@@ -1,9 +1,12 @@
-import React, {useState} from "react";
+import React, { useState } from "react";
import { useImageCreate } from "../../../../../store/imageCreateStore";
+import { MenuButton }
+from //@ts-ignore
+'../advancedsettings.css.ts'
+
export default function GpuSettings() {
-
const turbo = useImageCreate((state) => state.getValueForRequestKey("turbo"));
const use_cpu = useImageCreate((state) =>
state.getValueForRequestKey("use_cpu")
@@ -24,47 +27,49 @@ export default function GpuSettings() {
);
-}
\ No newline at end of file
+}
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx
index 49f3f727..7e4369ce 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/improvementSettings/index.tsx
@@ -1,16 +1,21 @@
-import React, {useState} from "react";
+import React, { useState } from "react";
import { useImageCreate } from "../../../../../store/imageCreateStore";
-export default function ImprovementSettings() {
+import { MenuButton }
+from //@ts-ignore
+'../advancedsettings.css.ts';
+export default function ImprovementSettings() {
// these are conditionals that should be retired and inferred from the store
const isUsingUpscaling = useImageCreate((state) => state.isUsingUpscaling());
- const isUsingFaceCorrection = useImageCreate((state) =>state.isUsingFaceCorrection());
+ const isUsingFaceCorrection = useImageCreate((state) =>
+ state.isUsingFaceCorrection()
+ );
const use_upscale = useImageCreate((state) =>
state.getValueForRequestKey("use_upscale")
);
-
+
const show_only_filtered_image = useImageCreate((state) =>
state.getValueForRequestKey("show_only_filtered_image")
);
@@ -31,64 +36,65 @@ export default function ImprovementSettings() {
setImprovementOpen(!improvementOpen);
};
-
return (
);
-}
\ No newline at end of file
+}
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx
index 938e4d44..5295d593 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/index.tsx
@@ -1,10 +1,9 @@
import React, { useEffect } from "react";
import { useImageCreate } from "../../../../store/imageCreateStore";
-import {
+import {
AdvancedSettingsList,
- AdvancedSettingItem
-} // @ts-ignore
-from "./advancedsettings.css.ts";
+ AdvancedSettingItem, // @ts-ignore
+} from "./advancedsettings.css.ts";
import ImprovementSettings from "./improvementSettings";
import PropertySettings from "./propertySettings";
@@ -12,7 +11,6 @@ import WorkflowSettings from "./workflowSettings";
import GpuSettings from "./gpuSettings";
function SettingsList() {
-
return (
-
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/propertySettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/propertySettings/index.tsx
index a9378e00..7452e46b 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/propertySettings/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/propertySettings/index.tsx
@@ -1,7 +1,9 @@
-import React, {useState} from "react";
+import React, { useState } from "react";
import { useImageCreate } from "../../../../../store/imageCreateStore";
-
+import { MenuButton }
+from //@ts-ignore
+'../advancedsettings.css.ts'
// todo: move this someplace more global
const IMAGE_DIMENSIONS = [
{ value: 128, label: "128 (*)" },
@@ -21,10 +23,7 @@ const IMAGE_DIMENSIONS = [
{ value: 1024, label: "1024 (*)" },
];
-
export default function PropertySettings() {
-
-
const setRequestOption = useImageCreate((state) => state.setRequestOptions);
const toggleUseRandomSeed = useImageCreate(
(state) => state.toggleUseRandomSeed
@@ -56,14 +55,15 @@ export default function PropertySettings() {
- {propertyOpen && <>
-
-
-
- {guidance_scale}
-
+
+
+
-
-
- {prompt_strength}
-
+
+
+ {guidance_scale}
+
-
-
-
+
+
+ {prompt_strength}
+
-
-
-
-
- >}
+
+
+
+
+
+
+
+ >
+ )}
);
-}
\ No newline at end of file
+}
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/workflowSettings/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/workflowSettings/index.tsx
index 4633e0a7..781aa020 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/workflowSettings/index.tsx
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/advancedSettings/workflowSettings/index.tsx
@@ -1,16 +1,20 @@
-import React, {useState} from "react";
+import React, { useState } from "react";
import { useImageCreate } from "../../../../../store/imageCreateStore";
+import { MenuButton }
+from //@ts-ignore
+'../advancedsettings.css.ts';
+
+
export default function WorkflowSettings() {
-
const num_outputs = useImageCreate((state) =>
state.getValueForRequestKey("num_outputs")
);
const parallelCount = useImageCreate((state) => state.parallelCount);
const isUseAutoSave = useImageCreate((state) => state.isUseAutoSave());
const save_to_disk_path = useImageCreate((state) =>
- state.getValueForRequestKey("save_to_disk_path")
-);
+ state.getValueForRequestKey("save_to_disk_path")
+ );
const isSoundEnabled = useImageCreate((state) => state.isSoundEnabled());
const setRequestOption = useImageCreate((state) => state.setRequestOptions);
@@ -20,7 +24,6 @@ export default function WorkflowSettings() {
(state) => state.toggleSoundEnabled
);
-
const [workflowOpen, setWorkflowOpen] = useState(true);
const toggleWorkflowOpen = () => {
@@ -29,72 +32,74 @@ export default function WorkflowSettings() {
return (
);
-};
\ No newline at end of file
+}
diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/creationpane.css.ts b/ui/frontend/build_src/src/components/organisms/creationPanel/creationpane.css.ts
index c4ae4a45..da211031 100644
--- a/ui/frontend/build_src/src/components/organisms/creationPanel/creationpane.css.ts
+++ b/ui/frontend/build_src/src/components/organisms/creationPanel/creationpane.css.ts
@@ -1,8 +1,8 @@
-import { style } from '@vanilla-extract/css';
+import { style } from "@vanilla-extract/css";
export const CreationPaneMain = style({
- position: 'relative',
- width: '100%',
- height: '100%',
- padding:'0 10px',
-});
\ No newline at end of file
+ position: "relative",
+ width: "100%",
+ height: "100%",
+ padding: "0 10px",
+});
diff --git a/ui/frontend/build_src/src/styles.css.ts b/ui/frontend/build_src/src/styles.css.ts
index 13234aa5..d31ec36b 100644
--- a/ui/frontend/build_src/src/styles.css.ts
+++ b/ui/frontend/build_src/src/styles.css.ts
@@ -19,7 +19,9 @@ globalStyle(`*`, {
boxSizing: "border-box",
});
-globalStyle(`p`, {
+
+/** RESET */
+globalStyle(`p, h3, h4`, {
margin: 0,
});