-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
executable file
·104 lines (100 loc) · 2.55 KB
/
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
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
.activity > div > div > div:nth-child(2) {
display: flex;
flex-direction: row-reverse;
justify-content: left;
flex-wrap: wrap;
}
.activity-information {
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
}
.automatic-completion-conditions {
display: flex;
}
div[data-region="activity-dates"] {
margin-top: -6px;
width: 60vw;
}
.activityinstance {
margin-bottom: 13px;
}
.automatic-completion-conditions .badge,
button[data-action="toggle-manual-completion"]{
position: relative;
margin-right: 20px;
}
/* Turn manual completion into checkboxes */
button[data-action="toggle-manual-completion"] {
width: 25px;
height: 25px;
padding: 0px;
border-radius: .25rem;
font-size: 0px;
border: 2px solid rgb(106, 115, 123);
}
button[data-toggletype="manual:undo"] {
border: 2px solid green;
}
button[data-toggletype="manual:undo"]:after {
content: '✓';
font-size: 41px;
position: absolute;
left: 0;
top: -23px;
}
/* Turn automatic completion into checkboxes */
.automatic-completion-conditions .badge-secondary.badge,
.automatic-completion-conditions .badge-success.badge {
font-size: 0px;
width: 25px;
height: 25px;
background-color: white;
border: 2px dashed #ced4da;
display: flex;
justify-content: center;
}
.automatic-completion-conditions .badge-secondary.badge span,
.automatic-completion-conditions .badge-success.badge span {
opacity: 0;
pointer-events: none;
transition: opacity 0.4s ease;
}
.automatic-completion-conditions .badge-secondary.badge span::after,
.automatic-completion-conditions .badge-success.badge span::after {
content: '▲';
color: black;
position: absolute;
left: 50%;
top: -12px;
transform: translateX(-50%);
}
.automatic-completion-conditions .badge-secondary.badge span,
.automatic-completion-conditions .badge-success.badge span {
font-size: 15px;
position: absolute;
bottom: -40px;
padding: 5px;
background: black;
color: white;
border-radius: 5px;
}
.automatic-completion-conditions .badge-secondary.badge:hover span,
.automatic-completion-conditions .badge-success.badge:hover span {
opacity: 1;
}
.automatic-completion-conditions .badge-success.badge {
width: 25px;
height: 25px;
background-color: white;
border: 2px solid green;
font-size: 0px;
}
.automatic-completion-conditions .badge-success::after {
content: '✓';
font-size: 40px;
color: green;
position: absolute;
top: -14px;
left: 0;
}