1
|
/*! UIkit 2.27.5 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
/* ========================================================================
|
3
|
Component: Datepicker
|
4
|
========================================================================== */
|
5
|
/*
|
6
|
* 1. Highest z-index
|
7
|
* 2. Reset dropdown width
|
8
|
* 3. Set animation
|
9
|
* 4. Needed for scale animation
|
10
|
*/
|
11
|
.uk-datepicker {
|
12
|
/* 1 */
|
13
|
z-index: 1050;
|
14
|
/* 2 */
|
15
|
width: auto;
|
16
|
/* 3 */
|
17
|
-webkit-animation: uk-fade 0.2s ease-in-out;
|
18
|
animation: uk-fade 0.2s ease-in-out;
|
19
|
/* 4 */
|
20
|
-webkit-transform-origin: 0 0;
|
21
|
transform-origin: 0 0;
|
22
|
}
|
23
|
/* Sub-object: `uk-datepicker-nav`
|
24
|
========================================================================== */
|
25
|
.uk-datepicker-nav {
|
26
|
margin-bottom: 15px;
|
27
|
text-align: center;
|
28
|
line-height: 20px;
|
29
|
}
|
30
|
/*
|
31
|
* Micro clearfix
|
32
|
*/
|
33
|
.uk-datepicker-nav:before,
|
34
|
.uk-datepicker-nav:after {
|
35
|
content: "";
|
36
|
display: table;
|
37
|
}
|
38
|
.uk-datepicker-nav:after {
|
39
|
clear: both;
|
40
|
}
|
41
|
/*
|
42
|
* Previous and next navigation
|
43
|
*/
|
44
|
.uk-datepicker-nav a {
|
45
|
color: #444;
|
46
|
text-decoration: none;
|
47
|
}
|
48
|
.uk-datepicker-nav a:hover {
|
49
|
color: #444;
|
50
|
}
|
51
|
.uk-datepicker-previous {
|
52
|
float: left;
|
53
|
}
|
54
|
.uk-datepicker-next {
|
55
|
float: right;
|
56
|
}
|
57
|
.uk-datepicker-previous:after,
|
58
|
.uk-datepicker-next:after {
|
59
|
width: 20px;
|
60
|
font-family: FontAwesome;
|
61
|
}
|
62
|
.uk-datepicker-previous:after {
|
63
|
content: "\f053";
|
64
|
}
|
65
|
.uk-datepicker-next:after {
|
66
|
content: "\f054";
|
67
|
}
|
68
|
/* Sub-object: `uk-datepicker-heading`
|
69
|
========================================================================== */
|
70
|
/* Sub-object: `uk-datepicker-table`
|
71
|
========================================================================== */
|
72
|
/* Block element behavior */
|
73
|
.uk-datepicker-table {
|
74
|
width: 100%;
|
75
|
}
|
76
|
.uk-datepicker-table th,
|
77
|
.uk-datepicker-table td {
|
78
|
padding: 2px;
|
79
|
}
|
80
|
.uk-datepicker-table th {
|
81
|
font-size: 12px;
|
82
|
}
|
83
|
/*
|
84
|
* Item
|
85
|
*/
|
86
|
.uk-datepicker-table a {
|
87
|
display: block;
|
88
|
width: 26px;
|
89
|
line-height: 24px;
|
90
|
text-align: center;
|
91
|
color: #444;
|
92
|
text-decoration: none;
|
93
|
border: 1px solid transparent;
|
94
|
border-radius: 4px;
|
95
|
background-origin: border-box;
|
96
|
}
|
97
|
/*
|
98
|
* Sub-object: `uk-datepicker-table-muted`
|
99
|
*/
|
100
|
a.uk-datepicker-table-muted {
|
101
|
color: #999;
|
102
|
}
|
103
|
/*
|
104
|
* Hover
|
105
|
* 1. Apply hover style also to focus state
|
106
|
* 2. Remove default focus style
|
107
|
*/
|
108
|
.uk-datepicker-table a:hover,
|
109
|
.uk-datepicker-table a:focus {
|
110
|
background-color: #fafafa;
|
111
|
color: #444;
|
112
|
/* 2 */
|
113
|
outline: none;
|
114
|
border-color: rgba(0, 0, 0, 0.2);
|
115
|
border-bottom-color: rgba(0, 0, 0, 0.3);
|
116
|
text-shadow: 0 1px 0 #fff;
|
117
|
}
|
118
|
/* OnClick */
|
119
|
.uk-datepicker-table a:active {
|
120
|
background-color: #f5f5f5;
|
121
|
color: #444;
|
122
|
border-color: rgba(0, 0, 0, 0.2);
|
123
|
border-top-color: rgba(0, 0, 0, 0.3);
|
124
|
background-image: none;
|
125
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
126
|
}
|
127
|
/*
|
128
|
* Active
|
129
|
*/
|
130
|
.uk-datepicker-table a.uk-active {
|
131
|
background: #009dd8;
|
132
|
color: #fff;
|
133
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
134
|
border-bottom-color: rgba(0, 0, 0, 0.4);
|
135
|
background-origin: border-box;
|
136
|
background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5);
|
137
|
background-image: linear-gradient(to bottom, #00b4f5, #008dc5);
|
138
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
139
|
}
|