马一丁

Determine the style of the actions block

@@ -813,8 +813,10 @@ class PDFLayoutOptimizer: @@ -813,8 +813,10 @@ class PDFLayoutOptimizer:
813 display: inline-flex !important; 813 display: inline-flex !important;
814 align-items: center !important; 814 align-items: center !important;
815 justify-content: flex-start !important; 815 justify-content: flex-start !important;
816 - background: transparent !important;  
817 - border: 1px solid rgba(0, 0, 0, 0.22) !important; 816 + background: rgba(0, 0, 0, 0.04) !important;
  817 + border: none !important;
  818 + border-width: 0 !important;
  819 + border-style: none !important;
818 border-radius: 999px !important; 820 border-radius: 999px !important;
819 padding: 8px 16px !important; 821 padding: 8px 16px !important;
820 font-size: {max(cfg.page.font_size_base - 2, 11)}px !important; 822 font-size: {max(cfg.page.font_size_base - 2, 11)}px !important;
@@ -1292,8 +1294,10 @@ td {{ @@ -1292,8 +1294,10 @@ td {{
1292 white-space: normal; 1294 white-space: normal;
1293 overflow: visible; 1295 overflow: visible;
1294 box-sizing: border-box; 1296 box-sizing: border-box;
1295 - background: transparent !important;  
1296 - border: 1px solid rgba(0, 0, 0, 0.22) !important; 1297 + background: rgba(0, 0, 0, 0.04) !important;
  1298 + border: none !important;
  1299 + border-width: 0 !important;
  1300 + border-style: none !important;
1297 border-radius: 999px !important; 1301 border-radius: 999px !important;
1298 color: #222 !important; 1302 color: #222 !important;
1299 line-height: 1.4; 1303 line-height: 1.4;
@@ -1127,8 +1127,7 @@ body {{ @@ -1127,8 +1127,7 @@ body {{
1127 background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(23,162,184,0.1)) !important; 1127 background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(23,162,184,0.1)) !important;
1128 }} 1128 }}
1129 1129
1130 -/* ========== 覆盖 hero-actions 按钮样式(解决双层边框问题) ========== */  
1131 -/* 完全重置 button 和 ghost-btn 样式,避免浏览器默认样式干扰 */ 1130 +/* ========== 覆盖 hero-actions 按钮样式(无边框样式) ========== */
1132 .hero-actions {{ 1131 .hero-actions {{
1133 display: flex !important; 1132 display: flex !important;
1134 flex-wrap: wrap !important; 1133 flex-wrap: wrap !important;
@@ -1143,33 +1142,28 @@ button.ghost-btn {{ @@ -1143,33 +1142,28 @@ button.ghost-btn {{
1143 display: inline-flex !important; 1142 display: inline-flex !important;
1144 align-items: center !important; 1143 align-items: center !important;
1145 justify-content: flex-start !important; 1144 justify-content: flex-start !important;
1146 - background: transparent !important;  
1147 - border: 1px solid rgba(0, 0, 0, 0.22) !important; 1145 + background: rgba(0, 0, 0, 0.04) !important;
  1146 + border: none !important;
  1147 + border-width: 0 !important;
  1148 + border-style: none !important;
1148 border-radius: 999px !important; 1149 border-radius: 999px !important;
1149 padding: 8px 16px !important; 1150 padding: 8px 16px !important;
1150 font-size: 12px !important; 1151 font-size: 12px !important;
1151 color: #222 !important; 1152 color: #222 !important;
1152 - width: auto !important;  
1153 - height: auto !important;  
1154 white-space: normal !important; 1153 white-space: normal !important;
1155 line-height: 1.4 !important; 1154 line-height: 1.4 !important;
1156 text-align: left !important; 1155 text-align: left !important;
1157 box-shadow: none !important; 1156 box-shadow: none !important;
1158 - cursor: default !important;  
1159 -webkit-appearance: none !important; 1157 -webkit-appearance: none !important;
1160 -moz-appearance: none !important; 1158 -moz-appearance: none !important;
1161 appearance: none !important; 1159 appearance: none !important;
1162 outline: none !important; 1160 outline: none !important;
1163 outline-width: 0 !important; 1161 outline-width: 0 !important;
1164 - outline-style: none !important;  
1165 word-break: break-word !important; 1162 word-break: break-word !important;
1166 max-width: 100% !important; 1163 max-width: 100% !important;
1167 box-sizing: border-box !important; 1164 box-sizing: border-box !important;
1168 margin: 0 !important; 1165 margin: 0 !important;
1169 font-family: inherit !important; 1166 font-family: inherit !important;
1170 - text-decoration: none !important;  
1171 - border-width: 1px !important;  
1172 - border-style: solid !important;  
1173 }} 1167 }}
1174 1168
1175 /* SVG图表容器样式 */ 1169 /* SVG图表容器样式 */