forked from laysense/laysite
Address LaySite 1.4.0 review findings
This commit is contained in:
@@ -142,9 +142,8 @@ address { font-style: normal; }
|
||||
}
|
||||
.app-frame img, .hero-service-art img { border-radius: calc(var(--radius) / 2); }
|
||||
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; font-size: .9rem; color: var(--muted); margin-bottom: 1.35rem; }
|
||||
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); }
|
||||
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
|
||||
.crumb-divider { color: #74859d; }
|
||||
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
|
||||
.breadcrumbs:not([class*="studio-style-color-"]) .crumb-divider { color: #74859d; }
|
||||
.hero-directory {
|
||||
display: flex;
|
||||
border: 1px solid var(--line);
|
||||
@@ -162,10 +161,12 @@ address { font-style: normal; }
|
||||
.hero-visual { animation-delay: 80ms; }
|
||||
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
|
||||
|
||||
.section-nav { background: var(--white); border-bottom: 1px solid var(--line); }
|
||||
.section-nav { background: var(--white); border-bottom: 1px solid var(--line); color: var(--muted); }
|
||||
.section-nav-inner { display: flex; flex-wrap: wrap; gap: .2rem clamp(1rem, 4vw, 2.8rem); padding-block: .3rem; }
|
||||
.section-nav a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; font-size: .95rem; text-decoration: none; }
|
||||
.section-nav a:hover { color: var(--accent); text-decoration: underline; }
|
||||
.section-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .95rem; text-decoration: none; }
|
||||
:is(.breadcrumbs, .section-nav) a { color: inherit; }
|
||||
:is(.breadcrumbs, .section-nav) a:hover { text-decoration: underline; }
|
||||
:is(.breadcrumbs, .section-nav):not([class*="studio-style-color-"]) a:hover { color: var(--accent); }
|
||||
|
||||
.section { padding-block: var(--space-section); }
|
||||
.section + .section { border-top: 1px solid var(--line); }
|
||||
|
||||
@@ -2231,6 +2231,9 @@ jQuery(function ($) {
|
||||
|
||||
$history.on('click', function () { stepHistory(this.dataset.canvasHistory === 'undo' ? -1 : 1); });
|
||||
$layout.on('keydown.canvasHistory', historyShortcut);
|
||||
$studio.find('dialog').on('close.canvasHistory', () => {
|
||||
if (document.activeElement === document.body) $studio.get(0).focus({preventScroll: true});
|
||||
});
|
||||
$settings.on('input change', ':input', function (event) {
|
||||
const group = event.type === 'input' && this.matches('input:not([type=hidden]), textarea') ? this : null;
|
||||
captureHistory(group);
|
||||
|
||||
Reference in New Issue
Block a user