{"version":3,"sources":["../src/src/avatars/avatar.scss","../src/src/support/variables/typography.scss","../src/src/support/variables/misc.scss","../src/src/avatars/avatar-parent-child.scss","../src/src/support/variables/color-system.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,iBEEiB,CFDlB,cAGe,iBAAkB,CAAI,aAGpC,UAAW,CACX,aCgBoB,CDfrB,mBAIC,oBAAqB,CAErB,iBAAkB,CACnB,qBGhBC,iBAAkB,CACnB,cAGC,iBAAkB,CAClB,UAAW,CACX,UAAW,CACX,qBCVU,CDYV,iBAAkB,CAElB,4CCdU,CDeX,aEbC,iBAAkB,CAClB,cAAe,CACf,WAAY,CAHd,+BAMI,iBAAkB,CANtB,8BAUI,cAAe,CAVnB,qCAcI,cAAe,CAChB,kBAID,YAAa,CACb,eDrBU,CCmBZ,0BAKI,iBAAkB,CAClB,SAAU,CACV,YAAa,CACb,UAAW,CACX,WAAY,CACZ,sBAAuB,CAEvB,kBAAmB,CACnB,qBDhCQ,CCiCR,2BDjCQ,CCmCR,iBAAkB,CAClB,kCAAmC,CAjBvC,sCAoBM,SAAU,CApBhB,qCAwBM,SAAU,CACV,cAAe,CAzBrB,8BA+BM,iBAAkB,CA/BxB,yCAqCM,YAAa,CACb,SAAU,CAtChB,gCA6CM,gBAAiB,CA7CvB,+CAiDM,YAAa,CACb,SAAU,CAlDhB,qCAsDM,uBAAwB,CACzB,oBAKH,SAAU,CACV,cAAe,CACf,kBD3EuB,CCwEzB,uDAOI,iBAAkB,CAClB,aAAc,CACd,WAAY,CACZ,UAAW,CAEX,iBAAkB,CAClB,sBD3FQ,CC8EZ,4BAiBI,UAAW,CAEX,kBD1FqB,CCuEzB,2BAuBI,UAAW,CAEX,kBD/FqB,CCgGtB,sCAOC,OAAQ,CACR,0BAA2B,CAH/B,oDAMM,cAAe,CAEf,eAAgB,CARtB,wCAcI,kBDnHqB,CCqGzB,gDAiBM,SAAU,CAjBhB,+CAqBM,SAAU,CACV,kBD7HmB,CCuGzB,4BA2BI,cAAe,CAEf,iBAAkB,CAClB,cAAe,CACf,0BD5IQ,CC6IT,aC5ID,YAAa,CACb,kBAAmB,CACnB,sBAAuB,CACvB,qBFJU,CEKV,iBAAkB,CAClB,wCFPa,CEQd,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,gCFvCqB,CE6BzB,+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 border-radius: $border-radius;\n}\n\n// stylelint-disable-next-line primer/borders\n.avatar-small { border-radius: 2px; }\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","// 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 size\n$border-width: 1px !default;\n$border-color: $border-gray !default;\n$border-style: solid !default;\n$border: $border-width $border-color $border-style !default;\n$border-radius: 3px !default;\n\n// Box shadow\n$box-shadow: 0 1px 1px rgba($black, 0.1) !default;\n$box-shadow-medium: 0 1px 5px $black-fade-15 !default;\n$box-shadow-large: 0 1px 15px $black-fade-15 !default;\n$box-shadow-extra-large: 0 10px 50px rgba($black, 0.07) !default;\n\n// Button and form variables\n$form-control-shadow: inset 0 1px 2px rgba($black, 0.075) !default;\n$btn-input-focus-shadow: 0 0 0 0.2em rgba($blue, 0.3) !default;\n$btn-active-shadow: inset 0 0.15em 0.3em $black-fade-15 !default;\n\n// Tooltips\n$tooltip-max-width: 250px !default;\n$tooltip-background-color: $black !default;\n$tooltip-text-color: $white !default;\n$tooltip-delay: 0.4s !default;\n$tooltip-duration: 0.1s !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: $bg-white; // For transparent backgrounds\n // stylelint-disable-next-line primer/borders\n border-radius: 2px;\n // stylelint-disable-next-line primer/box-shadow\n box-shadow: -2px -2px 0 rgba($white, 0.8);\n}\n","// Black based on same hue as $gray-900\n$black: #1b1f23 !default;\n$white: #fff !default;\n\n//\n//\n// -------- Grays --------\n$gray-000: #fafbfc !default;\n$gray-100: #f6f8fa !default;\n$gray-200: #e1e4e8 !default;\n$gray-300: #d1d5da !default;\n$gray-400: #959da5 !default;\n$gray-500: #6a737d !default;\n$gray-600: #586069 !default;\n$gray-700: #444d56 !default;\n$gray-800: #2f363d !default;\n$gray-900: #24292e !default; // body font color\n\n// -------- Blue --------\n$blue-000: #f1f8ff !default;\n$blue-100: #dbedff !default;\n$blue-200: #c8e1ff !default;\n$blue-300: #79b8ff !default;\n$blue-400: #2188ff !default;\n$blue-500: #0366d6 !default; // Default: Passes AA with #fff\n$blue-600: #005cc5 !default;\n$blue-700: #044289 !default;\n$blue-800: #032f62 !default;\n$blue-900: #05264c !default; // Passes with 1/2/300 blues\n\n// -------- Green --------\n$green-000: #f0fff4 !default;\n$green-100: #dcffe4 !default;\n$green-200: #bef5cb !default;\n$green-300: #85e89d !default;\n$green-400: #34d058 !default;\n$green-500: #28a745 !default; // Default. passes AA Large\n$green-600: #22863a !default; // Text green, passes AA on #fff\n$green-700: #176f2c !default;\n$green-800: #165c26 !default;\n$green-900: #144620 !default;\n\n// -------- Yellow --------\n$yellow-000: #fffdef !default;\n$yellow-100: #fffbdd !default;\n$yellow-200: #fff5b1 !default;\n$yellow-300: #ffea7f !default;\n$yellow-400: #ffdf5d !default;\n$yellow-500: #ffd33d !default;\n$yellow-600: #f9c513 !default;\n$yellow-700: #dbab09 !default;\n$yellow-800: #b08800 !default;\n$yellow-900: #735c0f !default;\n\n// -------- Orange --------\n$orange-000: #fff8f2 !default;\n$orange-100: #ffebda !default;\n$orange-200: #ffd1ac !default;\n$orange-300: #ffab70 !default;\n$orange-400: #fb8532 !default;\n$orange-500: #f66a0a !default; // Default. passes AA Large with #fff\n$orange-600: #e36209 !default;\n$orange-700: #d15704 !default;\n$orange-800: #c24e00 !default;\n$orange-900: #a04100 !default;\n\n// -------- Red --------\n$red-000: #ffeef0 !default;\n$red-100: #ffdce0 !default;\n$red-200: #fdaeb7 !default;\n$red-300: #f97583 !default;\n$red-400: #ea4a5a !default;\n$red-500: #d73a49 !default; // Default. passes AA\n$red-600: #cb2431 !default;\n$red-700: #b31d28 !default;\n$red-800: #9e1c23 !default;\n$red-900: #86181d !default;\n\n// -------- Purple --------\n$purple-000: #f5f0ff !default;\n$purple-100: #e6dcfd !default;\n$purple-200: #d1bcf9 !default;\n$purple-300: #b392f0 !default;\n$purple-400: #8a63d2 !default;\n$purple-500: #6f42c1 !default; // passes AA with #fff\n$purple-600: #5a32a3 !default;\n$purple-700: #4c2889 !default;\n$purple-800: #3a1d6e !default;\n$purple-900: #29134e !default;\n\n// -------- Pink --------\n$pink-000: #ffeef8 !default;\n$pink-100: #fedbf0 !default;\n$pink-200: #f9b3dd !default;\n$pink-300: #f692ce !default;\n$pink-400: #ec6cb9 !default;\n$pink-500: #ea4aaa !default;\n$pink-600: #d03592 !default;\n$pink-700: #b93a86 !default;\n$pink-800: #99306f !default;\n$pink-900: #6d224f !default;\n\n// -------- Fades --------\n$black-fade-15: rgba($black, 0.15) !default;\n$black-fade-30: rgba($black, 0.3) !default;\n$black-fade-50: rgba($black, 0.5) !default;\n$black-fade-70: rgba($black, 0.7) !default;\n$black-fade-85: rgba($black, 0.85) !default;\n\n$white-fade-15: rgba($white, 0.15) !default;\n$white-fade-30: rgba($white, 0.3) !default;\n$white-fade-50: rgba($white, 0.5) !default;\n$white-fade-70: rgba($white, 0.7) !default;\n$white-fade-85: rgba($white, 0.85) !default;\n\n// -------- Color defaults --------\n$red: $red-500 !default;\n$purple: $purple-500 !default;\n$blue: $blue-500 !default;\n$green: $green-500 !default;\n$yellow: $yellow-500 !default;\n$orange: $orange-500 !default;\n\n$gray-dark: $gray-900 !default;\n$gray-light: $gray-400 !default;\n$gray: $gray-500 !default;\n\n// -------- Color gradient maps --------\n\n$grays: (\n 0: $gray-000,\n 1: $gray-100,\n 2: $gray-200,\n 3: $gray-300,\n 4: $gray-400,\n 5: $gray-500,\n 6: $gray-600,\n 7: $gray-700,\n 8: $gray-800,\n 9: $gray-900,\n) !default;\n\n$blues: (\n 0: $blue-000,\n 1: $blue-100,\n 2: $blue-200,\n 3: $blue-300,\n 4: $blue-400,\n 5: $blue-500,\n 6: $blue-600,\n 7: $blue-700,\n 8: $blue-800,\n 9: $blue-900,\n) !default;\n\n$greens: (\n 0: $green-000,\n 1: $green-100,\n 2: $green-200,\n 3: $green-300,\n 4: $green-400,\n 5: $green-500,\n 6: $green-600,\n 7: $green-700,\n 8: $green-800,\n 9: $green-900,\n) !default;\n\n$yellows: (\n 0: $yellow-000,\n 1: $yellow-100,\n 2: $yellow-200,\n 3: $yellow-300,\n 4: $yellow-400,\n 5: $yellow-500,\n 6: $yellow-600,\n 7: $yellow-700,\n 8: $yellow-800,\n 9: $yellow-900,\n) !default;\n\n$oranges: (\n 0: $orange-000,\n 1: $orange-100,\n 2: $orange-200,\n 3: $orange-300,\n 4: $orange-400,\n 5: $orange-500,\n 6: $orange-600,\n 7: $orange-700,\n 8: $orange-800,\n 9: $orange-900,\n) !default;\n\n$reds: (\n 0: $red-000,\n 1: $red-100,\n 2: $red-200,\n 3: $red-300,\n 4: $red-400,\n 5: $red-500,\n 6: $red-600,\n 7: $red-700,\n 8: $red-800,\n 9: $red-900,\n) !default;\n\n$purples: (\n 0: $purple-000,\n 1: $purple-100,\n 2: $purple-200,\n 3: $purple-300,\n 4: $purple-400,\n 5: $purple-500,\n 6: $purple-600,\n 7: $purple-700,\n 8: $purple-800,\n 9: $purple-900,\n) !default;\n\n$pinks: (\n 0: $pink-000,\n 1: $pink-100,\n 2: $pink-200,\n 3: $pink-300,\n 4: $pink-400,\n 5: $pink-500,\n 6: $pink-600,\n 7: $pink-700,\n 8: $pink-800,\n 9: $pink-900,\n) !default;\n\n$hue-maps: (\n \"gray\": $grays,\n \"blue\": $blues,\n \"green\": $greens,\n \"yellow\": $yellows,\n \"orange\": $oranges,\n \"red\": $reds,\n \"purple\": $purples,\n \"pink\": $pinks,\n) !default;\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: $bg-white;\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: $bg-white;\n border-right: $border-width $border-style $border-white;\n // stylelint-disable-next-line primer/borders\n border-radius: 2px;\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: 2px;\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 .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: $bg-gray;\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 $white;\n }\n\n &::before {\n width: 17px;\n // stylelint-disable-next-line primer/colors\n background: $gray-200;\n }\n\n &::after {\n width: 14px;\n // stylelint-disable-next-line primer/colors\n background: $gray-300;\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: $gray-300;\n\n &::before {\n width: 5px;\n }\n\n &::after {\n width: 2px;\n background: $bg-gray;\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 $border-white;\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: $bg-white;\n border-radius: 50%;\n box-shadow: $box-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 $border-gray;\n }\n\n .CircleBadge {\n position: relative;\n }\n}\n"]}