change windows to simple

This commit is contained in:
Layne 2022-03-17 15:49:34 -04:00
parent 5eb39cc2a8
commit 7486e9c7d2
4 changed files with 4 additions and 4 deletions

View File

@ -127,7 +127,7 @@ export const GroupCreatorView: FC<GroupCreatorViewProps> = props =>
if(!groupData) return null;
return (
<NitroCardView className="nitro-group-creator">
<NitroCardView className="nitro-group-creator" theme="primary-slim">
<NitroCardHeaderView headerText={ LocalizeText('group.create.title') } onCloseClick={ close } />
<NitroCardContentView>
<Flex center className="creator-tabs">

View File

@ -110,7 +110,7 @@ export const HelpView: FC<{}> = props =>
<HelpContextProvider value={ { helpReportState, setHelpReportState } }>
<HelpMessageHandler />
{ isVisible &&
<NitroCardView className="nitro-help">
<NitroCardView className="nitro-help" theme="primary-slim">
<NitroCardHeaderView headerText={ LocalizeText('help.button.cfh') } onCloseClick={ event => setIsVisible(false) } />
<NitroCardContentView className="text-black">
<Grid>

View File

@ -196,7 +196,7 @@ export const InventoryView: FC<{}> = props =>
<InventoryContextProvider value={ { furnitureState, dispatchFurnitureState, botState, dispatchBotState, petState, dispatchPetState, badgeState, dispatchBadgeState, unseenTracker } }>
<InventoryMessageHandler />
{ isVisible &&
<NitroCardView uniqueKey={ 'inventory' } className="nitro-inventory">
<NitroCardView uniqueKey={'inventory'} className="nitro-inventory" theme={ furnitureState.tradeData ? 'primary-slim' : '' } >
<NitroCardHeaderView headerText={ LocalizeText('inventory.title') } onCloseClick={ close } />
{ !furnitureState.tradeData &&
<>

View File

@ -50,7 +50,7 @@ export const ChooserWidgetView: FC<ChooserWidgetViewProps> = props =>
}
return (
<NitroCardView className="nitro-chooser-widget">
<NitroCardView className="nitro-chooser-widget" theme="primary-slim">
<NitroCardHeaderView headerText={ title } onCloseClick={ onCloseClick } />
<NitroCardContentView overflow="hidden">
<input type="text" className="form-control form-control-sm" placeholder={ LocalizeText('generic.search') } value={searchValue} onChange={event => setSearchValue(event.target.value)} />