enhanced uploader
This commit is contained in:
@@ -383,3 +383,40 @@ body[data-theme="dark"] .brushing-widget, body[data-theme="dark"] .bowel-period
|
||||
body[data-theme="dark"] .brushing-control button { color: #edf5ef; }
|
||||
body[data-theme="dark"] .brushing-control__mark { color: #9adab0; }
|
||||
body[data-theme="dark"] .checkin-form--bowel .field textarea { border-color: #536159; color: #edf5ef; background: #161d19; }
|
||||
.checkin-calendar__exports { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
|
||||
.checkin-calendar__exports .button:focus-visible { outline: 2px solid $forest; outline-offset: 2px; }
|
||||
.health-layout { max-width: 920px; margin: 0 auto; }
|
||||
.health-layout .checkin-panel { margin-top: 24px; }
|
||||
.mobile-weather-slot { display: none; }
|
||||
@media (max-width: 820px) {
|
||||
.mobile-weather-slot { display: block; }
|
||||
.desktop-weather-slot { display: none; }
|
||||
}
|
||||
|
||||
.mobile-nav-toggle, .mobile-nav-close, .mobile-nav-backdrop { display: none; }
|
||||
@media (max-width: 700px) {
|
||||
.site-header { backdrop-filter: none; z-index: 20; }
|
||||
.site-header__inner { justify-content: flex-start; min-height: 62px; padding-left: 18px; padding-right: 18px; }
|
||||
.js-nav-ready .mobile-nav-toggle { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 9px; border: 1px solid $line; border-radius: 10px; color: $ink; background: $surface; }
|
||||
.mobile-nav-toggle__bars { display: grid; gap: 4px; width: 20px; }
|
||||
.mobile-nav-toggle__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; }
|
||||
.mobile-nav-toggle:hover { border-color: $forest; color: $forest; }
|
||||
.mobile-nav-toggle:focus-visible, .mobile-nav-close:focus-visible, .primary-nav a:focus-visible, .primary-nav button:focus-visible { outline: 3px solid $forest; outline-offset: 3px; }
|
||||
.js-nav-ready .primary-nav { position: fixed; top: 0; left: 0; z-index: 2; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: min(86vw, 310px); height: 100dvh; padding: 16px 20px 28px; overflow-y: auto; border-right: 1px solid $line; background: $surface; box-shadow: 16px 0 35px rgba(0, 0, 0, .18); transform: translateX(-105%); visibility: hidden; transition: transform .24s ease, visibility .24s; }
|
||||
.js-nav-ready.mobile-nav-open .primary-nav { transform: translateX(0); visibility: visible; }
|
||||
.js-nav-ready .primary-nav > a:not(.button) { display: block; padding: 12px 8px; border-radius: 7px; }
|
||||
.js-nav-ready .primary-nav > a:not(.button):hover { background: $mint; }
|
||||
.js-nav-ready .mobile-nav-close { display: flex; align-items: center; justify-content: space-between; min-height: 43px; margin-bottom: 12px; padding: 4px 8px; border: 0; border-bottom: 1px solid $line; color: $ink; background: transparent; font-weight: 700; text-align: left; }
|
||||
.mobile-nav-close span { font-size: 1.5rem; line-height: 1; }
|
||||
.js-nav-ready .primary-nav .theme-toggle { margin: 12px 8px; }
|
||||
.js-nav-ready .primary-nav .nav-logout { margin: 8px; }
|
||||
.js-nav-ready .primary-nav .nav-logout button { min-height: 40px; }
|
||||
.js-nav-ready .mobile-nav-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 19; display: block; background: rgba(15, 22, 18, .52); }
|
||||
.mobile-nav-open { overflow: hidden; }
|
||||
body[data-theme="dark"] .mobile-nav-toggle, body[data-theme="dark"].js-nav-ready .primary-nav { border-color: #46544b; color: #e8eee9; background: #242d27; }
|
||||
body[data-theme="dark"] .mobile-nav-close { border-color: #46544b; color: #e8eee9; }
|
||||
body[data-theme="dark"].js-nav-ready .primary-nav > a:not(.button):hover { background: #355a45; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.js-nav-ready .primary-nav { transition: none; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user