{"version":3,"sources":["../src/src/pagination/pagination.scss","../src/src/support/variables/misc.scss","../src/src/support/variables/layout.scss"],"names":[],"mappings":"AAEA,8CAII,oBAAqB,CACrB,cAAe,CAEf,gBAAiB,CACjB,iBAAkB,CAElB,gBAAiB,CACjB,+BAAgC,CAChC,iBAAkB,CAClB,kBAAmB,CACnB,qBAAsB,CACtB,cAAe,CACf,wBAAiB,CAAjB,oBAAiB,CAAjB,gBAAiB,CACjB,4BAA+C,CAC/C,iBCXkB,CDYlB,yDAA0D,CAnB9D,gIAuBM,oBAAqB,CACrB,wCAAyC,CACzC,SAAU,CACV,wBAAyB,CA1B/B,mEA8BM,0CAA2C,CAC3C,eAAgB,CA/BtB,kDAqCI,4BAA6B,CArCjC,qGA2CI,8CAA+C,CAC/C,uDAAwD,CACxD,wBAAyB,CA7C7B,kKAsDI,gCAAiC,CACjC,cAAe,CACf,wBAAyB,CAC1B,uHAzDH,iEA+DM,oBAAqB,CACrB,UAAW,CACX,WAAY,CACZ,0BAA2B,CAC3B,UAAW,CAEX,6BAA8B,CArEpC,mCA0EM,gBEzCuB,CF0CvB,gJAAW,CAAX,wIAAyI,CA3E/I,8BAgFM,eE/CuB,CFgDvB,gJAAW,CAAX,wIAAyI,CAC1I,CAKL,oBACE,eErDoB,CFsDpB,kBEtDoB,CFuDpB,iBAAkB,CAHpB,gCAMI,oBAAqB","file":"pagination.css","sourcesContent":["// Needs refactoring\n// stylelint-disable selector-max-type\n.pagination {\n a,\n span,\n em {\n display: inline-block;\n min-width: 32px;\n // stylelint-disable-next-line primer/spacing\n padding: 5px 10px;\n font-style: normal;\n // stylelint-disable-next-line primer/typography\n line-height: 20px;\n color: var(--color-text-primary);\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n cursor: pointer;\n user-select: none;\n border: $border-width $border-style transparent;\n border-radius: $border-radius;\n transition: border-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);\n\n &:hover,\n &:focus {\n text-decoration: none;\n border-color: var(--color-border-primary);\n outline: 0;\n transition-duration: 0.1s;\n }\n\n &:active {\n border-color: var(--color-border-secondary);\n transition: none;\n }\n }\n\n .previous_page,\n .next_page {\n color: var(--color-text-link);\n }\n\n .current,\n .current:hover,\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 border-color: transparent;\n }\n\n .gap,\n .disabled,\n [aria-disabled=true],\n .gap:hover,\n .disabled:hover,\n [aria-disabled=true]:hover {\n color: var(--color-text-disabled);\n cursor: default;\n border-color: transparent;\n }\n\n // chevron icons using clip-path\n @supports (clip-path: polygon(50% 0, 100% 50%, 50% 100%)) {\n .previous_page::before,\n .next_page::after {\n display: inline-block;\n width: 16px;\n height: 16px;\n vertical-align: text-bottom;\n content: \"\";\n // stylelint-disable-next-line primer/colors\n background-color: currentColor;\n }\n\n // chevron-left\n .previous_page::before {\n margin-right: $spacer-1;\n clip-path: polygon(9.8px 12.8px, 8.7px 12.8px, 4.5px 8.5px, 4.5px 7.5px, 8.7px 3.2px, 9.8px 4.3px, 6.1px 8px, 9.8px 11.7px, 9.8px 12.8px);\n }\n\n // chevron-right\n .next_page::after {\n margin-left: $spacer-1;\n clip-path: polygon(6.2px 3.2px, 7.3px 3.2px, 11.5px 7.5px, 11.5px 8.5px, 7.3px 12.8px, 6.2px 11.7px, 9.9px 8px, 6.2px 4.3px, 6.2px 3.2px);\n }\n }\n}\n\n// Unified centered pagination across the site\n.paginate-container {\n margin-top: $spacer-3;\n margin-bottom: $spacer-3;\n text-align: center;\n\n .pagination {\n display: inline-block;\n }\n}\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","// 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"]}