/* 整体布局 */ .container-fluid { max-width: 1200px; margin: 0 auto; padding: 0 0 1rem 0; background-color: transparent; } .container-fluid:not(.not-bg) { background-image: url("../image/bg_dialog@2x.png"); background-size: 100% 100%; background-repeat: no-repeat; background-color: #f5f6f7; background-position-y: -24px; } /* 输入区域 */ #message-input { resize: none; border: 1px solid #dadce0; border-radius: 0.75rem; padding: 0.5rem 0.75rem; background: white; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); line-height: 2; /* 标准行高 */ min-height: calc(1.5em + 1rem + 2px); /* 自动高度计算 */ display: flex; align-items: center; /* 垂直居中 */ } #message-input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2); } #send-btn { border-radius: 0.75rem; margin-left: 0.5rem; padding: 0.5rem 1.2rem; } /* 卡片样式 */ .card { border: none; border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .card-header { font-weight: 600; border-bottom: 1px solid rgba(0, 0, 0, 0.05); } /* 标签页样式 */ .nav-tabs .nav-link { border: none; border-radius: 0; padding: 12px 20px; color: #5f6368; font-weight: 500; } .nav-tabs .nav-link.active { color: var(--primary-color); border-bottom: 3px solid var(--primary-color); background: transparent; } /* 滚动条美化 */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; } ::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }