summaryrefslogtreecommitdiffstats
path: root/webapp/sass/utils/_functions.scss
blob: baedd72c525648df30aacee3b76fe1e92e6c7cf2 (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}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);
}