{"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,wCAAyC,CACzC,4CAA+D,CAC/D,iBEAoB,CFCrB,WAGC,iBAAkB,CAClB,aAAc,CACd,gBCsBoB,CDrBpB,+BAAgC,CAChC,qDAAwE,CAL1E,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,0CAA2C,CA1B/C,iBA8BI,oBAAqB,CACrB,sDAAuD,CA/B3D,kBAmCI,0CAA2C,CAnC/C,sGAyCI,cAAe,CACf,4CAA6C,CA1CjD,8HA6CM,iBAAkB,CAClB,KAAM,CACN,QAAS,CACT,MAAO,CACP,SAAU,CACV,UAAW,CAEX,gDAAiD,CApDvD,oBAyDI,UAAW,CACX,gBCvCQ,CDyCR,gCAAiC,CACjC,iBAAkB,CA7DtB,oBAiEI,WAAY,CACZ,eC3CoB,CDvBxB,yBAsEI,WAAY,CAEZ,+BAAgC,CAxEpC,mBA4EI,UAAW,CACX,gBCtDoB,CDvBxB,0BAkFM,8BAA+B,CAChC,cAKH,aAAc,CACd,gBChEoB,CDiEpB,YAAa,CACb,eAAgB,CAChB,iBAAkB,CAClB,eG5EoB,CH6EpB,oCAAqC,CACrC,qDAAwE,CAR1E,oBAWI,oBAAqB,CAXzB,0BAeI,0BEzGkB,CF0GlB,2BE1GkB,CF0FtB,yBAoBI,eAAgB,CAChB,8BE/GkB,CFgHlB,6BEhHkB,CFiHnB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0BAGC,WAAY,CACb,oBAGC,iBAAkB,CAClB,OAAQ,CACR,QAAS,CACT,aAAc,CAEd,gCAAiC,CACjC,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,cE9HC,YAAa,CACb,eAAgB,CAChB,iBAAkB,CAElB,uDAAwD,CACxD,6BAA8B,CAC/B,mBAGC,YAAa,CACd,mBAGC,gBRuBoB,CQtBpB,iBNZoC,CMcpC,gBAAiB,CACjB,oCAAqC,CACrC,iBAAkB,CAClB,kBAAmB,CACnB,4BAA6B,CAC7B,QAAS,CAET,mCAA4C,CAX9C,kDAeI,0CAA2C,CAC3C,oBAAqB,CACrB,gDAAiD,CACjD,8BAA+B,CAC/B,mBAAoB,CACpB,6CAA8C,CApBlD,wIA0BI,eNVkB,CMWlB,2CAA4C,CAC5C,2DAA4D,CAC5D,8BAA+B,CAC/B,mBAAoB,CA9BxB,0MAiCM,gCAAiC,CAClC,qBAKH,wBAAyB,CAD3B,2CAII,aAAc,CACf,sBAID,iBAAkB,CACnB,oBAGC,aAAc,CACf,sBAGC,gBRjCsB,CQmCtB,oCAAqC,CACtC,uBAGC,eRvCsB,CQwCtB,4CAA6C,CAC7C,qDAAsD,CAHxD,gCAMI,uCAAwC,CACxC,gDAAiD,CAClD,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-bg-primary);\n border: $border-width $border-style var(--color-border-primary);\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-text-primary);\n border-bottom: $border-width $border-style var(--color-border-secondary);\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-state-focus-shadow);\n }\n\n &:hover {\n text-decoration: none;\n background-color: var(--color-state-hover-secondary-bg);\n }\n\n &:active {\n background-color: var(--color-bg-secondary);\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 // stylelint-disable-next-line primer/colors\n background-color: var(--color-menu-border-active);\n }\n }\n\n .octicon {\n width: 16px;\n margin-right: $spacer-2;\n // stylelint-disable-next-line primer/colors\n color: var(--color-icon-tertiary);\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 // stylelint-disable-next-line primer/colors\n color: var(--color-icon-warning);\n }\n\n .avatar {\n float: left;\n margin-right: $spacer-1;\n }\n\n &.alert {\n .Counter {\n color: var(--color-text-danger);\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-menu-heading-text);\n border-bottom: $border-width $border-style var(--color-border-secondary);\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@function font-size-to-rem($px, $baseFontSize) {\n @return ($px / $baseFontSize) * 1rem;\n}\n\n$baseFontSize: 16;\n\n// Heading sizes - mobile\n// h4-h6 remain the same size on both mobile & desktop\n$h00-size-mobile: font-size-to-rem(40, $baseFontSize) !default;\n$h0-size-mobile: font-size-to-rem(32, $baseFontSize) !default;\n$h1-size-mobile: font-size-to-rem(26, $baseFontSize) !default;\n$h2-size-mobile: font-size-to-rem(22, $baseFontSize) !default;\n$h3-size-mobile: font-size-to-rem(18, $baseFontSize) !default;\n\n// Heading sizes - desktop\n$h00-size: font-size-to-rem(48, $baseFontSize) !default;\n$h0-size: font-size-to-rem(40, $baseFontSize) !default;\n$h1-size: font-size-to-rem(32, $baseFontSize) !default;\n$h2-size: font-size-to-rem(24, $baseFontSize) !default;\n$h3-size: font-size-to-rem(20, $baseFontSize) !default;\n$h4-size: font-size-to-rem(16, $baseFontSize) !default;\n$h5-size: font-size-to-rem(14, $baseFontSize) !default;\n$h6-size: font-size-to-rem(12, $baseFontSize) !default;\n\n$font-size-small: font-size-to-rem(12, $baseFontSize) !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: font-size-to-rem(14, $baseFontSize) !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-primary);\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-text-secondary);\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-text-primary);\n background-color: var(--color-bg-canvas); // cover bottom border\n border-color: var(--color-border-primary);\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-text-primary);\n text-decoration: none;\n transition-duration: 0.1s;\n }\n\n &:active {\n color: var(--color-text-tertiary);\n }\n\n .octicon {\n margin-right: $spacer-1;\n // stylelint-disable-next-line primer/colors\n color: var(--color-icon-tertiary);\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-text-secondary);\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-text-link);\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-text-secondary);\n background-color: transparent;\n\n &.pjax-active {\n color: var(--color-text-inverse);\n background-color: var(--color-bg-info-inverse);\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-text-secondary);\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-bg-tertiary);\n }\n\n &.selected,\n &[aria-selected=true],\n &[aria-current]:not([aria-current=false]) {\n color: var(--color-state-selected-primary-text);\n background-color: var(--color-state-selected-primary-bg);\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-filter-item-bar-bg);\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-bg-secondary);\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-text-primary);\n text-align: left;\n background-color: transparent;\n border: 0;\n border-top: $border-width $border-style var(--color-border-secondary);\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-primary);\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-state-focus-shadow);\n}\n\n.SideNav-item:hover {\n text-decoration: none;\n background-color: var(--color-state-hover-secondary-bg);\n outline: none;\n}\n\n.SideNav-item:active {\n background-color: var(--color-bg-secondary);\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 // stylelint-disable-next-line primer/colors\n background-color: var(--color-sidenav-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-text-tertiary);\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-text-link);\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-text-primary);\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-text-primary);\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-secondary);\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-text-primary);\n border: $border-width $border-style var(--color-border-primary);\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-bg-tertiary);\n }\n\n &.selected,\n &[aria-selected=true],\n &[aria-current]:not([aria-current=false]) {\n z-index: 2;\n color: var(--color-state-selected-primary-text);\n background-color: var(--color-state-selected-primary-bg);\n border-color: var(--color-state-selected-primary-border);\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-text-secondary);\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 // stylelint-disable-next-line primer/colors\n color: var(--color-icon-tertiary);\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-secondary);\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-underlinenav-text);\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-underlinenav-text-hover);\n text-decoration: none;\n border-bottom-color: var(--color-border-tertiary);\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-underlinenav-text-active);\n border-bottom-color: var(--color-underlinenav-border-active);\n outline: 1px dotted transparent; // Support Firefox custom colors\n outline-offset: -1px;\n\n .UnderlineNav-octicon {\n color: var(--color-text-tertiary);\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 // stylelint-disable-next-line primer/colors\n color: var(--color-underlinenav-icon);\n}\n\n.UnderlineNav .Counter {\n margin-left: $spacer-1;\n color: var(--color-underlinenav-counter-text);\n background-color: var(--color-underlinenav-counter-bg);\n\n &--primary {\n color: var(--color-counter-primary-text);\n background-color: var(--color-counter-primary-bg);\n }\n}\n\n.UnderlineNav-container {\n display: flex;\n justify-content: space-between;\n}\n"]}