2 lines
10 KiB
CSS
2 lines
10 KiB
CSS
.nova-tenancy-page{--nt-primary:#7c3aed;--nt-primary-strong:#5b21b6;--nt-surface:hsla(0,0%,100%,.88);--nt-border:rgba(226,232,240,.9);--nt-muted:#64748b;display:flex;flex-direction:column;gap:1.5rem;padding-bottom:3rem}.nova-tenancy-hero{align-items:flex-end;background:radial-gradient(circle at 12% 10%,rgba(167,139,250,.48),transparent 34%),radial-gradient(circle at 88% 85%,rgba(56,189,248,.3),transparent 38%),linear-gradient(135deg,#251259,#4c1d95 48%,#172554);border:1px solid hsla(0,0%,100%,.16);border-radius:1.5rem;box-shadow:0 24px 60px rgba(49,46,129,.22);color:#fff;display:flex;gap:2rem;justify-content:space-between;min-height:15rem;overflow:hidden;padding:clamp(1.5rem,4vw,3rem);position:relative}.nova-tenancy-hero:after{background-image:linear-gradient(hsla(0,0%,100%,.04) 1px,transparent 0),linear-gradient(90deg,hsla(0,0%,100%,.04) 1px,transparent 0);background-size:32px 32px;content:"";inset:0;-webkit-mask-image:linear-gradient(180deg,#000,transparent);mask-image:linear-gradient(180deg,#000,transparent);pointer-events:none;position:absolute}.nova-tenancy-hero__glow{background:hsla(0,0%,100%,.09);border-radius:9999px;filter:blur(2px);height:22rem;position:absolute;right:-5rem;top:-8rem;width:22rem}.nova-tenancy-current,.nova-tenancy-hero__content{position:relative;z-index:1}.nova-tenancy-hero__content{max-width:42rem}.nova-tenancy-kicker{color:#c4b5fd;font-size:.72rem;font-weight:800;letter-spacing:.16em;margin:0 0 .65rem;text-transform:uppercase}.nova-tenancy-title{font-size:clamp(2rem,5vw,3.5rem);font-weight:750;letter-spacing:-.045em;line-height:1;margin:0}.nova-tenancy-description{color:rgba(237,233,254,.82);font-size:1rem;line-height:1.7;margin:1rem 0 0;max-width:35rem}.nova-tenancy-current{align-items:center;backdrop-filter:blur(14px);background:hsla(0,0%,100%,.1);border:1px solid hsla(0,0%,100%,.16);border-radius:1rem;display:flex;gap:.8rem;min-width:min(100%,17rem);padding:.8rem}.nova-tenancy-card__logo,.nova-tenancy-current__logo{border-radius:.9rem;display:grid;flex:none;font-weight:800;overflow:hidden;place-items:center}.nova-tenancy-current__logo{background:#fff;color:#4c1d95;height:3rem;width:3rem}.nova-tenancy-card__logo img,.nova-tenancy-current__logo img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.nova-tenancy-current__copy{display:flex;flex:1;flex-direction:column;min-width:0}.nova-tenancy-current__copy span{color:rgba(237,233,254,.7);font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.nova-tenancy-current__copy strong{margin-top:.15rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nova-tenancy-pulse{background:#34d399;border:2px solid hsla(0,0%,100%,.8);border-radius:9999px;box-shadow:0 0 0 4px rgba(52,211,153,.2);height:.55rem;width:.55rem}.nova-tenancy-toolbar{align-items:center;display:flex;gap:1rem}.nova-tenancy-search{align-items:center;background:var(--nt-surface);border:1px solid var(--nt-border);border-radius:.9rem;box-shadow:0 4px 18px rgba(15,23,42,.04);display:flex;flex:1;gap:.75rem;max-width:34rem;min-width:0;padding-inline:1rem;transition:border-color .16s,box-shadow .16s}.nova-tenancy-search:focus-within{border-color:rgba(124,58,237,.55);box-shadow:0 0 0 3px rgba(124,58,237,.12)}.nova-tenancy-search svg{fill:none;stroke:var(--nt-muted);stroke-linecap:round;stroke-width:1.8;width:1.2rem}.nova-tenancy-search input{background:transparent;border:0;color:#0f172a;outline:0;padding:.85rem 0;width:100%}.nova-tenancy-count{background:#ede9fe;border-radius:9999px;color:var(--nt-primary-strong);display:grid;font-size:.78rem;font-weight:800;height:2.5rem;min-width:2.5rem;place-items:center}.nova-tenancy-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,16rem),1fr))}.nova-tenancy-card{--tenant-accent:#7c3aed;background:var(--nt-surface);border:1px solid var(--nt-border);border-radius:1.25rem;box-shadow:0 10px 32px rgba(15,23,42,.055);display:flex;flex-direction:column;min-height:17rem;overflow:hidden;padding:1.25rem;position:relative;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.nova-tenancy-card:hover{border-color:color-mix(in srgb,var(--tenant-accent) 42%,transparent);box-shadow:0 18px 42px rgba(15,23,42,.1);transform:translateY(-3px)}.nova-tenancy-card--selected{border-color:color-mix(in srgb,var(--tenant-accent) 70%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--tenant-accent) 16%,transparent),0 18px 42px rgba(15,23,42,.09)}.nova-tenancy-card__accent{background:linear-gradient(90deg,var(--tenant-accent),color-mix(in srgb,var(--tenant-accent) 25%,#fff));height:.26rem;inset:0 0 auto;position:absolute}.nova-tenancy-card__header{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between}.nova-tenancy-card__logo{background:color-mix(in srgb,var(--tenant-accent) 11%,#fff);color:var(--tenant-accent);font-size:1.35rem;height:4rem;width:4rem}.nova-tenancy-badge{background:color-mix(in srgb,var(--tenant-accent) 10%,#fff);border-radius:9999px;color:var(--tenant-accent);font-size:.68rem;font-weight:800;padding:.35rem .65rem}.nova-tenancy-check{background:var(--tenant-accent);border-radius:9999px;color:#fff;display:grid;height:1.8rem;place-items:center;width:1.8rem}.nova-tenancy-check svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:1rem}.nova-tenancy-card__body{flex:1;padding-block:1.2rem}.nova-tenancy-card__body h2{color:#0f172a;font-size:1.05rem;font-weight:750;line-height:1.4;margin:0}.nova-tenancy-card__body p{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--nt-muted);display:-webkit-box;font-size:.84rem;line-height:1.6;margin:.55rem 0 0;overflow:hidden}.nova-tenancy-card__body .nova-tenancy-card__key{color:color-mix(in srgb,var(--tenant-accent) 68%,#64748b);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.nova-tenancy-button,.nova-tenancy-pagination button,.nova-tenancy-select{align-items:center;border:0;border-radius:.75rem;cursor:pointer;display:inline-flex;font-weight:750;gap:.55rem;justify-content:center;transition:transform .15s,background-color .15s,opacity .15s}.nova-tenancy-select{background:var(--tenant-accent);color:#fff;min-height:2.7rem;width:100%}.nova-tenancy-button:hover,.nova-tenancy-pagination button:not(:disabled):hover,.nova-tenancy-select:not(:disabled):hover{transform:translateY(-1px)}.nova-tenancy-select--selected{background:color-mix(in srgb,var(--tenant-accent) 10%,#fff);color:var(--tenant-accent)}.nova-tenancy-pagination button:disabled,.nova-tenancy-select:disabled{cursor:default;opacity:.72}.nova-tenancy-select svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:1rem}.nova-tenancy-spinner{animation:nova-tenancy-spin .65s linear infinite;border:2px solid hsla(0,0%,100%,.4);border-radius:9999px;border-top-color:#fff;height:1rem;width:1rem}.nova-tenancy-card--skeleton{gap:1.3rem;pointer-events:none}.nova-tenancy-card--skeleton span{animation:nova-tenancy-shimmer 1.4s ease infinite;background:linear-gradient(90deg,#f1f5f9,#e2e8f0,#f1f5f9);background-size:220% 100%;border-radius:9999px;display:block;height:1rem}.nova-tenancy-card--skeleton span:first-child{border-radius:1rem;height:4rem;width:4rem}.nova-tenancy-card--skeleton span:nth-child(2){width:70%}.nova-tenancy-card--skeleton span:nth-child(3){width:45%}.nova-tenancy-state{align-items:center;background:var(--nt-surface);border:1px dashed var(--nt-border);border-radius:1.25rem;display:flex;flex-direction:column;justify-content:center;min-height:18rem;padding:2rem;text-align:center}.nova-tenancy-state__icon{background:#ffe4e6;border-radius:1rem;color:#be123c;display:grid;font-size:1.5rem;font-weight:800;height:3.5rem;place-items:center;width:3.5rem}.nova-tenancy-state__icon--empty{background:#ede9fe;color:var(--nt-primary)}.nova-tenancy-state__icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5;width:1.8rem}.nova-tenancy-state h2{color:#0f172a;font-size:1.1rem;margin:1rem 0 0}.nova-tenancy-state p{color:var(--nt-muted);margin:.5rem 0 0;max-width:28rem}.nova-tenancy-button{background:var(--nt-primary);color:#fff;margin-top:1rem;padding:.65rem 1rem}.nova-tenancy-pagination{align-items:center;display:flex;gap:.8rem;justify-content:center}.nova-tenancy-pagination button{background:var(--nt-surface);border:1px solid var(--nt-border);color:#334155;padding:.55rem .9rem}.nova-tenancy-pagination span{color:var(--nt-muted);font-size:.8rem;font-weight:700}.nova-tenancy-brand{align-items:center;background:transparent;border:0;color:#334155;cursor:pointer;display:flex;gap:.65rem;max-width:13.5rem;min-width:0;padding:0}.nova-tenancy-brand__logo{border-radius:.7rem;box-shadow:0 3px 12px rgba(15,23,42,.12);flex:none;height:2.5rem;-o-object-fit:cover;object-fit:cover;width:2.5rem}.nova-tenancy-brand__title{font-size:.86rem;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nova-tenancy-brand:focus-visible,.nova-tenancy-button:focus-visible,.nova-tenancy-pagination button:focus-visible,.nova-tenancy-select:focus-visible{outline:2px solid var(--nt-primary);outline-offset:3px}.nova-tenancy-sr-only{clip:rect(0,0,0,0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.dark .nova-tenancy-page{--nt-surface:rgba(30,41,59,.84);--nt-border:rgba(71,85,105,.72);--nt-muted:#94a3b8}.dark .nova-tenancy-brand,.dark .nova-tenancy-card__body h2,.dark .nova-tenancy-pagination button,.dark .nova-tenancy-search input,.dark .nova-tenancy-state h2{color:#f8fafc}.dark .nova-tenancy-count,.dark .nova-tenancy-state__icon--empty{background:rgba(91,33,182,.3);color:#c4b5fd}.dark .nova-tenancy-badge,.dark .nova-tenancy-card__logo,.dark .nova-tenancy-select--selected{background:color-mix(in srgb,var(--tenant-accent) 22%,#0f172a)}.dark .nova-tenancy-card--skeleton span{background:linear-gradient(90deg,#1e293b,#334155,#1e293b);background-size:220% 100%}@media (max-width:700px){.nova-tenancy-hero{align-items:stretch;flex-direction:column}.nova-tenancy-current{width:100%}.nova-tenancy-brand__title{display:none}}@media (prefers-reduced-motion:reduce){.nova-tenancy-button,.nova-tenancy-card,.nova-tenancy-pagination button,.nova-tenancy-select{transition:none}.nova-tenancy-card--skeleton span,.nova-tenancy-spinner{animation:none}}@keyframes nova-tenancy-spin{to{transform:rotate(1turn)}}@keyframes nova-tenancy-shimmer{to{background-position:-220% 0}}
|