Component-Builder-fork/media/uikit-v2/css/components/datepicker.css

124 lines
2.4 KiB
CSS
Raw Normal View History

2017-11-12 00:33:10 +00:00
/*! UIkit 2.27.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2016-01-30 20:28:43 +00:00
/* ========================================================================
Component: Datepicker
========================================================================== */
/*
* 1. Highest z-index
* 2. Reset dropdown width
* 3. Set animation
* 4. Needed for scale animation
*/
.uk-datepicker {
/* 1 */
z-index: 1050;
/* 2 */
width: auto;
/* 3 */
-webkit-animation: uk-fade 0.2s ease-in-out;
animation: uk-fade 0.2s ease-in-out;
/* 4 */
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
}
/* Sub-object: `uk-datepicker-nav`
========================================================================== */
.uk-datepicker-nav {
margin-bottom: 15px;
text-align: center;
line-height: 20px;
}
/*
* Micro clearfix
*/
.uk-datepicker-nav:before,
.uk-datepicker-nav:after {
content: "";
display: table;
}
.uk-datepicker-nav:after {
clear: both;
}
/*
* Previous and next navigation
*/
.uk-datepicker-nav a {
2017-11-12 00:33:10 +00:00
color: #444;
2016-01-30 20:28:43 +00:00
text-decoration: none;
}
.uk-datepicker-nav a:hover {
2017-11-12 00:33:10 +00:00
color: #444;
2016-01-30 20:28:43 +00:00
}
.uk-datepicker-previous {
float: left;
}
.uk-datepicker-next {
float: right;
}
.uk-datepicker-previous:after,
.uk-datepicker-next:after {
width: 20px;
font-family: FontAwesome;
}
.uk-datepicker-previous:after {
content: "\f053";
}
.uk-datepicker-next:after {
content: "\f054";
}
/* Sub-object: `uk-datepicker-heading`
========================================================================== */
/* Sub-object: `uk-datepicker-table`
========================================================================== */
/* Block element behavior */
.uk-datepicker-table {
width: 100%;
}
.uk-datepicker-table th,
.uk-datepicker-table td {
padding: 2px;
}
.uk-datepicker-table th {
font-size: 12px;
}
/*
* Item
*/
.uk-datepicker-table a {
display: block;
width: 26px;
line-height: 24px;
text-align: center;
2017-11-12 00:33:10 +00:00
color: #444;
2016-01-30 20:28:43 +00:00
text-decoration: none;
}
/*
* Sub-object: `uk-datepicker-table-muted`
*/
a.uk-datepicker-table-muted {
2017-11-12 00:33:10 +00:00
color: #999;
2016-01-30 20:28:43 +00:00
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-datepicker-table a:hover,
.uk-datepicker-table a:focus {
2017-11-12 00:33:10 +00:00
background-color: #ddd;
color: #444;
2016-01-30 20:28:43 +00:00
/* 2 */
outline: none;
}
/* OnClick */
.uk-datepicker-table a:active {
2017-11-12 00:33:10 +00:00
background-color: #ccc;
color: #444;
2016-01-30 20:28:43 +00:00
}
/*
* Active
*/
.uk-datepicker-table a.uk-active {
background: #00a8e6;
2017-11-12 00:33:10 +00:00
color: #fff;
2016-01-30 20:28:43 +00:00
}