mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-31 01:22:03 +08:00
feat: update styles for toolbar (#4824)
This commit is contained in:
parent
7f4a61ffb1
commit
d6cd155988
@ -37,7 +37,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.explorer-options {
|
||||
position: fixed;
|
||||
bottom: 24px;
|
||||
@ -78,11 +77,9 @@
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
border: none;
|
||||
|
||||
border: 1px solid #1d2023;
|
||||
color: #c0c1c3;
|
||||
background-color: #161922;
|
||||
|
||||
box-shadow: none !important;
|
||||
|
||||
|
@ -373,26 +373,41 @@ function ExplorerOptions({
|
||||
onClick={handleSaveViewModalToggle}
|
||||
className={isEditDeleteSupported ? '' : 'hidden'}
|
||||
disabled={viewsIsLoading || isRefetching}
|
||||
icon={<Disc3 size={16} />}
|
||||
>
|
||||
<Disc3 size={16} /> Save this view
|
||||
Save this view
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<hr className={isEditDeleteSupported ? '' : 'hidden'} />
|
||||
|
||||
<div className={cx('actions', isEditDeleteSupported ? '' : 'hidden')}>
|
||||
<Button disabled={disabled} shape="round" onClick={onCreateAlertsHandler}>
|
||||
<ConciergeBell size={16} /> Create an Alert
|
||||
<Button
|
||||
disabled={disabled}
|
||||
shape="round"
|
||||
onClick={onCreateAlertsHandler}
|
||||
icon={<ConciergeBell size={16} />}
|
||||
>
|
||||
Create an Alert
|
||||
</Button>
|
||||
|
||||
<Button disabled={disabled} shape="round" onClick={onAddToDashboard}>
|
||||
<Plus size={16} /> Add to Dashboard
|
||||
<Button
|
||||
type="primary"
|
||||
disabled={disabled}
|
||||
shape="round"
|
||||
onClick={onAddToDashboard}
|
||||
icon={<Plus size={16} />}
|
||||
>
|
||||
Add to Dashboard
|
||||
</Button>
|
||||
|
||||
<Tooltip title="Hide">
|
||||
<Button disabled={disabled} shape="circle" onClick={hideToolbar}>
|
||||
<PanelBottomClose size={16} />
|
||||
</Button>
|
||||
<Button
|
||||
disabled={disabled}
|
||||
shape="circle"
|
||||
onClick={hideToolbar}
|
||||
icon={<PanelBottomClose size={16} />}
|
||||
/>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -5,6 +5,12 @@
|
||||
.react-grid-layout {
|
||||
border: none !important;
|
||||
margin-top: 0;
|
||||
|
||||
.widget-graph-container {
|
||||
&.graph {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,7 +29,7 @@
|
||||
.ant-modal-header {
|
||||
background-color: var(--bg-ink-400);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.lightMode {
|
||||
|
Loading…
x
Reference in New Issue
Block a user