summaryrefslogtreecommitdiffstats
path: root/webapp/sass/utils/_functions.scss
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/sass/utils/_functions.scss')
-rw-r--r--webapp/sass/utils/_functions.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/webapp/sass/utils/_functions.scss b/webapp/sass/utils/_functions.scss
index 9013920fa..baedd72c5 100644
--- a/webapp/sass/utils/_functions.scss
+++ b/webapp/sass/utils/_functions.scss
@@ -4,6 +4,20 @@
@return #{$pixels/$context}em
}
+@function alpha-color($color, $amount) {
+ @return rgba($color, $amount)
+}
+
%popover-box-shadow {
@include box-shadow(rgba(black, .175) 1px -3px 12px);
+}
+
+%font-awesome {
+ display: inline-block;
+ font: normal normal normal 14px/1 FontAwesome;
+ font-size: inherit;
+ text-rendering: auto;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ transform: translate(0, 0);
} \ No newline at end of file