Files
appfactory-portal/app/static/styles.css
T
2026-05-27 13:01:56 +02:00

247 lines
3.9 KiB
CSS

:root {
--bg: #f4f8fa;
--card: #ffffff;
--text: #183747;
--muted: #627987;
--border: #d8e5eb;
--primary: #c83676;
--primary-dark: #a92a62;
--secondary: #1e516b;
--secondary-dark: #173d51;
--danger: #b8223e;
--danger-dark: #941a31;
--success: #188654;
--success-bg: #e7f5ee;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(180deg, #eef6f9 0, var(--bg) 220px);
color: var(--text);
}
header {
background: var(--secondary);
color: white;
padding: 14px 32px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 5px solid var(--primary);
box-shadow: 0 10px 26px rgba(30, 81, 107, 0.16);
}
.brand {
display: inline-flex;
align-items: center;
gap: 14px;
color: white;
text-decoration: none;
font-weight: 800;
font-size: 19px;
}
.brand:hover {
text-decoration: none;
}
.brand img {
display: block;
width: 148px;
height: auto;
background: white;
border-radius: 6px;
padding: 6px 8px;
}
nav a {
color: white;
text-decoration: none;
margin-left: 8px;
font-weight: 600;
padding: 9px 12px;
border-radius: 8px;
}
main {
padding: 32px;
max-width: 1500px;
margin: 0 auto;
}
.card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 8px;
padding: 22px;
box-shadow: 0 8px 24px rgba(30, 81, 107, 0.07);
margin-bottom: 24px;
}
.card h2 {
color: var(--secondary);
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 16px;
}
table {
border-collapse: collapse;
width: 100%;
margin-top: 12px;
}
th,
td {
padding: 12px;
border-bottom: 1px solid var(--border);
text-align: left;
vertical-align: top;
}
th {
color: var(--muted);
font-size: 13px;
text-transform: uppercase;
letter-spacing: .04em;
background: #eef6f9;
border-top: 1px solid var(--border);
}
a {
color: var(--primary);
text-decoration: none;
font-weight: 600;
}
a:hover {
text-decoration: underline;
}
button,
.btn {
border: 0;
border-radius: 8px;
padding: 8px 12px;
min-height: 34px;
background: var(--primary);
color: white;
font-weight: 700;
cursor: pointer;
display: inline-block;
}
button:hover,
.btn:hover {
background: var(--primary-dark);
text-decoration: none;
}
.danger {
background: var(--danger);
}
.danger:hover {
background: var(--danger-dark);
}
.muted {
color: var(--muted);
font-size: 13px;
}
.pill {
display: inline-block;
border-radius: 999px;
padding: 4px 10px;
font-size: 12px;
background: var(--success-bg);
color: var(--success);
font-weight: 700;
}
input,
select {
padding: 8px;
border: 1px solid var(--border);
border-radius: 8px;
background: white;
}
input[readonly] {
width: 100%;
font-family: monospace;
background: #f8fbfc;
color: var(--secondary-dark);
}
.cmd-row {
display: grid;
grid-template-columns: 1fr auto;
gap: 8px;
margin: 8px 0 14px;
}
.copy-row {
display: grid;
grid-template-columns: minmax(260px, 1fr) 82px;
gap: 8px;
align-items: start;
margin: 0 0 10px;
}
.copy-row input {
min-height: 34px;
}
.copy-button,
.actions-cell button {
width: 82px;
text-align: center;
}
.actions-cell {
width: 110px;
white-space: nowrap;
}
.backup-row td {
vertical-align: middle;
}
details summary {
cursor: pointer;
font-weight: 700;
}
pre {
background: var(--secondary-dark);
color: #e5e7eb;
padding: 18px;
border-radius: 12px;
white-space: pre-wrap;
overflow: auto;
}
.resource-help {
font-size: 12px;
color: var(--muted);
line-height: 1.4;
margin-top: 8px;
}
.inline-form {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: wrap;
}