intra_max_bot/app/static/style.css
2026-03-19 16:47:49 +03:00

199 lines
2.7 KiB
CSS

:root {
--bg: #f6f7fb;
--card: #ffffff;
--text: #111827;
--muted: #6b7280;
--accent: #0f766e;
--border: #e5e7eb;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
color: var(--text);
background:
radial-gradient(circle at 0% 0%, #e2f8f3 0%, transparent 35%),
radial-gradient(circle at 100% 100%, #eaf1ff 0%, transparent 30%),
var(--bg);
}
.topbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 24px;
background: linear-gradient(90deg, #0f766e, #0e7490);
color: #fff;
}
.brand {
font-weight: 700;
letter-spacing: 0.3px;
}
.menu {
display: flex;
align-items: center;
gap: 12px;
}
.menu a {
color: #fff;
text-decoration: none;
}
.menu form {
margin: 0;
}
.container {
max-width: 1200px;
margin: 20px auto;
padding: 0 16px 40px;
}
.card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 16px;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.login-card {
max-width: 420px;
margin: 8vh auto 0;
}
.muted {
color: var(--muted);
}
.error {
background: #fee2e2;
color: #991b1b;
padding: 10px;
border-radius: 8px;
margin-bottom: 10px;
}
.form {
display: grid;
gap: 12px;
}
label {
display: grid;
gap: 6px;
font-size: 14px;
}
input,
select,
textarea,
button {
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 12px;
font: inherit;
}
button {
background: var(--accent);
color: #fff;
cursor: pointer;
}
button.ghost {
background: transparent;
border-color: rgba(255, 255, 255, 0.4);
}
.filters {
display: flex;
gap: 10px;
margin: 10px 0 16px;
flex-wrap: wrap;
}
.filters input {
min-width: 260px;
}
.table-wrap {
overflow: auto;
}
table {
width: 100%;
border-collapse: collapse;
}
th,
td {
text-align: left;
padding: 10px;
border-bottom: 1px solid var(--border);
}
.badge {
display: inline-block;
padding: 3px 8px;
border-radius: 99px;
background: #d1fae5;
color: #065f46;
font-size: 12px;
}
.grid {
display: grid;
gap: 16px;
grid-template-columns: 1.2fr 1fr;
}
.events {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 10px;
}
.events li {
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
}
.row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
pre {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
background: #f9fafb;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
}
@media (max-width: 900px) {
.grid {
grid-template-columns: 1fr;
}
.topbar {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
}