forked from olton/Metro-UI-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
calendar.less
81 lines (68 loc) · 1.3 KB
/
calendar.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
* Metro UI CSS
* (c) 2012-2013 by Sergey Pimenov
* Licensed under the MIT License and Commercial
*
* Calendar.less
*
*/
.calendar {
.bg-color-white;
table {
border: 1px #ccc solid;
width: 100%;
border-collapse: collapse;
margin: 0;
tr {
height: 1px;
}
}
tr:empty {
display: none;
}
td, th {
padding: 4px;
width: 14.285% !important;
font-size: 10pt;
border: 1px #ccc solid !important;
text-align: center;
}
td {
cursor: pointer;
position: relative;
height: 100%;
span {
font-size: 8px !important;
line-height: 10px;
position: absolute;
top: 0;
right: 0;
padding: 1px 3px;
.bg-color-red;
.fg-color-white;
}
}
.out {
background: #ececf0;
cursor: default;
}
.empty-day {
border: 0 !important;
display: none;
}
.weekdays td {
.bg-color-blueLight;
font-weight: bold !important;
}
.current-day {
.bg-color-green;
.fg-color-white;
}
.event {
.bg-color-blue;
.fg-color-white;
}
}
.datepicker {
position: relative;
}