Untitled
unknown
plain_text
a month ago
7.6 kB
5
Indexable
:root {
--primary: #FF8C00;
--text-main: #0F172A;
--text-muted: #64748B;
--border: #E2E8F0;
--bg-light: #F8FAFC;
--white: #FFFFFF;
--green: #10B981;
--red: #EF4444;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-light);
margin: 0;
color: var(--text-main);
line-height: 1.2;
}
/* ── BANNER ── */
.scoped-banner {
background: #FFF5E9;
color: var(--primary);
text-align: center;
padding: 6px;
font-size: 11px;
font-weight: 700;
border-bottom: 1px solid #FFE4C4;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
}
/* ── NAV ── */
.top-nav {
background: var(--white);
padding: 12px 24px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border);
gap: 18px;
}
.nav-left { display: flex; align-items: center; gap: 20px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.logo-box {
width: 30px; height: 30px;
background: var(--primary);
color: white;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
}
.brand { font-weight: 800; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 15px; }
.nav-links a {
text-decoration: none;
color: var(--text-muted);
font-weight: 700;
font-size: 13px;
padding: 18px 0 16px;
border-bottom: 2px solid transparent;
}
.nav-links a.active {
color: var(--primary);
border-bottom-color: var(--primary);
}
.btn-workspace {
background: var(--primary);
color: white;
border: none;
padding: 8px 12px;
border-radius: 6px;
font-weight: 800;
font-size: 12px;
cursor: pointer;
display: flex;
align-items: center;
gap: 7px;
}
.btn-workspace:hover { background: #C96300; }
.icon-btn {
width: 34px; height: 34px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid var(--border);
background: white;
color: var(--text-muted);
border-radius: 6px;
cursor: pointer;
}
.avatar {
width: 32px; height: 32px;
border-radius: 50%;
}
/* ── MAIN ── */
.sms-main {
padding: 24px;
max-width: 1200px;
margin: 0 auto;
}
/* ── PAGE HEADER ── */
.page-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
}
.page-header h1 {
margin: 0;
font-size: 24px;
letter-spacing: -0.5px;
}
.page-header p {
margin: 4px 0 0;
color: var(--text-muted);
font-size: 14px;
}
/* ── SMS GRID ── */
.sms-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
/* ── CARD ── */
.card {
background: var(--white);
border-radius: 10px;
border: 1px solid var(--border);
padding: 20px;
}
.card-header {
margin-bottom: 18px;
}
.card-header h3 {
margin: 0 0 4px;
font-size: 13px;
font-weight: 700;
display: flex;
align-items: center;
gap: 6px;
}
.card-header p {
font-size: 12px;
color: var(--text-muted);
margin: 0;
}
/* ── FORM ── */
.form-group {
margin-bottom: 14px;
}
.form-group label {
display: block;
font-size: 11px;
font-weight: 800;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 6px;
}
.input-wrap { position: relative; }
.input-icon {
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
color: var(--text-muted);
pointer-events: none;
}
.input-wrap input,
.form-group input[type="text"] {
width: 100%;
padding: 8px 10px 8px 32px;
border: 1px solid var(--border);
border-radius: 6px;
font-size: 13px;
font-family: inherit;
color: var(--text-main);
background: var(--bg-light);
outline: none;
transition: border-color 0.15s;
}
.input-wrap input:focus { border-color: var(--primary); background: var(--white); }
textarea {
width: 100%;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 6px;
font-size: 13px;
font-family: inherit;
color: var(--text-main);
background: var(--bg-light);
resize: vertical;
outline: none;
transition: border-color 0.15s;
}
textarea:focus { border-color: var(--primary); background: var(--white); }
.char-count {
text-align: right;
font-size: 10px;
color: var(--text-muted);
margin-top: 4px;
font-weight: 600;
}
/* ── USER LIST ── */
.user-list {
border: 1px solid var(--border);
border-radius: 6px;
max-height: 180px;
overflow-y: auto;
background: var(--white);
margin-top: 6px;
}
.user-list-loading {
display: flex;
align-items: center;
gap: 8px;
padding: 14px;
font-size: 12px;
color: var(--text-muted);
}
.user-item {
display: flex;
align-items: center;
gap: 10px;
padding: 9px 12px;
border-bottom: 1px solid var(--bg-light);
cursor: pointer;
transition: background 0.1s;
}
.user-item:last-child { border-bottom: none; }
.user-item:hover { background: var(--bg-light); }
.user-item input[type="checkbox"] {
width: 14px; height: 14px;
accent-color: var(--primary);
cursor: pointer;
flex-shrink: 0;
}
.user-item-info { flex: 1; min-width: 0; }
.user-item-name {
font-size: 12.5px;
font-weight: 600;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-item-phone {
font-size: 11px;
color: var(--text-muted);
}
.user-item-badge {
font-size: 9px;
font-weight: 800;
padding: 2px 6px;
border-radius: 3px;
background: #ECFDF5;
color: var(--green);
flex-shrink: 0;
}
.selected-count {
margin-top: 6px;
font-size: 11px;
font-weight: 700;
color: var(--primary);
}
/* ── BUTTONS ── */
.btn-primary {
background: var(--primary);
color: white;
border: none;
padding: 8px 14px;
border-radius: 6px;
font-weight: 800;
font-size: 12px;
font-family: inherit;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
transition: background 0.15s;
}
.btn-primary:hover { background: #C96300; }
.btn-primary:disabled { background: #CBD5E1; cursor: not-allowed; }
.btn-full { width: 100%; justify-content: center; }
/* ── RESULT BOX ── */
.result-box {
margin-top: 12px;
padding: 10px 12px;
border-radius: 6px;
font-size: 12px;
font-weight: 700;
display: flex;
align-items: center;
gap: 7px;
}
.result-box.success {
background: #ECFDF5;
border: 1px solid #A7F3D0;
color: #065F46;
}
.result-box.error {
background: #FEF2F2;
border: 1px solid #FECACA;
color: #991B1B;
}
.result-box.hidden { display: none; }
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
.top-nav { flex-direction: column; align-items: stretch; }
.nav-left, .nav-right { flex-wrap: wrap; }
.sms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
.top-nav, .sms-main { padding: 16px; }
.nav-links { width: 100%; overflow-x: auto; }
}Editor is loading...
Leave a Comment