CLIENT GUI Framework
[vnfsdk/refrepo.git] / portal-common / src / main / webapp / common / thirdparty / font-awesome / less / mixins.less
1 // Mixins\r
2 // --------------------------\r
3 \r
4 .fa-icon() {\r
5   display: inline-block;\r
6   font: normal normal normal 14px/1 FontAwesome; // shortening font declaration\r
7   font-size: inherit; // can't have font-size inherit on line above, so need to override\r
8   text-rendering: auto; // optimizelegibility throws things off #1094\r
9   -webkit-font-smoothing: antialiased;\r
10   -moz-osx-font-smoothing: grayscale;\r
11 }\r
12 \r
13 .fa-icon-rotate(@degrees, @rotation) {\r
14   filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);\r
15   -webkit-transform: rotate(@degrees);\r
16       -ms-transform: rotate(@degrees);\r
17           transform: rotate(@degrees);\r
18 }\r
19 \r
20 .fa-icon-flip(@horiz, @vert, @rotation) {\r
21   filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);\r
22   -webkit-transform: scale(@horiz, @vert);\r
23       -ms-transform: scale(@horiz, @vert);\r
24           transform: scale(@horiz, @vert);\r
25 }\r