diff --git a/gui/src/components/Layout.tsx b/gui/src/components/Layout.tsx index 1df23324e..2ce44d6c1 100644 --- a/gui/src/components/Layout.tsx +++ b/gui/src/components/Layout.tsx @@ -36,6 +36,17 @@ const FOOTER_HEIGHT = "1.8em"; const LayoutTopDiv = styled(CustomScrollbarDiv)` height: 100%; border-radius: ${defaultBorderRadius}; + position: relative; + + &::after { + position: absolute; + content: ""; + width: 100%; + height: 1px; + background-color: rgba(136, 136, 136, 0.3); + top: 0; + left: 0; + } `; const BottomMessageDiv = styled.div<{ displayOnBottom: boolean }>` @@ -66,7 +77,8 @@ const Footer = styled.footer` height: ${FOOTER_HEIGHT}; background-color: transparent; backdrop-filter: blur(12px); - + border-top: 1px solid rgba(136, 136, 136, 0.3); + border-bottom: 1px solid rgba(136, 136, 136, 0.3); overflow: hidden; `; diff --git a/gui/src/components/loaders/BlinkingDot.tsx b/gui/src/components/loaders/BlinkingDot.tsx deleted file mode 100644 index db8feb5a5..000000000 --- a/gui/src/components/loaders/BlinkingDot.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import styled, { css, keyframes } from "styled-components"; - -const DEFAULT_DIAMETER = 6; - -const blink = keyframes` - 0%, 100% { - transform: scale(1); - opacity: 1; - } - 50% { - opacity: 0.25; - } -`; - -const blinkAnimation = css` - animation: ${blink} 3s infinite; -`; - -const BlinkingDot = styled.div<{ - color: string; - diameter?: number; - shouldBlink?: boolean; -}>` - background-color: ${(props) => props.color}; - box-shadow: 0px 0px 2px 1px ${(props) => props.color}; - width: ${(props) => props.diameter ?? DEFAULT_DIAMETER}px; - height: ${(props) => props.diameter ?? DEFAULT_DIAMETER}px; - border-radius: 50%; - border: 1px solid rgba(255, 255, 255, 0.75); - margin: 0 2px; - ${(props) => (props.shouldBlink ?? false) && blinkAnimation}; -`; - -export default BlinkingDot; diff --git a/gui/src/components/loaders/StatusDot.tsx b/gui/src/components/loaders/StatusDot.tsx index 24c8cdc3d..e558f373a 100644 --- a/gui/src/components/loaders/StatusDot.tsx +++ b/gui/src/components/loaders/StatusDot.tsx @@ -27,7 +27,7 @@ const StatusDot = styled.div<{ height: ${(props) => props.diameter ?? DEFAULT_DIAMETER}px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.75); - margin: 0 2px; + margin: 0 4px 0 8px; ${(props) => (props.shouldBlink ?? false) && blinkAnimation}; `; diff --git a/gui/src/components/mainInput/InputToolbar.tsx b/gui/src/components/mainInput/InputToolbar.tsx index f78afb71d..f854cbafa 100644 --- a/gui/src/components/mainInput/InputToolbar.tsx +++ b/gui/src/components/mainInput/InputToolbar.tsx @@ -151,7 +151,7 @@ function InputToolbar(props: InputToolbarProps) { ⏎ Enter - + setFileSelectHovered(false)} onMouseEnter={() => setFileSelectHovered(true)} > diff --git a/gui/src/components/modelSelection/ModelSelect.tsx b/gui/src/components/modelSelection/ModelSelect.tsx index 867f166a6..fae117615 100644 --- a/gui/src/components/modelSelection/ModelSelect.tsx +++ b/gui/src/components/modelSelection/ModelSelect.tsx @@ -28,10 +28,10 @@ import ConfirmationDialog from "../dialogs/ConfirmationDialog"; const StyledListboxButton = styled(Listbox.Button)` display: flex; align-items: center; - gap: 4px; + gap: 2px; border: none; cursor: pointer; - font-size: ${() => `${getFontSize() - 4}px`}; + font-size: ${() => `${getFontSize() - 3}px`}; background: transparent; color: ${() => lightGray}; &:focus { @@ -212,11 +212,14 @@ function ModelSelect() { }} >
- +
{modelSelectTitle(defaultModel) || "Select model"}
diff --git a/gui/src/pages/gui.tsx b/gui/src/pages/gui.tsx index 08ec5fc6e..9ca321eb3 100644 --- a/gui/src/pages/gui.tsx +++ b/gui/src/pages/gui.tsx @@ -108,9 +108,9 @@ const StepsDiv = styled.div` const NewSessionButton = styled.div` width: fit-content; margin-right: auto; - margin-left: 8px; - margin-top: 4px; - + margin-left: 6px; + margin-top: 2px; + margin-bottom: 8px; font-size: ${getFontSize() - 2}px; border-radius: ${defaultBorderRadius};