mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-12 11:49:27 +00:00
Added a new preference (`arduino.monitor.dockPanel`) to specify the location of the application shell where the _Serial Monitor_ widget resides. The possible values are `"bottom"` and `"right"`. The default\ value is the `"bottom"`. The dock panel is per application and not per workspace or window. However, advanced users can create the `./.vscode/settings.json` and configure per sketch preference. Signed-off-by: dankeboy36 <dankeboy36@gmail.com>
96 lines
1.9 KiB
CSS
96 lines
1.9 KiB
CSS
.monitor-tab-icon {
|
|
-webkit-mask: url('../icons/monitor-tab-icon.svg');
|
|
mask: url('../icons/monitor-tab-icon.svg');
|
|
}
|
|
|
|
.serial-monitor {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.serial-monitor-messages {
|
|
white-space: 'pre';
|
|
font-family: monospace
|
|
}
|
|
|
|
.serial-monitor-messages pre {
|
|
margin: 0px;
|
|
}
|
|
|
|
.serial-monitor .head {
|
|
display: flex;
|
|
padding: 0px 5px 5px 5px;
|
|
height: 27px;
|
|
background-color: var(--theia-activityBar-background);
|
|
}
|
|
|
|
.serial-monitor .head .send {
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
|
|
.serial-monitor .head .send > label:before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -1px;
|
|
background: var(--theia-icon-loading-warning) center center no-repeat;
|
|
animation: theia-spin 1.25s linear infinite;
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.serial-monitor .head .send > label {
|
|
position: relative;
|
|
width: 100%;
|
|
display: flex;
|
|
align-self: baseline;
|
|
}
|
|
|
|
.serial-monitor .head .send > input,
|
|
.serial-monitor .head .send > label > input {
|
|
line-height: var(--theia-content-line-height);
|
|
height: 27px;
|
|
width: 100%;
|
|
}
|
|
|
|
.serial-monitor .head .send > label > input {
|
|
padding-left: 30px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.serial-monitor .head .send > input:focus,
|
|
.serial-monitor .head .send > label > input:focus {
|
|
border-color: var(--theia-focusBorder);
|
|
}
|
|
|
|
.serial-monitor .head .config {
|
|
display: flex;
|
|
}
|
|
|
|
.serial-monitor .head .config .select {
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.serial-monitor .body {
|
|
overflow: auto;
|
|
flex: 1;
|
|
padding: 5px;
|
|
}
|
|
|
|
.p-TabBar-toolbar .item.arduino-monitor {
|
|
width: 24px;
|
|
justify-content: center;
|
|
font-size: medium;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.p-TabBar-toolbar .item.arduino-monitor.toggled {
|
|
background: var(--theia-sideBarSectionHeader-background);
|
|
filter: contrast(80%);
|
|
}
|
|
|
|
.p-TabBar-toolbar .item .clear-all {
|
|
background: var(--theia-icon-clear) no-repeat;
|
|
}
|