IconLabel.css (685B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 .icon-label { 6 display: flex; 7 column-gap: var(--base-unit); 8 align-items: center; 9 margin: calc(var(--base-unit) * 2) 0; 10 -moz-context-properties: fill; 11 12 font-size: var(--icon-label-font-size); 13 } 14 15 .icon-label--ok { 16 --icon-color: var(--icon-ok-color); 17 } 18 .icon-label--info { 19 --icon-color: var(--icon-info-color); 20 } 21 22 .icon-label__icon { 23 padding: var(--base-unit); 24 fill: var(--icon-color); 25 width: calc(var(--base-unit) * 4); 26 height: calc(var(--base-unit) * 4); 27 }