forked from laysense/laysite
Add visual header and footer layout editors
This commit is contained in:
+20
-3
@@ -15,7 +15,7 @@
|
||||
.login-box p { margin-block: .6rem 1.25rem; }
|
||||
.admin-form { display: grid; gap: 1rem; }
|
||||
.admin-form label { display: grid; gap: .4rem; font-weight: 570; color: var(--ink); }
|
||||
.admin-form :where(input:not([type=hidden]), select, textarea) {
|
||||
.admin-form :where(input:not([type=hidden], [type=checkbox], [type=radio]), select, textarea) {
|
||||
background: white;
|
||||
color: var(--ink);
|
||||
width: 100%;
|
||||
@@ -26,6 +26,25 @@
|
||||
font-weight: 400;
|
||||
min-height: 44px;
|
||||
}
|
||||
.admin-body :where(input[type=checkbox], input[type=radio]) {
|
||||
flex: 0 0 auto;
|
||||
inline-size: 1rem;
|
||||
block-size: 1rem;
|
||||
min-block-size: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
accent-color: var(--accent);
|
||||
vertical-align: middle;
|
||||
}
|
||||
.admin-body :where(label:has(> input[type=checkbox]), label:has(> span > input[type=checkbox]), label > span:has(> input[type=checkbox])) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: .5rem;
|
||||
}
|
||||
.admin-form label:has(> input[type=checkbox]), .admin-form label:has(> span > input[type=checkbox]) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.admin-form textarea { resize: vertical; }
|
||||
.admin-form small, .field-note { color: var(--muted); font-size: .875rem; font-weight: 400; }
|
||||
.admin-form .design-field-error { color: #9c252a; grid-column: 1 / -1; }
|
||||
@@ -324,8 +343,6 @@
|
||||
|
||||
.design-overview, .palette-fields { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
|
||||
.palette-fields input[type=color] { padding: .25rem; }
|
||||
.layout-components input[type=checkbox] { width: auto; min-height: auto; }
|
||||
.layout-components label { display: flex; align-items: center; }
|
||||
|
||||
.admin-bar .wordmark { display: inline-flex; gap: .5rem; align-items: center; font-size: 1.26rem; font-weight: 700; color: var(--ink); text-decoration: none; }
|
||||
.admin-bar .laysite-mark { width: 2.6rem; height: 2.6rem; max-width: 2.6rem; max-height: 2.6rem; object-fit: contain; }
|
||||
|
||||
Reference in New Issue
Block a user