<commit_before>.addMarginRule(@selector, @hdFullMargin:6em, @hdReadyMargin:5em, @tabletLandscapeMargin:4em, @tabletPortraitMargin:3em, @smartphoneLandscapeMargin:2em, @smartphonePortraitMargin:1em) {
    // Media queries for selectors active from a specific resolution or higher
    .addMarginRuleSmartphonePortrait(@selector, @smartphonePortraitMargin);
    .addMarginRuleSmartphoneLandscape(@selector, @smartphoneLandscapeMargin);
    .addMarginRuleTabletPortrait(@selector, @tabletPortraitMargin);
    .addMarginRuleTabletLandscape(@selector, @tabletLandscapeMargin);
    .addMarginRuleHdReady(@selector, @hdReadyMargin);
    .addMarginRuleHdFull(@selector, @hdFullMargin);
}
.addMarginRuleSmartphonePortrait(@selector, @smartphonePortraitMargin) when (@use-smartphone-portrait = true) {
    @media @from-smartphone-portrait {
        // Smartphone portrait
        .@{selector} { margin:@smartphonePortraitMargin; }
    }
}
.addMarginRuleSmartphoneLandscape(@selector, @smartphoneLandscapeMargin) when (@use-smartphone-landscape = true) {
    @media @from-smartphone-landscape {
        // Smartphone landscape
        .@{selector} { margin:@smartphoneLandscapeMargin; }
    }
}
.addMarginRuleTabletPortrait(@selector, @tabletPortraitMargin) when (@use-tablet-portrait = true) {
    @media @from-tablet-portrait {
        // Tablet portrait
        .@{selector} { margin:@tabletPortraitMargin; }
    }
}
.addMarginRuleTabletLandscape(@selector, @tabletLandscapeMargin) when (@use-tablet-landscape = true) {
    @media @from-tablet-landscape {
        // Tablet landscape
        .@{selector} { margin:@tabletLandscapeMargin; }
    }
}
.addMarginRuleHdReady(@selector, @hdReadyMargin) when (@use-hd-ready = true) {
    @media @from-hd-ready {
        // HD Ready
        .@{selector} { margin:@hdReadyMargin; }
    }
}
.addMarginRuleHdFull(@selector, @hdFullMargin) when (@use-hd-full = true) {
    @media @from-hd-full {
        // Full HD
        .@{selector} { margin:@hdFullMargin; }
    }
}

.setViewportsMargin(@hdFullMargin:6em, @hdReadyMargin:5em, @tabletLandscapeMargin:4em, @tabletPortraitMargin:3em, @smartphoneLandscapeMargin:2em, @smartphonePortraitMargin:1em) {
    // Media queries for selectors active from a specific resolution or higher
    .setViewportsMarginSmartphonePortrait(@smartphonePortraitMargin);
    .setViewportsMarginSmartphoneLandscape(@smartphoneLandscapeMargin);
    .setViewportsMarginTabletPortrait(@tabletPortraitMargin);
    .setViewportsMarginTabletLandscape(@tabletLandscapeMargin);
    .setViewportsMarginHdReady(@hdReadyMargin);
    .setViewportsMarginHdFull(@hdFullMargin);
}
.setViewportsMarginSmartphonePortrait(@smartphonePortraitMargin) when (@use-smartphone-portrait = true) {
    @media @from-smartphone-portrait {
        // Smartphone portrait
        margin:@smartphonePortraitMargin;
    }
}
.setViewportsMarginSmartphoneLandscape(@smartphoneLandscapeMargin) when (@use-smartphone-landscape = true) {
    @media @from-smartphone-landscape {
        // Smartphone landscape
        margin:@smartphoneLandscapeMargin;
    }
}
.setViewportsMarginTabletPortrait(@tabletPortraitMargin) when (@use-tablet-portrait = true) {
    @media @from-tablet-portrait {
        // Tablet portrait
        margin:@tabletPortraitMargin;
    }
}
.setViewportsMarginTabletLandscape(@tabletLandscapeMargin) when (@use-tablet-landscape = true) {
    @media @from-tablet-landscape {
        // Tablet landscape
        margin:@tabletLandscapeMargin;
    }
}
.setViewportsMarginHdReady(@hdReadyMargin) when (@use-hd-ready = true) {
    @media @from-hd-ready {
        // HD Ready
        margin:@hdReadyMargin;
    }
}
.setViewportsMarginHdFull(@hdFullMargin) when (@use-hd-full = true) {
    @media @from-hd-full {
        // Full HD
        margin:@hdFullMargin;
    }
}

