-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschedule.css
More file actions
130 lines (126 loc) · 2.98 KB
/
Copy pathschedule.css
File metadata and controls
130 lines (126 loc) · 2.98 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
.taken1 {
background-color: #c992c2;
}
.taken2 {
background-color: #f9ec6e;
}
.taken3 {
background-color: #fba3a3;
}
.taken4 {
background-color: #a2f994;
}
table {
font-family: sans-serif;
width: 100%;
border-spacing: 0;
border-collapse: separate;
table-layout: fixed;
margin-bottom: 50px;
}
table thead tr th {
background: #3E8EDE;
color: #ecf4fc;
padding: 0.5em;
overflow: hidden;
}
table thead tr th:first-child {
border-radius: 3px 0 0 0;
}
table thead tr th:last-child {
border-radius: 0 3px 0 0;
}
table thead tr th .day {
display: block;
font-size: 1.2em;
border-radius: 50%;
width: 30px;
height: 30px;
margin: 0 auto 5px;
padding: 5px;
line-height: 1.8;
}
table thead tr th .day.active {
background: #ecf4fc;
color: #3E8EDE;
}
table thead tr th .short {
display: none;
}
table thead tr th i {
vertical-align: middle;
font-size: 2em;
}
table tbody tr {
background: #ecf4fc;
}
table tbody tr:nth-child(odd) {
background: #dfecfa;
}
table tbody tr:nth-child(4n+0) td {
border-bottom: 1px solid #3E8EDE;
}
table tbody tr td {
text-align: center;
vertical-align: middle;
border-left: 1px solid #3E8EDE;
position: relative;
height: 32px;
cursor: pointer;
}
table tbody tr td:last-child {
border-right: 1px solid #3E8EDE;
}
table tbody tr td.hour {
font-size: 2em;
padding: 0;
/* color: #3E8EDE;*/
color: #8B4513;
background: #fff;
border-bottom: 1px solid #3E8EDE;
border-collapse: separate;
min-width: 100px;
cursor: default;
}
table tbody tr td.hour span {
display: block;
}
@media (max-width: 60em) {
table thead tr th .long {
display: none;
}
table thead tr th .short {
display: block;
}
table tbody tr td.hour span {
transform: rotate(270deg);
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
}
}
@media (max-width: 27em) {
table thead tr th {
font-size: 65%;
}
table thead tr th .day {
display: block;
font-size: 1.2em;
border-radius: 50%;
width: 20px;
height: 20px;
margin: 0 auto 5px;
padding: 5px;
}
table thead tr th .day.active {
background: #ecf4fc;
color: #3E8EDE;
}
table tbody tr td.hour {
font-size: 1.7em;
}
table tbody tr td.hour span {
transform: translateY(16px) rotate(270deg);
-webkit-transform: translateY(16px) rotate(270deg);
-moz-transform: translateY(16px) rotate(270deg);
}
}