{"version":3,"sources":["../src/src/tooltips/tooltips.scss","../src/src/support/variables/layout.scss","../src/src/support/variables/typography.scss","../src/src/support/variables/misc.scss"],"names":[],"mappings":"AAAA,YACE,iBAAkB,CACnB,mBAIC,iBAAkB,CAClB,eAAgB,CAChB,YAAa,CACb,kBC8FkB,CD7FlB,uIEwB4H,CFvB5H,2CAA4C,CAC5C,+BAAgC,CAChC,iBAAkB,CAClB,oBAAqB,CACrB,gBAAiB,CACjB,mBAAoB,CACpB,qBAAsB,CACtB,oBAAqB,CACrB,eAAgB,CAChB,mBAAoB,CACpB,wBAAyB,CACzB,kCAAmC,CACnC,iBGdoB,CHepB,SAAU,CACX,oBAIC,iBAAkB,CAClB,eAAgB,CAChB,YAAa,CACb,OAAQ,CACR,QAAS,CACT,6BAA8B,CAC9B,mBAAoB,CACpB,UAAW,CAEX,4BAAqC,CACrC,SAAU,CACX,0BAIC,KACE,SAAU,CAGZ,GACE,SAAU,CAAA,CAKd,2JAKI,oBAAqB,CACrB,oBAAqB,CACrB,6BAA8B,CAC9B,sBG9CmB,CH+CnB,4BAA6B,CAC7B,iCAAkC,CAClC,mBGlDgB,CHmDjB,iNAQC,kBAAmB,CACpB,0GAOC,kBAAmB,CACpB,iEAQC,QAAS,CACT,SAAU,CAEV,cAAe,CAPnB,oEAWI,QAAS,CACT,SAAU,CACV,WAAY,CAEZ,iBAAkB,CAElB,2CAA4C,CAC7C,sBAKC,UAAW,CACX,QAAS,CACT,iBC3EkB,CD4EnB,sBAID,kBChFoB,CDiFrB,iEAOG,SAAU,CACV,WAAY,CAEZ,iBAAkB,CAPtB,oEAWI,QAAS,CACT,SAAU,CACV,WAAY,CAEZ,iBAAkB,CAElB,wCAAyC,CAC1C,sBAKC,UAAW,CACX,QAAS,CACT,iBC7GkB,CD8GnB,sBAID,kBClHoB,CDmHrB,0CAKC,yBAA0B,CAC3B,qBAKG,UAAW,CACX,UAAW,CAEX,gBAAiB,CACjB,yBAA0B,CAN9B,sBAUI,OAAQ,CACR,UAAW,CACX,SAAU,CAEV,eAAgB,CAEhB,yCAA0C,CAC3C,qBAMC,UAAW,CACX,SAAU,CAEV,eAAgB,CAChB,yBAA0B,CAN9B,sBAUI,OAAQ,CACR,UAAW,CACX,UAAW,CAEX,eAAgB,CAEhB,0CAA2C,CAC5C,kEAOC,OAAQ,CACR,cAAe,CAChB,kCAKC,UAAW,CACZ,kCAKC,UAAW,CACZ,gEAMC,MAAO,CACP,aAAc,CACf,iCAKC,QAAS,CACV,iCAKC,SAAU,CACX,6BAUC,iBAAkB,CAClB,eG7OqB,CH8OrB,oBAAqB,CACrB,oBAAqB,CACrB,wBAAyB,CAN7B,oFAWI,UAAW,CACX,QAAS,CACT,0BAA2B,CAb/B,oFAkBI,UAAW,CACZ,mCAKD,6BACE,WGnQqB,CHoQtB,CAMH,qDAGI,oBAAqB,CAHzB,+CAQM,kBAAmB","file":"tooltips.css","sourcesContent":[".tooltipped {\n position: relative;\n}\n\n// This is the tooltip bubble\n.tooltipped::after {\n position: absolute;\n z-index: 1000000;\n display: none;\n padding: $em-spacer-5 $em-spacer-6;\n font: normal normal 11px/1.5 $body-font;\n -webkit-font-smoothing: subpixel-antialiased;\n color: var(--color-tooltip-text);\n text-align: center;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-wrap: break-word;\n white-space: pre;\n pointer-events: none;\n content: attr(aria-label);\n background: var(--color-tooltip-bg);\n border-radius: $border-radius;\n opacity: 0;\n}\n\n// This is the tooltip arrow\n.tooltipped::before {\n position: absolute;\n z-index: 1000001;\n display: none;\n width: 0;\n height: 0;\n color: var(--color-tooltip-bg); // stylelint-disable-line primer/colors\n pointer-events: none;\n content: \"\";\n // stylelint-disable-next-line primer/borders\n border: 6px $border-style transparent;\n opacity: 0;\n}\n\n// delay animation for tooltip\n@keyframes tooltip-appear {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n// This will indicate when we'll activate the tooltip\n.tooltipped:hover,\n.tooltipped:active,\n.tooltipped:focus {\n &::before,\n &::after {\n display: inline-block;\n text-decoration: none;\n animation-name: tooltip-appear;\n animation-duration: $tooltip-duration;\n animation-fill-mode: forwards;\n animation-timing-function: ease-in;\n animation-delay: $tooltip-delay;\n }\n}\n\n.tooltipped-no-delay:hover,\n.tooltipped-no-delay:active,\n.tooltipped-no-delay:focus {\n &::before,\n &::after {\n animation-delay: 0s;\n }\n}\n\n.tooltipped-multiline:hover,\n.tooltipped-multiline:active,\n.tooltipped-multiline:focus {\n &::after {\n display: table-cell;\n }\n}\n\n// Tooltipped south\n.tooltipped-s,\n.tooltipped-se,\n.tooltipped-sw {\n &::after {\n top: 100%;\n right: 50%;\n // stylelint-disable-next-line primer/spacing\n margin-top: 6px;\n }\n\n &::before {\n top: auto;\n right: 50%;\n bottom: -7px;\n // stylelint-disable-next-line primer/spacing\n margin-right: -6px;\n // stylelint-disable-next-line primer/borders\n border-bottom-color: var(--color-tooltip-bg);\n }\n}\n\n.tooltipped-se {\n &::after {\n right: auto;\n left: 50%;\n margin-left: -$spacer-3;\n }\n}\n\n.tooltipped-sw::after {\n margin-right: -$spacer-3;\n}\n\n// Tooltips above the object\n.tooltipped-n,\n.tooltipped-ne,\n.tooltipped-nw {\n &::after {\n right: 50%;\n bottom: 100%;\n // stylelint-disable-next-line primer/spacing\n margin-bottom: 6px;\n }\n\n &::before {\n top: -7px;\n right: 50%;\n bottom: auto;\n // stylelint-disable-next-line primer/spacing\n margin-right: -6px;\n // stylelint-disable-next-line primer/borders\n border-top-color: var(--color-tooltip-bg);\n }\n}\n\n.tooltipped-ne {\n &::after {\n right: auto;\n left: 50%;\n margin-left: -$spacer-3;\n }\n}\n\n.tooltipped-nw::after {\n margin-right: -$spacer-3;\n}\n\n// Move the tooltip body to the center of the object.\n.tooltipped-s::after,\n.tooltipped-n::after {\n transform: translateX(50%);\n}\n\n// Tooltipped to the left\n.tooltipped-w {\n &::after {\n right: 100%;\n bottom: 50%;\n // stylelint-disable-next-line primer/spacing\n margin-right: 6px;\n transform: translateY(50%);\n }\n\n &::before {\n top: 50%;\n bottom: 50%;\n left: -7px;\n // stylelint-disable-next-line primer/spacing\n margin-top: -6px;\n // stylelint-disable-next-line primer/borders\n border-left-color: var(--color-tooltip-bg);\n }\n}\n\n// tooltipped to the right\n.tooltipped-e {\n &::after {\n bottom: 50%;\n left: 100%;\n // stylelint-disable-next-line primer/spacing\n margin-left: 6px;\n transform: translateY(50%);\n }\n\n &::before {\n top: 50%;\n right: -7px;\n bottom: 50%;\n // stylelint-disable-next-line primer/spacing\n margin-top: -6px;\n // stylelint-disable-next-line primer/borders\n border-right-color: var(--color-tooltip-bg);\n }\n}\n\n// Tooltip align right and left\n.tooltipped-align-right-1,\n.tooltipped-align-right-2 {\n &::after {\n right: 0;\n margin-right: 0;\n }\n}\n\n.tooltipped-align-right-1 {\n &::before {\n right: 10px;\n }\n}\n\n.tooltipped-align-right-2 {\n &::before {\n right: 15px;\n }\n}\n\n.tooltipped-align-left-1,\n.tooltipped-align-left-2, {\n &::after {\n left: 0;\n margin-left: 0;\n }\n}\n\n.tooltipped-align-left-1 {\n &::before {\n left: 5px;\n }\n}\n\n.tooltipped-align-left-2 {\n &::before {\n left: 10px;\n }\n}\n\n// Multiline tooltips\n//\n// `.tooltipped-multiline` Add this class when you have long content.\n// The downside is you cannot preformat the text with newlines and `[w,e]`\n// are always `$tooltip-max-width` wide.\n.tooltipped-multiline {\n &::after {\n width: max-content;\n max-width: $tooltip-max-width;\n word-wrap: break-word;\n white-space: pre-line;\n border-collapse: separate;\n }\n\n &.tooltipped-s::after,\n &.tooltipped-n::after {\n right: auto;\n left: 50%;\n transform: translateX(-50%);\n }\n\n &.tooltipped-w::after,\n &.tooltipped-e::after {\n right: 100%;\n }\n}\n\n@media screen and (min-width: 0\\0) {\n // IE11\n .tooltipped-multiline::after {\n width: $tooltip-max-width;\n }\n}\n\n// Sticky tooltips\n//\n// Always show the tooltip.\n.tooltipped-sticky {\n &::before,\n &::after {\n display: inline-block;\n }\n\n &.tooltipped-multiline {\n &::after {\n display: table-cell;\n }\n }\n}\n","// Layout variables\n\n// these are values for the display CSS property\n$display-values: (\n block,\n flex,\n inline,\n inline-block,\n inline-flex,\n none,\n table,\n table-cell\n) !default;\n\n// maps edges to respective corners for border-radius\n$edges: (\n top: (top-left, top-right),\n right: (top-right, bottom-right),\n bottom: (bottom-right, bottom-left),\n left: (bottom-left, top-left)\n) !default;\n\n// These are our margin and padding utility spacers. The default step size we\n// use is 8px. This gives us a key of:\n// 0 => 0px\n// 1 => 4px\n// 2 => 8px\n// 3 => 16px\n// 4 => 24px\n// 5 => 32px\n// 6 => 40px\n$spacer: 8px !default;\n\n// Our spacing scale\n$spacer-0: 0 !default; // 0\n$spacer-1: $spacer * 0.5 !default; // 4px\n$spacer-2: $spacer !default; // 8px\n$spacer-3: $spacer * 2 !default; // 16px\n$spacer-4: $spacer * 3 !default; // 24px\n$spacer-5: $spacer * 4 !default; // 32px\n$spacer-6: $spacer * 5 !default; // 40px\n\n// The list of spacer values\n$spacers: (\n $spacer-0,\n $spacer-1,\n $spacer-2,\n $spacer-3,\n $spacer-4,\n $spacer-5,\n $spacer-6,\n) !default;\n\n// And the map of spacers, for easier looping:\n// @each $scale, $length in $spacer-map { ... }\n$spacer-map: (\n 0: $spacer-0,\n 1: $spacer-1,\n 2: $spacer-2,\n 3: $spacer-3,\n 4: $spacer-4,\n 5: $spacer-5,\n 6: $spacer-6,\n) !default;\n\n// Increases the core spacing scale first by 8px for $spacer-7, then by 16px\n// increments from $spacer-8 to $spacer-12, i.e. after 40px, we have 48, 64,\n// 80, 96, etc.\n$spacer-7: $spacer * 6 !default; // 48px\n$spacer-8: $spacer * 8 !default; // 64px\n$spacer-9: $spacer * 10 !default; // 80px\n$spacer-10: $spacer * 12 !default; // 96px\n$spacer-11: $spacer * 14 !default; // 112px\n$spacer-12: $spacer * 16 !default; // 128px\n\n$spacers-large: (\n 7: $spacer-7,\n 8: $spacer-8,\n 9: $spacer-9,\n 10: $spacer-10,\n 11: $spacer-11,\n 12: $spacer-12,\n) !default;\n\n$spacer-map-extended: map-merge(\n (\n 0: 0,\n 1: $spacer-1,\n 2: $spacer-2,\n 3: $spacer-3,\n 4: $spacer-4,\n 5: $spacer-5,\n 6: $spacer-6,\n ),\n $spacers-large,\n) !default;\n\n// Em spacer variables\n$em-spacer-1: 0.0625em !default; // 1/16\n$em-spacer-2: 0.125em !default; // 1/8\n$em-spacer-3: 0.25em !default; // 1/4\n$em-spacer-4: 0.375em !default; // 3/8\n$em-spacer-5: 0.5em !default; // 1/2\n$em-spacer-6: 0.75em !default; // 3/4\n\n// Size scale\n// Used for buttons, inputs, labels, avatars etc.\n$size: 16px !default;\n\n$size-0: 0 !default;\n$size-1: $size !default; // 16px\n$size-2: $size-1 + 4px !default; // 20px\n$size-3: $size-2 + 4px !default; // 24px\n$size-4: $size-3 + 4px !default; // 28px\n$size-5: $size-4 + 4px !default; // 32px\n$size-6: $size-5 + 8px !default; // 40px\n$size-7: $size-6 + 8px !default; // 48px\n$size-8: $size-7 + 16px !default; // 64px\n\n// Fixed-width container variables\n$container-width: 980px !default;\n$grid-gutter: 10px !default;\n\n// Breakpoint widths\n$width-xs: 0 !default;\n// Small screen / phone\n$width-sm: 544px !default;\n// Medium screen / tablet\n$width-md: 768px !default;\n// Large screen / desktop (980 + (16 * 2)) <= container + gutters\n$width-lg: 1012px !default;\n// Extra large screen / wide desktop\n$width-xl: 1280px !default;\n\n// Responsive container widths\n$container-sm: $width-sm !default;\n$container-md: $width-md !default;\n$container-lg: $width-lg !default;\n$container-xl: $width-xl !default;\n\n// Breakpoints in the form (name: length)\n$breakpoints: (\n sm: $width-sm,\n md: $width-md,\n lg: $width-lg,\n xl: $width-xl\n) !default;\n\n// This map in the form (breakpoint: variant) is used to iterate over\n// breakpoints and create both responsive and non-responsive classes in one\n// loop:\n//\n// ```scss\n// @each $breakpoint, $variant of $responsive-variants {\n// @include breakpoint($breakpoint) {\n// .foo#{$variant}-bar { foo: bar !important; }\n// }\n// }\n// ```\n$responsive-variants: (\n \"\": \"\",\n sm: \"-sm\",\n md: \"-md\",\n lg: \"-lg\",\n xl: \"-xl\",\n) !default;\n\n// responive utility position values\n$responsive-positions: (\n static,\n relative,\n absolute,\n fixed,\n sticky\n) !default;\n\n$sidebar-width: (\n sm: 220px,\n md: 256px,\n lg: 296px,\n xl: 320px\n) !default;\n\n$sidebar-narrow-width: (\n md: 240px,\n lg: 256px,\n xl: 296px\n) !default;\n\n$sidebar-wide-width: (\n md: 296px,\n lg: 320px,\n xl: 344px\n) !default;\n\n$gutter: (\n md: $spacer-3,\n lg: $spacer-4,\n xl: $spacer-5\n) !default;\n\n$gutter-condensed: (\n md: $spacer-3,\n lg: $spacer-3,\n xl: $spacer-4\n) !default;\n\n$gutter-spacious: (\n md: $spacer-4,\n lg: $spacer-5,\n xl: $spacer-6\n) !default;\n","// Typography variables\n\n// Heading sizes - mobile\n// h4-h6 remain the same size on both mobile & desktop\n$h00-size-mobile: 40px !default;\n$h0-size-mobile: 32px !default;\n$h1-size-mobile: 26px !default;\n$h2-size-mobile: 22px !default;\n$h3-size-mobile: 18px !default;\n\n// Heading sizes - desktop\n$h00-size: 48px !default;\n$h0-size: 40px !default;\n$h1-size: 32px !default;\n$h2-size: 24px !default;\n$h3-size: 20px !default;\n$h4-size: 16px !default;\n$h5-size: 14px !default;\n$h6-size: 12px !default;\n\n$font-size-small: 12px !default;\n\n// Font weights\n$font-weight-bold: 600 !default;\n$font-weight-semibold: 500 !default;\n$font-weight-normal: 400 !default;\n$font-weight-light: 300 !default;\n\n// Line heights\n$lh-condensed-ultra: 1 !default;\n$lh-condensed: 1.25 !default;\n$lh-default: 1.5 !default;\n\n// Font stacks\n$body-font: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\" !default;\n\n// Monospace font stack\n// Note: SFMono-Regular needs to come before SF Mono to fix an older version of the font in Chrome\n$mono-font: ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace !default;\n\n// The base body size\n$body-font-size: 14px !default;\n$body-line-height: $lh-default !default;\n","// Miscellaneous variables\n\n// Border\n$border-width: 1px !default;\n$border-style: solid !default;\n$border: $border-width $border-style var(--color-border-primary) !default;\n\n// Border Radius\n$border-radius-1: 4px !default;\n$border-radius-2: 6px !default;\n$border-radius-3: 8px !default;\n$border-radius: $border-radius-2 !default;\n\n// Tooltips\n$tooltip-max-width: 250px !default;\n$tooltip-delay: 0.4s !default;\n$tooltip-duration: 0.1s !default;\n"]}