.addMarginSelector(@selector:false, @verticalMargin:@vertical-margin, @horizontalMargin:@horizontal-margin) when not (@selector = false) {
    .@{selector}-margin {
        margin: @verticalMargin @horizontalMargin @important;
    }
    .@{selector}-vertical-margin {
        margin-bottom: @verticalMargin @important;
        margin-top: @verticalMargin @important;
    }
    .@{selector}-bottom-margin {
        margin-bottom: @verticalMargin @important;
    }<commit_msg>Added private mixin comments<commit_after>.addMarginRule(@selector, @hdFullMargin:6em, @hdReadyMargin:5em, @tabletLandscapeMargin:4em, @tabletPortraitMargin:3em, @smartphoneLandscapeMargin:2em, @smartphonePortraitMargin:1em) {
    // Media queries for selectors active from a specific resolution or higher
    .addMarginRuleSmartphonePortrait(@selector, @smartphonePortraitMargin);
    .addMarginRuleSmartphoneLandscape(@selector, @smartphoneLandscapeMargin);
    .addMarginRuleTabletPortrait(@selector, @tabletPortraitMargin);
    .addMarginRuleTabletLandscape(@selector, @tabletLandscapeMargin);
    .addMarginRuleHdReady(@selector, @hdReadyMargin);
    .addMarginRuleHdFull(@selector, @hdFullMargin);
}
/* private */.addMarginRuleSmartphonePortrait(@selector, @smartphonePortraitMargin) when (@use-smartphone-portrait = true) {
    @media @from-smartphone-portrait {
        // Smartphone portrait
        .@{selector} { margin:@smartphonePortraitMargin; }
    }
}
/* private */.addMarginRuleSmartphoneLandscape(@selector, @smartphoneLandscapeMargin) when (@use-smartphone-landscape = true) {
    @media @from-smartphone-landscape {
        // Smartphone landscape
        .@{selector} { margin:@smartphoneLandscapeMargin; }
    }
}
/* private */.addMarginRuleTabletPortrait(@selector, @tabletPortraitMargin) when (@use-tablet-portrait = true) {
    @media @from-tablet-portrait {
        // Tablet portrait
        .@{selector} { margin:@tabletPortraitMargin; }
    }
}
/* private */.addMarginRuleTabletLandscape(@selector, @tabletLandscapeMargin) when (@use-tablet-landscape = true) {
    @media @from-tablet-landscape {
        // Tablet landscape
        .@{selector} { margin:@tabletLandscapeMargin; }
    }
}
/* private */.addMarginRuleHdReady(@selector, @hdReadyMargin) when (@use-hd-ready = true) {
    @media @from-hd-ready {
        // HD Ready
        .@{selector} { margin:@hdReadyMargin; }
    }
}
/* private */.addMarginRuleHdFull(@selector, @hdFullMargin) when (@use-hd-full = true) {
    @media @from-hd-full {
        // Full HD
        .@{selector} { margin:@hdFullMargin; }
    }
}

.setViewportsMargin(@hdFullMargin:6em, @hdReadyMargin:5em, @tabletLandscapeMargin:4em, @tabletPortraitMargin:3em, @smartphoneLandscapeMargin:2em, @smartphonePortraitMargin:1em) {
    // Media queries for selectors active from a specific resolution or higher
    .setViewportsMarginSmartphonePortrait(@smartphonePortraitMargin);
    .setViewportsMarginSmartphoneLandscape(@smartphoneLandscapeMargin);
    .setViewportsMarginTabletPortrait(@tabletPortraitMargin);
    .setViewportsMarginTabletLandscape(@tabletLandscapeMargin);
    .setViewportsMarginHdReady(@hdReadyMargin);
    .setViewportsMarginHdFull(@hdFullMargin);
}
/* private */.setViewportsMarginSmartphonePortrait(@smartphonePortraitMargin) when (@use-smartphone-portrait = true) {
    @media @from-smartphone-portrait {
        // Smartphone portrait
        margin:@smartphonePortraitMargin;
    }
}
/* private */.setViewportsMarginSmartphoneLandscape(@smartphoneLandscapeMargin) when (@use-smartphone-landscape = true) {
    @media @from-smartphone-landscape {
        // Smartphone landscape
        margin:@smartphoneLandscapeMargin;
    }
}
/* private */.setViewportsMarginTabletPortrait(@tabletPortraitMargin) when (@use-tablet-portrait = true) {
    @media @from-tablet-portrait {
        // Tablet portrait
        margin:@tabletPortraitMargin;
    }
}
/* private */.setViewportsMarginTabletLandscape(@tabletLandscapeMargin) when (@use-tablet-landscape = true) {
    @media @from-tablet-landscape {
        // Tablet landscape
        margin:@tabletLandscapeMargin;
    }
}
/* private */.setViewportsMarginHdReady(@hdReadyMargin) when (@use-hd-ready = true) {
    @media @from-hd-ready {
        // HD Ready
        margin:@hdReadyMargin;
    }
}
/* private */.setViewportsMarginHdFull(@hdFullMargin) when (@use-hd-full = true) {
    @media @from-hd-full {
        // Full HD
        margin:@hdFullMargin;
    }
}

.addMarginSelector(@selector:false, @verticalMargin:@vertical-margin, @horizontalMargin:@horizontal-margin) when not (@selector = false) {
    .@{selector}-margin {
        margin: @verticalMargin @horizontalMargin @important;
    }
    .@{selector}-vertical-margin {
        margin-bottom: @verticalMargin @important;
        margin-top: @verticalMargin @important;
    }
    .@{selector}-bottom-margin {
        margin-bottom: @verticalMargin @important;
    }
{'fraction_non_alphanumeric': 0.12280902737999772, 'fraction_numerical': 0.0027494558368656202, 'mean_word_length': 4.177935943060498, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1433278', 'n_tokens_mistral': 2653, 'n_tokens_neox': 2795, 'n_words': 407}