forked from tobico/jquery-calendrical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
calendrical.scss
102 lines (95 loc) · 1.85 KB
/
calendrical.scss
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
$background_color: #FFF;
$text_color: #000;
$border_color: #999;
$grey_color: #999;
$selection_color: #CCF;
$today_color: #EEB;
$today_border_color: #DD6;
.calendricalDatePopup {
background: $background_color;
border: solid 1px $border_color;
padding: 2px;
text-align: center;
width: 160px;
table {
border-collapse: collapse;
width: 160px;
.monthCell {
padding: 2px 0;
a {
display: block;
float: left;
line-height: 20px;
}
.prevMonth, .nextMonth {
width: 24px;
}
.monthName {
width: 110px;
}
}
a {
text-decoration: none;
}
th {
text-align: center;
}
td {
text-align: center;
font-size: 12px;
padding: 0;
a {
display: block;
color: $text_color;
padding: 2px 3px;
&:hover {
background: $selection_color;
border: none;
padding: 2px 3px;
}
}
&.today a {
background: $today_color;
}
&.selected a {
background: $selection_color;
}
&.today_selected a {
background: $today_color;
border: solid 1px $today_border_color;
padding: 1px 2px;
}
&.nonMonth a {
color: $grey_color;
}
}
}
}
.calendricalTimePopup {
background: $background_color;
border: solid 1px $border_color;
width: 110px;
height: 130px;
overflow: auto;
ul {
margin: 0;
padding: 0;
li {
list-style: none;
margin: 0;
a, a:visited {
text-indent: 10px;
padding: 4px;
display: block;
color: $text_color;
text-decoration: none;
}
a:hover, &.selected a {
background: $selection_color;
}
}
}
}
.calendricalEndTimePopup {
width: 160px;
}