style updates
This commit is contained in:
@@ -13,7 +13,13 @@ import { useEffect, useState } from 'react';
|
|||||||
import { FaDice } from 'react-icons/fa';
|
import { FaDice } from 'react-icons/fa';
|
||||||
import { FiMenu, FiMonitor, FiSettings, FiShuffle } from 'react-icons/fi';
|
import { FiMenu, FiMonitor, FiSettings, FiShuffle } from 'react-icons/fi';
|
||||||
import { useNavigate } from 'react-router-dom';
|
import { useNavigate } from 'react-router-dom';
|
||||||
import { actionIconClasses, buttonClasses, menuClasses, selectClasses } from 'styles';
|
import {
|
||||||
|
actionIconClasses,
|
||||||
|
buttonClasses,
|
||||||
|
menuClasses,
|
||||||
|
selectClasses,
|
||||||
|
stackClasses,
|
||||||
|
} from 'styles';
|
||||||
|
|
||||||
function SettingsButton() {
|
function SettingsButton() {
|
||||||
const { data, isFetched } = useQueryAPI({ endpoint: 'api/appCategories' });
|
const { data, isFetched } = useQueryAPI({ endpoint: 'api/appCategories' });
|
||||||
@@ -70,16 +76,12 @@ function SettingsButton() {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Group w={'100%'} align='center' justify='center'>
|
<Group w={'100%'} justify='center'>
|
||||||
<Stack
|
<Stack
|
||||||
gap={0}
|
gap={0}
|
||||||
align='center'
|
align='center'
|
||||||
style={{
|
className={stackClasses.menuStack}
|
||||||
width: '40%',
|
classNames={stackClasses}
|
||||||
height: '150px',
|
|
||||||
backgroundColor: `${theme.primaryColor}22`,
|
|
||||||
borderRadius: '10px',
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<Menu.Label>Wake on LAN</Menu.Label>
|
<Menu.Label>Wake on LAN</Menu.Label>
|
||||||
<Button
|
<Button
|
||||||
@@ -89,21 +91,15 @@ function SettingsButton() {
|
|||||||
>
|
>
|
||||||
<Stack gap={0} align='center'>
|
<Stack gap={0} align='center'>
|
||||||
<FiMonitor size={40} />
|
<FiMonitor size={40} />
|
||||||
<Text m={0} p={0}>
|
<Text>Dakota</Text>
|
||||||
Dakota
|
|
||||||
</Text>
|
|
||||||
</Stack>
|
</Stack>
|
||||||
</Button>
|
</Button>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Stack
|
<Stack
|
||||||
gap={0}
|
gap={0}
|
||||||
align='center'
|
align='center'
|
||||||
style={{
|
className={stackClasses.menuStack}
|
||||||
width: '40%',
|
classNames={stackClasses}
|
||||||
height: '150px',
|
|
||||||
backgroundColor: `${theme.primaryColor}22`,
|
|
||||||
borderRadius: '10px',
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<Menu.Label pb={'1rem'}>Themes</Menu.Label>
|
<Menu.Label pb={'1rem'}>Themes</Menu.Label>
|
||||||
<Group pb={'1rem'}>
|
<Group pb={'1rem'}>
|
||||||
@@ -157,19 +153,15 @@ function SettingsButton() {
|
|||||||
/>
|
/>
|
||||||
<Stack
|
<Stack
|
||||||
gap={0}
|
gap={0}
|
||||||
justify='center'
|
|
||||||
align='center'
|
align='center'
|
||||||
style={{
|
w={'85%'}
|
||||||
width: '85%',
|
h={'100px'}
|
||||||
height: '110px',
|
className={stackClasses.menuStack}
|
||||||
backgroundColor: `${theme.primaryColor}22`,
|
classNames={stackClasses}
|
||||||
borderRadius: '10px',
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<Menu.Label>Filters</Menu.Label>
|
<Menu.Label>Filters</Menu.Label>
|
||||||
<Group justify='center' w={'100%'}>
|
<Group>
|
||||||
<MultiSelect
|
<MultiSelect
|
||||||
w={'45%'}
|
|
||||||
label='Apps'
|
label='Apps'
|
||||||
data={categories ?? []}
|
data={categories ?? []}
|
||||||
placeholder={
|
placeholder={
|
||||||
@@ -187,7 +179,6 @@ function SettingsButton() {
|
|||||||
comboboxProps={{ withinPortal: false }}
|
comboboxProps={{ withinPortal: false }}
|
||||||
/>
|
/>
|
||||||
<MultiSelect
|
<MultiSelect
|
||||||
w={'45%'}
|
|
||||||
label='Bookmarks'
|
label='Bookmarks'
|
||||||
data={categories ?? []}
|
data={categories ?? []}
|
||||||
placeholder={
|
placeholder={
|
||||||
|
|||||||
@@ -64,3 +64,10 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.menuStack {
|
||||||
|
width: 40%;
|
||||||
|
height: 150px;
|
||||||
|
background-color: hwb(from var(--color-text-pri) h w b / 0.15);
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user