diff options
author | Volpeon <git@volpeon.ink> | 2022-06-16 22:51:12 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-16 22:51:12 +0200 |
commit | 8c0706051eb7529429a7782de54af793ad6f0946 (patch) | |
tree | 66050ddb000d39b681e1cd5a8428159c18f2af66 /assets | |
parent | Fix metadata (diff) | |
download | volpeon.ink-8c0706051eb7529429a7782de54af793ad6f0946.tar.gz volpeon.ink-8c0706051eb7529429a7782de54af793ad6f0946.tar.bz2 volpeon.ink-8c0706051eb7529429a7782de54af793ad6f0946.zip |
Added alert component, added image description post from fedi
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/scopes/_alerts.scss | 14 | ||||
-rw-r--r-- | assets/css/style.scss | 2 |
2 files changed, 16 insertions, 0 deletions
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 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use 'iro-design/src/functions' as fn; | ||
3 | |||
4 | @include iro.props-namespace('alerts') { | ||
5 | @include iro.bem-scope(iro.props-namespace()) { | ||
6 | @include iro.bem-elem('alert') { | ||
7 | margin-top: fn.global-dim(--paragraph --margin-top); | ||
8 | |||
9 | > :first-child { | ||
10 | margin-top: 0; | ||
11 | } | ||
12 | } | ||
13 | } | ||
14 | } | ||
diff --git a/assets/css/style.scss b/assets/css/style.scss index 3ae810d..3fce2f4 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss | |||
@@ -15,6 +15,7 @@ | |||
15 | @use 'iro-design/src/objects/badge' as iro-badge; | 15 | @use 'iro-design/src/objects/badge' as iro-badge; |
16 | @use 'iro-design/src/objects/heading' as iro-heading; | 16 | @use 'iro-design/src/objects/heading' as iro-heading; |
17 | @use 'iro-design/src/objects/icon' as iro-icon; | 17 | @use 'iro-design/src/objects/icon' as iro-icon; |
18 | @use 'iro-design/src/objects/alert' as iro-alert; | ||
18 | @use 'iro-design/src/objects/lightbox' as iro-lightbox; | 19 | @use 'iro-design/src/objects/lightbox' as iro-lightbox; |
19 | 20 | ||
20 | @use 'components/footer'; | 21 | @use 'components/footer'; |
@@ -31,6 +32,7 @@ | |||
31 | @use 'iro-design/src/scopes/lists' as iro-lists; | 32 | @use 'iro-design/src/scopes/lists' as iro-lists; |
32 | @use 'iro-design/src/scopes/tables' as iro-tables; | 33 | @use 'iro-design/src/scopes/tables' as iro-tables; |
33 | @use 'scopes/small'; | 34 | @use 'scopes/small'; |
35 | @use 'scopes/alerts'; | ||
34 | 36 | ||
35 | @use 'iro-design/src/utils'; | 37 | @use 'iro-design/src/utils'; |
36 | 38 | ||