mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 06:59:09 +00:00
style: bigger icons
This commit is contained in:
@@ -37,14 +37,34 @@ export default function MenuBar(props) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<QuitIconBtn size='md' clickhandler={() => handleIPC('shutdown')} />
|
<QuitIconBtn size='lg' clickhandler={() => handleIPC('shutdown')} />
|
||||||
<MaxIconBtn size='md' clickhandler={() => handleIPC('max')} />
|
<MaxIconBtn
|
||||||
<MinIconBtn size='md' clickhandler={() => handleIPC('min')} />
|
style={{ fontSize: '1.5em' }}
|
||||||
|
size='lg'
|
||||||
|
clickhandler={() => handleIPC('max')}
|
||||||
|
/>
|
||||||
|
<MinIconBtn
|
||||||
|
style={{ fontSize: '1.5em' }}
|
||||||
|
size='lg'
|
||||||
|
clickhandler={() => handleIPC('min')}
|
||||||
|
/>
|
||||||
<div className={style.gap} />
|
<div className={style.gap} />
|
||||||
<HelpIconBtn size='md' clickhandler={() => handleIPC('help')} />
|
<HelpIconBtn
|
||||||
<SettingsIconBtn size='md' disabled />
|
style={{ fontSize: '1.5em' }}
|
||||||
<InfoIconBtn size='md' clickhandler={onOpen} />
|
size='lg'
|
||||||
<DownloadIconBtn size='md' clickhandler={handleDownload} />
|
clickhandler={() => handleIPC('help')}
|
||||||
|
/>
|
||||||
|
<SettingsIconBtn style={{ fontSize: '1.5em' }} size='lg' disabled />
|
||||||
|
<InfoIconBtn
|
||||||
|
style={{ fontSize: '1.5em' }}
|
||||||
|
size='lg'
|
||||||
|
clickhandler={onOpen}
|
||||||
|
/>
|
||||||
|
<DownloadIconBtn
|
||||||
|
style={{ fontSize: '1.5em' }}
|
||||||
|
size='lg'
|
||||||
|
clickhandler={handleDownload}
|
||||||
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ export default function DownloadIconBtn(props) {
|
|||||||
size={props.size || 'xs'}
|
size={props.size || 'xs'}
|
||||||
icon={<FiDownload />}
|
icon={<FiDownload />}
|
||||||
colorScheme='white'
|
colorScheme='white'
|
||||||
variant='outline'
|
|
||||||
isRound
|
|
||||||
borderColor='#fff1'
|
|
||||||
onClick={clickhandler}
|
onClick={clickhandler}
|
||||||
_focus={{ boxShadow: 'none' }}
|
_focus={{ boxShadow: 'none' }}
|
||||||
{...rest}
|
{...rest}
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ export default function HelpIconBtn(props) {
|
|||||||
size={props.size || 'xs'}
|
size={props.size || 'xs'}
|
||||||
icon={<FiHelpCircle />}
|
icon={<FiHelpCircle />}
|
||||||
colorScheme='white'
|
colorScheme='white'
|
||||||
variant='outline'
|
|
||||||
isRound
|
|
||||||
borderColor='#fff1'
|
|
||||||
onClick={clickhandler}
|
onClick={clickhandler}
|
||||||
_focus={{ boxShadow: 'none' }}
|
_focus={{ boxShadow: 'none' }}
|
||||||
{...rest}
|
{...rest}
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ export default function InfoIconBtn(props) {
|
|||||||
size={props.size || 'xs'}
|
size={props.size || 'xs'}
|
||||||
icon={<FiHome />}
|
icon={<FiHome />}
|
||||||
colorScheme='white'
|
colorScheme='white'
|
||||||
variant='outline'
|
|
||||||
isRound
|
|
||||||
borderColor='#fff1'
|
|
||||||
onClick={clickhandler}
|
onClick={clickhandler}
|
||||||
_focus={{ boxShadow: 'none' }}
|
_focus={{ boxShadow: 'none' }}
|
||||||
{...rest}
|
{...rest}
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ export default function MaxIconBtn(props) {
|
|||||||
size={props.size || 'xs'}
|
size={props.size || 'xs'}
|
||||||
icon={<FiMaximize />}
|
icon={<FiMaximize />}
|
||||||
colorScheme='white'
|
colorScheme='white'
|
||||||
variant='outline'
|
|
||||||
isRound
|
|
||||||
borderColor='#fff1'
|
|
||||||
onClick={clickhandler}
|
onClick={clickhandler}
|
||||||
_focus={{ boxShadow: 'none' }}
|
_focus={{ boxShadow: 'none' }}
|
||||||
{...rest}
|
{...rest}
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ export default function MinIconBtn(props) {
|
|||||||
size={props.size || 'xs'}
|
size={props.size || 'xs'}
|
||||||
icon={<FiMinimize />}
|
icon={<FiMinimize />}
|
||||||
colorScheme='white'
|
colorScheme='white'
|
||||||
variant='outline'
|
|
||||||
isRound
|
|
||||||
borderColor='#fff1'
|
|
||||||
onClick={clickhandler}
|
onClick={clickhandler}
|
||||||
_focus={{ boxShadow: 'none' }}
|
_focus={{ boxShadow: 'none' }}
|
||||||
{...rest}
|
{...rest}
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ export default function SettingsIconBtn(props) {
|
|||||||
size={props.size || 'xs'}
|
size={props.size || 'xs'}
|
||||||
icon={<FiSettings />}
|
icon={<FiSettings />}
|
||||||
colorScheme='white'
|
colorScheme='white'
|
||||||
variant='outline'
|
|
||||||
isRound
|
|
||||||
borderColor='#fff1'
|
|
||||||
onClick={clickhandler}
|
onClick={clickhandler}
|
||||||
_focus={{ boxShadow: 'none' }}
|
_focus={{ boxShadow: 'none' }}
|
||||||
{...rest}
|
{...rest}
|
||||||
|
|||||||
Reference in New Issue
Block a user