summaryrefslogtreecommitdiffstats
path: root/webapp/sass/utils/_functions.scss
blob: f399060cc45ba34a034a079c6bef8fbc7edf22b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@charset "UTF-8";

@function em($pixels, $context: 14px) {
	@return ($pixels / $context * 1em)
}

@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);
}