Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] theme model details #19

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ActionList, ActionListItem, Button, TextInput } from '@patternfly/react
import { CheckIcon, MinusCircleIcon, PencilAltIcon, TimesIcon } from '@patternfly/react-icons';
import { BYONImagePackage } from '~/types';
import { DisplayedContentTab } from './ManageBYONImageModal';
import EditIcon from '@mui/icons-material/Edit';

type DisplayedContentTableRowProps = {
tabKey: DisplayedContentTab;
Expand Down Expand Up @@ -111,7 +112,7 @@ const DisplayedContentTableRow: React.FC<DisplayedContentTableRowProps> = ({
<>
<ActionListItem>
<Button
icon={<PencilAltIcon />}
icon={<EditIcon />}
aria-label="Edit displayed content"
isDisabled={isEditing}
variant="plain"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const ModelVersionsTable: React.FC<ModelVersionsTableProps> = ({
data={modelVersions}
columns={mvColumns}
toolbarContent={toolbarContent}
enablePagination
enablePagination="compact"
emptyTableView={<DashboardEmptyTableView onClearFilters={clearFilters} />}
rowRenderer={(mv) => (
<ModelVersionsTableRow key={mv.name} modelVersion={mv} refresh={refresh} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,21 @@
letter-spacing: 0.02857em;
}

.mui-theme .pf-v6-c-description-list__text:focus-within .pf-v6-c-form-control
{
--pf-v6-c-form-control--after--BorderWidth: 2px;
--pf-v6-c-form-control--after--BorderColor: var(--mui-palette-primary-main);
}

.pf-v6-c-form-control > :is(input,select,textarea):focus {
outline-offset: 0;
}

.pf-v6-c-menu-toggle.pf-m-primary:is(:hover,:focus) {
--pf-v6-c-menu-toggle--BackgroundColor: rgb(23, 105, 170);
--pf-v6-c-menu-toggle--expanded--BackgroundColor: var(--mui-palette-primary-main);
}

.mui-theme .pf-v6-c-menu-toggle__button {
text-transform: uppercase;
font-weight: var(--mui-button-font-weight);
Expand Down Expand Up @@ -272,6 +287,8 @@
.mui-theme .pf-v6-c-pagination__page-menu .pf-v6-c-menu-toggle {
--pf-v6-c-menu-toggle--expanded--BackgroundColor: var(--pf-v6-c-menu-toggle--m-plain--expanded--BackgroundColor);
text-transform: none;
--pf-v6-c-menu-toggle--hover--BackgroundColor: none;
--pf-v6-c-menu-toggle--expanded--BackgroundColor: none;
}

.mui-theme .pf-v6-c-pagination__page-menu::before {
Expand Down
Loading