@react-spectrum/s2
Version:
Spectrum 2 UI components in React
676 lines (516 loc) • 12.8 kB
CSS
@layer _.a {
._Le1 {
outline-style: none;
}
._Lf1 {
outline-style: solid;
}
.Oh1 {
outline-color: var(--lightningcss-light, #4b75ff) var(--lightningcss-dark, #4069fd);
}
.Oe1 {
outline-color: lch(from var(--s2-container-bg) calc((49.44 - l) * infinity) 0 0 / 1);
}
._Mc1 {
outline-width: 2px;
}
._Kd1 {
outline-offset: 2px;
}
.-Ovbhqd-g4hn3s1 {
--s2-container-bg: white;
}
.-Ovbhqd-gcwrnr1 {
--s2-container-bg: black;
}
.uk1 {
font-family: var(--s2-font-family-sans, adobe-clean-spectrum-vf), adobe-clean-variable, adobe-clean, ui-sans-serif, system-ui, sans-serif;
font-family: var(--s2-font-family-sans, adobe-clean-spectrum-vf), adobe-clean-variable, adobe-clean, ui-sans-serif, system-ui, sans-serif;
font-family: var(--s2-font-family-sans, adobe-clean-spectrum-vf), adobe-clean-variable, adobe-clean, ui-sans-serif, system-ui, sans-serif;
font-family: var(--s2-font-family-sans, adobe-clean-spectrum-vf), adobe-clean-variable, adobe-clean, ui-sans-serif, system-ui, sans-serif;
font-family: var(--s2-font-family-sans, adobe-clean-spectrum-vf), adobe-clean-variable, adobe-clean, ui-sans-serif, system-ui, sans-serif;
}
.-_6BNtrc-c1 {
--fs: pow(1.125, 0);
}
.-_6BNtrc-a1 {
--fs: pow(1.125, -2);
}
.-_6BNtrc-b1 {
--fs: pow(1.125, -1);
}
.-_6BNtrc-d1 {
--fs: pow(1.125, 1);
}
.-_6BNtrc-e1 {
--fs: pow(1.125, 2);
}
.vx1 {
font-size: round(var(--s2-font-size-base, 14) * var(--fs) / 16 * 1rem, 1px);
}
.xc1 {
font-weight: 500;
}
._xa1 {
font-synthesis-weight: none;
}
._Fd1 {
line-height: round(1em * (1.15 + (1 - ((min(32, var(--s2-font-size-base, 14) * var(--fs)) - 10)) / 22) * .15), 2px);
line-height: round(1em * (1.15 + (1 - ((min(32, var(--s2-font-size-base, 14) * var(--fs)) - 10)) / 22) * .15), 2px);
line-height: round(1em * (1.15 + (1 - ((min(32, var(--s2-font-size-base, 14) * var(--fs)) - 10)) / 22) * .15), 2px);
line-height: round(1em * (1.15 + (1 - ((min(32, var(--s2-font-size-base, 14) * var(--fs)) - 10)) / 22) * .15), 2px);
line-height: round(1em * (1.15 + (1 - ((min(32, var(--s2-font-size-base, 14) * var(--fs)) - 10)) / 22) * .15), 2px);
}
.pt1 {
color: var(--lightningcss-light, #292929) var(--lightningcss-dark, #dbdbdb);
}
.po1 {
color: var(--lightningcss-light, #131313) var(--lightningcss-dark, #f2f2f2);
}
.pr1 {
color: var(--lightningcss-light, #fff) var(--lightningcss-dark, #111);
}
.px1 {
color: #fff;
}
.pp1 {
color: var(--lightningcss-light, #c6c6c6) var(--lightningcss-dark, #444);
}
.pj1 {
color: lch(from var(--s2-container-bg) calc((49.44 - l) * infinity) 0 0 / .85);
}
.pk1 {
color: lch(from var(--s2-container-bg) calc((49.44 - l) * infinity) 0 0 / .94);
}
.ph1 {
color: lch(from var(--g, var(--s2-container-bg)) calc((49.44 - l) * infinity) 0 0 / 1);
}
.pi1 {
color: lch(from var(--s2-container-bg) calc((49.44 - l) * infinity) 0 0 / .21);
}
.se1 {
display: grid;
}
.eb1 {
align-items: center;
}
._oa1 {
box-sizing: border-box;
}
.Sv1 {
padding-inline-start: calc(var(--F, var(--M)) * 3 / 8);
}
.Rv1 {
padding-inline-end: calc(var(--F, var(--M)) * 3 / 8);
}
.Nk1 {
min-width: calc(2rem * var(--s2-scale));
}
.Ne1 {
min-width: calc(1.25rem * var(--s2-scale));
}
.Nf1 {
min-width: calc(1.5rem * var(--s2-scale));
}
.Nj1 {
min-width: calc(2.5rem * var(--s2-scale));
}
.Nl1 {
min-width: calc(3rem * var(--s2-scale));
}
.-SFnbic-_Jb1 {
--size: 1;
}
.-SFnbic-_JICefdd1 {
--size: .790123;
}
.-SFnbic-_JJOW22b1 {
--size: .888889;
}
.-SFnbic-_J0K2hn1 {
--size: 1.125;
}
.-SFnbic-_JaP8ec1 {
--size: 1.26563;
}
.-Bu7z1c-ob1 {
--radius: .5rem;
}
.oj1 {
border-start-start-radius: round(var(--radius) * var(--size), 1px);
}
.od1 {
border-start-start-radius: 0;
}
.nj1 {
border-start-end-radius: round(var(--radius) * var(--size), 1px);
}
.nd1 {
border-start-end-radius: 0;
}
.kj1 {
border-end-start-radius: round(var(--radius) * var(--size), 1px);
}
.kd1 {
border-end-start-radius: 0;
}
.jj1 {
border-end-end-radius: round(var(--radius) * var(--size), 1px);
}
.jd1 {
border-end-end-radius: 0;
}
.qc1 {
column-gap: .428571em;
}
.-Qg41Lb-IAxCW0c1 {
--iconMargin: -.142857em;
}
.FRuFGYc1 {
height: var(--F);
}
._Ca1 {
justify-content: center;
}
._vb1 {
flex-shrink: 1;
}
._va1 {
flex-shrink: 0;
}
._ub1 {
flex-grow: 1;
}
._sb1 {
flex-basis: 0;
}
.ZJ1 {
width: fit-content;
}
._4c1 {
-webkit-user-select: none;
user-select: none;
}
.Yd1 {
transition-property: color, background-color, var(--gp, color), border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, translate, scale, rotate, filter, backdrop-filter;
}
.Xb1 {
transition-duration: .15s;
}
._2b1 {
transition-timing-function: cubic-bezier(.45, 0, .4, 1);
}
._yb1 {
forced-color-adjust: none;
}
._Pc1 {
position: relative;
}
.CjpxCZ1 {
grid-template-areas: "icon text";
}
.DZQmDFe1 {
grid-template-columns: auto auto;
}
.gqMFGYc1 {
background-color: var(--g);
}
.-_8sjo0b-t5ZbAob1 {
--iconPrimary: currentColor;
}
._je1 {
border-style: none;
}
._9d1 {
z-index: 2;
}
.__ca1 {
-webkit-tap-highlight-color: #0000;
}
.-B5H9Ae-WXN7eQb1 {
--badgeTop: calc(var(--F) / 2 - var(--iconWidth) / 2);
}
.-SqFa4c-ZuUmpre1 {
--iconWidth: 1.42857em;
}
.-dcAs1c-ZaP94G1 {
--badgePosition: var(--iconWidth);
}
.-F_-Fx1 {
--F: calc(2rem * var(--s2-scale));
}
.-F_-Fn1 {
--F: calc(1.25rem * var(--s2-scale));
}
.-F_-Fp1 {
--F: calc(1.5rem * var(--s2-scale));
}
.-F_-Fv1 {
--F: calc(2.5rem * var(--s2-scale));
}
.-F_-Fz1 {
--F: calc(3rem * var(--s2-scale));
}
.-g_-gF1 {
--g: var(--lightningcss-light, #e1e1e1) var(--lightningcss-dark, #323232);
}
.-g_-g01 {
--g: var(--lightningcss-light, #292929) var(--lightningcss-dark, #dbdbdb);
}
.-g_-gu1 {
--g: var(--lightningcss-light, #131313) var(--lightningcss-dark, #f2f2f2);
}
.-g_-g5qAiPc1 {
--g: var(--lightningcss-light, #3b63fb) var(--lightningcss-dark, #345bf8);
}
.-g_-gUgARdd1 {
--g: var(--lightningcss-light, #274dea) var(--lightningcss-dark, #2549e5);
}
.-g_-gH1 {
--g: var(--lightningcss-light, #e9e9e9) var(--lightningcss-dark, #2c2c2c);
}
.-g_-gg1 {
--g: lch(from var(--s2-container-bg) calc((49.44 - l) * infinity) 0 0 / .14);
}
.-g_-gi1 {
--g: lch(from var(--s2-container-bg) calc((49.44 - l) * infinity) 0 0 / .85);
}
.-g_-gj1 {
--g: lch(from var(--s2-container-bg) calc((49.44 - l) * infinity) 0 0 / .94);
}
.-g_-gf1 {
--g: lch(from var(--s2-container-bg) calc((49.44 - l) * infinity) 0 0 / .11);
}
.-g_-g91 {
--g: transparent;
}
.zYoLErc1 {
grid-column-start: text;
}
.yYoLErc1 {
grid-column-end: text;
}
.BYoLErc1 {
grid-row-start: text;
}
.AYoLErc1 {
grid-row-end: text;
}
._Nc1 {
overflow-x: hidden;
}
.Pc1 {
overflow-y: hidden;
}
._Yb1 {
text-overflow: ellipsis;
}
._7c1 {
white-space: nowrap;
}
.ZuUmpre1 {
width: 1.42857em;
}
.FuUmpre1 {
height: 1.42857em;
}
.I67logd1 {
margin-inline-start: var(--iconMargin);
}
.z2U5Crc1 {
grid-column-start: icon;
}
.y2U5Crc1 {
grid-column-end: icon;
}
.B2U5Crc1 {
grid-row-start: icon;
}
.A2U5Crc1 {
grid-row-end: icon;
}
.WtedXZc1 {
top: var(--badgeTop);
}
.JlZStSb1 {
margin-top: calc((var(--F) * -1) / 2);
}
.Ijgro3c1 {
margin-inline-start: calc(var(--iconMargin) * 2 + (var(--F) * -1) / 4);
}
.z2mU1 {
grid-column-start: 1;
}
._A1IiWH1 {
inset-inline-start: var(--badgePosition);
}
._Pa1 {
position: absolute;
}
.WF1 {
top: 50%;
}
._EF1 {
left: 50%;
}
._Zc1 {
transform: translate(-50%, -50%);
}
._6b1 {
visibility: hidden;
}
._6c1 {
visibility: visible;
}
.Zj1 {
width: calc(.75rem * var(--s2-scale));
}
.Zk1 {
width: calc(.875rem * var(--s2-scale));
}
.Zl1 {
width: calc(1.125rem * var(--s2-scale));
}
.Zm1 {
width: calc(1.25rem * var(--s2-scale));
}
.Zo1 {
width: calc(1.5rem * var(--s2-scale));
}
.Fk1 {
height: calc(.75rem * var(--s2-scale));
}
.Fl1 {
height: calc(.875rem * var(--s2-scale));
}
.Fm1 {
height: calc(1.125rem * var(--s2-scale));
}
.Fn1 {
height: calc(1.25rem * var(--s2-scale));
}
.Fp1 {
height: calc(1.5rem * var(--s2-scale));
}
}
@layer _.b {
.ucJ9TBTb1:lang(ar) {
font-family: adobe-clean-arabic, myriad-arabic, ui-sans-serif, system-ui, sans-serif;
}
._FnuYUweb1:is(:lang(ja), :lang(ko), :lang(zh), :lang(zh-Hant), :lang(zh-Hans), :lang(zh-CN), :lang(zh-SG)) {
line-height: 1.5;
}
.SgLWx3bd1:has([slot="icon"]):not(:has([data-rsp-slot="text"])) {
padding-inline-start: 0;
}
.RgLWx3bd1:has([slot="icon"]):not(:has([data-rsp-slot="text"])) {
padding-inline-end: 0;
}
.obj1:first-child {
border-start-start-radius: round(var(--radius) * var(--size), 1px);
}
.nkj1:last-child, .nbj1:first-child {
border-start-end-radius: round(var(--radius) * var(--size), 1px);
}
.kbj1:first-child, .kkj1:last-child {
border-end-start-radius: round(var(--radius) * var(--size), 1px);
}
.jkj1:last-child {
border-end-end-radius: round(var(--radius) * var(--size), 1px);
}
.-Qg41Lb-y5UFLdIy1:has([slot="icon"], [slot="avatar"]):not(:has([data-rsp-slot="text"])) {
--iconMargin: 0rem;
}
.Cy5UFLd2sgPTb1:has([slot="icon"], [slot="avatar"]):not(:has([data-rsp-slot="text"])) {
grid-template-areas: "icon";
}
.Dy5UFLdQgYBrc1:has([slot="icon"], [slot="avatar"]):not(:has([data-rsp-slot="text"])) {
grid-template-columns: auto;
}
.-B5H9Ae-wAP22cWr1:has([data-rsp-slot="text"]):not(:has([slot="icon"], [slot="avatar"])) {
--badgeTop: 0px;
}
.-dcAs1c-wAP22cZa1:has([data-rsp-slot="text"]):not(:has([slot="icon"], [slot="avatar"])) {
--badgePosition: 100%;
}
}
@layer _.c {
.ud3Euai1:lang(he) {
font-family: adobe-clean-hebrew, myriad-hebrew, ui-sans-serif, system-ui, sans-serif;
}
.SsAUsHd1:has([slot="avatar"]):not(:has([slot="icon"], [data-rsp-slot="text"])) {
padding-inline-start: 0;
}
.RsAUsHd1:has([slot="avatar"]):not(:has([slot="icon"], [data-rsp-slot="text"])) {
padding-inline-end: 0;
}
.-Qg41Lb-sAUsHIy1:has([slot="avatar"]):not(:has([slot="icon"], [data-rsp-slot="text"])) {
--iconMargin: 0rem;
}
.CwAP22cUolIUb1:has([data-rsp-slot="text"]):not(:has([slot="icon"], [slot="avatar"])) {
grid-template-areas: "text";
}
.DwAP22cQgYBrc1:has([data-rsp-slot="text"]):not(:has([slot="icon"], [slot="avatar"])) {
grid-template-columns: auto;
}
}
@layer _.d {
.uea1:lang(ja) {
font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
}
}
@layer _.e {
.ugb1:lang(ko) {
font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
}
}
@layer _.f {
.uhd1:lang(zh) {
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
}
}
@layer _.g {
.uje1:lang(zh-hant) {
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
}
}
@layer _.h {
.u2NhKxcl1:lang(zh-HK) {
font-family: adobe-clean-han-hong-kong, source-han-hong-kong, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
}
}
@layer _.i {
.uic1:is(:lang(zh-Hans), :lang(zh-CN), :lang(zh-SG)) {
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
}
}
@layer _.b.l {
@media (forced-colors: active) {
.Olc1 {
outline-color: highlight;
}
.plb1 {
color: buttontext;
}
.ple1 {
color: highlighttext;
}
.plc1 {
color: graytext;
}
.-g_-lge1 {
--g: Highlight;
}
.-g_-lgb1 {
--g: ButtonFace;
}
}
}
@layer _.b.s {
@media not ((hover: hover) and (pointer: fine)) {
.qsd1 {
column-gap: .470588em;
}
}
}
/*# sourceMappingURL=ActionButton.css.map */