From e4255279ff72e5438d297888d808851cdf2178ed Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 26 Mar 2022 14:40:11 +0100 Subject: Lots of updates, especially dialog --- src/objects/_header.scss | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/objects/_header.scss (limited to 'src/objects/_header.scss') diff --git a/src/objects/_header.scss b/src/objects/_header.scss new file mode 100644 index 0000000..773d584 --- /dev/null +++ b/src/objects/_header.scss @@ -0,0 +1,31 @@ +@use 'iro-sass/src/index' as iro; +@use '../functions' as fn; + +@include iro.props-namespace('header') { + @include iro.props-store(( + --dims: ( + --pad-x: fn.global-dim(--size --75), + --pad-y: fn.global-dim(--size --75) + ), + ), 'dims'); + + @include iro.props-store(( + --colors: ( + --border: fn.global-color(--obj), + ), + ), 'colors'); + + @include iro.bem-object(iro.props-namespace()) { + border-bottom: 1px solid fn.color(--border); + + @include iro.bem-elem('content') { + display: flex; + box-sizing: border-box; + align-items: center; + height: 100%; + padding: fn.dim(--pad-y) fn.dim(--pad-x); + background-color: fn.global-color(--bg); + color: fn.global-color(--fg); + } + } +} -- cgit v1.2.3-70-g09d2