mirror of
https://github.com/owncast/owncast.git
synced 2025-11-03 21:08:36 +08:00
Some admin related appearance tweaks. For working on #1904
This commit is contained in:
@ -72,6 +72,7 @@ export const BanUserButton: FC<BanUserButtonProps> = ({ user, isEnabled, label,
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
|
type="primary"
|
||||||
onClick={confirmBlockAction}
|
onClick={confirmBlockAction}
|
||||||
size="small"
|
size="small"
|
||||||
icon={isEnabled ? <StopTwoTone twoToneColor="#ff4d4f" /> : null}
|
icon={isEnabled ? <StopTwoTone twoToneColor="#ff4d4f" /> : null}
|
||||||
|
|||||||
@ -217,7 +217,6 @@ export const MainLayout: FC<MainLayoutProps> = ({ children }) => {
|
|||||||
key: 'viewer-info',
|
key: 'viewer-info',
|
||||||
},
|
},
|
||||||
!chatDisabled && {
|
!chatDisabled && {
|
||||||
key: 'chat-config',
|
|
||||||
label: <Link href="/admin/viewer-info">Chat & Users</Link>,
|
label: <Link href="/admin/viewer-info">Chat & Users</Link>,
|
||||||
icon: <MessageOutlined />,
|
icon: <MessageOutlined />,
|
||||||
children: chatMenu,
|
children: chatMenu,
|
||||||
|
|||||||
@ -75,6 +75,7 @@ export const ModeratorUserButton: FC<ModeratorUserButtonProps> = ({ user, onClic
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
|
type="primary"
|
||||||
onClick={confirmBlockAction}
|
onClick={confirmBlockAction}
|
||||||
size="small"
|
size="small"
|
||||||
icon={
|
icon={
|
||||||
|
|||||||
@ -128,3 +128,7 @@
|
|||||||
margin-left: 0.5em;
|
margin-left: 0.5em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
||||||
|
background-color: var(--theme-color-components-form-field-background);
|
||||||
|
}
|
||||||
|
|||||||
@ -26,7 +26,7 @@ BUTTONS
|
|||||||
color: currentColor;
|
color: currentColor;
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-radius: 0.15rem;
|
border-radius: var(--theme-rounded-corners);
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
@ -195,3 +195,18 @@ DROPDOWN
|
|||||||
.ant-modal-close:hover {
|
.ant-modal-close:hover {
|
||||||
color: var(--theme-color-components-modal-header-text);
|
color: var(--theme-color-components-modal-header-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
||||||
|
background-color: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.ant-table-column-sort,
|
||||||
|
.ant-table-thead th.ant-table-column-sort {
|
||||||
|
background-color: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
color: var(--theme-color-components-modal-header-text);
|
||||||
|
font-family: var(--theme-text-display-font-family);
|
||||||
|
font-weight: 700 !important;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user