commit | 40a85cff85c9da13808ae49b1c62d5bb09fef6ac | [log] [tgz] |
---|---|---|
author | hebasta <stallkamp@ids-mannheim.de> | Wed Jul 15 18:10:08 2020 +0200 |
committer | Akron <nils@diewald-online.de> | Mon Sep 14 16:45:41 2020 +0200 |
tree | a883b0787f627b98108d39b3bb3f652e443376bd | |
parent | 669a44e4c1d759a10c4bf7b37034c7d5f40700cd [diff] |
Add possibility to define icons for plugin-buttons Change-Id: I4a30fa72953ae6136d5c5056c992bdadac135ffe
diff --git a/dev/scss/main/buttongroup.scss b/dev/scss/main/buttongroup.scss index 49df159..b78ed88 100644 --- a/dev/scss/main/buttongroup.scss +++ b/dev/scss/main/buttongroup.scss
@@ -132,4 +132,7 @@ > span { @include blind; } + &[data-icon]::after { + content: attr(data-icon); + } }
diff --git a/dev/scss/main/resultinfo.scss b/dev/scss/main/resultinfo.scss index 67b4157..5556239 100644 --- a/dev/scss/main/resultinfo.scss +++ b/dev/scss/main/resultinfo.scss
@@ -98,6 +98,9 @@ // Define icons for result buttons .button-icon { + + // TODO: + // Add icon via data-icon &.align.left::after { content: $fa-left-align; }