{"version":3,"sources":["../src/src/navigation/menu.scss","../src/src/support/variables/layout.scss","../src/src/support/variables/misc.scss","../src/src/support/variables/typography.scss","../src/src/navigation/tabnav.scss","../src/src/navigation/filter-list.scss","../src/src/navigation/sidenav.scss","../src/src/navigation/subnav.scss","../src/src/support/mixins/layout.scss","../src/src/navigation/underline-nav.scss"],"names":[],"mappings":"AAIA,MACE,kBCgCoB,CD/BpB,eAAgB,CAChB,4CAA6C,CAC7C,4CAA+D,CAC/D,iBEAoB,CFCrB,WAGC,iBAAkB,CAClB,aAAc,CACd,gBCsBoB,CDrBpB,6BAA8B,CAC9B,iDAAoE,CALtE,uBAQI,YAAa,CACb,0BEZkB,CFalB,2BEbkB,CFGtB,+BAYgB,0BEfM,CFGtB,sBAgBI,eAAgB,CAChB,8BEpBkB,CFqBlB,6BErBkB,CFGtB,8BAoBgB,6BEvBM,CFGtB,iBAwBI,SAAU,CACV,YAAa,CACb,2CAA4C,CA1BhD,iBA8BI,oBAAqB,CACrB,4CAA6C,CA/BjD,kBAmCI,2CAA4C,CAnChD,sGAyCI,cAAe,CACf,4CAA6C,CA1CjD,8HA6CM,iBAAkB,CAClB,KAAM,CACN,QAAS,CACT,MAAO,CACP,SAAU,CACV,UAAW,CACX,kDAAmD,CAnDzD,oBAwDI,UAAW,CACX,gBCtCQ,CDuCR,2BAA4B,CAC5B,iBAAkB,CA3DtB,oBA+DI,WAAY,CACZ,eCzCoB,CDvBxB,yBAoEI,WAAY,CACZ,+BAAgC,CArEpC,mBAyEI,UAAW,CACX,gBCnDoB,CDvBxB,0BA+EM,4BAA6B,CAC9B,cAKH,aAAc,CACd,gBC7DoB,CD8DpB,YAAa,CACb,eAAgB,CAChB,iBAAkB,CAClB,eG/EoB,CHgFpB,6BAA8B,CAC9B,iDAAoE,CARtE,oBAWI,oBAAqB,CAXzB,0BAeI,0BEtGkB,CFuGlB,2BEvGkB,CFuFtB,yBAoBI,eAAgB,CAChB,8BE5GkB,CF6GlB,6BE7GkB,CF8Gn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7B,0BAGC,WAAY,CACb,oBAGC,iBAAkB,CAClB,OAAQ,CACR,QAAS,CACT,aAAc,CACd,2BAA4B,CAC5B,iBAAkB,CAClB,mBAAoB,CACrB,4BAIG,yBAA0B,CAC1B,4BAA6B,CAHjC,4IASM,SAAU,CAThB,sCAeI,gBAAiB,CAfrB,2DAkBM,wBAAyB,CACzB,2BAA4B,CAnBlC,iDAwBI,UAAW,CAxBf,0CA4BI,WAAY,CA5BhB,8CAgCI,aAAc,CACf,qBAKD,kBAAmB,CACpB,cE7HC,YAAa,CACb,eAAgB,CAChB,iBAAkB,CAElB,mDAAoD,CACpD,6BAA8B,CAC/B,mBAGC,YAAa,CACd,mBAGC,gBRuBoB,CQtBpB,cN0BmB,CMxBnB,gBAAiB,CACjB,6BAA8B,CAC9B,iBAAkB,CAClB,kBAAmB,CACnB,4BAA6B,CAC7B,QAAS,CAET,mCAA4C,CAX9C,kDAeI,6BAA8B,CAC9B,oBAAqB,CACrB,8CAA+C,CAC/C,8BAA+B,CAC/B,mBAAoB,CACpB,6CAA8C,CApBlD,wIA0BI,eNhBkB,CMiBlB,6BAA8B,CAC9B,qDAAsD,CACtD,8BAA+B,CAC/B,mBAAoB,CA9BxB,0MAiCM,2BAA4B,CAC7B,qBAKH,wBAAyB,CAD3B,2CAII,aAAc,CACf,sBAID,iBAAkB,CACnB,oBAGC,aAAc,CACf,sBAGC,gBRjCsB,CQkCtB,4BAA6B,CAC9B,uBAGC,eRtCsB,CQuCtB,6BAA8B,CAC9B,2CAA4C,CAH9C,gCAMI,iCAAkC,CAClC,8CAA+C,CAChD,wBAID,YAAa,CACb,6BAA8B","file":"navigation.css","sourcesContent":["// Side menu\n//\n// A menu on the side of a page, defaults to left side. e.g. github.com/about\n\n.menu {\n margin-bottom: $spacer-3;\n list-style: none;\n background-color: var(--color-canvas-default);\n border: $border-width $border-style var(--color-border-default);\n border-radius: $border-radius;\n}\n\n.menu-item {\n position: relative;\n display: block;\n padding: $spacer-2 $spacer-3;\n color: var(--color-fg-default);\n border-bottom: $border-width $border-style var(--color-border-muted);\n\n &:first-child {\n border-top: 0;\n border-top-left-radius: $border-radius;\n border-top-right-radius: $border-radius;\n\n &::before { border-top-left-radius: $border-radius; }\n }\n\n &:last-child {\n border-bottom: 0;\n border-bottom-right-radius: $border-radius;\n border-bottom-left-radius: $border-radius;\n\n &::before { border-bottom-left-radius: $border-radius; }\n }\n\n &:focus {\n z-index: 1;\n outline: none;\n box-shadow: var(--color-primer-shadow-focus);\n }\n\n &:hover {\n text-decoration: none;\n background-color: var(--color-neutral-subtle);\n }\n\n &:active {\n background-color: var(--color-canvas-subtle);\n }\n\n &.selected,\n &[aria-selected=true],\n &[aria-current]:not([aria-current=false]) {\n cursor: default;\n background-color: var(--color-menu-bg-active);\n\n &::before {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 2px;\n content: \"\";\n background-color: var(--color-primer-border-active);\n }\n }\n\n .octicon {\n width: 16px;\n margin-right: $spacer-2;\n color: var(--color-fg-muted);\n text-align: center;\n }\n\n .Counter {\n float: right;\n margin-left: $spacer-1;\n }\n\n .menu-warning {\n float: right;\n color: var(--color-attention-fg);\n }\n\n .avatar {\n float: left;\n margin-right: $spacer-1;\n }\n\n &.alert {\n .Counter {\n color: var(--color-danger-fg);\n }\n }\n}\n\n.menu-heading {\n display: block;\n padding: $spacer-2 $spacer-3;\n margin-top: 0;\n margin-bottom: 0;\n font-size: inherit;\n font-weight: $font-weight-bold;\n color: var(--color-fg-default);\n border-bottom: $border-width $border-style var(--color-border-muted);\n\n &:hover {\n text-decoration: none;\n }\n\n &:first-child {\n border-top-left-radius: $border-radius;\n border-top-right-radius: $border-radius;\n }\n\n &:last-child {\n border-bottom: 0;\n border-bottom-right-radius: $border-radius;\n border-bottom-left-radius: $border-radius;\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","// 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","// 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","// Outer wrapper\n// stylelint-disable selector-max-type\n.tabnav {\n margin-top: 0;\n margin-bottom: $spacer-3;\n border-bottom: $border-width $border-style var(--color-border-default);\n}\n\n.tabnav-tabs {\n display: flex;\n // stylelint-disable-next-line primer/spacing\n margin-bottom: -1px;\n overflow: auto;\n}\n\n.tabnav-tab {\n display: inline-block;\n flex-shrink: 0;\n padding: $spacer-2 $spacer-3;\n font-size: $h5-size;\n // stylelint-disable-next-line primer/typography\n line-height: 23px;\n color: var(--color-fg-muted);\n text-decoration: none;\n background-color: transparent;\n border: $border-width $border-style transparent;\n border-bottom: 0;\n transition: color 0.2s cubic-bezier(0.3, 0, 0.5, 1);\n\n &.selected,\n &[aria-selected=true],\n &[aria-current]:not([aria-current=false]) {\n color: var(--color-fg-default);\n background-color: var(--color-canvas-default); // cover bottom border\n border-color: var(--color-border-default);\n border-radius: $border-radius $border-radius 0 0;\n\n .octicon {\n color: inherit;\n }\n }\n\n &:hover,\n &:focus {\n color: var(--color-fg-default);\n text-decoration: none;\n transition-duration: 0.1s;\n }\n\n &:active {\n color: var(--color-fg-muted);\n }\n\n .octicon {\n margin-right: $spacer-1;\n color: var(--color-fg-muted);\n }\n\n .Counter {\n margin-left: $spacer-1;\n color: inherit;\n }\n}\n\n// Tabnav extras\n//\n// Tabnav extras are non-tab elements that sit in the tabnav. Usually they're\n// inline text or links.\n\n.tabnav-extra {\n display: inline-block;\n // stylelint-disable-next-line primer/spacing\n padding-top: 10px;\n // stylelint-disable-next-line primer/spacing\n margin-left: 10px;\n font-size: $font-size-small;\n color: var(--color-fg-muted);\n\n > .octicon {\n // stylelint-disable-next-line primer/spacing\n margin-right: 2px;\n }\n}\n\n// When tabnav-extra are anchors\n// stylelint-disable-next-line selector-no-qualifying-type\na.tabnav-extra:hover {\n color: var(--color-accent-fg);\n text-decoration: none;\n}\n\n// Tabnav buttons\n//\n// For when there are multiple buttons, space them out appropriately. Requires\n// the buttons to be floated or inline-block.\n\n.tabnav-btn {\n margin-left: $spacer-2;\n}\n","// Filters list\n//\n// A vertical list of filters.\n.filter-list {\n list-style-type: none;\n\n &.small .filter-item {\n // stylelint-disable-next-line primer/spacing\n padding: 6px 12px;\n font-size: $font-size-small;\n }\n\n &.pjax-active .filter-item {\n color: var(--color-fg-muted);\n background-color: transparent;\n\n &.pjax-active {\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-accent-emphasis);\n }\n }\n}\n\n.filter-item {\n position: relative;\n display: block;\n padding: $spacer-2 $spacer-3;\n margin-bottom: $spacer-1;\n overflow: hidden;\n font-size: $h5-size;\n color: var(--color-fg-muted);\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n border-radius: $border-radius;\n\n &:hover {\n text-decoration: none;\n background-color: var(--color-canvas-subtle);\n }\n\n &.selected,\n &[aria-selected=true],\n &[aria-current]:not([aria-current=false]) {\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-accent-emphasis);\n }\n\n .count {\n float: right;\n font-weight: $font-weight-bold;\n }\n\n .bar {\n position: absolute;\n top: 2px;\n right: 0;\n bottom: 2px;\n z-index: -1;\n display: inline-block;\n background-color: var(--color-neutral-subtle);\n }\n}\n","// Side Nav\n//\n// A vertical list of navigational links, typically used on the left side of a page.\n\n.SideNav {\n background-color: var(--color-canvas-subtle);\n}\n\n.SideNav-item {\n position: relative;\n display: block;\n width: 100%;\n // stylelint-disable-next-line primer/spacing\n padding: 12px $spacer-3;\n color: var(--color-fg-default);\n text-align: left;\n background-color: transparent;\n border: 0;\n border-top: $border-width $border-style var(--color-border-muted);\n\n &:first-child {\n border-top: 0;\n }\n\n &:last-child {\n // makes sure there is a \"bottom border\" in case the list is not long enough\n // stylelint-disable-next-line primer/box-shadow\n box-shadow: 0 $border-width 0 var(--color-border-default);\n }\n\n // Bar on the left\n &::before {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n z-index: 1;\n width: 2px;\n pointer-events: none;\n content: \"\";\n }\n}\n\n// States\n\n.SideNav-item:focus {\n z-index: 1;\n outline: none;\n box-shadow: var(--color-primer-shadow-focus);\n}\n\n.SideNav-item:hover {\n text-decoration: none;\n background-color: var(--color-neutral-subtle);\n outline: none;\n}\n\n.SideNav-item:active {\n background-color: var(--color-canvas-subtle);\n}\n\n.SideNav-item[aria-current]:not([aria-current=false]),\n.SideNav-item[aria-selected=\"true\"] {\n background-color: var(--color-sidenav-selected-bg);\n\n // Bar on the left\n &::before {\n background-color: var(--color-primer-border-active);\n }\n}\n\n// Icon\n//\n// Makes sure multiple icons are vertically aligned\n\n.SideNav-icon {\n width: 16px;\n margin-right: $spacer-2;\n color: var(--color-fg-muted);\n}\n\n// Sub Nav\n//\n// A more lightweight version, suited as a sub nav\n\n.SideNav-subItem {\n position: relative;\n display: block;\n width: 100%;\n padding: $spacer-1 0;\n color: var(--color-accent-fg);\n text-align: left;\n background-color: transparent;\n border: 0;\n}\n\n.SideNav-subItem:hover,\n.SideNav-subItem:focus {\n color: var(--color-fg-default);\n text-decoration: none;\n outline: none;\n}\n\n.SideNav-subItem[aria-current]:not([aria-current=false]),\n.SideNav-subItem[aria-selected=\"true\"] {\n font-weight: $font-weight-semibold;\n color: var(--color-fg-default);\n}\n","// Needs refactoring\n// Sub nav\n.subnav {\n // stylelint-disable-next-line primer/spacing\n margin-bottom: 20px;\n\n @include clearfix();\n}\n\n.subnav-bordered {\n // stylelint-disable-next-line primer/spacing\n padding-bottom: 20px;\n border-bottom: $border-width $border-style var(--color-border-muted);\n}\n\n.subnav-flush {\n margin-bottom: 0;\n}\n\n.subnav-item {\n position: relative;\n float: left;\n // stylelint-disable-next-line primer/spacing\n padding: 5px $spacer-3;\n font-weight: $font-weight-semibold;\n // stylelint-disable-next-line primer/typography\n line-height: 20px;\n color: var(--color-fg-default);\n border: $border-width $border-style var(--color-border-default);\n\n + .subnav-item {\n // stylelint-disable-next-line primer/spacing\n margin-left: -1px;\n }\n\n &:hover,\n &:focus {\n text-decoration: none;\n background-color: var(--color-canvas-subtle);\n }\n\n &.selected,\n &[aria-selected=true],\n &[aria-current]:not([aria-current=false]) {\n z-index: 2;\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-accent-emphasis);\n border-color: var(--color-accent-emphasis);\n }\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-top-right-radius: $border-radius;\n border-bottom-right-radius: $border-radius;\n }\n}\n\n.subnav-search {\n position: relative;\n // stylelint-disable-next-line primer/spacing\n margin-left: 12px;\n}\n\n.subnav-search-input {\n width: 320px;\n padding-left: $spacer-5;\n color: var(--color-fg-muted);\n}\n\n.subnav-search-input-wide {\n width: 500px;\n}\n\n.subnav-search-icon {\n position: absolute;\n top: 9px;\n left: 8px;\n display: block;\n color: var(--color-fg-muted);\n text-align: center;\n pointer-events: none;\n}\n\n.subnav-search-context {\n .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n\n &:hover,\n &:focus,\n &:active,\n &.selected {\n z-index: 2;\n }\n }\n\n + .subnav-search {\n // stylelint-disable-next-line primer/spacing\n margin-left: -1px;\n\n .subnav-search-input {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n }\n\n .select-menu-modal-holder {\n z-index: 30;\n }\n\n .select-menu-modal {\n width: 220px;\n }\n\n .select-menu-item-icon {\n color: inherit;\n }\n}\n\n.subnav-spacer-right {\n // stylelint-disable-next-line primer/spacing\n padding-right: 12px;\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",".UnderlineNav {\n display: flex;\n overflow-x: auto;\n overflow-y: hidden;\n // stylelint-disable-next-line primer/box-shadow\n box-shadow: inset 0 -1px 0 var(--color-border-muted);\n justify-content: space-between;\n}\n\n.UnderlineNav-body {\n display: flex;\n}\n\n.UnderlineNav-item {\n padding: $spacer-2 $spacer-3;\n font-size: $body-font-size;\n // stylelint-disable-next-line primer/typography\n line-height: 30px;\n color: var(--color-fg-default);\n text-align: center;\n white-space: nowrap;\n background-color: transparent;\n border: 0;\n // stylelint-disable-next-line primer/borders\n border-bottom: 2px $border-style transparent;\n\n &:hover,\n &:focus {\n color: var(--color-fg-default);\n text-decoration: none;\n border-bottom-color: var(--color-neutral-muted);\n outline: 1px dotted transparent; // Support Firefox custom colors\n outline-offset: -1px;\n transition: border-bottom-color 0.12s ease-out;\n }\n\n &.selected,\n &[role=tab][aria-selected=true],\n &[aria-current]:not([aria-current=false]) {\n font-weight: $font-weight-bold;\n color: var(--color-fg-default);\n border-bottom-color: var(--color-primer-border-active);\n outline: 1px dotted transparent; // Support Firefox custom colors\n outline-offset: -1px;\n\n .UnderlineNav-octicon {\n color: var(--color-fg-muted);\n }\n }\n}\n\n.UnderlineNav--right {\n justify-content: flex-end;\n\n .UnderlineNav-actions {\n flex: 1 1 auto;\n }\n}\n\n.UnderlineNav-actions {\n align-self: center;\n}\n\n.UnderlineNav--full {\n display: block;\n}\n\n.UnderlineNav-octicon {\n margin-right: $spacer-1;\n color: var(--color-fg-subtle);\n}\n\n.UnderlineNav .Counter {\n margin-left: $spacer-1;\n color: var(--color-fg-default);\n background-color: var(--color-neutral-muted);\n\n &--primary {\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-neutral-emphasis);\n }\n}\n\n.UnderlineNav-container {\n display: flex;\n justify-content: space-between;\n}\n"]}