Sha256: edc9033b7ea9fecec04c0af374ab917aabf64738b6970efedfe5ba18b5105350

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

{"version":3,"sources":["counter.pcss"],"names":[],"mappings":"AAEA,SASE,2CAA4C,CAC5C,2EAA6E,CAC7E,iBAAkB,CAJlB,6BAA8B,CAN9B,oBAAqB,CAGrB,iDAAmD,CACnD,8CAAgD,CAChD,mFAAsF,CAJtF,kCAAoC,CACpC,aAAc,CAKd,iBAcF,CATE,eACE,YACF,CAGA,kBAEE,UAAY,CADZ,uBAEF,CAGF,kBAEE,8CAA+C,CAD/C,iCAEF,CAEA,oBAEE,4CAA6C,CAD7C,2BAEF","file":"counter.css","sourcesContent":["/* Counter */\n\n.Counter {\n  display: inline-block;\n  min-width: var(--base-size-20, 20px); /* makes sure it's a circle with just one digit */\n  padding: 0 6px;\n  font-size: var(--yattho-text-body-size-small, 12px);\n  font-weight: var(--base-text-weight-medium, 500);\n  line-height: calc(var(--base-size-20, 20px) - var(--yattho-borderWidth-thin, 1px) * 2); /* 20px - 2px for the borders */\n  color: var(--color-fg-default);\n  text-align: center;\n  background-color: var(--color-neutral-muted);\n  border: var(--yattho-borderWidth-thin, 1px) solid var(--color-counter-border);\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(--color-fg-on-emphasis);\n  background-color: var(--color-neutral-emphasis);\n}\n\n.Counter--secondary {\n  color: var(--color-fg-muted);\n  background-color: var(--color-neutral-subtle);\n}"]}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yattho_view_components-0.1.1 app/components/yattho/beta/counter.css.map