@@ -1002,82 +1002,78 @@ QWidget#centralWidget QWidget {
10021002* 文字: 白色 / 黑色
10031003****************************************************************************/
10041004
1005- /* 启动标签页主窗口 - 左侧导航栏 */
1006- QWidget # startup-tab-sidebar {
1005+ /* 启动标签页主窗口 - 左侧导航栏
1006+ 使用更具体的选择器覆盖 centralWidget QWidget 的定义 */
1007+ QWidget # centralWidget QWidget # startup-tab-sidebar {
10071008 background-color : # 215a6a ;
1008- min-width : 120px ;
1009- max-width : 120px ;
10101009}
10111010
10121011/* 导航栏分组标题 */
10131012QLabel # startup-tab-nav-title {
10141013 color : rgba (255 , 255 , 255 , 0.6 );
1015- font-size : 11px ;
10161014 font-weight : bold;
1017- padding : 4px ;
1015+ }
1016+
1017+ QWidget # centralWidget QLabel # startup-tab-nav-title {
1018+ background-color : transparent;
10181019}
10191020
10201021/* 导航按钮 - 普通状态 */
10211022QPushButton # startup-tab-nav-btn {
10221023 color : # ffffff ;
1023- background-color : transparent;
10241024 border : none;
1025- padding : 8px 12px ;
10261025 text-align : left;
1027- font-size : 13px ;
10281026}
10291027
1030- QPushButton # startup-tab-nav-btn : hover {
1028+ QWidget # centralWidget QPushButton # startup-tab-nav-btn {
1029+ background-color : transparent;
1030+ }
1031+
1032+ QWidget # centralWidget QPushButton # startup-tab-nav-btn : hover {
10311033 background-color : rgba (255 , 255 , 255 , 0.15 );
10321034}
10331035
10341036/* 导航按钮 - 选中状态 */
1035- QPushButton # startup-tab-nav-btn : checked {
1037+ QWidget # centralWidget QPushButton # startup-tab-nav-btn : checked {
10361038 background-color : # 2791ad ;
10371039}
10381040
10391041/* 退出按钮 */
10401042QPushButton # startup-tab-quit-btn {
10411043 color : # ffffff ;
1042- background-color : transparent;
10431044 border : 1px solid rgba (255 , 255 , 255 , 0.5 );
1044- border-radius : 4px ;
1045- padding : 8px 12px ;
10461045 text-align : center;
1047- font-size : 13px ;
10481046}
10491047
1050- QPushButton # startup-tab-quit-btn : hover {
1048+ QWidget # centralWidget QPushButton # startup-tab-quit-btn {
1049+ background-color : transparent;
1050+ }
1051+
1052+ QWidget # centralWidget QPushButton # startup-tab-quit-btn : hover {
10511053 background-color : rgba (255 , 255 , 255 , 0.2 );
10521054 border-color : # ffffff ;
10531055}
10541056
1055- /* 右侧内容区 */
1057+ /* 右侧内容区(实际没生效) */
10561058QWidget # startup-tab-content {
10571059 background-color : # 5d5d5d ;
10581060}
10591061
10601062/* 页面标题 */
10611063QLabel # startup-tab-page-title {
1062- font-size : 24px ;
10631064 font-weight : bold;
10641065 color : # ffffff ;
10651066}
10661067
10671068/* 页面描述文字 */
10681069QLabel # startup-tab-page-desc {
1069- font-size : 14px ;
10701070 color : # aaaaaa ;
1071- margin-top : 8px ;
1072- margin-bottom : 24px ;
10731071}
10741072
10751073/* 模板使用按钮 - Template Use Button */
10761074QPushButton # template-use-btn {
10771075 background-color : # 4CAF50 ;
10781076 color : white;
1079- padding : 8px 24px ;
1080- border-radius : 4px ;
10811077 font-weight : bold;
10821078 border : none;
10831079}
@@ -1086,6 +1082,24 @@ QPushButton#template-use-btn:hover {
10861082 background-color : # 45a049 ;
10871083}
10881084
1085+ QLabel # template-preview-desc {
1086+ color : # aaaaaa ;
1087+ }
1088+
1089+ QLabel # startup-tab-template-info {
1090+ color : # b5bfca ;
1091+ }
1092+
1093+ QLabel # startup-tab-template-thumbnail {
1094+ background : # 4a4f57 ;
1095+ border : 1px solid # 616a75 ;
1096+ }
1097+
1098+ QLabel # startup-tab-template-thumbnail [thumbnailLoaded = "true" ] {
1099+ background : transparent;
1100+ border : none;
1101+ }
1102+
10891103/* Startup tab - file page */
10901104QFrame # startup-tab-separator {
10911105 color : # 4a4f57 ;
@@ -1098,7 +1112,6 @@ QLabel#startup-tab-section-title {
10981112
10991113QListWidget # recent-docs-list {
11001114 border : 1px solid # 4a4f57 ;
1101- border-radius : 8px ;
11021115 background-color : # 3f434a ;
11031116 outline : none;
11041117}
@@ -1107,6 +1120,10 @@ QListWidget#recent-docs-list::item {
11071120 border : none;
11081121}
11091122
1123+ QListWidget # recent-docs-list ::item : hover {
1124+ background-color : # 4a4f57 ;
1125+ }
1126+
11101127QListWidget # recent-docs-list ::item : selected {
11111128 background-color : # 4e5d68 ;
11121129}
@@ -1126,15 +1143,13 @@ QLabel#startup-tab-recent-path {
11261143
11271144QWidget # style-card {
11281145 border : 1px solid # 4b5560 ;
1129- border-radius : 8px ;
11301146}
11311147
11321148QWidget # style-card [selected = "true" ] {
11331149 border : 2px solid # 2791ad ;
11341150}
11351151
11361152QLabel # style-card-icon {
1137- border-radius : 8px ;
11381153 color : # ecf3f6 ;
11391154 font-weight : 700 ;
11401155}
@@ -1145,10 +1160,4 @@ QLabel#style-card-name {
11451160
11461161QLabel # style-card-badge {
11471162 color : # ffffff ;
1148- border-radius : 8px ;
1149- padding : 1px 6px ;
1150- }
1151-
1152- QWidget # style-card : hover QLabel # style-card-badge {
1153- background-color : # 2791ad ;
11541163}
0 commit comments