-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshared-styles.css
64 lines (52 loc) · 1.04 KB
/
shared-styles.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
52
53
54
55
56
57
58
59
60
61
62
63
.grade-progress {
height: 45px;
}
.grade-progress-day {
background-color: grey;
color: grey;
width: 10px;
height: 40px;
transition: border-top 0.8s;
top: 0;
bottom: 0;
}
.grade-progress-day:hover {
border-top: solid currentColor 10px;
}
.day-submitted {
background-color: green;
color: green;
}
.day-future {
background-color: black;
color: black;
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 110px;
display: block;
background-color: black;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
position: relative;
z-index: 1;
top: 50px;
left: -85px;
}
/* Tooltip Marker */
.tooltip-bottom::after {
content: "";
position: absolute;
bottom: 100%;
left: 85px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent black transparent;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
}