@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
71 lines (61 loc) • 1.64 kB
text/less
/*!
* Copyright 2018 Telerik EAD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@import "../common/switch.less";
@import "base.less";
// Switch
.km-nova .km-switch {
width: 4.3rem;
height: 2.4rem;
overflow: visible;
}
.km-nova .km-switch-wrapper {
overflow: hidden;
}
.km-nova .km-switch-background {
background-position: 4.25em 0;
background-repeat: no-repeat;
background-color: currentcolor;
margin-left: -4.1rem;
}
.km-nova .km-switch-container {
overflow: visible;
border-width: 0;
padding: 0 0 0 1px;
}
.km-nova .km-switch-handle {
width: 2.2em;
.transition(width .2s linear);
margin: 0 3px 0 0;
border-width: 1px;
border-style: solid;
}
.km-nova .km-switch-label-on,
.km-nova .km-switch-label-off {
display: none;
}
.km-nova .km-switch-handle,
.km-nova .km-switch-wrapper,
.km-nova .km-switch-container,
.km-nova .km-switch-background {
border-radius: 3em;
}
.km-nova .km-switch-container,
.km-nova .km-switch-wrapper {
.box-sizing(border-box);
border-width: 1px;
border-style: solid;
background-clip: content-box;
}