-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDashboard.html
More file actions
110 lines (93 loc) · 2.36 KB
/
Copy pathDashboard.html
File metadata and controls
110 lines (93 loc) · 2.36 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
<!DOCTYPE html>
<html>
<head>
<title>Poliscope</title>
<style>
body {
font-family: Arial, sans-serif;
padding: 10px;
text-align: center;
width: 400px;
height: 200px;
background-color: #ffffffc3;
}
#toggle {
margin-top: 20px;
}
/* Collapsible button styling */
.collapsible {
background-color: #777;
color: white;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
border-radius: 12px; /* Rounded corners for collapsible buttons */
}
.active, .collapsible:hover {
background-color: #555;
}
.content {
padding: 0 18px;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
background-color: #f1f1f1;
}
/* Loader animation styling */
.loader {
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid blue;
border-bottom: 16px solid blue;
width: 16px;
height: 16px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* General button styling */
button {
padding: 12px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 12px; /* Rounded corners for all buttons */
background-color: #3498db;
color: white;
transition: background-color 0.3s ease;
margin-bottom: 15px; /* Add spacing between buttons */
}
button:hover {
background-color: #2980b9;
}
</style>
<script src="popup.js" defer></script>
</head>
<body>
<h1> Poliscope </h1>
<h3> Stay safe with simplified insights </h3>
<button id="toggle">Enable</button>
<div id="dynamicSections" class="loader" style="justify-self: center; margin: 25px;"></div>
<div id="page_value" style="display: none;">Dashboard</div>
<button id="FAQ">FAQs</button>
</body>
</html>