使得样式更加适配 vscode 的 size

This commit is contained in:
锦恢 2024-11-15 23:07:58 +08:00
parent 714b125496
commit 77575c2efe
5 changed files with 13 additions and 14 deletions

View File

@ -5,7 +5,7 @@
--main-dark-color: #2D323B;
--main-light-color: var(--main-color);
--sidebar-width: 330px;
--right-nav-width: 60px;
--right-nav-width: 50px;
--time-scale-height: 30px;
--sidebar-padding: 10px;
--sidebar-item-margin: 5px;

View File

@ -95,9 +95,9 @@ emitter.on('right-nav', index => {
}
.vcd-control-panel-icon {
width: 50px;
height: 50px;
font-size: 35px;
width: 45px;
height: 45px;
font-size: 30px;
}
.vcd-control-panel-active {

View File

@ -166,10 +166,10 @@ function makeSignalIconClass(signal) {
}
.menu-item-container {
font-size: 0.9rem;
font-size: 0.8rem;
display: flex;
align-items: center;
margin: 5px;
margin: 2px;
padding: 3px;
padding-left: 10px;
border-radius: .5em;
@ -199,13 +199,13 @@ function makeSignalIconClass(signal) {
}
.basic-info {
font-size: .8rem;
font-size: .75rem;
padding: 7px;
}
.info-item {
display: flex;
margin-top: 12px;
margin-top: 10px;
}
.info-item-title {

View File

@ -103,7 +103,6 @@ const expandManage = reactive({
.vcd-treeview-item {
color: var(--vscode-foreground);
cursor: pointer;
height: 27px;
display: flex;
align-items: center;
white-space: nowrap;
@ -126,16 +125,16 @@ const expandManage = reactive({
}
.module-tag-status {
width: 25px;
height: 25px;
width: 23px;
height: 23px;
align-items: center;
justify-content: space-around;
display: flex;
}
.expand-tag {
height: 7px;
width: 7px;
height: 5px;
width: 5px;
border-top: solid 1.7px var(--vscode-foreground);
border-left: solid 1.7px var(--vscode-foreground);
transform: rotate(225deg);

View File

@ -138,7 +138,7 @@ function toggleRender(event, signal) {
margin: 3px;
display: flex;
justify-content: space-between;
height: 23px;
height: 21px;
padding-left: 3px;
cursor: pointer;
align-items: center;