75 lines
4.7 KiB
PHP
75 lines
4.7 KiB
PHP
<style>
|
|
.hs-page { margin-top: 4px; }
|
|
.hs-page-header {
|
|
margin: 0 15px 20px; padding: 22px 24px;
|
|
border-radius: 16px; background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #2563eb 100%);
|
|
box-shadow: 0 12px 40px rgba(15, 23, 42, 0.22);
|
|
color: #fff;
|
|
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
|
|
}
|
|
.hs-page-header h1 { margin: 0; font-size: 22px; font-weight: 700; color: #fff; }
|
|
.hs-page-header p { margin: 6px 0 0; opacity: 0.85; font-size: 13px; }
|
|
.hs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 15px 20px; }
|
|
.hs-stat-card {
|
|
background: #fff; border-radius: 14px; border: 1px solid #e8edf5;
|
|
padding: 18px 20px; box-shadow: 0 6px 24px rgba(27,39,51,0.05);
|
|
display: flex; align-items: center; gap: 14px;
|
|
}
|
|
.hs-stat-icon {
|
|
width: 48px; height: 48px; border-radius: 12px;
|
|
display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
|
|
}
|
|
.hs-stat-icon.blue { background: #eff6ff; color: #2563eb; }
|
|
.hs-stat-icon.green { background: #ecfdf5; color: #059669; }
|
|
.hs-stat-icon.purple { background: #f5f3ff; color: #7c3aed; }
|
|
.hs-stat-icon.orange { background: #fff7ed; color: #ea580c; }
|
|
.hs-stat-value { font-size: 26px; font-weight: 800; color: #0f172a; line-height: 1; }
|
|
.hs-stat-label { font-size: 12px; color: #64748b; margin-top: 4px; font-weight: 600; }
|
|
.hs-context-bar {
|
|
margin: 0 15px 20px; padding: 14px 20px; border-radius: 14px;
|
|
background: #fffbeb; border: 1px solid #fde68a;
|
|
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
|
|
}
|
|
.hs-context-bar.active { background: #ecfdf5; border-color: #6ee7b7; }
|
|
.hs-tabs-wrap { margin: 0 15px 20px; background: #fff; border-radius: 16px; border: 1px solid #e8edf5; box-shadow: 0 6px 24px rgba(27,39,51,0.05); overflow: hidden; }
|
|
.hs-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px 16px 0; border-bottom: 1px solid #eef2f7; background: #fafbfe; }
|
|
.hs-tab {
|
|
border: none; background: transparent; padding: 10px 18px; border-radius: 10px 10px 0 0;
|
|
font-weight: 600; color: #64748b; cursor: pointer; transition: all 0.2s;
|
|
display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
|
|
}
|
|
.hs-tab:hover { color: #2563eb; background: #eff6ff; }
|
|
.hs-tab.active { color: #2563eb; background: #fff; border: 1px solid #e8edf5; border-bottom-color: #fff; margin-bottom: -1px; }
|
|
.hs-tab-panel { display: none; padding: 20px; }
|
|
.hs-tab-panel.active { display: block; }
|
|
.hs-panel-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
|
|
.hs-panel-title { margin: 0; font-size: 16px; font-weight: 700; color: #0f172a; }
|
|
.hs-btn-primary {
|
|
border: none; border-radius: 10px; padding: 8px 16px; font-weight: 600;
|
|
color: #fff; background: linear-gradient(90deg, #2563eb, #3b82f6);
|
|
box-shadow: 0 4px 14px rgba(37,99,235,0.3);
|
|
}
|
|
.hs-btn-primary:hover { opacity: 0.92; color: #fff; }
|
|
.hs-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
|
|
.hs-badge-success { background: #dcfce7; color: #166534; }
|
|
.hs-badge-muted { background: #f1f5f9; color: #64748b; }
|
|
.hs-badge-info { background: #dbeafe; color: #1d4ed8; }
|
|
.hs-badge-warning { background: #fef3c7; color: #b45309; }
|
|
.hs-tree-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
|
|
.hs-tree-card { border: 1px solid #e8edf5; border-radius: 12px; padding: 16px; background: #fafbfe; }
|
|
.hs-tree-card h4 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #0f172a; }
|
|
.hs-tree ul { list-style: none; padding-right: 18px; margin: 0; }
|
|
.hs-tree > ul { padding-right: 0; }
|
|
.hs-tree li { padding: 6px 0; font-size: 13px; color: #334155; position: relative; }
|
|
.hs-tree li::before { content: ''; position: absolute; right: -14px; top: 14px; width: 8px; height: 1px; background: #cbd5e1; }
|
|
.hs-tree .hs-tree-node { display: inline-flex; align-items: center; gap: 6px; }
|
|
.hs-tree .hs-tree-node i { color: #94a3b8; font-size: 12px; }
|
|
.hs-empty { text-align: center; padding: 40px 20px; color: #94a3b8; }
|
|
.hs-empty i { font-size: 40px; margin-bottom: 12px; display: block; }
|
|
.hs-context-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
|
.hs-context-form .form-control { min-width: 280px; }
|
|
@media (max-width: 768px) {
|
|
.hs-context-form .form-control { min-width: 100%; }
|
|
}
|
|
</style>
|