Compare commits
2
Commits
cede3c1948
...
20b24aef4e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20b24aef4e | ||
|
|
c5c2e9e419 |
No files matched your search
@@ -661,6 +661,12 @@ components, typography, and spacing. Override these values in `:root` and
|
||||
`:root[data-appearance="dark"]`. Keep theme assets self-contained and review
|
||||
third-party styles before installing them.
|
||||
|
||||
The same type scale applies to sign-in and all panel roles. Use
|
||||
`--font-size-title` for page titles, `--font-size-heading` for section
|
||||
headings, `--font-size-body` for content and controls, and
|
||||
`--font-size-small` for secondary labels. Override `--font-family` and
|
||||
`--font-family-mono` to customize the two font stacks.
|
||||
|
||||
## Upgrade an existing panel
|
||||
|
||||
Download and unpack the new source release. Back up the panel database and
|
||||
|
||||
@@ -50,7 +50,15 @@
|
||||
--row-padding: 0.55rem 0.85rem;
|
||||
--section-gap: 0.9rem;
|
||||
--font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
font: 100%/1.45 var(--font-family);
|
||||
--font-family-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
|
||||
--font-size-small: 0.75rem;
|
||||
--font-size-body: 0.875rem;
|
||||
--font-size-heading: 1rem;
|
||||
--font-size-title: clamp(1.55rem, 2.5vw, 2rem);
|
||||
--font-weight-semibold: 600;
|
||||
--font-weight-bold: 700;
|
||||
font-family: var(--font-family);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
:root[data-appearance="dark"] {
|
||||
@@ -91,6 +99,7 @@ body {
|
||||
margin: 0;
|
||||
background: var(--page);
|
||||
color: var(--ink);
|
||||
font-size: var(--font-size-body);
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -102,6 +111,35 @@ button, input, select, textarea {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
input, select, textarea {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
input::file-selector-button {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
small, dt, thead th {
|
||||
font-size: var(--font-size-small);
|
||||
}
|
||||
|
||||
strong, b {
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
|
||||
pre, code, kbd, samp, .domain, .recovery-codes {
|
||||
font-family: var(--font-family-mono);
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.domain, code {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 3px solid var(--focus);
|
||||
outline-offset: 3px;
|
||||
@@ -153,8 +191,8 @@ button, input, select, textarea {
|
||||
gap: 0.65rem;
|
||||
padding: 0.25rem 0.45rem;
|
||||
color: inherit;
|
||||
font-size: 1.06rem;
|
||||
font-weight: 750;
|
||||
font-size: var(--font-size-heading);
|
||||
font-weight: var(--font-weight-bold);
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -186,7 +224,7 @@ button, input, select, textarea {
|
||||
|
||||
.brand-product {
|
||||
color: var(--brand-muted);
|
||||
font-weight: 500;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.navigation {
|
||||
@@ -214,7 +252,6 @@ button, input, select, textarea {
|
||||
border: 1px solid transparent;
|
||||
border-radius: 8px;
|
||||
color: var(--sidebar-link);
|
||||
font-size: 0.9rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -226,7 +263,7 @@ button, input, select, textarea {
|
||||
|
||||
.navigation a[aria-current] {
|
||||
box-shadow: inset 3px 0 var(--sidebar-highlight);
|
||||
font-weight: 650;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
@@ -240,8 +277,7 @@ button, input, select, textarea {
|
||||
background: var(--sidebar-active);
|
||||
color: var(--sidebar-text);
|
||||
cursor: pointer;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 650;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
@@ -285,7 +321,6 @@ button, input, select, textarea {
|
||||
margin-top: auto;
|
||||
padding-top: 0.7rem;
|
||||
border-top: 1px solid var(--sidebar-divider);
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.sidebar-account-controls {
|
||||
@@ -303,7 +338,7 @@ button, input, select, textarea {
|
||||
min-height: 2.2rem;
|
||||
border-radius: 6px;
|
||||
color: var(--sidebar-text);
|
||||
font-weight: 650;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -330,7 +365,6 @@ a.sidebar-identity:hover {
|
||||
|
||||
.panel-role-switch {
|
||||
position: relative;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.panel-role-switch summary {
|
||||
@@ -344,7 +378,8 @@ a.sidebar-identity:hover {
|
||||
border-radius: 6px;
|
||||
padding: 0.35rem 0.55rem;
|
||||
cursor: pointer;
|
||||
font-weight: 650;
|
||||
font-size: var(--font-size-small);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@@ -418,13 +453,12 @@ a.sidebar-identity:hover {
|
||||
|
||||
.panel-role-option small {
|
||||
color: var(--sidebar-account);
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.panel-role-current {
|
||||
color: var(--sidebar-highlight);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 650;
|
||||
font-size: var(--font-size-small);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.sidebar-action {
|
||||
@@ -435,7 +469,6 @@ a.sidebar-identity:hover {
|
||||
background: transparent;
|
||||
color: var(--sidebar-account);
|
||||
cursor: pointer;
|
||||
font-size: 0.82rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -454,7 +487,7 @@ a.sidebar-identity:hover {
|
||||
|
||||
.appearance-control {
|
||||
min-width: 2.2rem;
|
||||
font-size: 1rem;
|
||||
font-size: var(--font-size-heading);
|
||||
}
|
||||
|
||||
.main {
|
||||
@@ -480,27 +513,32 @@ a.sidebar-identity:hover {
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
h1, h2, p, dl {
|
||||
h1, h2, h3, h4, h5, h6, p, dl {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: var(--font-weight-bold);
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
h1 {
|
||||
overflow-wrap: anywhere;
|
||||
font-size: clamp(1.55rem, 3vw, 2.35rem);
|
||||
font-weight: 760;
|
||||
letter-spacing: -0.045em;
|
||||
line-height: 1.12;
|
||||
font-size: var(--font-size-title);
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.12rem;
|
||||
font-weight: 700;
|
||||
font-size: var(--font-size-heading);
|
||||
}
|
||||
|
||||
h3, h4, h5, h6 {
|
||||
font-size: var(--font-size-body);
|
||||
}
|
||||
|
||||
.heading-meta {
|
||||
margin-top: 0.5rem;
|
||||
color: var(--muted);
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
.surface {
|
||||
@@ -530,8 +568,7 @@ h2 {
|
||||
border: 1px solid transparent;
|
||||
border-radius: 7px;
|
||||
cursor: pointer;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 650;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -587,7 +624,7 @@ h2 {
|
||||
|
||||
.update-release > summary {
|
||||
cursor: pointer;
|
||||
font-weight: 680;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.release-notes {
|
||||
@@ -597,8 +634,11 @@ h2 {
|
||||
|
||||
.release-notes :is(h1, h2, h3, h4, h5, h6) {
|
||||
margin: 1rem 0 0.25rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.release-notes h1 {
|
||||
font-size: var(--font-size-heading);
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
.release-notes :is(p, ul, ol, pre, blockquote) {
|
||||
@@ -614,7 +654,6 @@ h2 {
|
||||
border-radius: 0.4rem;
|
||||
background: var(--code-bg);
|
||||
color: var(--code-text);
|
||||
font-size: 0.85rem;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
@@ -677,8 +716,7 @@ h2 {
|
||||
min-height: 2.5rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
border-radius: 7px;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 680;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -711,7 +749,6 @@ h2 {
|
||||
justify-content: flex-end;
|
||||
border-top: 1px solid var(--line);
|
||||
color: var(--muted);
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
input:not([type="hidden"], [type="checkbox"], [type="radio"]),
|
||||
@@ -741,8 +778,7 @@ input::placeholder {
|
||||
}
|
||||
|
||||
.quiet-link, .back-link {
|
||||
font-size: 0.88rem;
|
||||
font-weight: 600;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.back-link {
|
||||
@@ -763,19 +799,14 @@ table {
|
||||
th, td {
|
||||
padding: var(--row-padding);
|
||||
border-top: 1px solid var(--line);
|
||||
overflow-wrap: anywhere;
|
||||
overflow-wrap: break-word;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
th {
|
||||
background: var(--table-heading);
|
||||
color: var(--table-heading-text);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 0.93rem;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
tbody tr:hover {
|
||||
@@ -801,16 +832,7 @@ tbody tr:hover {
|
||||
}
|
||||
|
||||
.record-link {
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.domain, code {
|
||||
font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.domain {
|
||||
font-size: 0.88rem;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.muted, .empty {
|
||||
@@ -819,7 +841,6 @@ tbody tr:hover {
|
||||
|
||||
.empty, .notice {
|
||||
padding: 1.1rem 1.2rem;
|
||||
font-size: 0.94rem;
|
||||
}
|
||||
|
||||
.details {
|
||||
@@ -836,8 +857,7 @@ tbody tr:hover {
|
||||
|
||||
dt {
|
||||
color: var(--muted);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 650;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
dd {
|
||||
@@ -875,8 +895,8 @@ dd {
|
||||
display: inline-block;
|
||||
padding: 0.18rem 0.62rem;
|
||||
border-radius: 0.75rem;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 680;
|
||||
font-size: var(--font-size-small);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.status::before {
|
||||
@@ -907,13 +927,10 @@ dd {
|
||||
|
||||
.configuration {
|
||||
margin: 0;
|
||||
overflow-x: auto;
|
||||
padding: 1.2rem;
|
||||
border-radius: 0 0 var(--radius) var(--radius);
|
||||
background: var(--code-bg);
|
||||
color: var(--code-text);
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.6;
|
||||
tab-size: 4;
|
||||
}
|
||||
|
||||
@@ -930,8 +947,7 @@ dd {
|
||||
.editor label {
|
||||
display: block;
|
||||
margin-bottom: 0.35rem;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 680;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.editor input:not([type="hidden"], [type="checkbox"], [type="radio"]),
|
||||
@@ -963,8 +979,8 @@ dd {
|
||||
border: 1px solid var(--control-line);
|
||||
border-radius: 50%;
|
||||
color: var(--accent);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
font-size: var(--font-size-small);
|
||||
font-weight: var(--font-weight-bold);
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -990,7 +1006,6 @@ dd {
|
||||
border-radius: 0.5rem;
|
||||
background: var(--surface);
|
||||
box-shadow: 0 4px 12px var(--surface-shadow);
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.dns-surface {
|
||||
@@ -1032,7 +1047,7 @@ dd {
|
||||
|
||||
.reseller-editor legend {
|
||||
margin-bottom: 0.65rem;
|
||||
font-weight: 680;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.reseller-editor input[type="checkbox"] {
|
||||
@@ -1043,7 +1058,6 @@ dd {
|
||||
margin: 0;
|
||||
padding: 0 0 0 1.1rem;
|
||||
color: var(--invalid);
|
||||
font-size: 0.87rem;
|
||||
}
|
||||
|
||||
.editor [aria-invalid="true"] {
|
||||
@@ -1076,7 +1090,6 @@ dd {
|
||||
|
||||
.sign-in-card h1 {
|
||||
margin-bottom: 1.25rem;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.authenticator-setup {
|
||||
@@ -1094,7 +1107,6 @@ dd {
|
||||
.recovery-codes {
|
||||
width: 100%;
|
||||
margin-block: 0.75rem;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
@@ -1111,10 +1123,6 @@ dd {
|
||||
padding: 0.65rem 0.75rem;
|
||||
}
|
||||
|
||||
.brand {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
width: 1.95rem;
|
||||
height: 1.95rem;
|
||||
@@ -1290,7 +1298,7 @@ dd {
|
||||
.account-navigation [aria-current] {
|
||||
border-bottom: 2px solid var(--accent);
|
||||
color: var(--ink);
|
||||
font-weight: 700;
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
|
||||
.account-readiness {
|
||||
|
||||
@@ -11,18 +11,20 @@
|
||||
{% endblock %}
|
||||
{% block page_content %}
|
||||
<section class="surface">
|
||||
<table>
|
||||
<thead><tr><th scope="col">Package</th><th scope="col">Account limit</th></tr></thead>
|
||||
<tbody>
|
||||
{% for profile in object_list %}
|
||||
<tr>
|
||||
<td><a href="{% url 'panel:reseller_profile_edit' profile.pk %}">{{ profile.name }}</a>{% if profile.default_slot %} · Default{% endif %}</td>
|
||||
<td>{% if profile.account_limit %}{{ profile.account_limit }}{% else %}Manage existing accounts only{% endif %}</td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
<tr><td colspan="2">No manager packages yet. Add one to reuse account limits and a set of hosting packages.</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="table-scroll">
|
||||
<table>
|
||||
<thead><tr><th scope="col">Package</th><th scope="col">Account limit</th></tr></thead>
|
||||
<tbody>
|
||||
{% for profile in object_list %}
|
||||
<tr>
|
||||
<td><a href="{% url 'panel:reseller_profile_edit' profile.pk %}">{{ profile.name }}</a>{% if profile.default_slot %} · Default{% endif %}</td>
|
||||
<td>{% if profile.account_limit %}{{ profile.account_limit }}{% else %}Manage existing accounts only{% endif %}</td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
<tr><td colspan="2">No manager packages yet. Add one to reuse account limits and a set of hosting packages.</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user