Update hanlinyuan.css

This commit is contained in:
2025-07-17 19:32:22 +08:00
committed by GitHub
parent 180360b566
commit eb81cc2bc8

View File

@@ -1,4 +1,4 @@
/* hanlinyuan.css - Scoped to #amily2_hanlinyuan_panel to prevent global style conflicts */
#amily2_hanlinyuan_panel { #amily2_hanlinyuan_panel {
background-color: #f0f2f5; background-color: #f0f2f5;
@@ -80,10 +80,10 @@
display: flex; display: flex;
gap: 10px; gap: 10px;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; /* Align items vertically */ align-items: center;
} }
/* New style for inline button groups */
#amily2_hanlinyuan_panel .button-group.inline { #amily2_hanlinyuan_panel .button-group.inline {
flex-direction: row; flex-direction: row;
justify-content: flex-start; justify-content: flex-start;
@@ -93,7 +93,7 @@
padding: 10px 15px; padding: 10px 15px;
border: 1px solid transparent; border: 1px solid transparent;
border-radius: 4px; border-radius: 4px;
background-color: #4a4a4a; /* Standard button color like main panel */ background-color: #4a4a4a;
color: white; color: white;
font-size: 1em; font-size: 1em;
font-weight: bold; font-weight: bold;
@@ -106,15 +106,15 @@
background-color: #5a5a5a; background-color: #5a5a5a;
} }
/* Compact button style */
#amily2_hanlinyuan_panel .menu_button.compact { #amily2_hanlinyuan_panel .menu_button.compact {
padding: 5px 10px; padding: 5px 10px;
font-size: 0.9em; font-size: 0.9em;
} }
/* Primary/Accent button color */
#amily2_hanlinyuan_panel .menu_button.accent { #amily2_hanlinyuan_panel .menu_button.accent {
background-color: #007bff; /* A common accent color */ background-color: #007bff;
border-color: #007bff; border-color: #007bff;
} }
#amily2_hanlinyuan_panel .menu_button.accent:hover { #amily2_hanlinyuan_panel .menu_button.accent:hover {
@@ -134,7 +134,7 @@
background-color: #c82333; background-color: #c82333;
} }
/* Tab navigation */
#amily2_hanlinyuan_panel .tab-nav { #amily2_hanlinyuan_panel .tab-nav {
display: flex; display: flex;
border-bottom: 2px solid #dddfe2; border-bottom: 2px solid #dddfe2;
@@ -165,7 +165,7 @@
display: block; display: block;
} }
/* Status and Log panels */
#amily2_hanlinyuan_panel .status-panel, #amily2_hanlinyuan_panel .status-panel,
#amily2_hanlinyuan_panel .log-panel { #amily2_hanlinyuan_panel .log-panel {
background-color: #f7f7f7; background-color: #f7f7f7;