{"version":3,"sources":["../src/src/labels/issue-labels.scss","../src/src/labels/mixins.scss","../src/src/support/variables/typography.scss","../src/src/labels/labels.scss","../src/src/labels/states.scss","../src/src/support/variables/layout.scss","../src/src/labels/counters.scss","../src/src/labels/diffstat.scss"],"names":[],"mappings":"AAIA,YCGE,oBAAqB,CACrB,aAAc,CACd,cCWoB,CDVpB,eCcwB,CDbxB,gBAAiB,CACjB,4BAA+C,CAC/C,iBAAkB,CDTpB,qBAII,iBAAkB,CAClB,WAAY,CACZ,oBAAqB,CACrB,aAAc,CACd,aEiBkB,CFzBtB,kBAYI,oBAAqB,CACtB,iBCAD,kBAAmB,CACnB,iBAAkB,CAClB,gBAAiB,CDGlB,QGlBC,iBAAkB,CACnB,cFEC,oBAAqB,CACrB,aAAc,CACd,cCWoB,CDVpB,eCcwB,CDbxB,gBAAiB,CACjB,4BAA+C,CAC/C,iBAAkB,CEDlB,uCAAwC,CACxC,sCAAuC,CAJzC,0BAOI,oBAAqB,CACtB,cFAD,kBAAmB,CACnB,iBAAkB,CAClB,gBAAiB,CEKlB,eFIC,cAAe,CACf,sBAAuB,CACvB,eAAgB,CEAjB,gBAKC,qCAAsC,CACtC,8CAA+C,CAChD,kBAGC,uCAAwC,CACxC,gDAAiD,CAClD,aAGC,kCAAmC,CACnC,2CAA4C,CAC7C,gBAGC,qCAAsC,CACtC,8CAA+C,CAChD,gBAGC,qCAAsC,CACtC,8CAA+C,CAChD,eAGC,oCAAqC,CACrC,6CAA8C,CAC/C,cCvDC,oBAAqB,CAErB,gBAAiB,CACjB,cF+BmB,CE9BnB,eFawB,CEXxB,gBAAiB,CACjB,iBAAkB,CAClB,kBAAmB,CAEnB,iBAAkB,CACnB,4BAKC,sCAAuC,CACvC,+CAAgD,CAChD,mDAAsE,CACvE,aAGC,qCAAsC,CACtC,8CAA+C,CAC/C,8CAA+C,CAChD,eAGC,uCAAwC,CACxC,gDAAiD,CACjD,gDAAiD,CAClD,eAGC,uCAAwC,CACxC,gDAAiD,CACjD,gDAAiD,CAClD,cAMC,cAAe,CACf,cF/BoB,CEiCpB,gBC2DqB,CDhEvB,uBAQI,SAAU,CACX,SEvDD,oBAAqB,CACrB,cD4GqB,CC1GrB,aAAc,CACd,cJcoB,CIbpB,eJiBwB,CIfxB,gBAA0B,CAC1B,+BAAgC,CAChC,iBAAkB,CAClB,wCAAyC,CACzC,4BAA+C,CAE/C,iBAAkB,CAdpB,eAiBI,YAAa,CAjBjB,kBAqBI,uBAAwB,CACxB,WAAY,CACb,kBAID,uCAAwC,CACxC,gDAAiD,CAClD,oBAGC,yCAA0C,CAC1C,kDAAmD,CACpD,UC9BC,cLaY,CKZZ,eLiBoB,CKhBpB,iCAAkC,CAClC,kBAAmB,CACnB,cAAe,CAChB,sEAKC,oBAAqB,CACrB,SFeU,CEdV,UFcU,CEZV,eAAgB,CAChB,mBAAoB,CACrB,wBAGC,kDAAmD,CACnD,uDAAwD,CACzD,sBAGC,kDAAmD,CACnD,uDAAwD,CACzD,wBAGC,iDAAkD,CAClD,sDAAuD","file":"labels.css","sourcesContent":["// Issue Labels\n\n// TODO: Replace with .Label once solid backgrounds are supported\n\n.IssueLabel {\n @include labels-base;\n\n .g-emoji {\n position: relative;\n top: -0.05em;\n display: inline-block;\n font-size: 1em;\n line-height: $lh-condensed-ultra;\n }\n\n &:hover {\n text-decoration: none;\n }\n}\n\n.IssueLabel--big {\n @include labels-large;\n}\n","// Label mixins\n\n// Default: 20px\n// Large: 24px\n// Inline: em based\n\n@mixin labels-base {\n display: inline-block;\n padding: 0 7px;\n font-size: $font-size-small;\n font-weight: $font-weight-semibold;\n line-height: 18px;\n border: $border-width $border-style transparent;\n border-radius: 2em;\n}\n\n@mixin labels-large {\n padding-right: 10px;\n padding-left: 10px;\n line-height: 22px;\n}\n\n// Inline\n//\n// Doesn't increase height of parent element\n// Can be used with different font-sizes\n\n@mixin labels--inline {\n display: inline;\n padding: 0.1667em 0.5em;\n font-size: 0.9em;\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// 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, Menlo, Consolas, Liberation Mono, monospace !default;\n\n// The base body size\n$body-font-size: 14px !default;\n$body-line-height: $lh-default !default;\n","// Labels\n\n// Provide a wrapper to ensure labels stick together\n.labels {\n position: relative;\n}\n\n// Default label\n\n.label, // TODO: Deprecte\n.Label {\n @include labels-base;\n background-color: transparent !important; // TODO: Remove again\n border-color: var(--color-label-border);\n\n &:hover {\n text-decoration: none;\n }\n}\n\n// Large\n\n.Label--large {\n @include labels-large;\n}\n\n// Inline\n\n.Label--inline {\n @include labels--inline;\n}\n\n// Colors\n\n.Label--primary {\n color: var(--color-label-primary-text);\n border-color: var(--color-label-primary-border);\n}\n\n.Label--secondary {\n color: var(--color-label-secondary-text);\n border-color: var(--color-label-secondary-border);\n}\n\n.Label--info {\n color: var(--color-label-info-text);\n border-color: var(--color-label-info-border);\n}\n\n.Label--success {\n color: var(--color-label-success-text);\n border-color: var(--color-label-success-border);\n}\n\n.Label--warning {\n color: var(--color-label-warning-text);\n border-color: var(--color-label-warning-border);\n}\n\n.Label--danger {\n color: var(--color-label-danger-text);\n border-color: var(--color-label-danger-border);\n}\n","// A rounded corner box containing a label \"open\" or \"closed\"\n\n// Default 32px\n// Small 24px\n\n.state, // TODO: Deprecate\n.State {\n display: inline-block;\n // stylelint-disable-next-line primer/spacing\n padding: 5px 12px;\n font-size: $body-font-size;\n font-weight: $font-weight-semibold;\n // stylelint-disable-next-line primer/typography\n line-height: 20px;\n text-align: center;\n white-space: nowrap;\n // stylelint-disable-next-line primer/borders\n border-radius: 2em;\n}\n\n.state, // TODO: Deprecate\n.State,\n.State--draft {\n color: var(--color-pr-state-draft-text);\n background-color: var(--color-pr-state-draft-bg);\n border: $border-width $border-style var(--color-pr-state-draft-border);\n}\n\n.State--open {\n color: var(--color-pr-state-open-text);\n background-color: var(--color-pr-state-open-bg);\n border-color: var(--color-pr-state-open-border);\n}\n\n.State--merged {\n color: var(--color-pr-state-merged-text);\n background-color: var(--color-pr-state-merged-bg);\n border-color: var(--color-pr-state-merged-border);\n}\n\n.State--closed {\n color: var(--color-pr-state-closed-text);\n background-color: var(--color-pr-state-closed-bg);\n border-color: var(--color-pr-state-closed-border);\n}\n\n// Small\n\n.State--small {\n // stylelint-disable-next-line primer/spacing\n padding: 0 10px;\n font-size: $font-size-small;\n // stylelint-disable-next-line primer/typography\n line-height: $size-3;\n\n .octicon {\n width: 1em; // Ensures different icons don't change State indicator width\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","// Counters are rounded-corner badges for numbers\n.Counter {\n display: inline-block;\n min-width: $size-2; // makes sure it's a circle with just one digit\n // stylelint-disable-next-line primer/spacing\n padding: 0 6px;\n font-size: $font-size-small;\n font-weight: $font-weight-semibold;\n // stylelint-disable-next-line primer/typography\n line-height: $size-2 - 2px; // remove borders\n color: var(--color-counter-text);\n text-align: center;\n background-color: var(--color-counter-bg);\n border: $border-width $border-style transparent; // Support Firefox custom colors\n // stylelint-disable-next-line primer/borders\n border-radius: 2em;\n\n &:empty {\n display: none;\n }\n\n .octicon {\n vertical-align: text-top;\n opacity: 0.8;\n }\n}\n\n.Counter--primary {\n color: var(--color-counter-primary-text);\n background-color: var(--color-counter-primary-bg);\n}\n\n.Counter--secondary {\n color: var(--color-counter-secondary-text);\n background-color: var(--color-counter-secondary-bg);\n}\n","// diffstat\n//\n// Green/red blocks showing additions and deletions\n\n.diffstat {\n font-size: $h6-size;\n font-weight: $font-weight-bold;\n color: var(--color-text-secondary);\n white-space: nowrap;\n cursor: default;\n}\n\n.diffstat-block-deleted,\n.diffstat-block-added,\n.diffstat-block-neutral {\n display: inline-block;\n width: $spacer-2;\n height: $spacer-2;\n // stylelint-disable-next-line primer/spacing\n margin-left: 1px;\n outline-offset: -1px; // Support Firefox custom colors\n}\n\n.diffstat-block-deleted {\n background-color: var(--color-diffstat-deletion-bg);\n outline: 1px solid var(--color-diffstat-deletion-border); // Support Firefox custom colors\n}\n\n.diffstat-block-added {\n background-color: var(--color-diffstat-addition-bg);\n outline: 1px solid var(--color-diffstat-addition-border); // Support Firefox custom colors\n}\n\n.diffstat-block-neutral {\n background-color: var(--color-diffstat-neutral-bg);\n outline: 1px solid var(--color-diffstat-neutral-border); // Support Firefox custom colors\n}\n"]}