Style updates
This commit is contained in:
@@ -199,7 +199,7 @@ const ApplicationSettings = () => {
|
|||||||
withAsterisk
|
withAsterisk
|
||||||
/>
|
/>
|
||||||
</Group>
|
</Group>
|
||||||
<Group w={'100%'} justify='center'>
|
<Group w={'100%'} justify='center' pos={'relative'}>
|
||||||
<Select
|
<Select
|
||||||
key={form.key('icon')}
|
key={form.key('icon')}
|
||||||
{...form.getInputProps('icon')}
|
{...form.getInputProps('icon')}
|
||||||
|
|||||||
@@ -86,7 +86,11 @@ function DebouncedApplication({
|
|||||||
}}
|
}}
|
||||||
openModal={openModal}
|
openModal={openModal}
|
||||||
/>
|
/>
|
||||||
<Group justify='center' style={{ flexDirection: isMobile ? 'column' : 'row' }}>
|
<Group
|
||||||
|
justify='center'
|
||||||
|
pos={'relative'}
|
||||||
|
style={{ flexDirection: isMobile ? 'column' : 'row' }}
|
||||||
|
>
|
||||||
<TextInput
|
<TextInput
|
||||||
label={'Name'}
|
label={'Name'}
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
@@ -113,7 +117,11 @@ function DebouncedApplication({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Group>
|
</Group>
|
||||||
<Group justify='center' style={{ flexDirection: isMobile ? 'column' : 'row' }}>
|
<Group
|
||||||
|
justify='center'
|
||||||
|
pos={'relative'}
|
||||||
|
style={{ flexDirection: isMobile ? 'column' : 'row' }}
|
||||||
|
>
|
||||||
<TextInput
|
<TextInput
|
||||||
label={'URL'}
|
label={'URL'}
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
@@ -130,6 +138,7 @@ function DebouncedApplication({
|
|||||||
</Group>
|
</Group>
|
||||||
<Group
|
<Group
|
||||||
justify='space-between'
|
justify='space-between'
|
||||||
|
pos={'relative'}
|
||||||
style={{ flexDirection: isMobile ? 'column' : 'row' }}
|
style={{ flexDirection: isMobile ? 'column' : 'row' }}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
|
|||||||
@@ -115,8 +115,8 @@ function DebouncedBookmarkItem({
|
|||||||
<TextInput
|
<TextInput
|
||||||
label={'URL'}
|
label={'URL'}
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
w={isMobile ? '80%' : '100%'}
|
|
||||||
classNames={textInputClasses}
|
classNames={textInputClasses}
|
||||||
|
w={isMobile ? '80%' : '100%'}
|
||||||
defaultValue={bookmark.url}
|
defaultValue={bookmark.url}
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
setUpdate({
|
setUpdate({
|
||||||
|
|||||||
@@ -145,11 +145,6 @@ function DebouncedGroupSettingsItem({
|
|||||||
<Group gap={0} align='center' justify='space-between'>
|
<Group gap={0} align='center' justify='space-between'>
|
||||||
<TextInput
|
<TextInput
|
||||||
label={'Name'}
|
label={'Name'}
|
||||||
labelProps={{
|
|
||||||
style: {
|
|
||||||
color: 'var(--mantine-color-primary-0)',
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
w={isMobile ? undefined : '58%'}
|
w={isMobile ? undefined : '58%'}
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
classNames={textInputClasses}
|
classNames={textInputClasses}
|
||||||
@@ -163,11 +158,6 @@ function DebouncedGroupSettingsItem({
|
|||||||
/>
|
/>
|
||||||
<TextInput
|
<TextInput
|
||||||
label={'Filter Name'}
|
label={'Filter Name'}
|
||||||
labelProps={{
|
|
||||||
style: {
|
|
||||||
color: 'var(--mantine-color-primary-0)',
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
w={isMobile ? undefined : '28%'}
|
w={isMobile ? undefined : '28%'}
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
classNames={textInputClasses}
|
classNames={textInputClasses}
|
||||||
@@ -337,11 +327,6 @@ function DebouncedGroupSettingsItem({
|
|||||||
{...form.getInputProps('name')}
|
{...form.getInputProps('name')}
|
||||||
label={'Name'}
|
label={'Name'}
|
||||||
placeholder='eg. Google'
|
placeholder='eg. Google'
|
||||||
labelProps={{
|
|
||||||
style: {
|
|
||||||
color: 'var(--mantine-color-primary-0)',
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
pt={'1rem'}
|
pt={'1rem'}
|
||||||
classNames={textInputClasses}
|
classNames={textInputClasses}
|
||||||
@@ -351,11 +336,6 @@ function DebouncedGroupSettingsItem({
|
|||||||
key={form.key('category')}
|
key={form.key('category')}
|
||||||
{...form.getInputProps('category')}
|
{...form.getInputProps('category')}
|
||||||
label={'Category'}
|
label={'Category'}
|
||||||
labelProps={{
|
|
||||||
style: {
|
|
||||||
color: 'var(--mantine-color-primary-0)',
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
pt={'1rem'}
|
pt={'1rem'}
|
||||||
classNames={textInputClasses}
|
classNames={textInputClasses}
|
||||||
@@ -369,11 +349,6 @@ function DebouncedGroupSettingsItem({
|
|||||||
{...form.getInputProps('url')}
|
{...form.getInputProps('url')}
|
||||||
label={'URL'}
|
label={'URL'}
|
||||||
placeholder='eg. https://google.com'
|
placeholder='eg. https://google.com'
|
||||||
labelProps={{
|
|
||||||
style: {
|
|
||||||
color: 'var(--mantine-color-primary-0)',
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
w={'100%'}
|
w={'100%'}
|
||||||
pt={'1rem'}
|
pt={'1rem'}
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ const PersonalizationSettings = () => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<GridCol span={isMobile ? 12 : 4}>
|
<GridCol span={isMobile ? 12 : 4}>
|
||||||
<Card className={cardClasses.settingsItem} classNames={cardClasses}>
|
<Card className={cardClasses.settingsItem} classNames={cardClasses} pt={0}>
|
||||||
<TextInput
|
<TextInput
|
||||||
label={'First Name'}
|
label={'First Name'}
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
@@ -95,7 +95,7 @@ const PersonalizationSettings = () => {
|
|||||||
</Card>
|
</Card>
|
||||||
</GridCol>
|
</GridCol>
|
||||||
<GridCol span={isMobile ? 12 : 4}>
|
<GridCol span={isMobile ? 12 : 4}>
|
||||||
<Card className={cardClasses.settingsItem} classNames={cardClasses}>
|
<Card className={cardClasses.settingsItem} classNames={cardClasses} pt={0}>
|
||||||
<TextInput
|
<TextInput
|
||||||
label={'Last Name'}
|
label={'Last Name'}
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
@@ -112,7 +112,7 @@ const PersonalizationSettings = () => {
|
|||||||
</Card>
|
</Card>
|
||||||
</GridCol>
|
</GridCol>
|
||||||
<GridCol span={isMobile ? 12 : 4}>
|
<GridCol span={isMobile ? 12 : 4}>
|
||||||
<Card className={cardClasses.settingsItem} classNames={cardClasses}>
|
<Card className={cardClasses.settingsItem} classNames={cardClasses} pt={0}>
|
||||||
<TextInput
|
<TextInput
|
||||||
label={'Email'}
|
label={'Email'}
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
@@ -129,7 +129,7 @@ const PersonalizationSettings = () => {
|
|||||||
</Card>
|
</Card>
|
||||||
</GridCol>
|
</GridCol>
|
||||||
<GridCol span={12}>
|
<GridCol span={12}>
|
||||||
<Card className={cardClasses.settingsItem} classNames={cardClasses}>
|
<Card className={cardClasses.settingsItem} classNames={cardClasses} pt={0}>
|
||||||
<TextInput
|
<TextInput
|
||||||
label={'Physical Address'}
|
label={'Physical Address'}
|
||||||
className={textInputClasses.settingsItem}
|
className={textInputClasses.settingsItem}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ function ThemePlaylistCard({
|
|||||||
allThemes: Theme[];
|
allThemes: Theme[];
|
||||||
}) {
|
}) {
|
||||||
const [hover, setHover] = useState(false);
|
const [hover, setHover] = useState(false);
|
||||||
const { setThemeName, setCurrentThemePlaylist, theme, handleDelete } = useCommonHooks();
|
const { setThemeName, setCurrentThemePlaylist, handleDelete } = useCommonHooks();
|
||||||
const defaultLists = ['All', 'Backgrounds', 'No Backgrounds'];
|
const defaultLists = ['All', 'Backgrounds', 'No Backgrounds'];
|
||||||
const [modalOpened, { open: openModal, close: closeModal }] = useDisclosure(false);
|
const [modalOpened, { open: openModal, close: closeModal }] = useDisclosure(false);
|
||||||
const themeList = JSON.parse(
|
const themeList = JSON.parse(
|
||||||
@@ -74,10 +74,7 @@ function ThemePlaylistCard({
|
|||||||
paddingLeft: '.25rem',
|
paddingLeft: '.25rem',
|
||||||
backgroundColor: 'var(--mantine-color-border-0)',
|
backgroundColor: 'var(--mantine-color-border-0)',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
color:
|
color: 'var(--mantine-color-background-0)',
|
||||||
theme.borderColor === theme.primaryColor
|
|
||||||
? 'var(--mantine-color-accent-0)'
|
|
||||||
: 'var(--mantine-color-primary-0)',
|
|
||||||
zIndex: 3,
|
zIndex: 3,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@@ -93,10 +90,7 @@ function ThemePlaylistCard({
|
|||||||
paddingLeft: '.25rem',
|
paddingLeft: '.25rem',
|
||||||
backgroundColor: 'var(--mantine-color-border-0)',
|
backgroundColor: 'var(--mantine-color-border-0)',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
color:
|
color: 'var(--mantine-color-background-0)',
|
||||||
theme.borderColor === theme.primaryColor
|
|
||||||
? 'var(--mantine-color-accent-0)'
|
|
||||||
: 'var(--mantine-color-primary-0)',
|
|
||||||
zIndex: 3,
|
zIndex: 3,
|
||||||
}}
|
}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
@@ -121,10 +121,7 @@ function ThemePlaylists() {
|
|||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
borderRadius: '50%',
|
borderRadius: '50%',
|
||||||
backgroundColor: 'var(--mantine-color-border-0)',
|
backgroundColor: 'var(--mantine-color-border-0)',
|
||||||
color:
|
color: 'var(--mantine-color-background-0)',
|
||||||
theme.borderColor === theme.primaryColor
|
|
||||||
? 'var(--mantine-color-accent-0)'
|
|
||||||
: 'var(--mantine-color-primary-0)',
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
.settingsItem {
|
.settingsItem {
|
||||||
&.root {
|
&.root {
|
||||||
|
padding-top: 1.5rem;
|
||||||
color: var(--mantine-color-primary-0);
|
color: var(--mantine-color-primary-0);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
backdrop-filter: blur(5px) brightness(1.25);
|
backdrop-filter: blur(5px) brightness(1.25);
|
||||||
|
|||||||
@@ -2,11 +2,22 @@
|
|||||||
width: 45%;
|
width: 45%;
|
||||||
}
|
}
|
||||||
.menuSelectLabel {
|
.menuSelectLabel {
|
||||||
margin-bottom: .25rem !important;
|
position: absolute;
|
||||||
color: var(--mantine-color-primary-0) !important;
|
font-size: .75rem !important;
|
||||||
font-size: .875rem !important;
|
padding-left: .5rem;
|
||||||
|
padding-right: .5rem;
|
||||||
|
padding-top: .125rem;
|
||||||
|
padding-bottom: .125rem;
|
||||||
|
margin-left: -8px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: var(--mantine-color-primary-0);
|
||||||
|
color: var(--mantine-color-background-0);
|
||||||
|
box-shadow: 2px 2px var(--mantine-color-border-0);
|
||||||
|
z-index: 1;
|
||||||
|
top: 18px;
|
||||||
}
|
}
|
||||||
.menuSelectInput {
|
.menuSelectInput {
|
||||||
|
margin-top: 1.75rem;
|
||||||
border-color: var(--mantine-color-border-0) !important;
|
border-color: var(--mantine-color-border-0) !important;
|
||||||
background-color: var(--mantine-color-background-0) !important;
|
background-color: var(--mantine-color-background-0) !important;
|
||||||
color: var(--mantine-color-primary-0) !important;
|
color: var(--mantine-color-primary-0) !important;
|
||||||
|
|||||||
@@ -23,13 +23,30 @@
|
|||||||
.settingsItem {
|
.settingsItem {
|
||||||
&.root {
|
&.root {
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
|
.label {
|
||||||
|
position: relative;
|
||||||
|
font-size: .75rem;
|
||||||
|
padding-left: .5rem;
|
||||||
|
padding-right: .5rem;
|
||||||
|
padding-top: .125rem;
|
||||||
|
padding-bottom: .125rem;
|
||||||
|
margin-left: -8px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: var(--mantine-color-primary-0);
|
||||||
|
color: var(--mantine-color-background-0);
|
||||||
|
box-shadow: 2px 2px var(--mantine-color-border-0);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
.wrapper {
|
.wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
background-color: var(--mantine-color-search-0);
|
||||||
|
margin-top: -16px;
|
||||||
|
padding-top: 8px;
|
||||||
.input {
|
.input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: var(--mantine-color-search-0);
|
|
||||||
color: var(--mantine-color-primary-0);
|
color: var(--mantine-color-primary-0);
|
||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user