-
Notifications
You must be signed in to change notification settings - Fork 1
/
react-schedule.css
51 lines (46 loc) · 1022 Bytes
/
react-schedule.css
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
body {
background-color: grey;
}
.schedule {
display: table;
position: relative;
}
.schedule-row {
display: table-row;
}
/* Size Calcs: (Embed in component later)
height: 12(units) * 3(scale) - 2(border) = 34px;
width: 24(units) * 3(scale) - 2(border) = 70px;
timeWidth: 18(units) * 3(scale) - 2(border) = 52px;
headHeight: 12(units) * 3(scale) - 2(border) = 34px;
*/
.schedule-cell {
display: table-cell;
border: solid white 1px;
height: 34px;
min-height: 34px;
min-width: 70px;
width: 70px;
background: linear-gradient(to bottom, #E7F7FE 50%, #E7F7FE 50%, #C1D7F1 50%);
}
/* Subtracting 2 to account for border on each side */
.schedule-head {
height: 34px;
min-height: 34px;
background-color: #425872;
border: solid white 1px;
display: table-cell;
}
.schedule-time {
width: 52px;
min-width: 52px;
background-color: #425872;
border: solid white 1px;
display: table-cell;
font-size: 12px;
}
.entry-block {
width: 70px;
position: absolute;
font-size: 12px;
}