From 575278aba99139635adc3b1f9385befe57102541 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 11 Jun 2022 09:44:04 +0200 Subject: Re-implemented design via iro-design --- assets/css/objects/_badge.scss | 25 ------------------------- assets/css/objects/_icon.scss | 33 --------------------------------- 2 files changed, 58 deletions(-) delete mode 100644 assets/css/objects/_badge.scss delete mode 100644 assets/css/objects/_icon.scss (limited to 'assets/css/objects') diff --git a/assets/css/objects/_badge.scss b/assets/css/objects/_badge.scss deleted file mode 100644 index 216bb89..0000000 --- a/assets/css/objects/_badge.scss +++ /dev/null @@ -1,25 +0,0 @@ -@include namespace('badge') { - @include store(( - --colors: ( - --fg: prop(--colors --bg-hi, $global: true), - --bg: prop(--colors --fg-lo, $global: true), - ), - --dims: ( - --pad-x: .6em, - --pad-y: .2em - ) - )); - - @include object(namespace()) { - display: inline-block; - padding: prop(--dims --pad-y) prop(--dims --pad-x); - background-color: prop(--colors --bg); - color: prop(--colors --fg); - font-size: iro-px-to-rem(14px); - - &::selection { - background-color: prop(--colors --select --inverted --bg, $global: true); - color: prop(--colors --select --inverted --fg, $global: true); - } - } -} diff --git a/assets/css/objects/_icon.scss b/assets/css/objects/_icon.scss deleted file mode 100644 index 15389f5..0000000 --- a/assets/css/objects/_icon.scss +++ /dev/null @@ -1,33 +0,0 @@ -@include namespace('icon') { - @keyframes fall { - to { - transform: translateY(105vh) rotate(90deg); - } - } - - @include object(namespace()) { - display: block; - width: 1em; - height: 1em; - stroke-width: var(--icon-stroke-width, 1.5px); - stroke-linecap: round; - stroke-linejoin: round; - - @include modifier('inline') { - display: inline-block; - vertical-align: -.1em; - } - - @include modifier('snow') { - position: fixed; - z-index: 1000; - top: -1.2em; - width: 1em; - height: 1em; - animation: fall linear forwards; - stroke-width: 2px; - color: #fff; - pointer-events: none; - } - } -} -- cgit v1.2.3-70-g09d2