From c346bc64f24f01ae40b75a8a4ae03747d014266f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 30 Jan 2023 07:20:47 +0100 Subject: Update --- src/objects/_bubble.scss | 17 +++-------------- src/objects/_emoji.scss | 2 -- 2 files changed, 3 insertions(+), 16 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_bubble.scss b/src/objects/_bubble.scss index 5c9ce04..f1d053f 100644 --- a/src/objects/_bubble.scss +++ b/src/objects/_bubble.scss @@ -2,12 +2,6 @@ @use '../functions' as fn; @include iro.props-namespace('bubble') { - @include iro.props-store(( - --colors: ( - --image-bg: fn.global-color(--obj), - ), - ), 'colors'); - @include iro.props-store(( --dims: ( --pad-x: fn.global-dim(--size --200), @@ -15,7 +9,7 @@ --rounding: 3px, --arrow-size: fn.global-dim(--size --100), - --compact: ( + --75: ( --pad-x: fn.global-dim(--size --150), --pad-y: fn.global-dim(--size --85), ), @@ -46,13 +40,8 @@ transform: translate(.2em, .2em); } - @include iro.bem-elem('divider') { - margin-right: calc(-1 * fn.dim(--pad-x)); - margin-left: calc(-1 * fn.dim(--pad-x)); - } - - @include iro.bem-modifier('compact') { - padding: fn.dim(--compact --pad-y) fn.dim(--compact --pad-x); + @include iro.bem-modifier('75') { + padding: fn.dim(--75 --pad-y) fn.dim(--75 --pad-x); } } } diff --git a/src/objects/_emoji.scss b/src/objects/_emoji.scss index 027d0e4..f7715e1 100644 --- a/src/objects/_emoji.scss +++ b/src/objects/_emoji.scss @@ -23,14 +23,12 @@ @include iro.bem-object(iro.props-namespace()) { display: inline-block; - width: fn.dim(--size); height: fn.dim(--size); margin: calc(-.5 * fn.dim(--size)) calc(-1 * fn.dim(--pad)); padding: fn.dim(--pad); vertical-align: .1em; @include iro.bem-modifier('125') { - width: fn.dim(--125 --size); height: fn.dim(--125 --size); margin-top: calc(-.5 * fn.dim(--125 --size)); margin-bottom: calc(-.5 * fn.dim(--125 --size)); -- cgit v1.2.3-70-g09d2