.page { padding: 0; } .page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .page-title { font-size: 18px; font-weight: 600; color: #202124; margin: 0; } .btn-primary { background: #1a73e8; color: #fff; border: none; border-radius: 4px; padding: 8px 16px; cursor: pointer; font-size: 14px; } .btn-secondary { background: #fff; color: #3c4043; border: 1px solid #dadce0; border-radius: 4px; padding: 8px 16px; cursor: pointer; font-size: 14px; } .btn-action { background: #e8f0fe; color: #1a73e8; border: none; border-radius: 4px; padding: 4px 8px; cursor: pointer; font-size: 12px; margin-right: 4px; &.danger { background: #fce8e6; color: #d93025; } } .loading { color: #5f6368; padding: 32px; text-align: center; } .data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.12); th { background: #f8f9fa; padding: 10px 14px; text-align: left; font-size: 13px; font-weight: 600; color: #5f6368; border-bottom: 1px solid #e0e0e0; } td { padding: 10px 14px; font-size: 14px; border-bottom: 1px solid #f1f3f4; } .action-cell { white-space: nowrap; } tr:hover td { background: #f8f9fa; cursor: pointer; } } .badge-type { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; &.commend { background: #e6f4ea; color: #1e8e3e; } &.disciplinary { background: #fce8e6; color: #d93025; } &.info { background: #e8f0fe; color: #1a56db; } } .badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 12px; font-weight: 500; &.ack { background: #e6f4ea; color: #1e8e3e; } &.sent { background: #e8f0fe; color: #1a56db; } &.recalled { background: #f1f3f4; color: #5f6368; } &.draft { background: #fef9c3; color: #b45309; } } .form-panel { position: fixed; right: 0; top: 0; width: 460px; height: 100vh; background: #fff; box-shadow: -4px 0 16px rgba(0,0,0,.15); z-index: 200; display: flex; flex-direction: column; padding: 20px; overflow-y: auto; } .form-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; h3 { margin: 0; font-size: 16px; font-weight: 600; } button { background: none; border: none; font-size: 20px; cursor: pointer; color: #5f6368; } } .form-actions { display: flex; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e0e0e0; } .overlay { position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 199; } .field { margin-bottom: 14px; label { display: block; font-size: 13px; color: #5f6368; margin-bottom: 4px; } input, select, textarea { width: 100%; padding: 8px 10px; border: 1px solid #dadce0; border-radius: 4px; font-size: 14px; box-sizing: border-box; } } .check-field { display: flex; align-items: center; gap: 8px; input[type=checkbox] { width: auto; } label { display: inline; margin-bottom: 0; color: #202124; } }
