Skip to content

Commit 88e16ab

Browse files
authored
Merge pull request #4954 from ethereum/themesn
status bar fixes
2 parents efa4be0 + fadca7e commit 88e16ab

File tree

5 files changed

+44
-42
lines changed

5 files changed

+44
-42
lines changed

apps/remix-ide/src/assets/css/themes/remix-black_undtds.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ textarea {
241241
font-size: inherit;
242242
line-height: inherit;
243243
background-color: #2b2b2b;
244-
color: #d5d5d5d5d5d5;
244+
color: #d5d5d5;
245245
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 2px rgba(79, 86, 89, 0.25);
246246
}
247247
button,

apps/remix-ide/src/assets/css/themes/remix-dark_tvx1s2.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5663,7 +5663,7 @@ button.bg-success:hover {
56635663
background-color: #27926b !important;
56645664
}
56655665
.bg-info {
5666-
background-color: #274458 !important;
5666+
background-color: #35576e !important;
56675667
}
56685668
a.bg-info:focus,
56695669
a.bg-info:hover,

libs/remix-ui/app/src/lib/remix-app/remix-app.tsx

Lines changed: 40 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -178,46 +178,48 @@ const RemixApp = (props: IRemixAppUi) => {
178178
<OriginWarning></OriginWarning>
179179
<MatomoDialog hide={!appReady} okFn={() => setShowEnterDialog(true)}></MatomoDialog>
180180
{showEnterDialog && <EnterDialog handleUserChoice={(type) => handleUserChosenType(type)}></EnterDialog>}
181-
<div className={`remixIDE ${appReady ? '' : 'd-none'}`} data-id="remixIDE">
182-
<div id="icon-panel" data-id="remixIdeIconPanel" className="custom_icon_panel iconpanel bg-light">
183-
{props.app.menuicons.render()}
184-
</div>
185-
<div
186-
ref={sidePanelRef}
187-
id="side-panel"
188-
data-id="remixIdeSidePanel"
189-
className={`sidepanel border-right border-left ${hideSidePanel ? 'd-none' : ''}`}
190-
>
191-
{props.app.sidePanel.render()}
192-
</div>
193-
<DragBar
194-
resetTrigger={resetLeftTrigger}
195-
maximiseTrigger={maximiseLeftTrigger}
196-
minWidth={285}
197-
refObject={sidePanelRef}
198-
hidden={hideSidePanel}
199-
setHideStatus={setHideSidePanel}
200-
layoutPosition='left'
201-
></DragBar>
202-
<div id="main-panel" data-id="remixIdeMainPanel" className="mainpanel d-flex">
203-
<RemixUIMainPanel layout={props.app.layout}></RemixUIMainPanel>
204-
</div>
205-
<div id="pinned-panel" ref={pinnedPanelRef} data-id="remixIdePinnedPanel" className={`flex-row-reverse pinnedpanel border-right border-left ${hidePinnedPanel ? 'd-none' : 'd-flex'}`}>
206-
{props.app.pinnedPanel.render()}
207-
</div>
208-
{
209-
!hidePinnedPanel &&
181+
<div className='d-flex flex-column'>
182+
<div className={`remixIDE ${appReady ? '' : 'd-none'}`} data-id="remixIDE">
183+
<div id="icon-panel" data-id="remixIdeIconPanel" className="custom_icon_panel iconpanel bg-light">
184+
{props.app.menuicons.render()}
185+
</div>
186+
<div
187+
ref={sidePanelRef}
188+
id="side-panel"
189+
data-id="remixIdeSidePanel"
190+
className={`sidepanel border-right border-left ${hideSidePanel ? 'd-none' : ''}`}
191+
>
192+
{props.app.sidePanel.render()}
193+
</div>
210194
<DragBar
211-
resetTrigger={resetRightTrigger}
212-
maximiseTrigger={maximiseRightTrigger}
213-
minWidth={331}
214-
refObject={pinnedPanelRef}
215-
hidden={hidePinnedPanel}
216-
setHideStatus={setHidePinnedPanel}
217-
layoutPosition='right'
195+
resetTrigger={resetLeftTrigger}
196+
maximiseTrigger={maximiseLeftTrigger}
197+
minWidth={285}
198+
refObject={sidePanelRef}
199+
hidden={hideSidePanel}
200+
setHideStatus={setHideSidePanel}
201+
layoutPosition='left'
218202
></DragBar>
219-
}
220-
<div>{props.app.hiddenPanel.render()}</div>
203+
<div id="main-panel" data-id="remixIdeMainPanel" className="mainpanel d-flex">
204+
<RemixUIMainPanel layout={props.app.layout}></RemixUIMainPanel>
205+
</div>
206+
<div id="pinned-panel" ref={pinnedPanelRef} data-id="remixIdePinnedPanel" className={`flex-row-reverse pinnedpanel border-right border-left ${hidePinnedPanel ? 'd-none' : 'd-flex'}`}>
207+
{props.app.pinnedPanel.render()}
208+
</div>
209+
{
210+
!hidePinnedPanel &&
211+
<DragBar
212+
resetTrigger={resetRightTrigger}
213+
maximiseTrigger={maximiseRightTrigger}
214+
minWidth={331}
215+
refObject={pinnedPanelRef}
216+
hidden={hidePinnedPanel}
217+
setHideStatus={setHidePinnedPanel}
218+
layoutPosition='right'
219+
></DragBar>
220+
}
221+
<div>{props.app.hiddenPanel.render()}</div>
222+
</div>
221223
<div className="statusBar fixed-bottom">
222224
{props.app.statusBar.render()}
223225
</div>

libs/remix-ui/statusbar/src/css/statusbar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* approximately same height with vscode statusbar
1919
**/
2020
.remixui_statusbar_height {
21-
height: 21px;
21+
height: 1.6rem;
2222
}
2323

2424
.remixui_statusbar_activelink {

libs/remix-ui/statusbar/src/lib/remixui-statusbar-panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export function RemixUIStatusBar({ statusBarPlugin }: RemixUIStatusBarProps) {
7171
<ScamDetails refs={refs} floatStyle={{ ...floatingStyles, minHeight: 'auto', alignContent: 'center', paddingRight: '0.5rem' }} getFloatingProps={getFloatingProps} scamAlerts={scamAlerts} />
7272
</FloatingFocusManager>
7373
)}
74-
<div className="d-flex remixui_statusbar_height flex-row bg-primary justify-content-between align-items-center">
74+
<div className="d-flex remixui_statusbar_height flex-row bg-info justify-content-between align-items-center">
7575
<div className="remixui_statusbar remixui_statusbar_gitstatus">
7676
<GitStatus plugin={statusBarPlugin} gitBranchName={gitBranchName} setGitBranchName={setGitBranchName} />
7777
</div>

0 commit comments

Comments
 (0)