{"version":3,"sources":["../src/src/buttons/button.scss","../src/src/support/variables/layout.scss","../src/src/support/variables/typography.scss","../src/src/support/variables/misc.scss","../src/src/buttons/button-group.scss","../src/src/support/mixins/layout.scss","../src/src/buttons/misc.scss"],"names":[],"mappings":"AAGA,KACE,iBAAkB,CAClB,oBAAqB,CAErB,gBC8BoB,CD7BpB,cEgCmB,CF/BnB,eEewB,CFbxB,gBAAiB,CACjB,kBAAmB,CACnB,qBAAsB,CACtB,cAAe,CACf,wBAAiB,CAAjB,oBAAiB,CAAjB,gBAAiB,CACjB,gBGZkB,CHalB,iBGRoB,CHSpB,uBAAY,CAAZ,eAAgB,CAflB,WAkBI,oBAAqB,CAlBzB,qDAwBI,cAAe,CAxBnB,gFA4BM,gCAAiC,CA5BvC,OAiCI,iBAAkB,CAClB,eEbsB,CFctB,YAAa,CAnCjB,cAuCI,gBCPyB,CDQzB,gCAAiC,CACjC,0BAA2B,CAzC/B,yBA4CM,cAAe,CA5CrB,cAkDI,eAAgB,CAChB,aAAc,CACd,gBAAiB,CACjB,kBAAmB,CACnB,4CAA6C,CAtDjD,qBA0DI,eC1ByB,CD2BzB,WAAY,CACb,KAMD,2BAA4B,CAC5B,oCAAqC,CACrC,oCAAqC,CACrC,gEAAkE,CAClE,4CAA6C,CAC7C,yDAA0D,CAN5D,kCAWI,0CAA2C,CAC3C,0CAA2C,CAC3C,wBAAyB,CAb7B,YAiBI,2CAA4C,CAC5C,2CAA4C,CAC5C,eAAgB,CAnBpB,uCAwBI,6CAA8C,CAC9C,oCAAqC,CAzBzC,qDA+BI,gCAAiC,CACjC,oCAAqC,CACrC,oCAAqC,CAjCzC,sBAuCI,0CAA2C,CAC3C,YAAa,CACb,wCAAyC,CAC1C,aAMD,mCAAoC,CACpC,4CAA6C,CAC7C,4CAA6C,CAC7C,gFAAkF,CAJpF,0DASI,kDAAmD,CACnD,kDAAmD,CAVvD,2EAgBI,qDAAsD,CACtD,mDAAoD,CAjBxD,6EAuBI,4CAA6C,CAC7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T,oBAAqB,CAErB,eAAgB,CAChB,aAAc,CACf,2CAKD,oBAAqB,CACrB,WAAY,CAEZ,iBAAkB,CAClB,cJpHoB,CIqHpB,eJlHoB,CIoHpB,eAAgB,CAEhB,8BAA+B,CAC/B,oBAAqB,CACrB,qBAAsB,CACtB,+CAAgD,CAChD,QAAS,CAET,iBAAkB,CAjBpB,uDAoBI,oBAAqB,CACrB,2DAA4D,CArBhE,yDAyBI,+BAAgC,CAChC,6CAA8C,CAC/C,gBAOD,UAAW,CACX,yBAA0B,CAC1B,4BAA6B,CAH/B,sBAMI,SAAU,CACX,cAQD,iBAAkB,CAClB,UAAW,CAEX,gBAAiB,CACjB,cJlKoB,CImKpB,eJhKoB,CIkKpB,gBAAiB,CACjB,+BAAgC,CAChC,qBAAsB,CACtB,6CAA8C,CAC9C,wCAA2D,CAC3D,aAAc,CACd,2BHtLoB,CGuLpB,8BHvLoB,CGwLpB,kEAAoE,CAhBtE,yCAoBI,oBAAqB,CApBzB,oBAwBI,4BAA6B,CAC7B,cAAe,CAzBnB,oBA6BI,SAAU,CACV,SAAU,CACV,0CAA2C","file":"buttons.css","sourcesContent":["// stylelint-disable selector-max-type, no-duplicate-selectors\n\n// Base button styles\n.btn {\n position: relative;\n display: inline-block;\n // stylelint-disable-next-line primer/spacing\n padding: 5px $spacer-3;\n font-size: $body-font-size;\n font-weight: $font-weight-semibold;\n // stylelint-disable-next-line primer/typography\n line-height: 20px; // Specifically not inherit our `
` default\n white-space: nowrap;\n vertical-align: middle;\n cursor: pointer;\n user-select: none;\n border: $border-width $border-style;\n border-radius: $border-radius;\n appearance: none; // Corrects inability to style clickable `input` types in iOS.\n\n &:hover {\n text-decoration: none;\n }\n\n &:disabled,\n &.disabled,\n &[aria-disabled=true] {\n cursor: default;\n\n .octicon {\n // stylelint-disable-next-line primer/colors\n color: var(--color-icon-tertiary);\n }\n }\n\n i {\n font-style: normal;\n font-weight: $font-weight-semibold;\n opacity: 0.75;\n }\n\n .octicon {\n margin-right: $spacer-1;\n color: var(--color-text-tertiary);\n vertical-align: text-bottom;\n\n &:only-child {\n margin-right: 0;\n }\n }\n\n .Counter {\n // stylelint-disable-next-line primer/spacing\n margin-left: 2px;\n color: inherit;\n text-shadow: none;\n vertical-align: top;\n background-color: var(--color-btn-counter-bg);\n }\n\n .dropdown-caret {\n margin-left: $spacer-1;\n opacity: 0.8;\n }\n}\n\n// Default button\n\n.btn {\n color: var(--color-btn-text);\n background-color: var(--color-btn-bg);\n border-color: var(--color-btn-border);\n box-shadow: var(--color-btn-shadow), var(--color-btn-inset-shadow);\n transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);\n transition-property: color, background-color, border-color;\n\n &:hover,\n &.hover,\n [open] > & {\n background-color: var(--color-btn-hover-bg);\n border-color: var(--color-btn-hover-border);\n transition-duration: 0.1s;\n }\n\n &:active {\n background-color: var(--color-btn-active-bg);\n border-color: var(--color-btn-active-border);\n transition: none;\n }\n\n &.selected,\n &[aria-selected=true] {\n background-color: var(--color-btn-selected-bg);\n box-shadow: var(--color-shadow-inset);\n }\n\n &:disabled,\n &.disabled,\n &[aria-disabled=true] {\n color: var(--color-text-disabled);\n background-color: var(--color-btn-bg);\n border-color: var(--color-btn-border);\n }\n\n // Keep :focus after :disabled. Allows to see the focus ring even on disabled buttons\n &:focus,\n &.focus {\n border-color: var(--color-btn-focus-border);\n outline: none;\n box-shadow: var(--color-btn-focus-shadow);\n }\n}\n\n// Primary button\n\n.btn-primary {\n color: var(--color-btn-primary-text);\n background-color: var(--color-btn-primary-bg);\n border-color: var(--color-btn-primary-border);\n box-shadow: var(--color-btn-primary-shadow), var(--color-btn-primary-inset-shadow);\n\n &:hover,\n &.hover,\n [open] > & {\n background-color: var(--color-btn-primary-hover-bg);\n border-color: var(--color-btn-primary-hover-border);\n }\n\n &:active,\n &.selected,\n &[aria-selected=true] {\n background-color: var(--color-btn-primary-selected-bg);\n box-shadow: var(--color-btn-primary-selected-shadow);\n }\n\n &:disabled,\n &.disabled,\n &[aria-disabled=true] {\n color: var(--color-btn-primary-disabled-text);\n background-color: var(--color-btn-primary-disabled-bg);\n border-color: var(--color-btn-primary-disabled-border);\n }\n\n &:focus,\n &.focus {\n background-color: var(--color-btn-primary-focus-bg);\n border-color: var(--color-btn-primary-focus-border);\n box-shadow: var(--color-btn-primary-focus-shadow);\n }\n\n .Counter {\n color: inherit;\n background-color: var(--color-btn-primary-counter-bg);\n }\n\n .octicon {\n // stylelint-disable-next-line primer/colors\n color: var(--color-btn-primary-icon);\n }\n}\n\n// Outline button\n\n.btn-outline {\n color: var(--color-btn-outline-text);\n\n &:hover,\n [open] > & {\n color: var(--color-btn-outline-hover-text);\n background-color: var(--color-btn-outline-hover-bg);\n border-color: var(--color-btn-outline-hover-border);\n box-shadow: var(--color-btn-outline-hover-shadow), var(--color-btn-outline-hover-inset-shadow);\n\n .Counter {\n background-color: var(--color-btn-outline-hover-counter-bg);\n }\n\n .octicon {\n color: inherit;\n }\n }\n\n &:active,\n &.selected,\n &[aria-selected=true] {\n color: var(--color-btn-outline-selected-text);\n background-color: var(--color-btn-outline-selected-bg);\n border-color: var(--color-btn-outline-selected-border);\n box-shadow: var(--color-btn-outline-selected-shadow);\n }\n\n &:disabled,\n &.disabled,\n &[aria-disabled=true] {\n color: var(--color-btn-outline-disabled-text);\n background-color: var(--color-btn-outline-disabled-bg);\n border-color: var(--color-btn-border);\n box-shadow: none;\n\n .Counter {\n background-color: var(--color-btn-outline-disabled-counter-bg);\n }\n }\n\n &:focus {\n border-color: var(--color-btn-outline-focus-border);\n box-shadow: var(--color-btn-outline-focus-shadow);\n }\n\n .Counter {\n color: inherit;\n background-color: var(--color-btn-outline-counter-bg);\n }\n}\n\n// Danger button\n\n.btn-danger {\n color: var(--color-btn-danger-text);\n\n .octicon {\n // stylelint-disable-next-line primer/colors\n color: var(--color-btn-danger-icon);\n }\n\n &:hover,\n [open] > & {\n color: var(--color-btn-danger-hover-text);\n background-color: var(--color-btn-danger-hover-bg);\n border-color: var(--color-btn-danger-hover-border);\n box-shadow: var(--color-btn-danger-hover-shadow), var(--color-btn-danger-hover-inset-shadow);\n\n .Counter {\n background-color: var(--color-btn-danger-hover-counter-bg);\n }\n\n .octicon {\n // stylelint-disable-next-line primer/colors\n color: var(--color-btn-danger-hover-icon);\n }\n }\n\n &:active,\n &.selected,\n &[aria-selected=true] {\n color: var(--color-btn-danger-selected-text);\n background-color: var(--color-btn-danger-selected-bg);\n border-color: var(--color-btn-danger-selected-border);\n box-shadow: var(--color-btn-danger-selected-shadow);\n }\n\n &:disabled,\n &.disabled,\n &[aria-disabled=true] {\n color: var(--color-btn-danger-disabled-text);\n background-color: var(--color-btn-danger-disabled-bg);\n border-color: var(--color-btn-border);\n box-shadow: none;\n\n .Counter {\n background-color: var(--color-btn-danger-disabled-counter-bg);\n }\n }\n\n &:focus {\n border-color: var(--color-btn-danger-focus-border);\n box-shadow: var(--color-btn-danger-focus-shadow);\n }\n\n .Counter {\n color: inherit;\n background-color: var(--color-btn-danger-counter-bg);\n }\n}\n\n// Sizes\n//\n// Tweak `line-height` to make them smaller.\n.btn-sm {\n // stylelint-disable-next-line primer/spacing\n padding: 3px 12px;\n font-size: $font-size-small;\n // stylelint-disable-next-line primer/typography\n line-height: 20px;\n\n .octicon {\n vertical-align: text-top;\n }\n}\n\n// Large button adds more padding around text. Use font-size utils to increase font-size.. e.g, \n.btn-large {\n padding: $em-spacer-6 1.5em;\n font-size: inherit;\n line-height: $lh-default;\n\n // stylelint-disable-next-line primer/borders\n border-radius: 0.5em;\n}\n\n// Full-width button\n//\n// These buttons expand to the full width of their parent container\n.btn-block {\n display: block;\n width: 100%;\n text-align: center;\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: 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// 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$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","// Button group\n//\n// A button group is a series of buttons laid out next to each other, all part\n// of one visual button, but separated by rules to be separate.\n\n.BtnGroup {\n display: inline-block;\n vertical-align: middle;\n @include clearfix();\n\n // Proper spacing for multiple button groups (a la, gollum editor)\n + .BtnGroup,\n + .btn {\n margin-left: $spacer-1;\n }\n}\n\n.BtnGroup-item {\n position: relative;\n float: left;\n border-right-width: 0;\n border-radius: 0;\n\n &:first-child {\n border-top-left-radius: $border-radius;\n border-bottom-left-radius: $border-radius;\n }\n\n &:last-child {\n border-right-width: $border-width;\n border-top-right-radius: $border-radius;\n border-bottom-right-radius: $border-radius;\n }\n\n &.selected,\n &[aria-selected=true],\n &:focus,\n &:active,\n &:hover {\n border-right-width: $border-width;\n\n + .BtnGroup-item,\n + .BtnGroup-parent .BtnGroup-item {\n border-left-width: 0;\n }\n }\n}\n\n.BtnGroup-parent {\n float: left;\n\n &:first-child .BtnGroup-item {\n border-top-left-radius: $border-radius;\n border-bottom-left-radius: $border-radius;\n }\n\n &:last-child .BtnGroup-item {\n border-right-width: $border-width;\n border-top-right-radius: $border-radius;\n border-bottom-right-radius: $border-radius;\n }\n\n .BtnGroup-item {\n border-right-width: 0;\n border-radius: 0;\n }\n\n &.selected,\n &[aria-selected=true],\n &:focus,\n &:active,\n &:hover {\n .BtnGroup-item {\n border-right-width: $border-width;\n }\n\n + .BtnGroup-item,\n + .BtnGroup-parent .BtnGroup-item {\n border-left-width: 0;\n }\n }\n}\n\n// ensure that the focus ring sits above the adjacent buttons\n.BtnGroup-item,\n.BtnGroup-parent {\n &:focus,\n &:active {\n z-index: 1;\n }\n}\n","// Responsive media queries\n\n@mixin breakpoint($breakpoint) {\n @if $breakpoint == \"\" {\n @content;\n }\n\n @else {\n // Retrieves the value from the key\n $value: map-get($breakpoints, $breakpoint);\n\n // If the key exists in the map\n @if $value != null {\n // Prints a media query based on the value\n @media (min-width: $value) {\n @content;\n }\n }\n\n // If the key doesn't exist in the map\n @else {\n @warn \"Unfortunately, no value could be retrieved from `#{$breakpoint}`. \"\n + \"Please make sure it is defined in `$breakpoints` map.\";\n }\n }\n}\n\n// Retina media query\n\n@mixin retina-media-query {\n @media\n only screen and (-webkit-min-device-pixel-ratio: 2),\n only screen and (min--moz-device-pixel-ratio: 2),\n only screen and (-moz-min-device-pixel-ratio: 2),\n only screen and (-o-min-device-pixel-ratio: 2/1),\n only screen and (min-device-pixel-ratio: 2),\n only screen and (min-resolution: 192dpi),\n only screen and (min-resolution: 2dppx) {\n @content;\n }\n}\n\n// Clearfix\n//\n// Clears floats via mixin.\n\n@mixin clearfix {\n &::before {\n display: table;\n content: \"\";\n }\n\n &::after {\n display: table;\n clear: both;\n content: \"\";\n }\n}\n","// stylelint-disable selector-max-type\n\n// Link-like buttons\n//\n// This class is for styling