-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
133 lines (117 loc) · 2.5 KB
/
Copy pathstyle.css
File metadata and controls
133 lines (117 loc) · 2.5 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
131
132
133
body { /* Popup styling */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 125px;
width: 200px;
border-radius: 20px;
margin: 0;
font-family: Garamond, serif;
color: black;
background:rgb(47, 42, 42);
position: relative;
}
.header { /* Title + logo spacing */
display: flex;
align-items: center;
position: absolute;
top: 0;
left: 0;
width: 100%;
margin-top: 10px;
}
.menu-image { /* Logo */
width: 30px;
height: 24.5px;
margin-right: 5px;
position: absolute;
top: -2px;
right: 5px;
}
.title { /* Title */
margin: 0;
margin-left: 10px;
font-size: 18px;
color: rgb(232, 232, 232)
}
.time-saved-display{ /* Over _ minutes saved! */
margin-top: 10px;
font-size: 12px;
color: rgb(232, 232, 232)
}
/* Styling for the switch */
.toggle-switch {
display: flex;
align-items: center;
font-size: 18px;
margin-top: 30px
}
.switch-label {
margin-right: 10px;
pointer-events: none;
}
.switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.switch input {
display: none;
}
.slider-round { /* Slider graphic */
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
border-radius: 24px;
}
.slider-round:before {
position: absolute;
content: "";
height: 20px;
width: 20px;
left: 2px;
bottom: 2px;
background-color: rgb(232, 232, 232);
-webkit-transition: .4s;
transition: .4s;
border-radius: 50%;
}
/* Move the slider to the right when checked */
input:checked + .slider-round {
background-color: #db1d1d;
}
input:checked + .slider-round:before {
-webkit-transform: translateX(24px);
-ms-transform: translateX(24px);
transform: translateX(24px);
}
/* Scrolling from lifetime to <from date> statistics */
.arrow {
cursor: pointer;
display: inline-block;
transform: rotate(-90deg) translateX(.5px)translateY(5px); /* Rotate 90 degrees counterclockwise */
font-size: 8px;
}
/* Reset button styling */
.reset-button {
border: none;
color: black;
padding: 2px 4px; /* Adjust padding to control the size */
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 8px; /* Adjust font size as needed */
margin: 4px 2px;
cursor: pointer;
border-radius: 12px; /* Rounded corners */
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Optional: Adds a shadow */
transition-duration: 0.4s; /* Optional: Adds a transition effect */
}