public/lookbook-assets/css/lookbook.css in lookbook-2.0.5 vs public/lookbook-assets/css/lookbook.css in lookbook-2.1.0

- old
+ new

@@ -110,10 +110,12 @@ border-color: inherit; border-collapse: collapse; } button, input, optgroup, select, textarea { + font-feature-settings: inherit; + font-variation-settings: inherit; font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; @@ -182,10 +184,14 @@ margin: 0; padding: 0; list-style: none; } +dialog { + padding: 0; +} + textarea { resize: vertical; } input::placeholder, textarea::placeholder { @@ -213,11 +219,11 @@ [hidden] { display: none; } -[type="text"], [type="email"], [type="url"], [type="password"], [type="number"], [type="date"], [type="datetime-local"], [type="month"], [type="search"], [type="tel"], [type="time"], [type="week"], [multiple], textarea, select { +[type="text"], input:where(:not([type])), [type="email"], [type="url"], [type="password"], [type="number"], [type="date"], [type="datetime-local"], [type="month"], [type="search"], [type="tel"], [type="time"], [type="week"], [multiple], textarea, select { appearance: none; --tw-shadow: 0 0 #0000; background-color: #fff; border-width: 1px; border-color: #6b7280; @@ -225,11 +231,11 @@ padding: .5rem .75rem; font-size: 1rem; line-height: 1.5rem; } -[type="text"]:focus, [type="email"]:focus, [type="url"]:focus, [type="password"]:focus, [type="number"]:focus, [type="date"]:focus, [type="datetime-local"]:focus, [type="month"]:focus, [type="search"]:focus, [type="tel"]:focus, [type="time"]:focus, [type="week"]:focus, [multiple]:focus, textarea:focus, select:focus { +[type="text"]:focus, input:where(:not([type])):focus, [type="email"]:focus, [type="url"]:focus, [type="password"]:focus, [type="number"]:focus, [type="date"]:focus, [type="datetime-local"]:focus, [type="month"]:focus, [type="search"]:focus, [type="tel"]:focus, [type="time"]:focus, [type="week"]:focus, [multiple]:focus, textarea:focus, select:focus { outline-offset: 2px; --tw-ring-inset: var(--tw-empty, ); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: #2563eb; @@ -249,12 +255,17 @@ padding: 0; } ::-webkit-date-and-time-value { min-height: 1.5em; + text-align: inherit; } +::-webkit-datetime-edit { + display: inline-flex; +} + ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field { padding-top: 0; padding-bottom: 0; } @@ -265,11 +276,11 @@ background-repeat: no-repeat; background-size: 1.5em 1.5em; padding-right: 2.5rem; } -[multiple] { +[multiple], [size]:where(select:not([size="1"])) { background-image: initial; background-position: initial; background-repeat: unset; background-size: initial; print-color-adjust: unset; @@ -365,20 +376,22 @@ outline: 1px auto -webkit-focus-ring-color; } html { height: 100vh; + width: 100vw; scroll-behavior: smooth; } @media screen and (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } } body { + width: 100vw; color: var(--lookbook-text); font-family: Inter var, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; font-size: .875rem; line-height: 1.25rem; overflow: hidden; @@ -499,9 +512,14 @@ padding: 0; } .form-input::-webkit-date-and-time-value { min-height: 1.5em; + text-align: inherit; +} + +.form-input::-webkit-datetime-edit { + display: inline-flex; } .form-input::-webkit-datetime-edit, .form-input::-webkit-datetime-edit-year-field, .form-input::-webkit-datetime-edit-month-field, .form-input::-webkit-datetime-edit-day-field, .form-input::-webkit-datetime-edit-hour-field, .form-input::-webkit-datetime-edit-minute-field, .form-input::-webkit-datetime-edit-second-field, .form-input::-webkit-datetime-edit-millisecond-field, .form-input::-webkit-datetime-edit-meridiem-field { padding-top: 0; padding-bottom: 0;