Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
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 14:59, 12 September 2022

Development verstion of the DCT List.
Not ready for production!