// ----------------------------------------------------------------------
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// --
// Copyright 2016-2019 Andi Dittrich <https://andidittrich.de>
// ----------------------------------------------------------------------

// option flags added to outer container
// ------------------------------------------

// line numbers enabled
// class .enlighter-linenumbers added to outer container
.OPT_LINENUMBERS(@rules){
    // match the wrapper class attribute
    &.enlighter-linenumbers{
        @rules();
    }
}

// line hover enabled
// class .enlighter-hover added to outer container
.OPT_HOVER(@rules){
    // match the wrapper class attribute
    &.enlighter-hover{
        @rules();
    }
}

// scroll overflow enabled
// class .enlighter-overflow-scroll added to outer container
.OPT_OVERFLOW_SCROLL(@rules){
    // match the wrapper class attribute
    &.enlighter-overflow-scroll{
        @rules();
    }
}

// collapse enabled
// class .enlighter-collapse added to outer container
.OPT_COLLAPSE(@rules){
    // match the wrapper class attribute
    &.enlighter-collapse{
        @rules();
    }
}

