@haxtheweb/haxcms-nodejs
Version:
HAXcms single and multisite nodejs server, api, and administration
1 lines • 1.1 kB
JavaScript
import"../font-icons.js";const n=document.createElement("template");n.innerHTML='<dom-module id="material-field-button">\n <template>\n <style>\n /* TODO(platosha): align icon sizes with other elements */\n [part$="button"] {\n flex: none;\n width: 24px;\n height: 24px;\n padding: 4px;\n color: var(--material-secondary-text-color);\n font-size: var(--material-icon-font-size);\n line-height: 24px;\n text-align: center;\n }\n\n :host(:not([readonly])) [part$="button"] {\n cursor: pointer;\n }\n\n :host(:not([readonly])) [part$="button"]:hover {\n color: var(--material-text-color);\n }\n\n :host([disabled]) [part$="button"],\n :host([readonly]) [part$="button"] {\n color: var(--material-disabled-text-color);\n }\n\n :host([disabled]) [part="clear-button"] {\n display: none;\n }\n\n [part$="button"]::before {\n font-family: "material-icons";\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(n.content);