Sha256: 5c013bd8cb586931d96f40e06e0b598842979799dfde52036cb775d1fab31b3a

Contents?: true

Size: 1.43 KB

Versions: 18

Compression:

Stored size: 1.43 KB

Contents

{"version":3,"sources":["counter.pcss"],"names":[],"mappings":"AAEA,SAUE,wEAA0E,CAC1E,+DAAgE,CAEhE,iBAAkB,CALlB,4BAA6B,CAP7B,oBAAqB,CAGrB,qCAAsC,CACtC,0CAA2C,CAE3C,iEAAoE,CALpE,6BAA8B,CAC9B,4BAA6B,CAM7B,iBAeF,CATE,eACE,YACF,CAGA,kBAEE,UAAY,CADZ,uBAEF,CAGF,kBAEE,gDAAiD,CADjD,+BAEF,CAEA,oBAEE,6CAA8C,CAD9C,0BAEF","file":"counter.css","sourcesContent":["/* Counter */\n\n.Counter {\n  display: inline-block;\n  min-width: var(--base-size-20); /* makes sure it's a circle with just one digit */\n  padding: 0 var(--base-size-6);\n  font-size: var(--text-body-size-small);\n  font-weight: var(--base-text-weight-medium);\n  /* stylelint-disable-next-line primer/typography */\n  line-height: calc(var(--base-size-20) - var(--borderWidth-thin) * 2); /* 20px - 2px for the borders */\n  color: var(--fgColor-default);\n  text-align: center;\n  background-color: var(--bgColor-neutral-muted, var(--color-neutral-muted));\n  border: var(--borderWidth-thin) solid var(--counter-borderColor);\n  /* stylelint-disable-next-line primer/borders */\n  border-radius: 2em;\n\n  &:empty {\n    display: none;\n  }\n\n  /* Is this selector used? could not find any use of it */\n  & .octicon {\n    vertical-align: text-top;\n    opacity: 0.8;\n  }\n}\n\n.Counter--primary {\n  color: var(--fgColor-onEmphasis);\n  background-color: var(--bgColor-neutral-emphasis);\n}\n\n.Counter--secondary {\n  color: var(--fgColor-muted);\n  background-color: var(--bgColor-neutral-muted);\n}\n"]}

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
primer_view_components-0.36.5 app/components/primer/beta/counter.css.map
openproject-primer_view_components-0.52.2 app/components/primer/beta/counter.css.map
primer_view_components-0.36.4 app/components/primer/beta/counter.css.map
openproject-primer_view_components-0.52.1 app/components/primer/beta/counter.css.map
openproject-primer_view_components-0.52.0 app/components/primer/beta/counter.css.map
primer_view_components-0.36.3 app/components/primer/beta/counter.css.map
openproject-primer_view_components-0.51.0 app/components/primer/beta/counter.css.map
primer_view_components-0.36.2 app/components/primer/beta/counter.css.map
openproject-primer_view_components-0.50.1 app/components/primer/beta/counter.css.map
openproject-primer_view_components-0.50.0 app/components/primer/beta/counter.css.map
primer_view_components-0.36.1 app/components/primer/beta/counter.css.map
primer_view_components-0.36.0 app/components/primer/beta/counter.css.map
openproject-primer_view_components-0.49.2 app/components/primer/beta/counter.css.map
primer_view_components-0.35.2 app/components/primer/beta/counter.css.map
openproject-primer_view_components-0.49.1 app/components/primer/beta/counter.css.map
openproject-primer_view_components-0.49.0 app/components/primer/beta/counter.css.map
primer_view_components-0.35.1 app/components/primer/beta/counter.css.map
primer_view_components-0.35.0 app/components/primer/beta/counter.css.map