Repository navigation
Expand file tree
/
Copy pathdate-picker.less
More file actions
113 lines (98 loc) · 2.06 KB
/
Copy pathdate-picker.less
File metadata and controls
113 lines (98 loc) · 2.06 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
.ae-date-picker {
margin: 0;
background-color: white;
padding: 1em;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
border-radius: 4px;
.ae-date-picker-level {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1em;
padding: 0.5em 0;
h5 {
margin: 0;
font-size: 1em;
line-height: 1;
font-weight: 500;
}
}
table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
}
.ae-date-picker-month-nav {
outline: 0;
background-color: transparent;
display: block;
width: 1.1em;
height: 1.1em;
padding: 0;
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
text-indent: -9999px;
&.ae-date-picker-prev {
background-image: url(/images/controls/arrow-left.svg);
}
&.ae-date-picker-next {
background-image: url(/images/controls/arrow-right.svg);
margin-left: 1em;
}
}
button {
background: transparent;
border: 0;
outline: 0;
cursor: pointer;
}
th {
padding-top: 1em;
padding-bottom: 1em;
width: 14%;
text-align: center;
font-size: 0.75em;
font-weight: normal;
text-align: center;
color: fade(@text-color, 60%);
}
td {
background: @white;
font-size: 0.75em;
text-align: center;
padding: 1px;
button {
width: 100%;
height: 100%;
display: block;
width: @gutterR * 2.5;
height: @gutterR * 2.5;
line-height: @gutterR * 2.5;
}
}
.ae-date-picker-date {
text-align: center;
font-size: 1.25em;
font-weight: 400;
color: @text-color;
font-family: @font-family;
outline: 0;
border: solid 1px transparent;
border-radius: 50%;
&:hover {
border-color: @primary-color;
}
&.ae-date-picker-other {
color: @border-color-alt;
}
&.ae-date-picker-today {
font-weight: 600;
}
&.ae-date-picker-selected {
color: @primary-color;
background-color: @primary-color;
color: white;
}
}
}