@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
491 lines (441 loc) • 13.5 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/forms.less";
@import "base.less";
// Slider
.km-blackberry .k-slider .k-draghandle,
.km-blackberry .k-slider .k-draghandle:hover
{
border: 0;
border-radius: 5em;
}
.km-blackberry .k-slider-horizontal .k-draghandle
{
top: -.34em;
}
.km-blackberry .k-slider-vertical .k-draghandle
{
left: -.34em;
}
.km-blackberry .k-slider-horizontal .k-slider-selection
{
top: 0;
height: 100%;
}
.km-blackberry .k-slider-track
{
border-width: 1px;
}
.km-blackberry .km-list .km-full-width-slider .k-slider-track {
height: .6em;
margin-top: 0;
border-width: 0;
}
.km-blackberry .k-slider-horizontal .k-slider-track
{
margin-top: .4em;
}
// Forms
.km-blackberry input[type=password],
.km-blackberry input[type=search],
.km-blackberry input[type=number],
.km-blackberry input[type=tel],
.km-blackberry input[type=url],
.km-blackberry input[type=email],
.km-blackberry input[type=month],
.km-blackberry input[type=color],
.km-blackberry input[type=week],
.km-blackberry input[type=date],
.km-blackberry input[type=time],
.km-blackberry input[type=datetime],
.km-blackberry input[type=datetime-local],
.km-blackberry input[type=text]:not(.k-input),
.km-blackberry select:not([multiple]),
.km-blackberry .k-dropdown,
.km-blackberry textarea
{
font-size: 1em;
.appearance(none);
border-style: solid;
padding: .4em;
outline: none;
border-width: @blackberry-border-width;
border-radius: @blackberry-border-radius;
}
.km-phone .km-blackberry .km-list input[type=text]:not(.k-input),
.km-phone .km-blackberry .km-list input[type=password],
.km-phone .km-blackberry .km-list input[type=search],
.km-phone .km-blackberry .km-list input[type=number],
.km-phone .km-blackberry .km-list input[type=tel],
.km-phone .km-blackberry .km-list input[type=url],
.km-phone .km-blackberry .km-list input[type=email]
.km-phone .km-blackberry .km-list input[type=datetime],
.km-blackberry .k-dropdown
{
margin-top: -1em;
}
.km-phone .km-blackberry .km-list input[type=color],
.km-phone .km-blackberry .km-list input[type=month],
.km-phone .km-blackberry .km-list input[type=week],
.km-phone .km-blackberry .km-list input[type=date],
.km-phone .km-blackberry .km-list input[type=time],
.km-phone .km-blackberry .km-list input[type=datetime-local],
.km-phone .km-blackberry .km-list select:not([multiple]),
.km-blackberry .k-dropdown
{
margin-top: -1.2em;
}
.km-blackberry .km-list input[type=password],
.km-blackberry .km-list input[type=search],
.km-blackberry .km-list input[type=number],
.km-blackberry .km-list input[type=tel],
.km-blackberry .km-list input[type=url],
.km-blackberry .km-list input[type=email],
.km-blackberry .km-list input[type=month],
.km-blackberry .km-list input[type=color],
.km-blackberry .km-list input[type=week],
.km-blackberry .km-list input[type=date],
.km-blackberry .km-list input[type=time],
.km-blackberry .km-list input[type=datetime],
.km-blackberry .km-list input[type=datetime-local],
.km-blackberry .km-list input[type=text]:not(.k-input),
.km-blackberry .km-list select:not([multiple]),
.km-blackberry .km-list .k-dropdown,
.km-blackberry .km-list textarea,
.km-blackberry .km-list .k-slider
{
right: .8em;
}
.km-root .km-blackberry .km-view .km-content .km-list input[type=file]
{
padding: .2em;
outline: none;
right: .8em;
margin-top: -1.1em;
}
.km-blackberry .k-dropdown
{
border: 0;
padding: 0;
width: 10em;
border-radius: 0;
}
.km-blackberry .k-dropdown .k-dropdown-wrap
{
display: block;
padding: .05em 2em .05em .4em;
border-style: solid;
border-width: @blackberry-border-width;
border-radius: @blackberry-border-radius;
}
.km-blackberry select:not([multiple])
{
min-width: 6em;
padding-right: 2em;
}
.km-blackberry input[type=password]:focus,
.km-blackberry input[type=search]:focus,
.km-blackberry input[type=number]:focus,
.km-blackberry input[type=tel]:focus,
.km-blackberry input[type=url]:focus,
.km-blackberry input[type=email]:focus,
.km-blackberry input[type=text]:not(.k-input):focus,
.km-blackberry textarea:focus
{
border-width: 2px;
border-style: solid;
padding: ~"-webkit-calc(.4em - 1px)";
padding: ~"-moz-calc(.4em - 1px)";
padding: ~"calc(.4em - 1px)";
}
.km-blackberry .km-list .k-dropdown .k-input
{
background-color: transparent;
}
// Checkboxes and Radios
.km-blackberry .km-listview-label input[type=checkbox]
{
margin-top: -.4em;
}
.km-blackberry .km-listview-label input[type=radio],
.km-blackberry .km-listview-label input[type=checkbox]
{
border-width: @blackberry-border-width;
border-style: solid;
width: 1.05em;
height: 1em;
font-size: 1.6em;
border-radius: @blackberry-border-radius;
}
.km-blackberry .km-listview-label input[type=radio],
.km-blackberry .km-listview-label input[type=radio]:after
{
border-radius: @blackberry-switch-radius;
}
.km-blackberry .km-listview-label input[type=radio]:after,
.km-blackberry .km-listview-label input[type=checkbox]:after,
.km-blackberry .km-listview-label input[type=checkbox]:before
{
content: "\a0";
display: block;
left: 0;
width: 100%;
height: 100%;
position: absolute;
}
.km-blackberry .km-listview-label input[type=radio]:after
{
position: relative;
margin: 20% auto;
width: 70%;
height: 70%;
}
.km-blackberry .km-listview-label input[type=checkbox]:after
{
.transform(scale(.8,1));
.transform-origin(25% 50%);
}
.km-blackberry .km-listview-label input[type=radio]:checked:after
{
color: transparent;
}
// Nova theme features
.km-blackberry .km-icon-label.km-required:after {
margin-left: -.89em;
}
.km-blackberry .km-label-above {
font-size: 0.87em;
padding-top: .65em;
padding-bottom: 2.4em;
}
.km-blackberry fieldset .km-label-above {
margin-top: 0;
padding-top: 1.455em;
padding-bottom: 3.091em;
}
.km-blackberry {
.km-list {
.km-label-above {
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=url],
input[type=email],
input[type=month],
input[type=color],
input[type=week],
input[type=date],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=text]:not(.k-input),
select:not([multiple]),
.k-dropdown-wrap,
textarea {
padding: 0 .7em;
margin-top: 2px;
border: none;
right: 0;
font-size: 1.2em;
}
}
}
}
.km-blackberry .km-list fieldset {
border: none;
padding: 0 1.61em;
margin: -.5em -1.61em;
margin-top: 0;
}
.km-blackberry .km-list fieldset > input[type=password],
.km-blackberry .km-list fieldset > input[type=search],
.km-blackberry .km-list fieldset > input[type=number],
.km-blackberry .km-list fieldset > input[type=tel],
.km-blackberry .km-list fieldset > input[type=url],
.km-blackberry .km-list fieldset > input[type=email],
.km-blackberry .km-list fieldset > input[type=month],
.km-blackberry .km-list fieldset > input[type=color],
.km-blackberry .km-list fieldset > input[type=week],
.km-blackberry .km-list fieldset > input[type=date],
.km-blackberry .km-list fieldset > input[type=time],
.km-blackberry .km-list fieldset > input[type=datetime],
.km-blackberry .km-list fieldset > input[type=datetime-local],
.km-blackberry .km-list fieldset > input[type=text]:not(.k-input),
.km-blackberry .km-list fieldset > select:not([multiple]),
.km-blackberry .km-list fieldset > .k-dropdown-wrap,
.km-blackberry .km-list fieldset > textarea {
padding: 1.23em 0 1.23em 0;
margin: 2px 0;
border: none;
outline: none;
}
.km-blackberry .km-list fieldset legend {
text-indent: 0;
margin: 0 -1.61em;
font-weight: normal;
padding: 1.45em 1.61em .30em;
width: 100%;
box-sizing: content-box;
text-transform: uppercase;
}
.km-blackberry .km-legend-button {
font-size: .87em;
text-transform: uppercase;
}
.km-blackberry .km-list fieldset .km-inline-field {
margin-top: 0;
margin-left: 0;
padding-left: 1.61em;
}
.km-blackberry .km-list fieldset .km-inline-field:first-of-type {
padding-left: 0;
}
.km-blackberry .km-inline-field.km-label-above {
margin-bottom: 0;
}
.km-blackberry {
.km-list {
.km-inline-field {
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=url],
input[type=email],
input[type=month],
input[type=color],
input[type=week],
input[type=date],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=text]:not(.k-input),
select:not([multiple]),
.k-dropdown-wrap,
textarea {
left: 0;
padding-left: 0;
padding-left: 1em;
}
}
}
}
.km-blackberry {
.km-list {
.km-inline-field:first-of-type {
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=url],
input[type=email],
input[type=month],
input[type=color],
input[type=week],
input[type=date],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=text]:not(.k-input),
select:not([multiple]),
.k-dropdown-wrap,
textarea {
margin-left: 0;
padding-left: 0;
}
}
}
}
.km-blackberry .km-list fieldset > input[type=password],
.km-blackberry .km-list fieldset > input[type=search],
.km-blackberry .km-list fieldset > input[type=number],
.km-blackberry .km-list fieldset > input[type=tel],
.km-blackberry .km-list fieldset > input[type=url],
.km-blackberry .km-list fieldset > input[type=email],
.km-blackberry .km-list fieldset > input[type=month],
.km-blackberry .km-list fieldset > input[type=color],
.km-blackberry .km-list fieldset > input[type=week],
.km-blackberry .km-list fieldset > input[type=date],
.km-blackberry .km-list fieldset > input[type=time],
.km-blackberry .km-list fieldset > input[type=datetime],
.km-blackberry .km-list fieldset > input[type=datetime-local],
.km-blackberry .km-list fieldset > input[type=text]:not(.k-input),
.km-blackberry .km-list fieldset > select:not([multiple]),
.km-blackberry .km-list fieldset > .k-dropdown-wrap,
.km-phone .km-blackberry .km-list fieldset > input[type=password],
.km-phone .km-blackberry .km-list fieldset > input[type=search],
.km-phone .km-blackberry .km-list fieldset > input[type=number],
.km-phone .km-blackberry .km-list fieldset > input[type=tel],
.km-phone .km-blackberry .km-list fieldset > input[type=url],
.km-phone .km-blackberry .km-list fieldset > input[type=email],
.km-phone .km-blackberry .km-list fieldset > input[type=month],
.km-phone .km-blackberry .km-list fieldset > input[type=color],
.km-phone .km-blackberry .km-list fieldset > input[type=week],
.km-phone .km-blackberry .km-list fieldset > input[type=date],
.km-phone .km-blackberry .km-list fieldset > input[type=time],
.km-phone .km-blackberry .km-list fieldset > input[type=datetime],
.km-phone .km-blackberry .km-list fieldset > input[type=datetime-local],
.km-phone .km-blackberry .km-list fieldset > input[type=text]:not(.k-input),
.km-phone .km-blackberry .km-list fieldset > select:not([multiple]),
.km-phone .km-blackberry .km-list fieldset > .k-dropdown-wrap {
margin-top: 0;
right: 0;
}
.km-blackberry .km-list .km-full-width-slider {
margin-top: 0;
padding: 1.55em 0;
}
// Standalone Checkboxes and RadioButtons
.km-blackberry .km-checkbox-label,
.km-blackberry .km-radio-label {
font-size: 1em;
line-height: 1.5em;
margin-left: .89em;
}
.km-blackberry .km-checkbox-label:before,
.km-blackberry .km-checkbox-label:after {
right: .7em;
width: 1.5rem;
height: 1.5rem;
text-align: right;
}
.km-blackberry .km-checkbox-label:before {
border-width: 0.133rem;
border-style: solid;
border-radius: 3px;
}
.km-blackberry input.km-checkbox:checked + .km-checkbox-label:after {
font-size: 1.5em;
margin-right: -3px;
}
//Radio buttons
.km-blackberry .km-radio-label {
padding-left: 2.5em;
line-height: 1.5em;
}
.km-blackberry .km-radio-label:before {
width: 1.5rem;
height: 1.5rem;
border-width: .133rem;
border-style: solid;
}
.km-blackberry input.km-radio:checked + .km-radio-label:after {
width: 1.05rem;
height: 1.05rem;
top: 55%;
left: .3rem;
}