mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-14 14:56:33 +00:00
Styling of select board and port dialog
Signed-off-by: jbicker <jan.bicker@typefox.io>
This commit is contained in:
parent
769689ff6d
commit
4429094139
@ -83,7 +83,8 @@ export class BoardAndPortSelectionComponent extends React.Component<BoardAndPort
|
|||||||
render(): React.ReactNode {
|
render(): React.ReactNode {
|
||||||
return <React.Fragment>
|
return <React.Fragment>
|
||||||
<div className='body'>
|
<div className='body'>
|
||||||
<div className='left'>
|
<div className='left container'>
|
||||||
|
<div className='content'>
|
||||||
<div className='title'>
|
<div className='title'>
|
||||||
BOARDS
|
BOARDS
|
||||||
</div>
|
</div>
|
||||||
@ -94,7 +95,9 @@ export class BoardAndPortSelectionComponent extends React.Component<BoardAndPort
|
|||||||
{this.state.boards.map(board => <SelectableBoardsItem key={board.name} onClick={this.doSelect} board={board} selected={this.isSelectedBoard(board)} />)}
|
{this.state.boards.map(board => <SelectableBoardsItem key={board.name} onClick={this.doSelect} board={board} selected={this.isSelectedBoard(board)} />)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='right'>
|
</div>
|
||||||
|
<div className='right container'>
|
||||||
|
<div className='content'>
|
||||||
<div className='title'>
|
<div className='title'>
|
||||||
PORTS
|
PORTS
|
||||||
</div>
|
</div>
|
||||||
@ -103,6 +106,7 @@ export class BoardAndPortSelectionComponent extends React.Component<BoardAndPort
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ is not optimized for dense, information rich UIs.
|
|||||||
/* Dialogs */
|
/* Dialogs */
|
||||||
--theia-ui-dialog-header-color: var(--theia-arduino-light);
|
--theia-ui-dialog-header-color: var(--theia-arduino-light);
|
||||||
--theia-ui-dialog-header-font-color: var(--theia-inverse-ui-font-color0);
|
--theia-ui-dialog-header-font-color: var(--theia-inverse-ui-font-color0);
|
||||||
--theia-ui-dialog-color: var(--theia-layout-color0);
|
--theia-ui-dialog-color: rgb(236, 241, 241);
|
||||||
--theia-ui-dialog-font-color: var(--theia-ui-font-color1);
|
--theia-ui-dialog-font-color: var(--theia-ui-font-color1);
|
||||||
/* Variables */
|
/* Variables */
|
||||||
--theia-variable-name-color: #9B46B0;
|
--theia-variable-name-color: #9B46B0;
|
||||||
|
@ -109,3 +109,35 @@ div#select-board-dialog .selectBoardContainer .head {
|
|||||||
div#select-board-dialog .selectBoardContainer .body .list .item.selected {
|
div#select-board-dialog .selectBoardContainer .body .list .item.selected {
|
||||||
background: #aaaaaa;
|
background: #aaaaaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#select-board-dialog .selectBoardContainer .body .search input,
|
||||||
|
#select-board-dialog .selectBoardContainer .body .boards.list,
|
||||||
|
#select-board-dialog .selectBoardContainer .body .search,
|
||||||
|
#select-board-dialog .selectBoardContainer .body .ports.list {
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#select-board-dialog .selectBoardContainer .body .search input {
|
||||||
|
border: none;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#select-board-dialog .selectBoardContainer .body .container {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#select-board-dialog .selectBoardContainer .body .container .content {
|
||||||
|
margin: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#select-board-dialog .selectBoardContainer .body .list .item {
|
||||||
|
padding: 10px 5px 10px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#select-board-dialog .selectBoardContainer .body .list {
|
||||||
|
max-height: 265px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#select-board-dialog .selectBoardContainer .body .search {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user