<commit_before>// @theme: blank;

@mixin after() {
    content: '';

    position: absolute;

    display: block;
}

@mixin clearfix {
    &::after {
        content: '';

        display: block;

        clear: both;
    }
}

@mixin list-normalize() {
    list-style: none;
    margin: 0;
    padding: 0;
}

// Use: @include breakpoint('desktop') {
//  content
//}
@mixin breakpoint($type) {
    $breakpoints: (
        'desktop': '(min-width: ' + $breakpoint-desktop + ')',
        'tablet': '(max-width: ' +  $breakpoint-tablet + ')',
        'tablet-small': '(max-width: ' +  $breakpoint-tablet-small + ')',
        'mobile-landscape': '(max-width: ' +  $breakpoint-mobile-landscape + ')',
        'mobile': '(max-width: ' + $breakpoint-mobile + ')'
    );

    @media #{map-get($breakpoints, $type)} {
        @content;
    }
}

// Use: @include font-face('Lato', '../fonts/lato/lato-regular-webfont', 400, normal);
@mixin font-face($font-family, $file-path, $font-weight, $font-style) {
    @font-face {
        font-family: $font-family;
        src: url('#{$file-path}.eot');
        src: url('#{$file-path}.eot?#iefix') format('embedded-opentype'),
        url('#{$file-path}.woff') format('woff'),
        url('#{$file-path}.ttf') format('truetype'),
        url('#{$file-path}.svg##{$font-family}') format('svg');
        font-weight: $font-weight;
        font-style: $font-style;
    }
    // Chrome for Windows rendering fix: http://www.adtrak.co.uk/blog/font-face-chrome-rendering/
    @media screen and (-webkit-min-device-pixel-ratio: 0) {
        @font-face {
            font-family: $font-family;
            src: url('#{$file-path}.svg##{$font-family}') format('svg');
        }
    }
}

// Check devices on server, if device is desktop added class to body (.desktop-version)
@mixin only-desktop {
    .desktop-version {
        @content;
    }
}

@import 'mixins-for-components';
<commit_msg>BB-6787: Main menu dropdown blinking on big tablets - fixed dropdown menu<commit_after>// @theme: blank;

@mixin after() {
    content: '';

    position: absolute;

    display: block;
}

@mixin clearfix {
    &::after {
        content: '';

        display: block;

        clear: both;
    }
}

@mixin list-normalize() {
    list-style: none;
    margin: 0;
    padding: 0;
}

// Use: @include breakpoint('desktop') {
//  content
//}
@mixin breakpoint($type) {
    $breakpoints: (
        'desktop': '(min-width: ' + $breakpoint-desktop + ')',
        'tablet': '(max-width: ' +  $breakpoint-tablet + ')',
        'tablet-small': '(max-width: ' +  $breakpoint-tablet-small + ')',
        'mobile-landscape': '(max-width: ' +  $breakpoint-mobile-landscape + ')',
        'mobile': '(max-width: ' + $breakpoint-mobile + ')'
    );

    @media #{map-get($breakpoints, $type)} {
        @content;
    }
}

// Use: @include font-face('Lato', '../fonts/lato/lato-regular-webfont', 400, normal);
@mixin font-face($font-family, $file-path, $font-weight, $font-style) {
    @font-face {
        font-family: $font-family;
        src: url('#{$file-path}.eot');
        src: url('#{$file-path}.eot?#iefix') format('embedded-opentype'),
        url('#{$file-path}.woff') format('woff'),
        url('#{$file-path}.ttf') format('truetype'),
        url('#{$file-path}.svg##{$font-family}') format('svg');
        font-weight: $font-weight;
        font-style: $font-style;
    }
    // Chrome for Windows rendering fix: http://www.adtrak.co.uk/blog/font-face-chrome-rendering/
    @media screen and (-webkit-min-device-pixel-ratio: 0) {
        @font-face {
            font-family: $font-family;
            src: url('#{$file-path}.svg##{$font-family}') format('svg');
        }
    }
}

// Check devices on server, if device is desktop added class to body (.desktop-version)
@mixin only-desktop {
    @include breakpoint('desktop') {
        .desktop-version {
            @content;
        }
    }
}

@import 'mixins-for-components';

{'fraction_non_alphanumeric': 0.20136951559726096, 'fraction_numerical': 0.004057823991884352, 'mean_word_length': 2.5277280858676208, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7324564', 'n_tokens_mistral': 1396, 'n_tokens_neox': 1347, 'n_words': 246}