forked from Sulagna-Dutta-Roy/GGExtensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
125 lines (117 loc) · 3.31 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form Fill</title>
<style>
html{
box-sizing: border-box;
}
*, :root, :root::after, :root::before{
box-sizing: inherit;
}
body{
width: 350px;
background-color: rgb(249, 252, 255);
text-align: center;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
button{
padding: 0.4em .8em;
margin: 0;
font-size: 0.875rem;
border-radius: 5px;
border: 0;
color: white;
}
.invalid-data{
transition: all .3s linear;
background-color: rgb(194, 35, 35);
}
.invalid-data:hover{
background-color: rgb(123, 39, 39);
}
.valid-data{
transition: all .3s linear;
background-color: rgb(61, 191, 18);
}
.valid-data:hover{
background-color: rgb(32, 136, 23);
}
.save-data{
background-color:steelblue;
transition: all .3s linear;
}
.save-data:hover{
background-color:rgb(59, 100, 134);
}
h1{
text-transform: uppercase;
}
footer{
padding-block: .5em;
text-align: center;
margin-top: 2em;
}
.forms-list{
padding-bottom: 1em;
text-align: left;
}
.data-list-wrapper{
border-top:2px solid black;
display: none;
border-bottom: 2px solid black;
padding: 0;
}
.data-list{
text-align:left;
}
.buttons-container{
padding-top: 1em;
display: flex;
justify-content: space-between;
gap: 5px;
}
.main_wrapper{
width: 80%;
margin-inline:auto;
}
footer a{
text-decoration: none;
color: rgb(161, 161, 161);
}
.delete-saved-form{
background-color: transparent;
color: black;
}
.stored-form-wrapper{
display: flex;
justify-content: space-between;
align-items: center;
}
</style>
<script src="script.js" defer></script>
</head>
<body>
<main>
<div class="main_wrapper">
<h1>Select Form to fill</h1>
<div class="forms-list"></div>
<div class="data-list-wrapper">
<h2>Saved Data</h2>
<div class="data-list"></div>
</div>
<div class="buttons-container">
<button class="invalid-data">Invalid Data</button>
<button class="save-data">Save Data</button>
<button class="valid-data">Valid Data</button>
</div>
</div>
</main>
<footer>
<a href="https://www.flaticon.com/free-icons/register" title="register icons">Register icons created by GOWI - Flaticon</a>
</footer>
</body>
</html>