diff options
| author | Volpeon <git@volpeon.ink> | 2026-07-22 19:40:59 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2026-07-22 19:40:59 +0200 |
| commit | c1e28224aa2e1450031669d9a7e359b63e04687d (patch) | |
| tree | 68f3d8905c763a91f68001d868197effa92adafa /src/styles/components/_visited-indicator.scss | |
| download | corvos-website-c1e28224aa2e1450031669d9a7e359b63e04687d.tar.gz corvos-website-c1e28224aa2e1450031669d9a7e359b63e04687d.tar.bz2 corvos-website-c1e28224aa2e1450031669d9a7e359b63e04687d.zip | |
Init
Diffstat (limited to 'src/styles/components/_visited-indicator.scss')
| -rw-r--r-- | src/styles/components/_visited-indicator.scss | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/styles/components/_visited-indicator.scss b/src/styles/components/_visited-indicator.scss new file mode 100644 index 0000000..7aa1f38 --- /dev/null +++ b/src/styles/components/_visited-indicator.scss | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | @use "pkg:iro-sass/bem"; | ||
| 2 | @use "pkg:iro-sass/props"; | ||
| 3 | @use "pkg:iro-design" as iro; | ||
| 4 | |||
| 5 | @mixin styles { | ||
| 6 | @include bem.component("with-visited-indicator") { | ||
| 7 | @include bem.elem("indicator") { | ||
| 8 | block-size: 1.4em; | ||
| 9 | color: props.get(iro.$core--theme, --text); | ||
| 10 | |||
| 11 | &::after { | ||
| 12 | content: ""; | ||
| 13 | display: block; | ||
| 14 | block-size: 100%; | ||
| 15 | inline-size: props.get(iro.$core--border-width--thick); | ||
| 16 | border-radius: 10em; | ||
| 17 | background-color: currentColor; | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | &:visited { | ||
| 22 | @include bem.elem("indicator") { | ||
| 23 | color: props.get(iro.$core--theme, --border-mute); | ||
| 24 | } | ||
| 25 | } | ||
| 26 | } | ||
| 27 | } | ||
