Spaces:
Running on Zero
Running on Zero
Download static/assets/css/app.css from Fairus/StepAudio-3-Music: direct link, hf CLI and curl.
- Browser
- Download file 37.9 kB
-
https://huggingface.co/spaces/Fairus/StepAudio-3-Music/resolve/main/static/assets/css/app.css
- Command line
-
hf download hf://spaces/Fairus/StepAudio-3-Music/static/assets/css/app.css
-
curl -L -o app.css https://huggingface.co/spaces/Fairus/StepAudio-3-Music/resolve/main/static/assets/css/app.css
37.9 kB
| /* ============================================================================= | |
| app.css ยท ๅบ็จๅคๅฃณใไพงๆ ใๅก็ใ่กจๅใ้็จ็ปไปถ | |
| ============================================================================= */ | |
| /* โโ ๅคๅฃณ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .app { | |
| display: grid; | |
| grid-template-columns: var(--nav-w) 1fr; | |
| height: 100dvh; | |
| transition: grid-template-columns var(--d-base) var(--ease); | |
| } | |
| .app[data-nav="mini"] { grid-template-columns: var(--nav-w-mini) 1fr; } | |
| .main { | |
| position: relative; | |
| overflow-y: auto; | |
| overflow-x: hidden; | |
| scroll-padding-bottom: 140px; | |
| } | |
| /* ๆญๆพๆกๆตฎๅจๅ ๅฎนไธ๏ผ็ปๅ ๅฎน็ๅบๅบ้จ็ฉบ้ด๏ผ้ฟๅ ๆๅไธ่ก่ขซ็ไฝ */ | |
| .main::after { | |
| content: ""; | |
| display: block; | |
| height: 0; | |
| transition: height var(--d-base) var(--ease); | |
| } | |
| body[data-playing] .main::after { height: calc(var(--player-h) + var(--player-inset) * 2); } | |
| .view { display: none; } | |
| .view.on { display: block; animation: viewIn var(--d-base) var(--ease); } | |
| @keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } | |
| .wrap { | |
| max-width: var(--content-max); | |
| margin: 0 auto; | |
| padding: var(--s12) var(--gutter) var(--s14); | |
| } | |
| /* ่ๅฌ้กตๆฒกๆ้กตๆ ้ข๏ผ็ฌฌไธไธชๅๅบ็ดๆฅๅผๅง๏ผ้กถ้จไธ่ฆ็้ฃไนๅค */ | |
| .wrap-listen { padding-top: var(--s8); } | |
| .wrap-listen .cap-head:first-child { margin-top: 0; } | |
| /* โโ ไพงๆ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .nav { | |
| background: var(--paper); | |
| border-right: 1px solid var(--rule); | |
| padding: var(--s5) 14px var(--s4); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2px; | |
| min-width: 0; | |
| z-index: var(--z-nav); | |
| } | |
| .brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 11px; | |
| padding: 2px 10px var(--s5); | |
| min-width: 0; | |
| } | |
| .brand-logo { width: 30px; height: 30px; border-radius: 50%; flex: none; background: none; } | |
| .brand-wm { min-width: 0; overflow: hidden; } | |
| .brand-wm b { | |
| display: block; | |
| font-size: 15px; font-weight: var(--fw-semi); | |
| letter-spacing: -.012em; line-height: 1.1; | |
| white-space: nowrap; | |
| } | |
| .brand-wm i { | |
| display: block; | |
| font-family: var(--font-flourish); | |
| font-style: italic; font-weight: 400; | |
| font-size: 17px; line-height: 1.05; | |
| color: var(--bronze); | |
| text-align: center; /* ๅฑ ไธญไบไธไธ่ก๏ผ่ง่ฎพ่ฎก็จฟ */ | |
| margin-top: 1px; | |
| } | |
| .app[data-nav="mini"] .brand { justify-content: center; padding: 2px 0 var(--s5); } | |
| .app[data-nav="mini"] .brand-wm { display: none; } | |
| .nav-item { | |
| display: flex; align-items: center; gap: 11px; | |
| height: 40px; padding: 0 10px; | |
| border-radius: var(--r-sm); | |
| color: var(--ink-2); | |
| font-size: var(--fs-ui); font-weight: var(--fw-medium); | |
| position: relative; | |
| white-space: nowrap; | |
| transition: background var(--d-micro) var(--ease), color var(--d-micro) var(--ease); | |
| } | |
| .nav-item:hover { background: var(--field-hover); color: var(--ink); } | |
| .nav-item[aria-current="page"] { color: var(--ink); font-weight: var(--fw-semi); } | |
| .nav-item[aria-current="page"]::before { | |
| content: ""; | |
| position: absolute; left: -14px; top: 50%; | |
| transform: translateY(-50%); | |
| width: 3px; height: 18px; | |
| border-radius: 0 3px 3px 0; | |
| background: var(--ink); | |
| } | |
| /* ๅฝๅ้กนๅพๆ ็ฑๆ่พน่ฝฌๅกซๅ โโ ๆฏๅ ๅฝฉ่ฒ่ๆฏๅๅ ๅถ */ | |
| .nav-item[aria-current="page"] .icon { stroke-width: 2.1; } | |
| .app[data-nav="mini"] .nav-item { justify-content: center; padding: 0; width: 44px; } | |
| .app[data-nav="mini"] .nav-label { display: none; } | |
| .nav-foot { | |
| margin-top: auto; | |
| padding-top: var(--s3); | |
| border-top: 1px solid var(--rule); | |
| display: flex; flex-direction: column; gap: 2px; | |
| } | |
| .nav-sub { | |
| display: flex; align-items: center; gap: 11px; | |
| height: 34px; padding: 0 10px; | |
| border-radius: var(--r-sm); | |
| color: var(--ink-3); font-size: var(--fs-meta); | |
| white-space: nowrap; | |
| transition: background var(--d-micro) var(--ease), color var(--d-micro) var(--ease); | |
| } | |
| .nav-sub:hover { background: var(--field-hover); color: var(--ink-2); } | |
| .nav-sub .ext { margin-left: auto; font-size: 10px; color: var(--ink-4); } | |
| .app[data-nav="mini"] .nav-sub { justify-content: center; padding: 0; width: 44px; } | |
| /* ๆถ่ตทๅ โ ่งๆ ไผๅ ๅฎฝๅบฆ๏ผๆๅพๆ ้กถๅ๏ผๅไธ้ขๅ ไธชๅพๆ ๅฏนไธ้ฝ */ | |
| .app[data-nav="mini"] .nav-sub .ext { display: none; } | |
| .lang-switch { | |
| display: flex; gap: 2px; | |
| background: var(--field-sunk); | |
| border-radius: var(--r-pill); | |
| padding: 2px; margin: var(--s2) 10px var(--s1); | |
| } | |
| .lang-switch button { | |
| flex: 1; font-size: 11.5px; font-weight: var(--fw-semi); | |
| padding: 5px 0; border-radius: var(--r-pill); | |
| color: var(--ink-3); | |
| transition: var(--d-micro) var(--ease); | |
| } | |
| .lang-switch button[aria-pressed="true"] { | |
| background: var(--paper); color: var(--ink); box-shadow: var(--sh-1); | |
| } | |
| .app[data-nav="mini"] .lang-switch { margin: var(--s2) 0 var(--s1); } | |
| .app[data-nav="mini"] .lang-switch button[aria-pressed="true"] { display: none; } | |
| /* ไพงๆ ๆถ่ตทๆถ็จ tooltip๏ผๅฆๅ็บฏๅพๆ ไธๅฏ็จ */ | |
| .app[data-nav="mini"] .nav-item, | |
| .app[data-nav="mini"] .nav-sub { position: relative; } | |
| .app[data-nav="mini"] .nav-item::after, | |
| .app[data-nav="mini"] .nav-sub::after { | |
| content: attr(data-tip); | |
| position: absolute; left: calc(100% + 10px); top: 50%; | |
| transform: translateY(-50%) translateX(-4px); | |
| background: var(--ink); color: var(--ink-on-dark); | |
| font-size: 12px; font-weight: var(--fw-medium); | |
| padding: 5px 10px; border-radius: var(--r-sm); | |
| white-space: nowrap; pointer-events: none; | |
| opacity: 0; transition: var(--d-fast) var(--ease); | |
| z-index: var(--z-toast); | |
| } | |
| .app[data-nav="mini"] .nav-item:hover::after, | |
| .app[data-nav="mini"] .nav-sub:hover::after { opacity: 1; transform: translateY(-50%); } | |
| /* โโ ๆ้ฎ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .btn { | |
| display: inline-flex; align-items: center; justify-content: center; gap: 7px; | |
| height: 40px; padding: 0 20px; | |
| border-radius: var(--r-pill); | |
| font-size: var(--fs-ui); font-weight: var(--fw-semi); | |
| transition: var(--d-micro) var(--ease); | |
| white-space: nowrap; | |
| } | |
| .btn-primary { | |
| background: var(--ink); color: var(--ink-on-dark); | |
| box-shadow: 0 4px 14px rgba(20, 22, 26, .18); | |
| } | |
| .btn-primary:hover:not(:disabled) { | |
| transform: translateY(-1px); | |
| box-shadow: 0 8px 22px rgba(20, 22, 26, .24); | |
| } | |
| .btn-primary:active:not(:disabled) { transform: translateY(0) scale(.99); } | |
| .btn-primary:disabled { opacity: .38; box-shadow: none; } | |
| .btn-ghost { background: var(--paper); color: var(--ink); box-shadow: var(--sh-1); } | |
| .btn-ghost:hover { box-shadow: var(--sh-2); } | |
| .btn-quiet { color: var(--ink-3); height: 34px; padding: 0 12px; font-weight: var(--fw-medium); } | |
| .btn-quiet:hover { color: var(--ink); background: var(--field-hover); } | |
| .btn-block { width: 100%; height: 46px; font-size: 15px; } | |
| .icon-btn { | |
| width: 34px; height: 34px; flex: none; | |
| border-radius: 50%; | |
| display: grid; place-items: center; | |
| color: var(--ink-3); | |
| transition: var(--d-micro) var(--ease); | |
| } | |
| .icon-btn:hover { color: var(--ink); background: var(--field-hover); } | |
| .icon-btn-outline { | |
| background: var(--paper); | |
| box-shadow: inset 0 0 0 1px var(--rule); | |
| } | |
| .icon-btn-outline:hover { box-shadow: inset 0 0 0 1px var(--rule-strong); background: var(--paper); } | |
| /* โโ ๅผๅ ณ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .switch { | |
| display: inline-flex; align-items: center; gap: 9px; | |
| font-size: var(--fs-meta); font-weight: var(--fw-medium); | |
| color: var(--ink-2); cursor: pointer; | |
| user-select: none; | |
| } | |
| .switch input { position: absolute; opacity: 0; width: 0; height: 0; } | |
| .switch i { | |
| width: 34px; height: 20px; flex: none; | |
| border-radius: 99px; | |
| background: var(--field-sunk); | |
| box-shadow: inset 0 0 0 1px var(--rule); | |
| position: relative; | |
| transition: var(--d-base) var(--ease); | |
| } | |
| .switch i::after { | |
| content: ""; | |
| position: absolute; left: 2px; top: 2px; | |
| width: 14px; height: 14px; border-radius: 50%; | |
| background: var(--paper); | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, .22); | |
| transition: transform var(--d-base) var(--ease); | |
| } | |
| .switch input:checked + i { background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } | |
| .switch input:checked + i::after { transform: translateX(14px); } | |
| .switch input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; } | |
| /* โโ ่พๅ ฅๆก๏ผ้ฆ้กต hero / ๅไฝ้กตๅ ฑ็จ๏ผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .promptbox { | |
| background: var(--paper); | |
| border-radius: var(--r-2xl); | |
| box-shadow: var(--sh-2); | |
| padding: 17px 17px 11px; | |
| transition: box-shadow var(--d-base) var(--ease); | |
| text-align: left; | |
| } | |
| .promptbox:focus-within { box-shadow: var(--sh-3), 0 0 0 1.5px var(--ink); } | |
| .promptbox textarea { | |
| width: 100%; | |
| border: 0; background: none; outline: none; | |
| font-size: 15px; line-height: 1.55; | |
| color: var(--ink); | |
| min-height: 52px; max-height: 180px; | |
| overflow-y: auto; | |
| } | |
| .promptbox textarea::placeholder { color: var(--ink-4); } | |
| .promptbox-row { | |
| display: flex; align-items: center; gap: 11px; | |
| margin-top: 6px; | |
| } | |
| .promptbox-count { | |
| margin-left: auto; | |
| font-size: 11.5px; color: var(--ink-4); | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .dice:hover { transform: rotate(-14deg); } | |
| /* โโ ็ตๆ chips๏ผไธใๆขไธๆนใๅไธ่ก๏ผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| /* 3. ๆฐธ่ฟๅชๆไธ่ก๏ผnowrap + ้่ๆบขๅบ๏ผ้ ๅ pages.js ็ fitOneLine() ้ๅฎฝ่ฃๅช */ | |
| .recipes { | |
| display: flex; align-items: center; flex-wrap: nowrap; | |
| gap: 7px; | |
| margin-top: var(--s5); | |
| overflow: hidden; | |
| } | |
| .recipes .chip { flex: none; } | |
| .chip { | |
| /* ๆพๅผ้ซๅบฆ๏ผๅธฆๅพๆ ็ใๆขไธๆนใๅ็บฏๆๅญ็ chip ่ก็้ซๅบฆๅทฎ 0.7px๏ผ | |
| ไธๅฎ้ซๅฐฑไผ็ๅบๆฅๆฒกๅฏน้ฝใ */ | |
| display: inline-flex; align-items: center; | |
| height: 34px; | |
| font-size: var(--fs-meta); | |
| color: var(--ink-2); | |
| background: var(--paper); | |
| box-shadow: inset 0 0 0 1px var(--rule); | |
| padding: 0 13px; | |
| border-radius: var(--r-pill); | |
| transition: var(--d-micro) var(--ease); | |
| white-space: nowrap; | |
| } | |
| .chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } | |
| .chip-shuffle { | |
| gap: 6px; | |
| font-size: 12.5px; font-weight: var(--fw-medium); | |
| color: var(--ink-3); background: none; box-shadow: none; | |
| padding: 0 6px; | |
| } | |
| .chip-shuffle:hover { color: var(--ink); box-shadow: none; } | |
| .chip-shuffle .icon-sm { transition: transform var(--d-base) var(--ease); } | |
| .chip-shuffle:hover .icon-sm { transform: rotate(90deg); } | |
| /* โโ ๅๅบๆ ้ข โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .sec-head { | |
| display: flex; align-items: center; gap: 14px; | |
| margin: var(--s12) 0 var(--s5); | |
| } | |
| .sec-head:first-child { margin-top: 0; } | |
| .sec-head h2 { | |
| font-size: var(--fs-eyebrow); font-weight: var(--fw-semi); | |
| letter-spacing: var(--tr-eyebrow); text-transform: uppercase; | |
| color: var(--ink-3); white-space: nowrap; | |
| } | |
| .sec-head hr { flex: 1; border: 0; border-top: 1px solid var(--rule); } | |
| .cap-head { | |
| display: flex; align-items: flex-end; justify-content: space-between; | |
| gap: var(--s6); flex-wrap: wrap; | |
| margin: var(--s14) 0 var(--s5); | |
| } | |
| .cap-head:first-child { margin-top: var(--s6); } | |
| .cap-head h3 { | |
| font-size: var(--fs-h2); font-weight: var(--fw-semi); | |
| letter-spacing: var(--tr-h2); margin-top: 10px; | |
| } | |
| .cap-head p { font-size: var(--fs-ui); color: var(--ink-2); margin-top: 6px; max-width: 54ch; } | |
| .cap-io { | |
| font-family: var(--font-mono); | |
| font-size: 12px; color: var(--ink-3); | |
| white-space: nowrap; | |
| display: flex; align-items: center; gap: 8px; | |
| } | |
| .cap-io b { color: var(--ink-2); font-weight: var(--fw-medium); } | |
| /* โโ ๅก็็ฝๆ ผ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .grid { | |
| display: grid; | |
| grid-template-columns: repeat(5, minmax(0, 1fr)); | |
| gap: var(--s5); | |
| } | |
| .card { | |
| display: flex; flex-direction: column; | |
| align-self: start; | |
| width: 100%; text-align: left; | |
| min-width: 0; | |
| } | |
| /* ้ซๅบฆ็ฑ <img> ๅบๆๆฏไพๆๅผใไธ่ฆๅจ .card-art ไธๅ aspect-ratio๏ผ | |
| 1fr ๆ ๆ ผๅๅฎฝๆชๅฎๆถไผๅฝขๆๅพช็ฏไพ่ต๏ผChrome ๆ่ก้ซ็ฎๅฐ๏ผ | |
| ไธไธ่กๅฐ้ขไผๅไฝไธไธ่กๆ ้ขใ */ | |
| .card-art { | |
| position: relative; | |
| border-radius: var(--r-md); | |
| overflow: hidden; | |
| box-shadow: var(--sh-art); | |
| transition: transform var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease); | |
| } | |
| .card-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; } | |
| .card:hover .card-art { transform: translateY(-3px); box-shadow: var(--sh-3); } | |
| .card[aria-current="true"] .card-art { box-shadow: 0 0 0 2px var(--art), var(--sh-art); } | |
| .card-play { | |
| position: absolute; right: 9px; bottom: 9px; | |
| width: 34px; height: 34px; border-radius: 50%; | |
| background: rgba(255, 255, 255, .93); | |
| backdrop-filter: blur(8px); | |
| color: var(--ink); | |
| display: grid; place-items: center; | |
| box-shadow: 0 3px 10px rgba(0, 0, 0, .2); | |
| opacity: 0; transform: translateY(6px); | |
| transition: var(--d-base) var(--ease); | |
| } | |
| .card:hover .card-play, | |
| .card:focus-visible .card-play, | |
| .card-play:focus-visible { opacity: 1; transform: none; } | |
| .card-play .icon-sm { margin-left: 1px; } | |
| .card-ref { | |
| position: absolute; left: 9px; bottom: 9px; | |
| display: inline-flex; align-items: center; gap: 5px; | |
| height: 26px; padding: 0 10px; | |
| border-radius: var(--r-pill); | |
| font-size: 11px; font-weight: var(--fw-semi); | |
| background: rgba(255, 255, 255, .9); | |
| backdrop-filter: blur(8px); | |
| color: var(--ink-2); | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, .16); | |
| opacity: 0; transform: translateY(6px); | |
| transition: var(--d-base) var(--ease); | |
| } | |
| .card:hover .card-ref, .card-ref:focus-visible { opacity: 1; transform: none; } | |
| .card-title { | |
| display: flex; align-items: center; gap: 6px; | |
| font-size: var(--fs-ui); font-weight: 550; | |
| letter-spacing: -.008em; | |
| margin-top: 11px; | |
| min-width: 0; | |
| } | |
| .card-title span { | |
| overflow: hidden; text-overflow: ellipsis; white-space: nowrap; | |
| } | |
| .card-meta { | |
| font-size: var(--fs-meta); color: var(--ink-3); | |
| margin-top: 2px; | |
| overflow: hidden; text-overflow: ellipsis; white-space: nowrap; | |
| } | |
| /* ไธๆ ผๅ่กกๅจ๏ผๅฏไธๆ็ ดๅก็ไธฅๆ ผ้ๅค็ๅฐๆนใ | |
| ๅชๅจ"ๆญฃๅจๆญๆพ"็้ฃๅผ ๅกๅบ็ฐ โโ ๅ จ้จ้ฝๆพ็คบๅฐฑๅคฑๅปไบๆ ่ฎฐ็ๆไนใ */ | |
| .eq { display: none; align-items: flex-end; gap: 2px; height: 10px; flex: none; } | |
| .card[aria-current="true"] .eq { display: inline-flex; } | |
| .eq i { width: 2px; border-radius: 1px; background: var(--art); height: 30%; } | |
| body[data-playing="1"] .card[aria-current="true"] .eq i { | |
| animation: eqBounce .85s var(--ease-inout) infinite alternate; | |
| } | |
| .eq i:nth-child(1) { animation-delay: 0s; } | |
| .eq i:nth-child(2) { animation-delay: .19s; height: 100%; } | |
| .eq i:nth-child(3) { animation-delay: .38s; height: 60%; } | |
| @keyframes eqBounce { from { height: 25%; } to { height: 100%; } } | |
| /* โโ ๅไฝ้กต โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| /* ๅๆ ๅธๅฑ้ๅฎไธบ่งๅฃ้ซๅบฆ๏ผๅทฆๆ ๏ผ่กจๅ๏ผไฟๆๅบๅฎ๏ผๅณๆ ๏ผไฝๅ๏ผๅ ้จๆปๅจ๏ผ | |
| ่ฟๆ ท็ๆๅพๅคไฝๅๆถไธไผๆใๅผๅงๅไฝใๆ้ฎไธ็ดๅไธ้กถใ */ | |
| #view-create.on { height: 100%; } | |
| .studio { | |
| display: grid; | |
| grid-template-columns: minmax(380px, 460px) 1fr; | |
| gap: 0; | |
| height: 100%; | |
| min-height: 0; | |
| } | |
| .compose { | |
| padding: var(--s10) var(--s8) var(--s14); | |
| border-right: 1px solid var(--rule); | |
| display: flex; flex-direction: column; gap: var(--s5); | |
| min-width: 0; min-height: 0; | |
| overflow-y: auto; | |
| } | |
| .session { | |
| padding: var(--s10) var(--s8) var(--s14); | |
| min-width: 0; min-height: 0; | |
| overflow-y: auto; | |
| } | |
| /* ๅณๆ ๅ ้จๆปๅจๆถ๏ผๆตฎๅจๆญๆพๆกไผ็ไฝๆๅไธๅผ ๅก็๏ผๆญๆพไธญ้ขๅค็ๅบๅ็ฉบ */ | |
| body[data-playing] .session { | |
| padding-bottom: calc(var(--s14) + var(--player-h) + var(--player-inset) * 2); | |
| } | |
| .tabs { | |
| display: flex; gap: 2px; | |
| position: relative; | |
| border-bottom: 1px solid var(--rule); | |
| margin-bottom: var(--s2); | |
| } | |
| .tab { | |
| padding: 10px 14px 13px; | |
| font-size: var(--fs-ui); font-weight: var(--fw-medium); | |
| color: var(--ink-3); | |
| position: relative; | |
| white-space: nowrap; | |
| transition: color var(--d-micro) var(--ease); | |
| } | |
| .tab:hover { color: var(--ink-2); } | |
| .tab[aria-selected="true"] { color: var(--ink); font-weight: var(--fw-semi); } | |
| .tab-ink { | |
| position: absolute; bottom: -1px; height: 2px; | |
| background: var(--ink); | |
| border-radius: 2px 2px 0 0; | |
| transition: left var(--d-base) var(--ease), width var(--d-base) var(--ease); | |
| } | |
| .field { display: flex; flex-direction: column; gap: var(--s3); } | |
| .field-label { | |
| display: flex; align-items: baseline; gap: var(--s2); | |
| font-size: var(--fs-meta); font-weight: var(--fw-semi); | |
| } | |
| .field-label .req { color: var(--bronze); font-size: 11px; font-weight: var(--fw-semi); } | |
| .field-label .opt { color: var(--ink-4); font-size: 11px; font-weight: var(--fw-regular); } | |
| .field-note { font-size: 12px; color: var(--ink-3); line-height: 1.55; } | |
| .field-note[hidden] { display: none; } | |
| /* 13. ็บฏ้ณไนๅผๅ ณ่ดดๅจๆญ่ฏๆ ็ญพ่กๅณ็ซฏ */ | |
| .switch-inline { | |
| margin-left: auto; | |
| flex-direction: row-reverse; | |
| gap: 7px; | |
| font-size: 12.5px; | |
| color: var(--ink-3); | |
| } | |
| .switch-inline[hidden] { display: none; } | |
| .switch-inline i { width: 30px; height: 18px; } | |
| .switch-inline i::after { width: 12px; height: 12px; } | |
| .switch-inline input:checked + i::after { transform: translateX(12px); } | |
| /* ็บฏ้ณไน้ๅฎๆ็ๆญ่ฏๆก๏ผๆ็กฎ"่ฟ้ไธ็จๅกซ"๏ผ่ไธๆฏ็่ตทๆฅๅไบ */ | |
| .textarea.locked { | |
| background: var(--field-sunk); | |
| color: var(--ink-3); | |
| cursor: default; | |
| min-height: 64px; | |
| font-family: var(--font-mono); | |
| font-size: 13px; | |
| } | |
| /* 14. ่ฝๅไป็ป */ | |
| .cap-about { | |
| font-size: var(--fs-meta); | |
| color: var(--ink-2); | |
| line-height: 1.6; | |
| margin-top: calc(var(--s2) * -1); | |
| } | |
| /* 16. ๅ็ select ๅๅนณๅฐๆ ทๅผๅทฎๅซๅพๅคง๏ผ่ชๅทฑ็ป็ฎญๅคดไธๅคๆก */ | |
| .sel-wrap label { | |
| display: block; | |
| font-size: 12px; color: var(--ink-3); | |
| margin-bottom: 6px; | |
| } | |
| .select { position: relative; display: block; } | |
| .select select { | |
| -webkit-appearance: none; appearance: none; | |
| width: 100%; height: 40px; | |
| padding: 0 36px 0 13px; | |
| border: 0; border-radius: var(--r-lg); | |
| background: var(--paper); | |
| box-shadow: inset 0 0 0 1px var(--rule); | |
| font-size: var(--fs-ui); font-weight: var(--fw-medium); | |
| color: var(--ink); | |
| outline: none; cursor: pointer; | |
| transition: box-shadow var(--d-base) var(--ease); | |
| } | |
| .select select:hover { box-shadow: inset 0 0 0 1px var(--rule-strong); } | |
| .select select:focus-visible { box-shadow: inset 0 0 0 1.5px var(--ink); outline: none; } | |
| .select > svg { | |
| position: absolute; right: 12px; top: 50%; | |
| transform: translateY(-50%); | |
| color: var(--ink-3); pointer-events: none; | |
| } | |
| .input, .textarea { | |
| width: 100%; | |
| background: var(--paper); | |
| box-shadow: inset 0 0 0 1px var(--rule); | |
| border: 0; border-radius: var(--r-lg); | |
| padding: 12px 14px; | |
| font-size: var(--fs-ui); color: var(--ink); | |
| outline: none; | |
| transition: box-shadow var(--d-base) var(--ease); | |
| } | |
| .textarea { min-height: 96px; line-height: 1.75; resize: vertical; } | |
| .textarea.lyrics { min-height: 168px; font-variant-numeric: tabular-nums; } | |
| .input:focus, .textarea:focus { box-shadow: inset 0 0 0 1.5px var(--ink); } | |
| .input::placeholder, .textarea::placeholder { color: var(--ink-4); } | |
| .textarea:disabled { background: var(--field-sunk); color: var(--ink-4); } | |
| .dropzone { | |
| display: flex; align-items: center; gap: var(--s4); | |
| padding: var(--s4); | |
| border-radius: var(--r-lg); | |
| background: var(--paper); | |
| box-shadow: inset 0 0 0 1.5px var(--rule); | |
| cursor: pointer; | |
| transition: var(--d-base) var(--ease); | |
| text-align: left; | |
| width: 100%; | |
| } | |
| .dropzone:hover, .dropzone.over { box-shadow: inset 0 0 0 1.5px var(--ink); } | |
| .dropzone .icon { color: var(--ink-2); } | |
| .dropzone b { display: block; font-size: var(--fs-meta); font-weight: var(--fw-semi); } | |
| .dropzone small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; } | |
| .dropzone.filled { box-shadow: inset 0 0 0 1.5px var(--ok); } | |
| .dropzone.filled .icon { color: var(--ok); } | |
| .disclosure { | |
| display: flex; align-items: center; justify-content: space-between; | |
| width: 100%; padding: 8px 2px; | |
| font-size: var(--fs-meta); font-weight: var(--fw-semi); | |
| color: var(--ink-2); | |
| } | |
| .disclosure:hover { color: var(--ink); } | |
| .disclosure .icon-sm { transition: transform var(--d-base) var(--ease); color: var(--ink-4); } | |
| .disclosure[aria-expanded="true"] .icon-sm { transform: rotate(180deg); } | |
| .adv { display: flex; flex-direction: column; gap: var(--s4); padding-top: var(--s2); } | |
| .adv[hidden] { display: none; } | |
| .adv-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); } | |
| .adv-row label { font-size: 12px; color: var(--ink-3); display: block; margin-bottom: 5px; } | |
| .compose-foot { | |
| margin-top: auto; padding-top: var(--s5); | |
| display: flex; flex-direction: column; gap: var(--s3); | |
| } | |
| .quota { font-size: 12px; color: var(--ink-3); text-align: center; } | |
| /* ไปปๅกๅก */ | |
| .task { | |
| background: var(--paper); | |
| border-radius: var(--r-lg); | |
| box-shadow: var(--sh-1); | |
| padding: var(--s4) var(--s5); | |
| display: flex; align-items: center; gap: var(--s4); | |
| } | |
| .task + .task, .task + .card-row { margin-top: var(--s3); } | |
| .task-body { min-width: 0; flex: 1; } | |
| .task-body b { display: block; font-size: var(--fs-ui); font-weight: var(--fw-semi); } | |
| .task-body small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; } | |
| .badge { | |
| display: inline-flex; align-items: center; gap: 6px; | |
| font-size: 11px; font-weight: var(--fw-semi); | |
| padding: 4px 10px; border-radius: var(--r-pill); | |
| background: var(--field-sunk); color: var(--ink-3); | |
| white-space: nowrap; | |
| } | |
| .badge.run { background: var(--bronze-wash); color: var(--bronze); } | |
| .badge.ok { background: var(--ok-wash); color: var(--ok); } | |
| .badge.err { background: var(--err-wash); color: var(--err); } | |
| .badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; } | |
| .badge.run .dot { animation: pulseDot 1.4s var(--ease-inout) infinite; } | |
| @keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: .3; } } | |
| /* ไผ่ฏๅ ็ปๆ่ก */ | |
| .card-row { | |
| display: flex; align-items: center; gap: var(--s4); | |
| background: var(--paper); border-radius: var(--r-lg); | |
| box-shadow: var(--sh-1); padding: 10px var(--s4) 10px 10px; | |
| width: 100%; text-align: left; | |
| transition: box-shadow var(--d-base) var(--ease); | |
| } | |
| .card-row:hover { box-shadow: var(--sh-2); } | |
| .card-row img { width: 52px; height: 52px; border-radius: var(--r-sm); flex: none; object-fit: cover; } | |
| .card-row .m { min-width: 0; flex: 1; } | |
| .card-row .m b { display: block; font-size: var(--fs-ui); font-weight: var(--fw-semi); | |
| overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .card-row .m small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; } | |
| /* โโ ็ญ้่ก โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: var(--s6) 0 var(--s6); } | |
| /* ๅฟ ้กป inline-flex๏ผbase.css ้ svg{display:block}๏ผ | |
| ไธ่ฟๆ ทๅๅพๆ ไผๆๆๅญๆคๅฐ็ฌฌไบ่ก๏ผๆฒ็ฎๆฐ้ฃไธๆ ผๅ ๆญคๆฏๅซ็้ซ 15px๏ผใ */ | |
| .filter { | |
| display: inline-flex; align-items: center; gap: 6px; | |
| height: 34px; padding: 0 13px; | |
| font-size: var(--fs-meta); font-weight: var(--fw-medium); | |
| color: var(--ink-3); | |
| border-radius: var(--r-pill); | |
| white-space: nowrap; | |
| transition: var(--d-micro) var(--ease); | |
| } | |
| .filters-end { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; } | |
| .filter:hover { color: var(--ink); background: var(--field-hover); } | |
| .filter[aria-pressed="true"] { background: var(--ink); color: var(--ink-on-dark); } | |
| /* โโ ็ฉบๆ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .empty { | |
| display: flex; flex-direction: column; align-items: center; justify-content: center; | |
| text-align: center; padding: var(--s16) var(--s6); gap: var(--s2); | |
| } | |
| .empty-ico { | |
| width: 54px; height: 54px; border-radius: 50%; | |
| background: var(--field-sunk); color: var(--ink-4); | |
| display: grid; place-items: center; margin-bottom: var(--s4); | |
| } | |
| .empty h3 { font-size: var(--fs-h3); font-weight: var(--fw-semi); letter-spacing: -.014em; } | |
| .empty p { font-size: var(--fs-meta); color: var(--ink-3); } | |
| .empty .btn { margin-top: var(--s5); } | |
| /* โโ Toast โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| .toasts { | |
| position: fixed; left: 50%; transform: translateX(-50%); | |
| bottom: calc(var(--player-h) + var(--player-inset) * 2 + 8px); | |
| z-index: var(--z-toast); | |
| display: flex; flex-direction: column-reverse; align-items: center; gap: var(--s2); | |
| pointer-events: none; | |
| } | |
| .toast { | |
| background: var(--ink); color: var(--ink-on-dark); | |
| font-size: var(--fs-meta); font-weight: var(--fw-medium); | |
| padding: 10px 18px; border-radius: var(--r-pill); | |
| box-shadow: var(--sh-3); | |
| animation: toastIn var(--d-base) var(--ease); | |
| max-width: min(90vw, 460px); text-align: center; | |
| } | |
| .toast.leaving { animation: toastOut var(--d-base) var(--ease) forwards; } | |
| @keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } } | |
| @keyframes toastOut { to { opacity: 0; transform: translateY(6px) scale(.98); } } | |
| /* โโ ้ณ็ฌฆ็ฒๅญๅฑ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| #notes { | |
| position: fixed; inset: 0; | |
| pointer-events: none; | |
| z-index: var(--z-notes); | |
| } | |
| /* โโ ้ฆ้กต hero โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ | |
| ๆ ่ฏญไธ่พๅ ฅๆกๅจ่ง่งไธญๅฟ**ๅไธ**๏ผ็บฆ 38% ้ซๅบฆ๏ผ๏ผไธๆฏๅ็ดๅฑ ไธญ โโ | |
| ๅฑ ไธญไผ่ฎฉไธๆน็ฒพ้ๅบๅฎๅ จ็ไธๅฐ๏ผๅคฑๅป"ๅพไธ่ฟๆไธ่ฅฟ"็ๆ็คบใ */ | |
| .home .hero { text-align: center; padding-top: var(--s10); } | |
| .hero-slogan { | |
| /* ๅบๅฎ่ฑๆ๏ผไธ้็้ข่ฏญ่จๅ โโ ่ฟๆฏๅ็่ฏญใ | |
| "Make your ideas" ็จ่พ็ป็ๅญ้๏ผๅชๆ sing ๆฏ้้่ฒ็ๆไฝ่กฌ็บฟใ */ | |
| font-size: var(--fs-display); | |
| font-weight: 450; | |
| letter-spacing: var(--tr-display); | |
| line-height: var(--lh-tight); | |
| color: var(--ink); | |
| } | |
| .hero-slogan em { | |
| font-family: var(--font-flourish); | |
| font-style: italic; | |
| font-weight: 400; | |
| color: var(--bronze); | |
| letter-spacing: -.01em; | |
| } | |
| .home .promptbox { | |
| max-width: 640px; | |
| margin: var(--s10) auto 0; | |
| } | |
| .home .recipes { max-width: 640px; margin-left: auto; margin-right: auto; justify-content: center; } | |
| .home .sec-head { margin-top: var(--s16); } | |
| @media (max-width: 700px) { | |
| .home .hero { padding-top: var(--s4); } | |
| .hero-slogan { font-size: clamp(30px, 9vw, 42px); } | |
| .home .promptbox { margin-top: var(--s8); } | |
| } | |
| /* โโ ๅๅบๅผ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */ | |
| @media (max-width: 1439px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } } | |
| @media (max-width: 1180px) { | |
| .app, .app[data-nav="mini"] { grid-template-columns: var(--nav-w-mini) 1fr; } | |
| .app .nav-label, .app .brand-wm { display: none; } | |
| .app .nav-item, .app .nav-sub { justify-content: center; padding: 0; width: 44px; } | |
| .app .nav-sub .ext { display: none; } | |
| .app .brand { justify-content: center; padding: 2px 0 var(--s5); } | |
| .app .lang-switch { margin: var(--s2) 0 var(--s1); } | |
| .app .lang-switch button[aria-pressed="true"] { display: none; } | |
| .nav-collapse { display: none ; } | |
| .studio { grid-template-columns: 1fr; height: auto; min-height: 100%; } | |
| #view-create.on { height: auto; } | |
| .compose, .session { overflow: visible; min-height: 0; } | |
| .compose { border-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: var(--s8); } | |
| .session { padding-top: var(--s8); } | |
| body[data-playing] .session { padding-bottom: var(--s8); } | |
| } | |
| @media (max-width: 900px) { | |
| .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } | |
| .wrap { padding: var(--s8) var(--s6) var(--s14); } | |
| } | |
| @media (max-width: 700px) { | |
| .app, .app[data-nav="mini"] { | |
| grid-template-columns: 1fr; | |
| grid-template-rows: 1fr auto; | |
| } | |
| .nav { | |
| grid-row: 2; flex-direction: row; align-items: center; | |
| border-right: 0; border-top: 1px solid var(--rule); | |
| padding: 6px 8px; gap: 0; | |
| padding-bottom: max(6px, env(safe-area-inset-bottom)); | |
| } | |
| .brand { display: none; } | |
| /* ่ฏญ่จๅๆขๅฟ ้กป็็ โโ ๅฆๅๆๆบไธๆฒกๆไปปไฝๅ ฅๅฃ */ | |
| .nav-foot { | |
| margin: 0; padding: 0; border-top: 0; | |
| flex: none; flex-direction: row; align-items: center; | |
| } | |
| .nav-foot .nav-sub, .nav-collapse { display: none ; } | |
| .nav-foot .lang-switch { margin: 0 0 0 4px; } | |
| .nav-foot .lang-switch button { padding: 6px 10px; } | |
| .app .nav-item { flex: 1; width: auto; height: 46px; flex-direction: column; gap: 3px; } | |
| .app .nav-item::before { display: none; } | |
| .app .nav-item::after { display: none; } | |
| .app .nav-item[aria-current="page"] { background: var(--field-hover); } | |
| .app .nav-label { display: block; font-size: 10px; } | |
| .grid, .grid[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); } | |
| .wrap { padding: var(--s6) var(--s5) var(--s10); } | |
| .compose, .session { padding: var(--s6) var(--s5); } | |
| .toasts { bottom: calc(var(--player-h) + 70px); } | |
| } | |
| /* ============================================================================= | |
| ่ชๅฎไนไธๆ cselect | |
| ๅ็ select ๅฑๅผๅ็ๅ่กจ็ฑๆไฝ็ณป็ป็ปๅถ๏ผCSS ็ฎกไธๅฐ๏ผๆไปฅ่ชๅทฑๅฎ็ฐใ | |
| ============================================================================= */ | |
| .cselect { position: relative; } | |
| .cselect-btn { | |
| display: flex; align-items: center; justify-content: space-between; gap: 8px; | |
| width: 100%; height: 40px; padding: 0 12px 0 13px; | |
| border-radius: var(--r-lg); | |
| background: var(--paper); | |
| box-shadow: inset 0 0 0 1px var(--rule); | |
| font-size: var(--fs-ui); font-weight: var(--fw-medium); | |
| color: var(--ink); text-align: left; | |
| transition: box-shadow var(--d-micro) var(--ease); | |
| } | |
| .cselect-btn:hover { box-shadow: inset 0 0 0 1px var(--rule-strong); } | |
| .cselect.open .cselect-btn { box-shadow: inset 0 0 0 1.5px var(--ink); } | |
| .cselect-btn .icon-sm { color: var(--ink-3); transition: transform var(--d-base) var(--ease); } | |
| .cselect.open .cselect-btn .icon-sm { transform: rotate(180deg); } | |
| .cselect-list { | |
| position: absolute; left: 0; right: 0; top: calc(100% + 6px); | |
| z-index: var(--z-modal); | |
| background: var(--paper); | |
| border-radius: var(--r-lg); | |
| box-shadow: var(--sh-3); | |
| padding: 5px; | |
| display: flex; flex-direction: column; gap: 1px; | |
| max-height: 240px; overflow-y: auto; | |
| animation: cselIn var(--d-fast) var(--ease); | |
| } | |
| .cselect-list[hidden] { display: none ; } | |
| @keyframes cselIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } } | |
| .cselect-list [role="option"] { | |
| display: flex; align-items: center; justify-content: space-between; gap: 8px; | |
| height: 34px; padding: 0 10px; | |
| border-radius: var(--r-sm); | |
| font-size: var(--fs-ui); color: var(--ink-2); | |
| text-align: left; | |
| transition: background var(--d-micro) var(--ease); | |
| } | |
| .cselect-list [role="option"]:hover { background: var(--field-hover); color: var(--ink); } | |
| .cselect-list [role="option"] .icon-sm { opacity: 0; color: var(--ink); } | |
| .cselect-list [role="option"][aria-selected="true"] { color: var(--ink); font-weight: var(--fw-semi); } | |
| .cselect-list [role="option"][aria-selected="true"] .icon-sm { opacity: 1; } | |
| /* ============================================================================= | |
| ็กฎ่ฎคๅผน็ช dialog | |
| ============================================================================= */ | |
| .dlg-scrim { | |
| position: fixed; inset: 0; z-index: var(--z-modal); | |
| background: var(--scrim); | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| display: grid; place-items: center; | |
| padding: var(--s5); | |
| opacity: 0; transition: opacity var(--d-base) var(--ease); | |
| } | |
| .dlg-scrim.on { opacity: 1; } | |
| .dlg { | |
| width: min(400px, 100%); | |
| background: var(--paper); | |
| border-radius: var(--r-2xl); | |
| box-shadow: var(--sh-4); | |
| padding: var(--s6); | |
| transform: scale(.96); transition: transform var(--d-base) var(--ease); | |
| } | |
| .dlg-scrim.on .dlg { transform: none; } | |
| .dlg h3 { font-size: var(--fs-h3); font-weight: var(--fw-semi); letter-spacing: -.014em; } | |
| .dlg p { font-size: var(--fs-meta); color: var(--ink-3); margin-top: 8px; line-height: 1.6; } | |
| .dlg-foot { display: flex; justify-content: flex-end; gap: var(--s2); margin-top: var(--s6); } | |
| /* ============================================================================= | |
| API Key ้ ็ฝฎ้ขๆฟ๏ผapikey.js๏ผ | |
| ============================================================================= */ | |
| /* ๆฏ็กฎ่ฎคๅผน็ชๅฎฝไธไบ๏ผ้้ขๆ่พๅ ฅๆกใ่ฏดๆๅ็ถๆ่ก๏ผ400px ไผๆคๆไธๆก */ | |
| .dlg-wide { width: min(468px, 100%); } | |
| /* ้ขๅ ่ดน้ขๅบฆ็ๅผๅฏผๆก */ | |
| .key-promo { | |
| display: flex; align-items: center; gap: var(--s3); | |
| margin-top: var(--s5); padding: 11px 13px; | |
| background: var(--field-sunk); | |
| border-radius: var(--r-md); | |
| } | |
| .key-promo-txt { font-size: var(--fs-meta); color: var(--ink-2); line-height: 1.5; } | |
| .key-promo .btn { margin-left: auto; flex: none; } | |
| .btn-sm { height: 30px; padding: 0 11px; font-size: var(--fs-meta); } | |
| .key-field { margin-top: var(--s5); } | |
| /* ็ผ็ๆ้ฎๅๅจ่พๅ ฅๆกๅณไพง๏ผ็ป input ็ๅบๅ ่พน่ทๅ ๅพๆๅญ้ปๅฐๆ้ฎไธ้ข */ | |
| .key-input-wrap { position: relative; display: block; } | |
| .key-input-wrap .input { width: 100%; padding-right: 40px; } | |
| .key-eye { | |
| position: absolute; right: 6px; top: 50%; transform: translateY(-50%); | |
| width: 28px; height: 28px; border-radius: var(--r-sm); | |
| display: grid; place-items: center; | |
| color: var(--ink-4); | |
| transition: color var(--d-micro) var(--ease), background var(--d-micro) var(--ease); | |
| } | |
| .key-eye:hover { color: var(--ink-2); background: var(--field-hover); } | |
| .key-eye.on { color: var(--ink-2); } | |
| .key-cur { font-size: var(--fs-meta); color: var(--ink-3); margin-top: var(--s3); } | |
| .key-cur code { | |
| font-family: var(--font-mono); font-size: var(--fs-micro); | |
| background: var(--field-sunk); border-radius: 5px; padding: 1px 6px; | |
| } | |
| .key-note { font-size: var(--fs-micro); color: var(--ink-4); margin-top: var(--s3); line-height: 1.55; } | |
| .key-status { | |
| font-size: var(--fs-meta); margin-top: var(--s4); | |
| padding: 9px 12px; border-radius: var(--r-sm); | |
| line-height: 1.5; | |
| } | |
| .key-status.busy { background: var(--field-sunk); color: var(--ink-3); } | |
| .key-status.ok { background: var(--ok-wash); color: var(--ok); } | |
| .key-status.err { background: var(--err-wash); color: var(--err); } | |
| /* ไพงๆ ใAPI ้ ็ฝฎใไธ็ๅฐๅ็น๏ผๆฒก้ Key ๆถๆ้ไธไธ */ | |
| .key-dot { | |
| margin-left: auto; flex: none; | |
| width: 7px; height: 7px; border-radius: 50%; | |
| background: var(--warn); | |
| } | |
| .key-dot.warn { box-shadow: 0 0 0 3px var(--warn-wash); } | |
| .app[data-nav="mini"] .key-dot { display: none; } | |
| /* ๅไฝ้กตๅบ้จ้ฃ่กๆ็คบ๏ผๆช้ ็ฝฎ Key ๆถๆ้ซไธ็นๅฏนๆฏๅบฆ */ | |
| .quota.warn { color: var(--warn); } | |
| .btn-danger { | |
| background: var(--err); color: var(--ink-on-dark); | |
| box-shadow: 0 4px 14px rgba(179, 38, 30, .22); | |
| } | |
| .btn-danger:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(179, 38, 30, .28); } | |
| /* ============================================================================= | |
| ๅก็ / ็ปๆ่กไธ็ๆไฝๆ้ฎ๏ผๅๆฌข / ไธ่ฝฝ / ๅ ้ค๏ผ | |
| ============================================================================= */ | |
| .card-acts { display: flex; align-items: center; gap: 1px; margin-left: auto; flex: none; } | |
| .card-act { | |
| width: 26px; height: 26px; border-radius: 50%; | |
| display: grid; place-items: center; | |
| color: var(--ink-4); | |
| transition: var(--d-micro) var(--ease); | |
| } | |
| .card-act:hover { color: var(--ink); background: var(--field-hover); } | |
| .card-act.liked { color: var(--art); } | |
| .card-act.danger:hover { color: var(--err); background: var(--err-wash); } | |
| .card-act .icon-sm { width: 14px; height: 14px; } | |
| /* ๅไฝ้กต็ปๆ่ก๏ผๅๆฌข/ไธ่ฝฝ/ๅ ้ค + ๆญๆพ */ | |
| .card-row { cursor: pointer; } | |
| .card-row .card-acts { margin-left: auto; } | |
| .card-row-play { | |
| width: 30px; height: 30px; border-radius: 50%; | |
| display: grid; place-items: center; flex: none; | |
| color: var(--ink-2); background: var(--field); | |
| transition: var(--d-micro) var(--ease); | |
| } | |
| .card-row:hover .card-row-play { color: var(--ink-on-dark); background: var(--ink); } | |