Skip to content

Commit a3fdf11

Browse files
committed
bootstrap 5
1 parent ef0de52 commit a3fdf11

File tree

157 files changed

+617
-28572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+617
-28572
lines changed

apps/quick-dapp/src/components/DeployPanel/theme.tsx

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,6 @@ import React from 'react';
88
export const themeMap: Record<string, any> = {
99
Dark: { quality: 'dark', url: 'assets/css/themes/remix-dark_tvx1s2.css' },
1010
Light: { quality: 'light', url: 'assets/css/themes/remix-light_powaqg.css' },
11-
Violet: { quality: 'light', url: 'assets/css/themes/remix-violet.css' },
12-
Unicorn: { quality: 'light', url: 'assets/css/themes/remix-unicorn.css' },
13-
Midcentury: {
14-
quality: 'light',
15-
url: 'assets/css/themes/remix-midcentury_hrzph3.css',
16-
},
17-
Black: { quality: 'dark', url: 'assets/css/themes/remix-black_undtds.css' },
18-
Candy: { quality: 'light', url: 'assets/css/themes/remix-candy_ikhg4m.css' },
19-
HackerOwl: { quality: 'dark', url: 'assets/css/themes/remix-hacker_owl.css' },
20-
Cerulean: {
21-
quality: 'light',
22-
url: 'assets/css/themes/bootstrap-cerulean.min.css',
23-
},
24-
Flatly: {
25-
quality: 'light',
26-
url: 'assets/css/themes/bootstrap-flatly.min.css',
27-
},
28-
Spacelab: {
29-
quality: 'light',
30-
url: 'assets/css/themes/bootstrap-spacelab.min.css',
31-
},
32-
Cyborg: {
33-
quality: 'dark',
34-
url: 'assets/css/themes/bootstrap-cyborg.min.css',
35-
},
3611
};
3712

