Skip to content

Commit 596f963

Browse files
committed
optimize help
1 parent 55d7a5a commit 596f963

File tree

11 files changed

+1188
-735
lines changed

11 files changed

+1188
-735
lines changed

COMTool/assets/qss/style-dark.qss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ QTabWidget::tab-bar {
426426
QTabBar::close-button {
427427
subcontrol-position: right;
428428
border-radius: 7px;
429-
background: #a13c3c;
429+
background: #474747;
430430
image: url("$DataPath/assets/close.png")
431431
}
432432
QTabBar::close-button:hover {
@@ -460,7 +460,7 @@ QTabBar::tab {
460460
border-bottom: none;
461461
border-top-left-radius: 4px;
462462
border-top-right-radius: 4px;
463-
min-width: 22ex;
463+
min-width: 10ex;
464464
min-height: 34px;
465465
padding-left: 2ex;
466466
padding-right: 2ex;
@@ -507,6 +507,9 @@ QTabBar::tab:only-one {
507507
height: 40px;
508508
width: 100px
509509
}
510+
.helpList {
511+
min-width: 100px;
512+
}
510513
QListWidget::item:selected {
511514
color: #1787e4;
512515
border-right: 5px solid #0865b1;

COMTool/assets/qss/style.qss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,11 @@ QTabWidget::tab-bar {
416416
QTabBar::close-button {
417417
subcontrol-position: right;
418418
border-radius: 7px;
419-
background: #ca4b4b;
419+
background: #79b0e0;
420420
image: url("$DataPath/assets/close.png")
421421
}
422422
QTabBar::close-button:hover {
423-
background: #8b1c1c;
423+
background: #cc2626;
424424
image: url("$DataPath/assets/close.png")
425425
}
426426
QTabBar QToolButton {
@@ -443,16 +443,17 @@ QTabBar QToolButton::left-arrow {
443443
/* Style the tab using the tab sub-control. Note that
444444
it reads QTabBar _not_ QTabWidget */
445445
QTabBar::tab {
446-
color: #757575;
446+
color: #0f88eb;
447447
background: #e6e6e6;
448448
border: 2px solid #e6e6e6;
449449
border-bottom: none;
450450
border-top-left-radius: 4px;
451451
border-top-right-radius: 4px;
452-
min-width: 22ex;
452+
min-width: 10ex;
453453
min-height: 34px;
454454
padding-left: 2ex;
455455
padding-right: 2ex;
456+
font-weight: 500;
456457
}
457458

458459
QTabBar::tab:selected, QTabBar::tab:hover {
@@ -496,6 +497,9 @@ QTabBar::tab:only-one {
496497
height: 40px;
497498
width: 100px
498499
}
500+
.helpList {
501+
min-width: 100px;
502+
}
499503
QListWidget::item:selected {
500504
color: #0f88eb;
501505
border-right: 5px solid #0f88eb;

0 commit comments

Comments
 (0)