UNPKG

altinn-designsystem

Version:

Altinn Design system based on Pattern Lab.

26 lines (22 loc) 768 B
// Mixins // -------------------------- .reg-icon() { display: inline-block; font: normal normal normal @reg-font-size-base/@reg-line-height-base "AltinnRegNo"; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .reg-icon-rotate(@degrees, @rotation) { filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation)"; -webkit-transform: rotate(@degrees); -ms-transform: rotate(@degrees); transform: rotate(@degrees); } .reg-icon-flip(@horiz, @vert, @rotation) { filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1)"; -webkit-transform: scale(@horiz, @vert); -ms-transform: scale(@horiz, @vert); transform: scale(@horiz, @vert); }