3813
const CustomToggle = React.forwardRef(

apps/remix-ide/src/app/components/preload.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const Preload = (props: any) => {
135135
</div>
136136
) : null}
137137
{error ? (
138-
<div className="preload-info-container alert alert-danger text-left">
138+
<div className="preload-info-container alert alert-danger text-start">
139139
An unknown error has occurred while loading the application.
140140
<br></br>
141141
Doing a hard refresh might fix this issue:<br></br>

apps/remix-ide/src/app/plugins/permission-handler-plugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class PermissionHandlerPlugin extends Plugin {
9999
<span onClick={()=>{}}>To change the permission go to </span>
100100
<span className='px-2' style={{ fontWeight: 'bolder' }}>Plugin Manager</span>
101101
<img alt="" id="permissionModalImagesFrom" src="assets/img/pluginManager.webp" style={{ height: '1rem', width: '1rem' }} />
102-
<span className='pl-1' style={{ fontWeight: 'bolder' }}> / Permissions</span>
102+
<span className='ps-1' style={{ fontWeight: 'bolder' }}> / Permissions</span>
103103
</div>
104104
</div>
105105
this.call('notification', 'toast', warnEl)

apps/remix-ide/src/app/plugins/remixGuide.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ export class RemixGuidePlugin extends ViewPlugin {
149149
</RemixUIGridView>
150150
{ state.showVideo && <div
151151
data-id={`EnterModalDialogContainer-react`}
152-
data-backdrop="static"
153-
data-keyboard="false"
152+
data-bs-backdrop="static"
153+
data-bs-keyboard="false"
154154
className={"modal d-flex"}
155155
role="dialog"
156156
style={{ justifyContent: "center" }}

apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin {
9090
id: 'TemplatesSelectionAiAlert',
9191
message: <div className='d-flex flex-row align-items-center'>
9292
<span><img src="../../../assets/img/remixai-logoDefault.webp" style={{ width: '50px', height: '50px' }} alt="Ai alert" /></span>
93-
<p className='ml-2' style={{ fontSize: '1.1rem' }}>Your request is being processed. Please wait while I generate the workspace for you. It won't be long.</p>
93+
<p className='ms-2' style={{ fontSize: '1.1rem' }}>Your request is being processed. Please wait while I generate the workspace for you. It won't be long.</p>
9494
</div>,
9595
title: 'Generating Workspace'
9696
}
@@ -311,7 +311,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin {
311311
className="btn btn-sm mr-2 border border-primary"
312312
>
313313
{isElectron() ?
314-
<><i className='fa fa-folder-open mr-1'></i>Create</> : 'Create'}
314+
<><i className='fa fa-folder-open me-1'></i>Create</> : 'Create'}
315315
</span>
316316
</CustomTooltip>}
317317
{item.templateType && item.templateType.forceCreateNewWorkspace ? <></> : isElectron() ?
@@ -327,7 +327,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin {
327327
onClick={async () => addToCurrentElectronFolder(item, template.name)}
328328
className="btn btn-sm border"
329329
>
330-
<i className="fa fa-folder-plus mr-1" aria-hidden="true"></i>
330+
<i className="fa fa-folder-plus me-1" aria-hidden="true"></i>
331331
Add here
332332
</span>
333333
</CustomTooltip>
@@ -397,11 +397,11 @@ const createModalMessage = async (
397397
onInput={(e) => onChangeTemplateName((e.target as any).value)}
398398
/>
399399
{templateGroup.hasOptions ? createOptionsModal(onChangeCheckBoxRefs, onChangeRadioRefs) : null}
400-
<div className="d-flex py-2 align-items-center custom-control custom-checkbox">
400+
<div className="d-flex py-2 align-items-center form-check">
401401
<input
402402
id="initGitRepository"
403403
data-id="initGitRepository"
404-
className="form-check-input custom-control-input"
404+
className="form-check-input form-check-input"
405405
type="checkbox"
406406
disabled={gitConfigNotSet}
407407
onChange={(e) => onChangeInitGit(e.target.value)}
@@ -410,7 +410,7 @@ const createModalMessage = async (
410410
<label
411411
htmlFor="initGitRepository"
412412
data-id="initGitRepositoryLabel"
413-
className="m-0 form-check-label custom-control-label udapp_checkboxAlign"
413+
className="m-0 form-check-label form-check-label udapp_checkboxAlign"
414414
title={window._intl.formatMessage({ id: 'filePanel.initGitRepoTitle' })}
415415
>
416416
<FormattedMessage id="filePanel.initGitRepositoryLabel" />
@@ -441,9 +441,9 @@ const createOptionsModal = (
441441
</label>
442442
<div className="mb-2">
443443
{['mintable', 'burnable', 'pausable'].map((feature) => (
444-
<div key={feature} className="d-flex ml-2 custom-control custom-checkbox">
445-
<input className="custom-control-input" type="checkbox" name="feature" value={feature} id={feature} onChange={onChangeCheckBoxRefs} />
446-
<label className="form-check-label custom-control-label" htmlFor={feature} data-id={`featureType${feature.charAt(0).toUpperCase() + feature.slice(1)}`}>
444+
<div key={feature} className="d-flex ms-2 form-check">
445+
<input className="form-check-input" type="checkbox" name="feature" value={feature} id={feature} onChange={onChangeCheckBoxRefs} />
446+
<label className="form-check-label form-check-label" htmlFor={feature} data-id={`featureType${feature.charAt(0).toUpperCase() + feature.slice(1)}`}>
447447
<FormattedMessage id={`filePanel.${feature}`} />
448448
</label>
449449
</div>
@@ -455,9 +455,9 @@ const createOptionsModal = (
455455
</label>
456456
<div>
457457
{['transparent', 'uups'].map((type) => (
458-
<div key={type} className="d-flex ml-2 custom-control custom-radio">
459-
<input className="custom-control-input" type="radio" name="upgradeability" value={type} id={type} onChange={onChangeRadioRefs} />
460-
<label className="form-check-label custom-control-label" htmlFor={type} data-id={`upgradeType${type.charAt(0).toUpperCase() + type.slice(1)}`}>
458+
<div key={type} className="d-flex ms-2 form-check">
459+
<input className="form-check-input" type="radio" name="upgradeability" value={type} id={type} onChange={onChangeRadioRefs} />
460+
<label className="form-check-label form-check-label" htmlFor={type} data-id={`upgradeType${type.charAt(0).toUpperCase() + type.slice(1)}`}>
461461
{type.toUpperCase()}
462462
</label>
463463
</div>

apps/remix-ide/src/app/providers/custom-vm-fork-provider.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class CustomForkVMProvider extends BasicVMProvider {
4040
<label className="mt-3 mb-1">
4141
<FormattedMessage id="udapp.nodeUrl" />
4242
</label>
43-
<input data-id="CustomForkNodeUrl" name="nodeUrl" type="text" className="border form-control border-right-0" />
43+
<input data-id="CustomForkNodeUrl" name="nodeUrl" type="text" className="border form-control border-end-0" />
4444
</div>
4545
<div>
4646
<label className="mt-3 mb-1">
@@ -52,12 +52,12 @@ export class CustomForkVMProvider extends BasicVMProvider {
5252
type="text"
5353
defaultValue="latest"
5454
placeholder='block number or "latest"'
55-
className="border form-control border-right-0"
55+
className="border form-control border-end-0"
5656
/>
5757
</div>
5858
<div>
5959
<label className="mt-3 mb-1">EVM</label>
60-
<select data-id="CustomForkEvmType" name="evmType" defaultValue="merge" className="border form-control border-right-0">
60+
<select data-id="CustomForkEvmType" name="evmType" defaultValue="merge" className="border form-control border-end-0">
6161
{Object.keys(Hardfork).map((value, index) => {
6262
return (
6363
<option value={Hardfork[value]} key={index}>

apps/remix-ide/src/app/providers/external-http-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class ExternalHttpProvider extends AbstractProvider {
2121
const thePath = '<path/to/local/folder/for/test/chain>'
2222
return (
2323
<>
24-
<div className="pr-1">
24+
<div className="pe-1">
2525
<FormattedMessage
2626
id="udapp.externalHttpProviderText1"
2727
values={{

apps/remix-ide/src/app/providers/foundry-provider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ export class FoundryProvider extends AbstractProvider {
2222
<div>
2323
{' '}
2424
<FormattedMessage id="udapp.foundryProviderText1" />
25-
<div className="p-1 pl-3">
25+
<div className="p-1 ps-3">
2626
<b>curl -L https://foundry.paradigm.xyz | bash</b>
2727
</div>
28-
<div className="p-1 pl-3">
28+
<div className="p-1 ps-3">
2929
<b>anvil</b>
3030
</div>
3131
<div className="pt-2 pb-4">

apps/remix-ide/src/app/providers/ganache-provider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ export class GanacheProvider extends AbstractProvider {
2222
<div>
2323
{' '}
2424
<FormattedMessage id="udapp.ganacheProviderText1" />
25-
<div className="p-1 pl-3">
25+
<div className="p-1 ps-3">
2626
<b>yarn global add ganache</b>
2727
</div>
28-
<div className="p-1 pl-3">
28+
<div className="p-1 ps-3">
2929
<b>ganache</b>
3030
</div>
3131
<div className="pt-2 pb-4">

apps/remix-ide/src/app/providers/hardhat-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class HardhatProvider extends AbstractProvider {
2222
<div>
2323
{' '}
2424
<FormattedMessage id="udapp.hardhatProviderText1" />
25-
<div className="p-1 pl-3">
25+
<div className="p-1 ps-3">
2626
<b>npx hardhat node</b>
2727
</div>
2828
<div className="pt-2 pb-4">

0 commit comments

Comments
 (0)