/********************************************************************************** * * Copyright (c) 2017-2019 MuK IT GmbH. * * This file is part of MuK Web Utils * (see https://mukit.at). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . * **********************************************************************************/ //---------------------------------------------------------- // Switch //---------------------------------------------------------- $switch-bg: #dee2e6; $switch-disabled-bg: #e9ecef; $switch-disabled-color: #868e96; $switch-height: calc(#{$input-height} * .8) !default; $switch-height-sm: calc(#{$input-height-sm} * .8) !default; $switch-height-lg: calc(#{$input-height-lg} * .8) !default; $switch-checked-bg: map-get($theme-colors, 'primary') !default; $switch-thumb-bg: $white !default; $switch-thumb-border-radius: 50% !default; $switch-thumb-padding: 2px !default; $switch-transition: .2s all !default; $switch-border-radius: $switch-height; $switch-focus-box-shadow: 0 0 0 $input-btn-focus-width rgba(map-get($theme-colors, 'primary'), .25);