Sha256: 1bbee52d1c4ee21e6c661d12675cfa473aa672dcf4b72d4ccd9ebdc2719a4997

Contents?: true

Size: 1.36 KB

Versions: 9

Compression:

Stored size: 1.36 KB

Contents

/*
Lesli

Copyright (c) 2020, Lesli Technologies, S. A.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

LesliCSS - SCSS Utilities for websites, apps and web applications

Powered by https://www.lesli.tech
Building a better future, one line of code at a time.

@contact  <hello@lesli.tech>
@website  <https://lesli.tech>
@license  GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html

// · ~·~     ~·~     ~·~     ~·~     ~·~     ~·~     ~·~     ~·~     ~·~     ~·~     ~·~     ~·~
// · 
*/


// · 
@mixin lesli-css-scrollbar($style:normal, $color:#ffffff, $background:#ffffff) {
    scrollbar-width: thin;
    scrollbar-color: $color $background;

    @if $style == hide {
        scrollbar-width: none;
        &::-webkit-scrollbar {
            width: 0px;
            background-color: $background;
        }
    }

}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lesli-5.0.13 vendor/lesli-css/src/mixins/scrollbar.scss
lesli-5.0.11 vendor/lesli-css/src/mixins/scrollbar.scss
lesli-5.0.10 vendor/lesli-css/src/mixins/scrollbar.scss
lesli-5.0.9 vendor/lesli-css/src/mixins/scrollbar.scss
lesli-5.0.7 vendor/lesli-css/src/mixins/scrollbar.scss
lesli-5.0.6 vendor/lesli-css/src/mixins/scrollbar.scss
lesli-5.0.5 vendor/lesli-css/src/mixins/scrollbar.scss
lesli-5.0.4 vendor/lesli-css/src/mixins/scrollbar.scss
lesli-5.0.3 vendor/lesli-css/src/mixins/scrollbar.scss