MyCo/inc/lib/pickadate/themes-source/base.less

56 lines
1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* ==========================================================================
$BASE-PICKER
========================================================================== */
@import "_variables.less";
/**
* Note: the root picker element should *NOT* be styled more than whats here.
*/
.picker {
// The base font stylings.
font-size: @base-font-size;
text-align: left;
line-height: @base-line-height;
color: @black;
// The picker shouldnt affect or be affected by elements around it.
position: absolute;
z-index: @picker-z-index;
// The picker shouldnt be selectable.
user-select: none;
}
/**
* The picker input element.
*/
.picker__input {
cursor: default;
}
/**
* When the picker is opened, the input element is “activated”.
*/
.picker__input.picker__input--active {
border-color: @input-active-border;
}
/**
* The holder is the only “scrollable” top-level container element.
*/
.picker__holder {
width: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}