UNPKG

carbon-components

Version:

Carbon Components is a component library for IBM Cloud

2,125 lines (1,881 loc) • 256 kB
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } button, input[type='button'], input[type='submit'], input[type='reset'], input[type='file'] { border-radius: 0; } input[type='text']::-ms-clear { display: none; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } sup { vertical-align: super; } sub { vertical-align: sub; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } * { box-sizing: border-box; } /** * Generic `deprecate` mixin that is being used to indicate that a component is * no longer going to be present in the next major release of Carbon. */ @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 300; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Light-Pi.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Light-Pi.woff") format("woff"); unicode-range: "U+03C0, U+0E3F, U+2070, U+2074-2079, U+2080-2089, U+2113, U+2116, U+2126, U+212E, U+2150-2151, U+2153-215E, U+2190-2199, U+21A9-21AA, U+21B0-21B3, U+21B6-21B7, U+21BA-21BB, U+21C4, U+21C6, U+2202, U+2206, U+220F, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+2713, U+274C, U+2B0E-2B11, U+EBE1, U+EBE3-EBE4, U+EBE6-EBE7, U+ECE0, U+EFCC"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 300; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Light-Latin3.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Light-Latin3.woff") format("woff"); unicode-range: "U+0102-0103, U+1EA0-1EF9, U+20AB"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 300; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Light-Latin2.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Light-Latin2.woff") format("woff"); unicode-range: "U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 300; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Light-Latin1.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Light-Latin1.woff") format("woff"); unicode-range: "U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 400; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Regular-Pi.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Regular-Pi.woff") format("woff"); unicode-range: "U+03C0, U+0E3F, U+2070, U+2074-2079, U+2080-2089, U+2113, U+2116, U+2126, U+212E, U+2150-2151, U+2153-215E, U+2190-2199, U+21A9-21AA, U+21B0-21B3, U+21B6-21B7, U+21BA-21BB, U+21C4, U+21C6, U+2202, U+2206, U+220F, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+2713, U+274C, U+2B0E-2B11, U+EBE1, U+EBE3-EBE4, U+EBE6-EBE7, U+ECE0, U+EFCC"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 400; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Regular-Latin3.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Regular-Latin3.woff") format("woff"); unicode-range: "U+0102-0103, U+1EA0-1EF9, U+20AB"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 400; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Regular-Latin2.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Regular-Latin2.woff") format("woff"); unicode-range: "U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 400; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Regular-Latin1.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-Regular-Latin1.woff") format("woff"); unicode-range: "U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 600; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-SemiBold-Pi.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-SemiBold-Pi.woff") format("woff"); unicode-range: "U+03C0, U+0E3F, U+2070, U+2074-2079, U+2080-2089, U+2113, U+2116, U+2126, U+212E, U+2150-2151, U+2153-215E, U+2190-2199, U+21A9-21AA, U+21B0-21B3, U+21B6-21B7, U+21BA-21BB, U+21C4, U+21C6, U+2202, U+2206, U+220F, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+2713, U+274C, U+2B0E-2B11, U+EBE1, U+EBE3-EBE4, U+EBE6-EBE7, U+ECE0, U+EFCC"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 600; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-SemiBold-Latin3.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-SemiBold-Latin3.woff") format("woff"); unicode-range: "U+0102-0103, U+1EA0-1EF9, U+20AB"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 600; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-SemiBold-Latin2.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-SemiBold-Latin2.woff") format("woff"); unicode-range: "U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-mono'; font-style: normal; font-weight: 600; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-SemiBold-Latin1.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexMono-SemiBold-Latin1.woff") format("woff"); unicode-range: "U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 300; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Light-Pi.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Light-Pi.woff") format("woff"); unicode-range: "U+03C0, U+0E3F, U+2070, U+2074-2079, U+2080-2089, U+2113, U+2116, U+2126, U+212E, U+2150-2151, U+2153-215E, U+2190-2199, U+21A9-21AA, U+21B0-21B3, U+21B6-21B7, U+21BA-21BB, U+21C4, U+21C6, U+2202, U+2206, U+220F, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+2713, U+274C, U+2B0E-2B11, U+EBE1, U+EBE3-EBE4, U+EBE6-EBE7, U+ECE0, U+EFCC"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 300; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Light-Latin3.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Light-Latin3.woff") format("woff"); unicode-range: "U+0102-0103, U+1EA0-1EF9, U+20AB"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 300; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Light-Latin2.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Light-Latin2.woff") format("woff"); unicode-range: "U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 300; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Light-Latin1.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Light-Latin1.woff") format("woff"); unicode-range: "U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 400; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Regular-Pi.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Regular-Pi.woff") format("woff"); unicode-range: "U+03C0, U+0E3F, U+2070, U+2074-2079, U+2080-2089, U+2113, U+2116, U+2126, U+212E, U+2150-2151, U+2153-215E, U+2190-2199, U+21A9-21AA, U+21B0-21B3, U+21B6-21B7, U+21BA-21BB, U+21C4, U+21C6, U+2202, U+2206, U+220F, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+2713, U+274C, U+2B0E-2B11, U+EBE1, U+EBE3-EBE4, U+EBE6-EBE7, U+ECE0, U+EFCC"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 400; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Regular-Latin3.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Regular-Latin3.woff") format("woff"); unicode-range: "U+0102-0103, U+1EA0-1EF9, U+20AB"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 400; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Regular-Latin2.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Regular-Latin2.woff") format("woff"); unicode-range: "U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 400; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Regular-Latin1.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-Regular-Latin1.woff") format("woff"); unicode-range: "U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 600; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-SemiBold-Pi.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-SemiBold-Pi.woff") format("woff"); unicode-range: "U+03C0, U+0E3F, U+2070, U+2074-2079, U+2080-2089, U+2113, U+2116, U+2126, U+212E, U+2150-2151, U+2153-215E, U+2190-2199, U+21A9-21AA, U+21B0-21B3, U+21B6-21B7, U+21BA-21BB, U+21C4, U+21C6, U+2202, U+2206, U+220F, U+2211, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+2713, U+274C, U+2B0E-2B11, U+EBE1, U+EBE3-EBE4, U+EBE6-EBE7, U+ECE0, U+EFCC"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 600; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-SemiBold-Latin3.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-SemiBold-Latin3.woff") format("woff"); unicode-range: "U+0102-0103, U+1EA0-1EF9, U+20AB"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 600; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-SemiBold-Latin2.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-SemiBold-Latin2.woff") format("woff"); unicode-range: "U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF, U+FB01-FB02"; } @font-face { font-family: 'ibm-plex-sans'; font-style: normal; font-weight: 600; src: url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2"), url("https://unpkg.com/carbon-components@latest/src/globals/fonts/IBMPlexSans-SemiBold-Latin1.woff") format("woff"); unicode-range: "U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FB01-FB02"; } .bx--visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; visibility: visible; white-space: nowrap; } .bx--body { font-family: "ibm-plex-sans", Helvetica Neue, Arial, sans-serif; color: #152935; background-color: #f5f7fa; line-height: 1; } /** * Generic `deprecate` mixin that is being used to indicate that a component is * no longer going to be present in the next major release of Carbon. */ body { font-family: "ibm-plex-sans", Helvetica Neue, Arial, sans-serif; color: #152935; background-color: #f5f7fa; line-height: 1; } /** * Generic `deprecate` mixin that is being used to indicate that a component is * no longer going to be present in the next major release of Carbon. */ .bx--type-giga { font-size: 4.75rem; line-height: 1.25; font-weight: 300; } .bx--type-mega { font-size: 3.375rem; line-height: 1.25; font-weight: 300; } .bx--type-omega { font-size: 0.75rem; line-height: 1.25; font-weight: 600; } .bx--type-caption { font-size: 0.75rem; line-height: 1.5; font-weight: 400; } .bx--type-legal { font-size: 0.6875rem; line-height: 1.5; font-weight: 400; } .bx--type-caps { text-transform: uppercase; } strong, .bx--type-strong { font-weight: 700; } p { font-size: 1rem; line-height: 1.5; font-weight: 400; } em { font-style: italic; } a { color: #3d70b2; } h1, .bx--type-alpha { font-size: 2.25rem; line-height: 1.25; font-weight: 300; } h2, .bx--type-beta { font-size: 1.75rem; line-height: 1.25; font-weight: 300; } h3, .bx--type-gamma { font-size: 1.25rem; line-height: 1.25; font-weight: 300; } h4, .bx--type-delta { font-size: 1.125rem; line-height: 1.25; font-weight: 600; } h5, .bx--type-epsilon { font-size: 1rem; line-height: 1.25; font-weight: 600; } h6, .bx--type-zeta { font-size: 0.875rem; line-height: 1.25; font-weight: 600; } .bx--grid { margin-left: 3%; margin-right: 3%; padding-left: 5px; padding-right: 5px; } @media (min-width: 576px) { .bx--grid { margin-left: 5%; margin-right: 5%; padding-left: 10px; padding-right: 10px; } } .bx--grid.max { max-width: 1600px; } .bx--row { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -5px; } @media (min-width: 576px) { .bx--row { margin: 0 -10px; } } [class*='bx--col'] { position: relative; width: 100%; min-height: 1px; padding: 0 5px; } @media (min-width: 576px) { [class*='bx--col'] { padding: 0 10px; } } .bx--col-xs-1 { -ms-flex-preferred-size: 8.33333%; flex-basis: 8.33333%; } .bx--col-xs-2 { -ms-flex-preferred-size: 16.66667%; flex-basis: 16.66667%; } .bx--col-xs-3 { -ms-flex-preferred-size: 25%; flex-basis: 25%; } .bx--col-xs-4 { -ms-flex-preferred-size: 33.33333%; flex-basis: 33.33333%; } .bx--col-xs-5 { -ms-flex-preferred-size: 41.66667%; flex-basis: 41.66667%; } .bx--col-xs-6 { -ms-flex-preferred-size: 50%; flex-basis: 50%; } .bx--col-xs-7 { -ms-flex-preferred-size: 58.33333%; flex-basis: 58.33333%; } .bx--col-xs-8 { -ms-flex-preferred-size: 66.66667%; flex-basis: 66.66667%; } .bx--col-xs-9 { -ms-flex-preferred-size: 75%; flex-basis: 75%; } .bx--col-xs-10 { -ms-flex-preferred-size: 83.33333%; flex-basis: 83.33333%; } .bx--col-xs-11 { -ms-flex-preferred-size: 91.66667%; flex-basis: 91.66667%; } .bx--col-xs-12 { -ms-flex-preferred-size: 100%; flex-basis: 100%; } @media (min-width: 576px) { .bx--col-sm-auto { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .bx--col-sm-1 { -ms-flex-preferred-size: 8.33333%; flex-basis: 8.33333%; } .bx--col-sm-2 { -ms-flex-preferred-size: 16.66667%; flex-basis: 16.66667%; } .bx--col-sm-3 { -ms-flex-preferred-size: 25%; flex-basis: 25%; } .bx--col-sm-4 { -ms-flex-preferred-size: 33.33333%; flex-basis: 33.33333%; } .bx--col-sm-5 { -ms-flex-preferred-size: 41.66667%; flex-basis: 41.66667%; } .bx--col-sm-6 { -ms-flex-preferred-size: 50%; flex-basis: 50%; } .bx--col-sm-7 { -ms-flex-preferred-size: 58.33333%; flex-basis: 58.33333%; } .bx--col-sm-8 { -ms-flex-preferred-size: 66.66667%; flex-basis: 66.66667%; } .bx--col-sm-9 { -ms-flex-preferred-size: 75%; flex-basis: 75%; } .bx--col-sm-10 { -ms-flex-preferred-size: 83.33333%; flex-basis: 83.33333%; } .bx--col-sm-11 { -ms-flex-preferred-size: 91.66667%; flex-basis: 91.66667%; } .bx--col-sm-12 { -ms-flex-preferred-size: 100%; flex-basis: 100%; } } @media (min-width: 768px) { .bx--col-md-auto { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .bx--col-md-1 { -ms-flex-preferred-size: 8.33333%; flex-basis: 8.33333%; } .bx--col-md-2 { -ms-flex-preferred-size: 16.66667%; flex-basis: 16.66667%; } .bx--col-md-3 { -ms-flex-preferred-size: 25%; flex-basis: 25%; } .bx--col-md-4 { -ms-flex-preferred-size: 33.33333%; flex-basis: 33.33333%; } .bx--col-md-5 { -ms-flex-preferred-size: 41.66667%; flex-basis: 41.66667%; } .bx--col-md-6 { -ms-flex-preferred-size: 50%; flex-basis: 50%; } .bx--col-md-7 { -ms-flex-preferred-size: 58.33333%; flex-basis: 58.33333%; } .bx--col-md-8 { -ms-flex-preferred-size: 66.66667%; flex-basis: 66.66667%; } .bx--col-md-9 { -ms-flex-preferred-size: 75%; flex-basis: 75%; } .bx--col-md-10 { -ms-flex-preferred-size: 83.33333%; flex-basis: 83.33333%; } .bx--col-md-11 { -ms-flex-preferred-size: 91.66667%; flex-basis: 91.66667%; } .bx--col-md-12 { -ms-flex-preferred-size: 100%; flex-basis: 100%; } } @media (min-width: 992px) { .bx--col-lg-auto { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .bx--col-lg-1 { -ms-flex-preferred-size: 8.33333%; flex-basis: 8.33333%; } .bx--col-lg-2 { -ms-flex-preferred-size: 16.66667%; flex-basis: 16.66667%; } .bx--col-lg-3 { -ms-flex-preferred-size: 25%; flex-basis: 25%; } .bx--col-lg-4 { -ms-flex-preferred-size: 33.33333%; flex-basis: 33.33333%; } .bx--col-lg-5 { -ms-flex-preferred-size: 41.66667%; flex-basis: 41.66667%; } .bx--col-lg-6 { -ms-flex-preferred-size: 50%; flex-basis: 50%; } .bx--col-lg-7 { -ms-flex-preferred-size: 58.33333%; flex-basis: 58.33333%; } .bx--col-lg-8 { -ms-flex-preferred-size: 66.66667%; flex-basis: 66.66667%; } .bx--col-lg-9 { -ms-flex-preferred-size: 75%; flex-basis: 75%; } .bx--col-lg-10 { -ms-flex-preferred-size: 83.33333%; flex-basis: 83.33333%; } .bx--col-lg-11 { -ms-flex-preferred-size: 91.66667%; flex-basis: 91.66667%; } .bx--col-lg-12 { -ms-flex-preferred-size: 100%; flex-basis: 100%; } } @media (min-width: 1200px) { .bx--col-xl-auto { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .bx--col-xl-1 { -ms-flex-preferred-size: 8.33333%; flex-basis: 8.33333%; } .bx--col-xl-2 { -ms-flex-preferred-size: 16.66667%; flex-basis: 16.66667%; } .bx--col-xl-3 { -ms-flex-preferred-size: 25%; flex-basis: 25%; } .bx--col-xl-4 { -ms-flex-preferred-size: 33.33333%; flex-basis: 33.33333%; } .bx--col-xl-5 { -ms-flex-preferred-size: 41.66667%; flex-basis: 41.66667%; } .bx--col-xl-6 { -ms-flex-preferred-size: 50%; flex-basis: 50%; } .bx--col-xl-7 { -ms-flex-preferred-size: 58.33333%; flex-basis: 58.33333%; } .bx--col-xl-8 { -ms-flex-preferred-size: 66.66667%; flex-basis: 66.66667%; } .bx--col-xl-9 { -ms-flex-preferred-size: 75%; flex-basis: 75%; } .bx--col-xl-10 { -ms-flex-preferred-size: 83.33333%; flex-basis: 83.33333%; } .bx--col-xl-11 { -ms-flex-preferred-size: 91.66667%; flex-basis: 91.66667%; } .bx--col-xl-12 { -ms-flex-preferred-size: 100%; flex-basis: 100%; } } @media (min-width: 1600px) { .bx--col-xxl-auto { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; } .bx--col-xxl-1 { -ms-flex-preferred-size: 8.33333%; flex-basis: 8.33333%; } .bx--col-xxl-2 { -ms-flex-preferred-size: 16.66667%; flex-basis: 16.66667%; } .bx--col-xxl-3 { -ms-flex-preferred-size: 25%; flex-basis: 25%; } .bx--col-xxl-4 { -ms-flex-preferred-size: 33.33333%; flex-basis: 33.33333%; } .bx--col-xxl-5 { -ms-flex-preferred-size: 41.66667%; flex-basis: 41.66667%; } .bx--col-xxl-6 { -ms-flex-preferred-size: 50%; flex-basis: 50%; } .bx--col-xxl-7 { -ms-flex-preferred-size: 58.33333%; flex-basis: 58.33333%; } .bx--col-xxl-8 { -ms-flex-preferred-size: 66.66667%; flex-basis: 66.66667%; } .bx--col-xxl-9 { -ms-flex-preferred-size: 75%; flex-basis: 75%; } .bx--col-xxl-10 { -ms-flex-preferred-size: 83.33333%; flex-basis: 83.33333%; } .bx--col-xxl-11 { -ms-flex-preferred-size: 91.66667%; flex-basis: 91.66667%; } .bx--col-xxl-12 { -ms-flex-preferred-size: 100%; flex-basis: 100%; } } .bx--col-xs, .bx--col-sm, .bx--col-md, .bx--col-lg { -ms-flex-preferred-size: 0; flex-basis: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; -ms-flex-positive: 1; flex-grow: 1; max-width: 100%; } /** * We flag this variable as true if someone uses the globals/scss/styles.scss * entry-point. This allows us to collect all the messages and display them at * the end of the file instead of bringing it up per-component. * * If a consumer instead gets the components by importing the partial directly, * this variable _will not_ be set to true, so the deprecation message will be * displayed after the @import. */ button.bx--btn { display: inline-block; } button.bx--btn::-moz-focus-inner { padding: 0; border: 0; } button.bx--btn .bx--btn__icon { position: relative; vertical-align: middle; top: -1px; } @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { button.bx--btn .bx--btn__icon { top: 0; } } .bx--btn { font-family: "ibm-plex-sans", Helvetica Neue, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: 0.5px; cursor: pointer; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-negative: 0; flex-shrink: 0; font-size: 0.875rem; font-weight: 600; height: 2.5rem; padding: 0 1rem; border-radius: 0; text-align: center; text-decoration: none; transition-duration: 250ms; transition-timing-function: ease-in; white-space: nowrap; line-height: 16px; } .bx--btn:disabled { cursor: not-allowed; opacity: 0.5; } .bx--btn .bx--btn__icon { width: 1rem; height: 1rem; margin-left: 0.5rem; transition-duration: 250ms; transition-timing-function: ease-in; } .bx--btn--primary { background-color: #3d70b2; border-width: 2px; border-style: solid; border-color: transparent; color: #fff; } .bx--btn--primary:focus, .bx--btn--primary:hover { background-color: #5596e6; } .bx--btn--primary:focus { border: 2px solid #f5f7fa; outline: 2px solid #5596e6; } .bx--btn--primary:disabled:hover, .bx--btn--primary:disabled:focus { background-color: #3d70b2; } .bx--btn--primary:active { background-color: #234066; } .bx--btn--primary .bx--btn__icon { fill: #fff; } .bx--btn--secondary { background-color: transparent; border-width: 2px; border-style: solid; border-color: #3d70b2; color: #3d70b2; } .bx--btn--secondary:focus, .bx--btn--secondary:hover { background-color: #3d70b2; } .bx--btn--secondary:focus { border: 2px solid #f5f7fa; outline: 2px solid #3d70b2; } .bx--btn--secondary:disabled:hover, .bx--btn--secondary:disabled:focus { background-color: transparent; } .bx--btn--secondary:active { background-color: transparent; } .bx--btn--secondary .bx--btn__icon { fill: #3d70b2; } .bx--btn--secondary:hover, .bx--btn--secondary:focus { color: #fff; } .bx--btn--secondary:active { color: #3d70b2; } .bx--btn--secondary:hover > .bx--btn__icon, .bx--btn--secondary:focus > .bx--btn__icon { fill: #fff; } .bx--btn--secondary:hover:disabled, .bx--btn--secondary:focus:disabled { color: #3d70b2; } .bx--btn--ghost { background-color: transparent; border-width: 2px; border-style: solid; border-color: transparent; color: #3d70b2; } .bx--btn--ghost:focus, .bx--btn--ghost:hover { background-color: #3d70b2; } .bx--btn--ghost:focus { border: 2px solid #f5f7fa; outline: 2px solid #3d70b2; } .bx--btn--ghost:disabled:hover, .bx--btn--ghost:disabled:focus { background-color: transparent; } .bx--btn--ghost:active { background-color: transparent; } .bx--btn--ghost .bx--btn__icon { fill: #3d70b2; } .bx--btn--ghost:hover, .bx--btn--ghost:focus { color: #fff; } .bx--btn--ghost:hover .bx--btn__icon, .bx--btn--ghost:focus .bx--btn__icon { fill: #fff; } .bx--btn--ghost .bx--btn__icon { margin-left: 0.5rem; } .bx--btn--ghost:hover:disabled, .bx--btn--ghost:focus:disabled { color: #3d70b2; } .bx--btn--ghost:hover:disabled .bx--btn__icon, .bx--btn--ghost:focus:disabled .bx--btn__icon { fill: #3d70b2; } .bx--btn--danger { background-color: transparent; border-width: 2px; border-style: solid; border-color: #e71d32; color: #e71d32; } .bx--btn--danger:focus, .bx--btn--danger:hover { background-color: #e71d32; } .bx--btn--danger:focus { border: 2px solid #f5f7fa; outline: 2px solid #e71d32; } .bx--btn--danger:disabled:hover, .bx--btn--danger:disabled:focus { background-color: transparent; } .bx--btn--danger:active { background-color: transparent; } .bx--btn--danger .bx--btn__icon { fill: #e71d32; } .bx--btn--danger:hover { color: #fff; border: 2px solid transparent; } .bx--btn--danger:focus { color: #fff; } .bx--btn--danger:hover:disabled, .bx--btn--danger:focus:disabled { color: #8c9ba5; border: 2px solid currentColor; } .bx--btn--danger:hover > .bx--btn__icon, .bx--btn--danger:focus > .bx--btn__icon { fill: #fff; } .bx--btn--sm { height: 2rem; padding: 0 0.5rem; letter-spacing: 0; } .bx--btn--secondary + .bx--btn--primary { margin-left: 1rem; } /** * Generic `deprecate` mixin that is being used to indicate that a component is * no longer going to be present in the next major release of Carbon. */ .bx--btn--copy { position: relative; overflow: visible; } .bx--btn--copy .bx--btn__icon { margin-left: 0.3125rem; } .bx--btn--copy__feedback { position: absolute; display: none; top: 1.2rem; left: 50%; } .bx--btn--copy__feedback:before { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1); font-size: 0.75rem; top: 1.1rem; padding: 0.5rem 1rem; border: 1px solid #dfe3e6; color: #152935; content: attr(data-feedback); -webkit-transform: translateX(-50%); transform: translateX(-50%); white-space: nowrap; pointer-events: none; } .bx--btn--copy__feedback:after { top: 0.85rem; width: 0.5rem; height: 0.5rem; border-right: 1px solid #dfe3e6; border-bottom: 1px solid #dfe3e6; content: ''; -webkit-transform: rotate(-135deg); transform: rotate(-135deg); } .bx--btn--copy__feedback:before, .bx--btn--copy__feedback:after { position: absolute; display: block; background: #fff; } .bx--btn--copy__feedback--displayed { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; } /** * Generic `deprecate` mixin that is being used to indicate that a component is * no longer going to be present in the next major release of Carbon. */ /** * Generic `deprecate` mixin that is being used to indicate that a component is * no longer going to be present in the next major release of Carbon. */ .bx--fieldset { margin-bottom: 2rem; } .bx--form-item { font-family: "ibm-plex-sans", Helvetica Neue, Arial, sans-serif; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; margin-right: 1rem; margin-bottom: 1.5rem; } .bx--form-item:last-of-type { margin-right: 0; margin-bottom: 0; } .bx--label { font-family: "ibm-plex-sans", Helvetica Neue, Arial, sans-serif; font-size: 0.875rem; font-weight: 600; display: inline-block; vertical-align: baseline; margin-bottom: 0.5rem; } .bx--label .bx--tooltip__trigger { font-size: 0.875rem; } .bx--label--disabled { opacity: 0.5; } input[data-invalid], textarea[data-invalid], select[data-invalid] { box-shadow: 0 2px 0px 0px #e71d32; } input[data-invalid] ~ .bx--form-requirement, textarea[data-invalid] ~ .bx--form-requirement, select[data-invalid] ~ .bx--form-requirement { max-height: 12.5rem; } .bx--form-requirement { font-size: 0.75rem; margin: 0.75rem 0 0; max-height: 0; overflow: hidden; font-weight: 600; line-height: 1.5; } .bx--form-requirement::before { content: '*'; display: inline-block; color: #e71d32; } @-webkit-keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @-webkit-keyframes rotate-end-p1 { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotate-end-p1 { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @-webkit-keyframes rotate-end-p2 { 100% { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); } } @keyframes rotate-end-p2 { 100% { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); } } /* Stroke animations */ @-webkit-keyframes init-stroke { 0% { stroke-dashoffset: 240; } 100% { stroke-dashoffset: 40; } } @keyframes init-stroke { 0% { stroke-dashoffset: 240; } 100% { stroke-dashoffset: 40; } } @-webkit-keyframes stroke-end { 0% { stroke-dashoffset: 40; } 100% { stroke-dashoffset: 240; } } @keyframes stroke-end { 0% { stroke-dashoffset: 40; } 100% { stroke-dashoffset: 240; } } .bx--loading { -webkit-animation-name: rotate; animation-name: rotate; -webkit-animation-duration: 500ms; animation-duration: 500ms; -webkit-animation-timing-function: linear; animation-timing-function: linear; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; -webkit-animation-iteration-count: infinite; animation-iteration-count: infinite; width: 10.5rem; height: 10.5rem; } .bx--loading svg circle { -webkit-animation-name: init-stroke; animation-name: init-stroke; -webkit-animation-duration: 1000ms; animation-duration: 1000ms; -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.1, 1); animation-timing-function: cubic-bezier(0.5, 0, 0.1, 1); } .bx--loading__svg { fill: transparent; stroke: #6eedd8; stroke-width: 7; stroke-linecap: butt; stroke-dasharray: 240; stroke-dashoffset: 40; } .bx--loading--stop { -webkit-animation: rotate-end-p1 700ms cubic-bezier(0, 0, 0.25, 1) forwards, rotate-end-p2 700ms cubic-bezier(0, 0, 0.25, 1) 700ms forwards; animation: rotate-end-p1 700ms cubic-bezier(0, 0, 0.25, 1) forwards, rotate-end-p2 700ms cubic-bezier(0, 0, 0.25, 1) 700ms forwards; } .bx--loading--stop svg circle { -webkit-animation-name: stroke-end; animation-name: stroke-end; -webkit-animation-duration: 700ms; animation-duration: 700ms; -webkit-animation-timing-function: cubic-bezier(0, 0, 0.25, 1); animation-timing-function: cubic-bezier(0, 0, 0.25, 1); -webkit-animation-delay: 700ms; animation-delay: 700ms; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .bx--loading--small { width: 2rem; height: 2rem; } .bx--loading--small .bx--loading__svg { stroke: #8c9ba5; } .bx--loading-overlay { position: fixed; top: 0; left: 0; height: 100%; width: 100%; background-color: rgba(255, 255, 255, 0.6); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; transition: background-color 2000ms cubic-bezier(0.5, 0, 0.1, 1); z-index: 8000; } .bx--loading-overlay--stop { display: none; } .bx--file { width: 100%; } .bx--file-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; visibility: visible; white-space: nowrap; } .bx--file-btn { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; margin: 0; } .bx--label-description { font-size: 0.875rem; line-height: 1.5; color: #5a6872; margin-bottom: 1.5rem; } .bx--file-container { display: block; width: 100%; margin-top: 1.5rem; } .bx--file__selected-file { display: block; width: 300px; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; min-height: 1.875rem; background-color: rgba(61, 112, 178, 0.1); padding: 0 1rem; margin-bottom: 1rem; } .bx--file__selected-file:last-child { margin-bottom: 0; } .bx--file-filename { font-size: 0.75rem; display: block; width: 100%; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; color: #152935; margin-right: 1rem; height: 1.875rem; } .bx--file__state-container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .bx--file__state-container .bx--loading { width: 1.125rem; height: 1.125rem; margin-right: 0.5rem; } .bx--file__state-container .bx--loading__svg { stroke: #8c9ba5; } .bx--file__state-container .bx--file-close, .bx--file__state-container .bx--file-complete { width: 1rem; height: 1rem; fill: #152935; cursor: pointer; } .bx--file__state-container .bx--file-close:focus, .bx--file__state-container .bx--file-complete:focus { outline: 1px solid #3d70b2; } .bx--file__state-container .bx--file-close { fill: #8c9ba5; } .bx--file__state-container .bx--file-complete { fill: #5aa700; } /** * Generic `deprecate` mixin that is being used to indicate that a component is * no longer going to be present in the next major release of Carbon. */ .bx--form-item.bx--checkbox-wrapper { margin-bottom: 1rem; } .bx--form-item.bx--checkbox-wrapper:first-of-type { margin-top: 0.5rem; } .bx--form-item.bx--checkbox-wrapper:last-of-type { margin-bottom: 0; } .bx--checkbox { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; visibility: visible; white-space: nowrap; } .bx--checkbox-label { font-family: "ibm-plex-sans", Helvetica Neue, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 0.875rem; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; cursor: pointer; position: relative; padding-left: 1.5rem; min-height: 1rem; } .bx--checkbox-label::before { box-sizing: border-box; content: ''; position: absolute; left: 0; top: calc(50% - 9px); height: 1.125rem; width: 1.125rem; border: 2px solid #8c9ba5; background-color: #fff; } .bx--checkbox-label::after { content: ''; width: 10px; height: 5px; background: none; border-left: 2px solid #fff; border-bottom: 2px solid #fff; -webkit-transform: scale(0) rotate(-45deg); transform: scale(0) rotate(-45deg); position: absolute; left: 0.1875rem; top: 50%; margin-top: -0.3125rem; } .bx--checkbox:checked + .bx--checkbox-label::before, .bx--checkbox:indeterminate + .bx--checkbox-label::before, .bx--checkbox-label[data-contained-checkbox-state='true']::before, .bx--checkbox-label[data-contained-checkbox-state='mixed']::before { background-color: #3d70b2; border-color: #3d70b2; } .bx--checkbox:checked + .bx--checkbox-label::after, .bx--checkbox-label[data-contained-checkbox-state='true']::after { opacity: 1; -webkit-transform: scale(1) rotate(-45deg); transform: scale(1) rotate(-45deg); } .bx--checkbox:not(:checked) + .bx--checkbox-label::after { opacity: 0; -webkit-transform: scale(0) rotate(-45deg); transform: scale(0) rotate(-45deg); } .bx--checkbox:focus + .bx--checkbox-label::before, .bx--checkbox-label__focus::before { box-shadow: 0 0 0 3px #7cc7ff; outline: 1px solid transparent; } .bx--checkbox:indeterminate + .bx--checkbox-label::after, .bx--checkbox-label[data-contained-checkbox-state='mixed']::after { -webkit-transform: scale(1) rotate(0deg); transform: scale(1) rotate(0deg); border-left: 0 solid #fff; border-bottom: 2px solid #fff; opacity: 1; width: 0.75rem; margin-top: -0.375rem; } .bx--checkbox-appearance { position: absolute; left: 0; top: calc(50% - 9px); display: inline-block; height: 1.125rem; width: 1.125rem; margin-right: 0.5rem; background-color: #fff; border: 2px solid #8c9ba5; min-width: 1.125rem; } .bx--checkbox:checked + .bx--checkbox-label .bx--checkbox-appearance { top: -0.0625rem; } .bx--checkbox:checked + .bx--checkbox-appearance, .bx--checkbox:checked + .bx--checkbox-label .bx--checkbox-appearance { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; background-color: #3d70b2; border-color: #3d70b2; } .bx--checkbox:disabled + .bx--checkbox-label, .bx--checkbox:disabled + .bx--checkbox-appearance, .bx--checkbox:disabled ~ .bx--checkbox-label-text { opacity: 0.5; cursor: not-allowed; } .bx--checkbox:focus + .bx--checkbox-label .bx--checkbox-appearance, .bx--checkbox:focus + .bx--checkbox-appearance { box-shadow: 0 0 0 3px #7cc7ff; outline: 1px solid transparent; } .bx--checkbox-checkmark { display: none; fill: #fff; width: 100%; height: 100%; } .bx--checkbox:checked + .bx--checkbox-appearance .bx--checkbox-checkmark, .bx--checkbox:checked + .bx--checkbox-label .bx--checkbox-appearance .bx--checkbox-checkmark { display: block; } @-moz-document url-prefix() { .bx--checkbox:checked + .bx--checkbox-appearance .bx--checkbox-checkmark, .bx--checkbox:checked + .bx--checkbox-label .bx--checkbox-appearance .bx--checkbox-checkmark { stroke: #3d70b2; } } .bx--list-box { position: relative; width: 100%; height: 2.5rem; max-height: 2.5rem; background-color: rgba(61, 112, 178, 0.1); } .bx--list-box--disabled { opacity: 0.5; } .bx--list-box--disabled, .bx--list-box--disabled .bx--list-box__field, .bx--list-box--disabled .bx--list-box__menu-icon { cursor: not-allowed; } .bx--list-box--inline { background-color: inherit; width: auto; height: 2rem; } .bx--list-box--inline .bx--list-box__label { color: #3d70b2; } .bx--list-box--inline .bx--list-box__field { padding: 0 0 0 0.625rem; } .bx--list-box--inline .bx--list-box__menu-icon { position: static; padding: 0 0.625rem 0 0.75rem; } .bx--list-box--inline > .bx--list-box__menu { top: 2rem; width: 18.75rem; } .bx--list-box--inline > .bx--list-box__field[aria-expanded='true'] ~ .bx--list-box__menu { outline: 1px solid #3d70b2; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1); } .bx--list-box--inline > .bx--list-box__field[aria-expanded='true'] { outline: none; } .bx--list-box__field { font-family: "ibm-plex-sans", Helvetica Neue, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: 0.5px; display: inline-block; background: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; border: 0; padding: 0; cursor: pointer; width: 100%; position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 100%; height: 100%; padding: 0 1rem; cursor: pointer; } .bx--list-box__field::-moz-focus-inner { border: 0; } .bx--list-box__field:hover { background: rgba(61, 112, 178, 0.1); } .bx--list-box__field:focus, .bx--list-box__field[aria-expanded='true'] { outline: 1px solid #3d70b2; } .bx--list-box__field[disabled] { outline: none; } .bx--list-box__field[aria-expanded='true'] ~ .bx--list-box__menu { box-shadow: 0 1px 0 0 #3d70b2, 1px 0 0 0 #3d70b2, -1px 0 0 0 #3d70b2, 0 4px 8px 0 rgba(0, 0, 0, 0.1); } .bx--list-box__label { font-size: 0.875rem; color: #152935; font-weight: 600; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .bx--list-box__menu-icon { display: inline-block; position: absolute; top: 0; right: 0; bottom: 0; height: 100%; padding: 0 1rem; transition: -webkit-transform 200ms cubic-bezier(0.5, 0, 0.1, 1); transition: transform 200ms cubic-bezier(0.5, 0, 0.1, 1); transition: transform 200ms cubic-bezier(0.5, 0, 0.1, 1), -webkit-transform 200ms cubic-bezier(0.5, 0, 0.1, 1); cursor: pointer; } .bx--list-box__menu-icon > svg { fill: #3d70b2; height: 100%; } .bx--list-box__menu-icon--open { -webkit-transform: rotate(180deg); transform: rotate(180deg); } .bx--list-box__selection { display: inline-block; position: absolute; top: 0; right: 1.625rem; bottom: 0; height: 2.5rem; padding: 0 1rem; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; transition: background-color 200ms cubic-bezier(0.5, 0, 0.1, 1); } .bx--list-box__selection > svg { fill: #8c9ba5; height: 100%; } .bx--list-box__selection:focus { outline: 1px solid #3d70b2; } .bx--list-box__selection--multi { font-size: 0.75rem; position: static; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; padding: 0; background-color: #3d70b2; height: 1.125rem; color: white; line-height: 0; padding: 0.3125rem; margin-right: 0.625rem; border-radius: 0.8125rem; } .bx--list-box__selection--multi > svg { fill: white; width: 0.5rem; height: 0.5rem; margin-left: 0.3125rem; } .bx--list-box__selection--multi:focus, .bx--list-box__selection--multi:hover { background-color: #5596e6; outline: none; } .bx--list-box__menu { box-shadow: 0px 3px 3px 0 rgba(0, 0, 0, 0.1); position: absolute; left: 0; right: 0; top: 2.5rem; width: 100%; background-color: #fff; max-height: 7.5rem; overflow-y: auto; z-index: 7000; } .bx--list-box__menu-item { font-size: 0.875rem; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 2.5rem; padding: 0 1rem; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .bx--list-box__menu-item:hover, .bx--list-box__menu-item--highlighted { background-color: rgba(61, 112, 178, 0.1); color: #152935; } .bx--list-box__menu-item > .bx--form-item.bx--checkbox-wrapper { margin: 0; } .bx--list-box input[role='combobox'] { background-color: inherit; font-weight: 600; outline-offset: 0; } .bx--list-box input[role='combobox']::-webkit-input-placeholder { font-weight: 400; } .bx--list-box input[role='combobox']:-ms-input-placeholder { font-weight: 400; } .bx--list-box input[role='combobox']::placeholder { font-weight: 400; } .bx--list-box--disabled input[role='combobox'] { opacity: 1; } .bx--combo-box > .bx--list-box__field { padding: 0; } /** * Generic `deprecate` mixin that is being used to indicate that a component is * no longer going to be present in the next major release of Carbon. */ .bx--radio-button-group { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin-top: 0.5rem; } .bx--radio-button { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; visibility: visible; white-space: nowrap; } .bx--radio-button__label { font-size: 0.875rem; font-family: "ibm-plex-sans", Helvetica Neue, Arial, sans-serif; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; cursor: pointer; margin-right: 1rem; } .bx--radio-button__appearance { background-color: #fff; border-radius: 50%; border: 2px solid #8c9ba5; -ms-flex-negative: 0; flex-shrink: 0; height: 1.125rem; width: 1.125rem; margin-right: 0.5rem; } .bx--radio-button:checked + .bx--radio-button__label .bx--radio-button__appearance { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; border-color: #3d70b2; } .bx--radio-button:checked + .bx--radio-button__label .bx--radio-button__appearance:before { content: ''; display: inline-block; position: relative; width: 0.5rem; height: 0.5rem; border-radius: 50%; background-color: #3d70b2; } .bx--radio-button:disabled + .bx--radio-button__label { opacity: 0.5; cursor: not-allowed; } .bx--radio-button:focus + .bx--radio-button__label .bx--radio-button__appearance { box-shadow: 0 0 0 3px #7cc7ff; outline: 1px solid transparent; } /** * Generic `deprecate` mixin that is being used to indicate that a component is * no longer going to be present in the next major release of Carbon. */ .bx--toggle { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; visibility: visible; white-space: nowrap; } .bx--toggle__label { font-family: "ibm-plex-sans", Helvetica Neue, Arial, sans-serif; position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; transition: 250ms cubic-bezier(0.5, 0, 0.1, 1); cursor: pointer; margin: 1rem 0; } .bx--toggle__appearance { position: relative; width: 48px; } .bx--toggle__appearance:before { position: absolute; display: block; content: ''; width: 100%; height: 4px; top: -2px; background-color: #8c9ba5; transition: 250ms cubic-bezier(0.5, 0, 0.1, 1); cursor: pointer; } .bx--toggle__appearance:after { box-sizin