rozdeleni do struktury

This commit is contained in:
JiriUhlir
2026-05-27 12:15:11 +02:00
parent 12f6323185
commit 2b20444324
14 changed files with 749 additions and 661 deletions
+6
View File
@@ -0,0 +1,6 @@
function copyValue(id) {
const el = document.getElementById(id);
el.select();
el.setSelectionRange(0, 99999);
navigator.clipboard.writeText(el.value);
}
+187
View File
@@ -0,0 +1,187 @@
:root {
--bg: #f6f7fb;
--card: #ffffff;
--text: #1f2937;
--muted: #6b7280;
--border: #e5e7eb;
--primary: #2563eb;
--primary-dark: #1d4ed8;
--danger: #dc2626;
--danger-dark: #b91c1c;
--success: #16a34a;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial, sans-serif;
background: var(--bg);
color: var(--text);
}
header {
background: #111827;
color: white;
padding: 18px 32px;
display: flex;
align-items: center;
justify-content: space-between;
}
header h1 {
margin: 0;
font-size: 22px;
}
nav a {
color: white;
text-decoration: none;
margin-left: 18px;
font-weight: 600;
}
main {
padding: 32px;
max-width: 1500px;
margin: 0 auto;
}
.card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 14px;
padding: 22px;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
margin-bottom: 24px;
}
.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: #f9fafb;
}
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;
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: #dcfce7;
color: #166534;
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: #f9fafb;
}
.cmd-row {
display: grid;
grid-template-columns: 1fr auto;
gap: 8px;
margin: 8px 0 14px;
}
details summary {
cursor: pointer;
font-weight: 700;
}
pre {
background: #111827;
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;
}