diff options
author | 2016-08-13 14:10:39 +0800 | |
---|---|---|
committer | 2016-08-13 16:10:38 +0800 | |
commit | 4ed15bda06c8e9a407c12d527b8224737ba339d5 (patch) | |
tree | ff51edcca2435a31c0cc7ee22b70348c74aa118d /apiroute/apiroute-service/src/main/resources/iui-metrics/js/fontAwesome/less/mixins.less | |
parent | 29c0018a50104f18b34277cc01720c0b3e401212 (diff) |
Initial code import
Change-Id: I839b84e5200aedece6c33deb16bec1bf9dbb61df
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'apiroute/apiroute-service/src/main/resources/iui-metrics/js/fontAwesome/less/mixins.less')
-rw-r--r-- | apiroute/apiroute-service/src/main/resources/iui-metrics/js/fontAwesome/less/mixins.less | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/apiroute/apiroute-service/src/main/resources/iui-metrics/js/fontAwesome/less/mixins.less b/apiroute/apiroute-service/src/main/resources/iui-metrics/js/fontAwesome/less/mixins.less new file mode 100644 index 0000000..d5a43a1 --- /dev/null +++ b/apiroute/apiroute-service/src/main/resources/iui-metrics/js/fontAwesome/less/mixins.less @@ -0,0 +1,26 @@ +// Mixins +// -------------------------- + +.fa-icon() { + display: inline-block; + font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration + font-size: inherit; // can't have font-size inherit on line above, so need to override + text-rendering: auto; // optimizelegibility throws things off #1094 + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + +} + +.fa-icon-rotate(@degrees, @rotation) { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation); + -webkit-transform: rotate(@degrees); + -ms-transform: rotate(@degrees); + transform: rotate(@degrees); +} + +.fa-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); +} |