From d23a2cf25ccc33f49d73ee3da2f775c0d4fa0784 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 27 Jun 2024 09:56:02 +0200 Subject: Update --- src/.old/objects/_alert.scss | 55 ----------------------------------- src/.old/objects/_backdrop.scss | 33 --------------------- src/.old/objects/_list-group.scss | 60 --------------------------------------- 3 files changed, 148 deletions(-) delete mode 100644 src/.old/objects/_alert.scss delete mode 100644 src/.old/objects/_backdrop.scss delete mode 100644 src/.old/objects/_list-group.scss (limited to 'src/.old/objects') diff --git a/src/.old/objects/_alert.scss b/src/.old/objects/_alert.scss deleted file mode 100644 index 289ef10..0000000 --- a/src/.old/objects/_alert.scss +++ /dev/null @@ -1,55 +0,0 @@ -@use 'iro-sass/src/index' as iro; -@use '../functions' as fn; - -@include iro.props-namespace('alert') { - @include iro.props-store(( - --dims: ( - --border: 1px, - --pad-x: fn.global-dim(--size --250), - --pad-y: fn.global-dim(--size --200), - --rounding: 4px, - ), - ), 'dims'); - - @include iro.props-store(( - --colors: ( - --bg: fn.global-color(--bg-hi2), - --border: fn.global-color(--fg-hi2), - --border-primary: fn.global-color(--accent --primary --solid --bg-hi), - --border-error: fn.global-color(--accent --error --solid --bg-hi), - --border-success: fn.global-color(--accent --success --solid --bg-hi), - --border-warning: fn.global-color(--accent --warning --solid --bg-hi), - ), - ), 'colors'); - - @include iro.props-store(( - --dims: ( - --pad-x: fn.global-dim(--size --200), - --pad-y: fn.global-dim(--size --150), - ), - ), 'sm'); - - @include iro.bem-object(iro.props-namespace()) { - padding: fn.dim(--pad-y) fn.dim(--pad-x); - border: fn.dim(--border) solid fn.color(--border); - border-radius: fn.dim(--rounding); - background-color: fn.color(--bg); - color: fn.global-color(--fg); - - @include iro.bem-modifier('primary') { - border-color: fn.color(--border-primary); - } - - @include iro.bem-modifier('error') { - border-color: fn.color(--border-error); - } - - @include iro.bem-modifier('success') { - border-color: fn.color(--border-success); - } - - @include iro.bem-modifier('warning') { - border-color: fn.color(--border-warning); - } - } -} diff --git a/src/.old/objects/_backdrop.scss b/src/.old/objects/_backdrop.scss deleted file mode 100644 index ac23d63..0000000 --- a/src/.old/objects/_backdrop.scss +++ /dev/null @@ -1,33 +0,0 @@ -@use 'iro-sass/src/index' as iro; -@use '../functions' as fn; - -@include iro.props-namespace('backdrop') { - @include iro.props-store(( - --dims: ( - --z-index: 10000, - --blur: 2em, - ), - ), 'dims'); - - @include iro.props-store(( - --colors: ( - --bg: rgba(#000, .75), - ), - ), 'colors'); - - @include iro.bem-object(iro.props-namespace()) { - display: flex; - position: fixed; - z-index: fn.dim(--z-index); - top: 0; - right: 0; - bottom: 0; - left: 0; - box-sizing: border-box; - flex-direction: column; - overflow: auto; - background-color: fn.color(--bg); - color: fn.global-color(--fg); - backdrop-filter: blur(fn.dim(--blur)); - } -} diff --git a/src/.old/objects/_list-group.scss b/src/.old/objects/_list-group.scss deleted file mode 100644 index d46722e..0000000 --- a/src/.old/objects/_list-group.scss +++ /dev/null @@ -1,60 +0,0 @@ -@use 'iro-sass/src/index' as iro; -@use '../functions' as fn; - -@include iro.props-namespace('list-group') { - @include iro.props-store(( - --dims: ( - --pad-x: fn.global-dim(--size --175), - --pad-y: fn.global-dim(--size --125), - --rounding: 3px, - ), - ), 'dims'); - - @include iro.props-store(( - --colors: ( - --bg: fn.global-color(--bg-hi2), - --border: fn.global-color(--obj), - --hover: fn.global-color(--bg), - --press: fn.global-color(--obj-hi), - ) - ), 'colors'); - - @include iro.bem-object(iro.props-namespace()) { - border: 1px solid fn.color(--border); - border-radius: fn.dim(--rounding); - background-color: fn.color(--bg); - - @include iro.bem-elem('item') { - padding: fn.dim(--pad-y) fn.dim(--pad-x); - - @include iro.bem-next-twin-elem { - border-width: 1px 0 0; - border-style: solid; - border-color: fn.color(--border); - } - - @include iro.bem-multi('&:link, &:visited, &:enabled', 'modifier' 'interactive') { - &:hover { - background-color: fn.color(--hover); - } - - &:active { - background-color: fn.color(--press); - } - } - } - - @include iro.bem-modifier('horizontal') { - display: flex; - - @include iro.bem-elem('item') { - flex: 1 0 auto; - - @include iro.bem-next-twin-elem { - border-top-width: 0; - border-left-width: 1px; - } - } - } - } -} -- cgit v1.2.3-70-g09d2