@@ -181,10 +181,23 @@ body {
181181
182182.btn-danger {
183183 background : # ffebee ;
184- border-color : # ef9a9a ;
184+ border : 1 px solid # ef9a9a ;
185185 color : # c62828 ;
186186}
187187
188+ /* 灰色小按钮规范:背景 #f5f6fa、文字 #666、边框 #dcdfe6(服务、USB、同步、取消、刷新等) */
189+ button .btn-gray ,
190+ .btn-gray {
191+ background : # f5f6fa !important ;
192+ color : # 666 !important ;
193+ border : 1px solid # dcdfe6 !important ;
194+ }
195+ button .btn-gray : hover ,
196+ .btn-gray : hover {
197+ background : # ebeef5 !important ;
198+ border-color : # c0c4cc !important ;
199+ }
200+
188201/* MD 规范:运行中、添加 */
189202.btn-success {
190203 background : # e8f5e9 ;
@@ -1083,6 +1096,17 @@ body {
10831096 align-items : center;
10841097 justify-content : center;
10851098 padding : 60px ;
1099+ gap : 20px ;
1100+ }
1101+
1102+ .loading .loading-icon {
1103+ font-size : 48px ;
1104+ color : var (--primary-color );
1105+ animation : spin 1s linear infinite;
1106+ }
1107+
1108+ .loading p {
1109+ margin : 0 ;
10861110}
10871111
10881112.spinner {
@@ -3037,6 +3061,25 @@ body {
30373061 padding : 5px 12px ;
30383062 font-size : 0.85rem ;
30393063}
3064+ /* HTTPS 证书一行:CSR / 证书 / 删除 等按钮统一宽度,视觉一致(含表格行内按钮) */
3065+ .page-security .button-group .btn {
3066+ min-width : 6rem ;
3067+ box-sizing : border-box;
3068+ }
3069+ .page-security .data-table td .btn {
3070+ width : 6rem ;
3071+ min-width : 6rem ;
3072+ height : 2rem ;
3073+ min-height : 2rem ;
3074+ line-height : 2rem ;
3075+ padding-top : 0 ;
3076+ padding-bottom : 0 ;
3077+ display : inline-flex;
3078+ align-items : center;
3079+ justify-content : center;
3080+ box-sizing : border-box;
3081+ text-align : center;
3082+ }
30403083
30413084.page-security .form-actions .btn ,
30423085.page-security .form-actions .btn-sm {
@@ -3050,6 +3093,37 @@ body {
30503093 margin-bottom : 20px ;
30513094}
30523095
3096+ /* 安全页正文/表格/信息卡/弹窗字体与大小统一为与「TianShanOS Intermediate CA」一致 */
3097+ .page-security .section ,
3098+ .page-security .info-card ,
3099+ .page-security .data-table ,
3100+ .page-security .data-table th ,
3101+ .page-security .data-table td ,
3102+ .page-security .modal .modal-content {
3103+ font-size : 0.9rem ;
3104+ font-family : inherit;
3105+ }
3106+ .page-security .section h2 {
3107+ font-size : 1.15rem ;
3108+ font-weight : 600 ;
3109+ }
3110+ .page-security .modal .modal-content h2 {
3111+ font-size : 1.1rem ;
3112+ }
3113+ /* 表格内 code、只读 input、CN/设备名等与「TianShanOS Intermediate CA」统一字号 */
3114+ .page-security .data-table code {
3115+ font-size : 1em ;
3116+ }
3117+ .page-security input [readonly ],
3118+ .page-security .modal .modal-content input [type = "text" ],
3119+ .page-security .modal .modal-content label ,
3120+ .page-security .modal .modal-content .form-group div {
3121+ font-size : inherit;
3122+ }
3123+ .page-security .modal .modal-content textarea {
3124+ font-size : inherit;
3125+ }
3126+
30533127/* =========================================================================
30543128 终端页面样式
30553129 ========================================================================= */
@@ -3274,7 +3348,7 @@ body {
32743348
32753349.btn-warning {
32763350 background-color : # fff8e1 ;
3277- border-color : # ffd54f ;
3351+ border : 1 px solid # ffd54f ;
32783352 color : # f57c00 ;
32793353}
32803354
@@ -3302,7 +3376,21 @@ body {
33023376 border-color : # 007bff ;
33033377}
33043378
3305- /* 灰色 Tab 按钮样式(SD卡、SPIFFS) */
3379+ /* 灰色 Tab 按钮样式(SD卡、SPIFFS),统一宽高 */
3380+ .storage-tabs .tab-btn .btn-gray {
3381+ width : 6rem ;
3382+ min-width : 6rem ;
3383+ height : 2rem ;
3384+ min-height : 2rem ;
3385+ line-height : 2rem ;
3386+ padding-top : 0 ;
3387+ padding-bottom : 0 ;
3388+ text-align : center;
3389+ box-sizing : border-box;
3390+ display : inline-flex;
3391+ align-items : center;
3392+ justify-content : center;
3393+ }
33063394.tab-btn .btn-gray {
33073395 padding : 4px 12px ;
33083396 font-size : 0.85rem ;
@@ -6884,6 +6972,12 @@ body {
68846972 opacity : 0.7 ;
68856973}
68866974
6975+ .quick-actions-empty .empty-icon {
6976+ font-size : 48px ;
6977+ margin-bottom : 12px ;
6978+ opacity : 0.35 ;
6979+ }
6980+
68876981/* LPMu 监控面板 */
68886982/* ==================== 数据监控面板组件 ==================== */
68896983
@@ -6920,7 +7014,7 @@ body {
69207014.data-widgets-empty .empty-icon {
69217015 font-size : 48px ;
69227016 margin-bottom : 12px ;
6923- opacity : 0.5 ;
7017+ opacity : 0.35 ;
69247018}
69257019
69267020.data-widgets-empty p {
0 commit comments