// (C) 2007-2021 GoodData Corporation
$base_path: $gdc-goodstrap-basepath + "./core/styles/";

// stylelint-disable function-url-quotes

@font-face {
    font-family: "GoodIcons";
    src: url($base_path + "fonts/GoodIcons.eot?-ilqx2b");
    src: url($base_path + "fonts/GoodIcons.eot?#iefix-ilqx2b") format("embedded-opentype"),
        url($base_path + "fonts/GoodIcons.woff?-ilqx2b") format("woff"),
        url($base_path + "fonts/GoodIcons.ttf?-ilqx2b") format("truetype"),
        url($base_path + "fonts/GoodIcons.svg?-ilqx2b#GoodIcons") format("svg");
    font-weight: normal;
    font-style: normal;
}

// stylelint-enable function-url-quotes

%good-icon {
    line-height: 1.7;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    font-family: "GoodIcons", sans-serif;

    /* Enable Ligatures ================ */
    font-feature-settings: "liga";

    /* Better Font Rendering =========== */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-transform: none;
}

@each $icon in hamburger, eyeclosed {
    .icon-#{$icon}::before {
        @extend %good-icon;
    }
}

.icon-hamburger::before {
    content: "\e601";
}

.icon-eyeclosed::before {
    content: "\e600";
}
