Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 174: | Line 174: | ||
.bm-icon { | .bm-icon { | ||
width: | width: 1.5em; | ||
height: | height: 1.5em; | ||
vertical-align: | vertical-align: top; | ||
margin-left: .25em; | |||
} | |||
.bm-icon.freeware { | |||
fill: var(--links-orange); | |||
} | } | ||
Line 450: | Line 454: | ||
let out = '<a href="' + dct.url + '">' + dct.name + '</a>'; | let out = '<a href="' + dct.url + '">' + dct.name + '</a>'; | ||
if (dct.businessModel.includes('Freeware')) { | if (dct.businessModel.includes('Freeware')) { | ||
out += '<svg class="bm-icon"><use href="#freeware-icon"/></svg>'; | out += '<svg class="bm-icon freeware"><use href="#freeware-icon"/></svg>'; | ||
} | } | ||
return out; | return out; |
Revision as of 13:59, 12 September 2022
Development verstion of the DCT List.
Not ready for production!