{"version":3,"sources":["../src/src/avatars/avatar.scss","../src/src/support/variables/typography.scss","../src/src/support/variables/misc.scss","../src/src/support/variables/layout.scss","../src/src/avatars/avatar-parent-child.scss","../src/src/avatars/avatar-stack.scss","../src/src/avatars/circle-badge.scss"],"names":[],"mappings":"AAAA,QACE,oBAAqB,CACrB,eAAgB,CAChB,aC0BoB,CDzBpB,qBAAsB,CACtB,uCAAwC,CACxC,iBEGoB,CFFpB,aAAc,CAEd,+CAAgD,CACjD,aAGC,UAAW,CACX,aCeoB,CDdrB,mBAIC,oBAAqB,CAErB,iBAAkB,CACnB,kCAQC,iBEtBoB,CFuBrB,UAKC,UGuES,CHtET,WGsES,CHnEoC,UAJ7C,UG2EqB,CH1ErB,WG0EqB,CHtEwB,UAL7C,UG4EqB,CH3ErB,WG2EqB,CHtEwB,UAN7C,UG6EqB,CH5ErB,WG4EqB,CHtEwB,UAP7C,UG8EqB,CH7ErB,WG6EqB,CHtEwB,UAR7C,UG+EqB,CH9ErB,WG8EqB,CHtEwB,UAT7C,UGgFqB,CH/ErB,WG+EqB,CHtEwB,UAV7C,UGiFqB,CHhFrB,WGgFqB,CHtEwB,qBI1C7C,iBAAkB,CACnB,cAGC,iBAAkB,CAClB,UAAW,CACX,UAAW,CACX,uCAAwC,CAExC,iBFNoB,CEOpB,2CAA4C,CAC7C,aCZC,iBAAkB,CAClB,cAAe,CACf,WAAY,CAHd,+BAMI,iBAAkB,CANtB,8BAUI,cAAe,CAVnB,qCAcI,cAAe,CAChB,kBAID,YAAa,CACb,iCAAkC,CAFpC,0BAKI,iBAAkB,CAClB,SAAU,CACV,YAAa,CACb,UAAW,CACX,WAAY,CACZ,sBAAuB,CAEvB,kBAAmB,CACnB,uCAAwC,CACxC,6CAAgE,CAEhE,iBH7BkB,CG8BlB,kCAAmC,CAjBvC,sCAoBM,SAAU,CApBhB,qCAwBM,SAAU,CACV,cAAe,CAzBrB,8BA+BM,iBH5CgB,CGatB,yCAqCM,YAAa,CACb,SAAU,CAtChB,gCA6CM,gBAAiB,CA7CvB,+CAkDM,YAAa,CACb,SAAU,CAnDhB,qCAuDM,uBAAwB,CACzB,oBAKH,SAAU,CACV,cAAe,CACf,mCAAoC,CAHtC,uDAOI,iBAAkB,CAClB,aAAc,CACd,WAAY,CACZ,UAAW,CAEX,iBAAkB,CAClB,wCAA2D,CAb/D,4BAiBI,UAAW,CAEX,8CAA+C,CAnBnD,2BAuBI,UAAW,CAEX,yCAA0C,CAC3C,sCAOC,OAAQ,CACR,0BAA2B,CAH/B,oDAMM,cAAe,CAEf,eAAgB,CARtB,wCAcI,yCAA0C,CAd9C,gDAiBM,SAAU,CAjBhB,+CAqBM,SAAU,CACV,mCAAoC,CAtB1C,4BA2BI,cAAe,CAEf,iBAAkB,CAClB,cAAe,CACf,4CAA+D,CAChE,aC7ID,YAAa,CACb,kBAAmB,CACnB,sBAAuB,CACvB,uCAAwC,CACxC,iBAAkB,CAClB,qCAAsC,CACvC,kBAGC,wBAAyB,CACzB,sBAAuB,CACvB,yBAA0B,CAC3B,oBAIC,UAAW,CACX,WAAY,CACb,qBAIC,UAAW,CACX,WAAY,CACb,oBAIC,WAAY,CACZ,YAAa,CACd,kBAMC,iBAAkB,CADpB,0BAII,iBAAkB,CAClB,OAAQ,CACR,MAAO,CACP,UAAW,CACX,UAAW,CAEX,oDAAqD,CAVzD,+BAcI,iBAAkB","file":"avatars.css","sourcesContent":[".avatar {\n display: inline-block;\n overflow: hidden; // Ensure page layout in Firefox should images fail to load\n line-height: $lh-condensed-ultra;\n vertical-align: middle;\n background-color: var(--color-avatar-bg); // adds opaque bg to transparent avatars\n border-radius: $border-radius;\n flex-shrink: 0;\n // stylelint-disable-next-line primer/box-shadow\n box-shadow: 0 0 0 1px var(--color-avatar-border);\n}\n\n.avatar-link {\n float: left;\n line-height: $lh-condensed-ultra;\n}\n\n// User for example on /stars and /user for grids of avatars\n.avatar-group-item {\n display: inline-block;\n // stylelint-disable-next-line primer/spacing\n margin-bottom: 3px;\n}\n\n// Border radius\n\n.avatar-1,\n.avatar-2,\n.avatar-small {\n // stylelint-disable-next-line primer/borders\n border-radius: $border-radius-1;\n}\n\n// Sizes\n\n@mixin avatar-size( $size ) {\n width: $size;\n height: $size;\n}\n\n.avatar-1 { @include avatar-size( $size-1 ); }\n.avatar-2 { @include avatar-size( $size-2 ); }\n.avatar-3 { @include avatar-size( $size-3 ); }\n.avatar-4 { @include avatar-size( $size-4 ); }\n.avatar-5 { @include avatar-size( $size-5 ); }\n.avatar-6 { @include avatar-size( $size-6 ); }\n.avatar-7 { @include avatar-size( $size-7 ); }\n.avatar-8 { @include avatar-size( $size-8 ); }\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$mono-font: \"SFMono-Regular\", 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","// 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: round($spacer / 2) !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","// .avatar-parent-child is when you see a small avatar at the bottom right\n// corner of a larger avatar.\n//\n// No Styleguide version\n.avatar-parent-child {\n position: relative;\n}\n\n.avatar-child {\n position: absolute;\n right: -15%;\n bottom: -9%;\n background-color: var(--color-bg-canvas); // For transparent backgrounds\n // stylelint-disable-next-line primer/borders\n border-radius: $border-radius-1;\n box-shadow: var(--color-avatar-child-shadow);\n}\n","// Stacked avatars can be used to show who is participating in thread when\n// there is limited space available.\n\n.AvatarStack {\n position: relative;\n min-width: 26px;\n height: 20px;\n\n .AvatarStack-body {\n position: absolute;\n }\n\n &.AvatarStack--two {\n min-width: 36px;\n }\n\n &.AvatarStack--three-plus {\n min-width: 46px;\n }\n}\n\n.AvatarStack-body {\n display: flex;\n background: var(--color-bg-canvas);\n\n .avatar {\n position: relative;\n z-index: 2;\n display: flex;\n width: 20px;\n height: 20px;\n box-sizing: content-box;\n // stylelint-disable-next-line primer/spacing\n margin-right: -11px;\n background-color: var(--color-bg-canvas);\n border-right: $border-width $border-style var(--color-bg-canvas); // stylelint-disable-line primer/borders\n // stylelint-disable-next-line primer/borders\n border-radius: $border-radius-1;\n transition: margin 0.1s ease-in-out;\n\n &:first-child {\n z-index: 3;\n }\n\n &:last-child {\n z-index: 1;\n border-right: 0;\n }\n\n // stylelint-disable selector-max-type\n img {\n // stylelint-disable-next-line primer/borders\n border-radius: $border-radius-1;\n }\n // stylelint-enable selector-max-type\n\n // Account for 4+ avatars\n &:nth-child(n+4) {\n display: none;\n opacity: 0;\n }\n }\n\n &:hover {\n .avatar {\n // stylelint-disable-next-line primer/spacing\n margin-right: 3px;\n }\n\n // stylelint-disable-next-line selector-max-specificity\n .avatar:nth-child(n+4) {\n display: flex;\n opacity: 1;\n }\n\n .avatar-more {\n display: none !important;\n }\n }\n}\n\n.avatar.avatar-more {\n z-index: 1;\n margin-right: 0;\n background: var(--color-bg-tertiary);\n\n &::before,\n &::after {\n position: absolute;\n display: block;\n height: 20px;\n content: \"\";\n // stylelint-disable-next-line primer/borders\n border-radius: 2px;\n outline: $border-width $border-style var(--color-bg-canvas);\n }\n\n &::before {\n width: 17px;\n // stylelint-disable-next-line primer/colors\n background: var(--color-avatar-stack-fade-more);\n }\n\n &::after {\n width: 14px;\n // stylelint-disable-next-line primer/colors\n background: var(--color-avatar-stack-fade);\n }\n}\n\n// Right aligned variation\n\n.AvatarStack--right {\n .AvatarStack-body {\n right: 0;\n flex-direction: row-reverse;\n\n &:hover .avatar {\n margin-right: 0;\n // stylelint-disable-next-line primer/spacing\n margin-left: 3px;\n }\n }\n\n .avatar.avatar-more {\n // stylelint-disable-next-line primer/colors\n background: var(--color-avatar-stack-fade);\n\n &::before {\n width: 5px;\n }\n\n &::after {\n width: 2px;\n background: var(--color-bg-tertiary);\n }\n }\n\n .avatar {\n margin-right: 0;\n // stylelint-disable-next-line primer/spacing\n margin-left: -11px;\n border-right: 0;\n border-left: $border-width $border-style var(--color-bg-canvas); // stylelint-disable-line primer/borders\n }\n}\n","// Circle badge icon with drop shadow for icons and logos\n\n.CircleBadge {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--color-bg-canvas);\n border-radius: 50%;\n box-shadow: var(--color-shadow-medium);\n}\n\n.CircleBadge-icon {\n max-width: 60% !important;\n height: auto !important;\n max-height: 55% !important;\n}\n\n// Small badge\n.CircleBadge--small {\n width: 56px;\n height: 56px;\n}\n\n// Medium badge\n.CircleBadge--medium {\n width: 96px;\n height: 96px;\n}\n\n// Large badge\n.CircleBadge--large {\n width: 128px;\n height: 128px;\n}\n\n// Dashed line that connects badges..\n// Wrap around 2 or more badges to create a horizonal line:\n\n.DashedConnection {\n position: relative;\n\n &::before {\n position: absolute;\n top: 50%;\n left: 0;\n width: 100%;\n content: \"\";\n // stylelint-disable-next-line primer/borders\n border-bottom: 2px dashed var(--color-border-primary);\n }\n\n .CircleBadge {\n position: relative;\n }\n}\n"]}