Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 174: Line 174:


         .bm-icon {
         .bm-icon {
             width: 2em;
             width: 1.5em;
             height: 2em;
             height: 1.5em;
             vertical-align: bottom;
             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!