summaryrefslogtreecommitdiff
path: root/vendor/mervick/material-design-icons/scss/_core.scss
blob: caeebdc34168d758ceeb606b58edb5f816569600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@import "variables";

// Base Class Definition
// -------------------------

.#{$md-css-prefix}, .material-icons {
    font: normal normal normal #{$md-font-size-base}/1 $md-font-family; // shortening font declaration
    font-size: inherit; // can't have font-size inherit on line above, so need to override
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1;
    position: relative;
    word-wrap: normal;
    top: 1px;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0); // ensures no half-pixel rendering in firefox
}

.material-icons {
    width: 1em;
    height: 1em;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for IE. */
    font-feature-settings: 'liga';
}