From 8c0706051eb7529429a7782de54af793ad6f0946 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 16 Jun 2022 22:51:12 +0200 Subject: Added alert component, added image description post from fedi --- assets/css/scopes/_alerts.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 assets/css/scopes/_alerts.scss (limited to 'assets/css/scopes') diff --git a/assets/css/scopes/_alerts.scss b/assets/css/scopes/_alerts.scss new file mode 100644 index 0000000..a5b0987 --- /dev/null +++ b/assets/css/scopes/_alerts.scss @@ -0,0 +1,14 @@ +@use 'iro-sass/src/index' as iro; +@use 'iro-design/src/functions' as fn; + +@include iro.props-namespace('alerts') { + @include iro.bem-scope(iro.props-namespace()) { + @include iro.bem-elem('alert') { + margin-top: fn.global-dim(--paragraph --margin-top); + + > :first-child { + margin-top: 0; + } + } + } +} -- cgit v1.2.3-70-g09d2