Files
geo/apps/ops-web/src/styles.css
T

107 lines
1.9 KiB
CSS
Raw Normal View History

html,
body,
#app {
height: 100%;
margin: 0;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
background-color: #f8fafc; /* Lighter, cooler gray */
color: #334155;
}
.ops-shell-content {
padding: 24px 32px;
width: 100%;
}
.ops-page-title {
font-size: 24px;
font-weight: 700;
color: #0f172a;
margin: 0 0 24px;
letter-spacing: -0.5px;
}
.ops-card {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
padding: 24px;
border: 1px solid #f1f5f9;
}
.ops-toolbar {
display: flex;
gap: 16px;
align-items: center;
margin-bottom: 24px;
flex-wrap: wrap;
}
/* Make Ant Table headers slightly more modern inside card */
.ops-card .ant-table-thead > tr > th {
background: #f8fafc;
color: #64748b;
font-weight: 600;
border-bottom: 1px solid #e2e8f0;
}
/* Table action buttons */
.table-actions-row {
display: flex;
align-items: center;
gap: 4px;
}
.action-btn.ant-btn {
color: #64748b;
}
.action-btn.ant-btn:hover:not(:disabled) {
color: #334155;
background: #f1f5f9;
}
.action-edit.ant-btn:hover:not(:disabled) {
color: #1677ff;
background: #e6f4ff;
}
.action-delete.ant-btn:hover:not(:disabled) {
color: #ff4d4f;
background: #fff2f0;
}
.action-approve.ant-btn:hover:not(:disabled) {
color: #52c41a;
background: #f6ffed;
}
.action-revoke.ant-btn:hover:not(:disabled) {
color: #faad14;
background: #fffbe6;
}
.action-key.ant-btn:hover:not(:disabled) {
color: #722ed1;
background: #f9f0ff;
}
.action-kol.ant-btn:hover:not(:disabled) {
color: #fa8c16;
background: #fff2e8;
}
.action-reset.ant-btn:hover:not(:disabled) {
color: #13c2c2;
background: #e6fffb;
}
.action-play.ant-btn:hover:not(:disabled) {
color: #52c41a;
background: #f6ffed;
}