-
Notifications
You must be signed in to change notification settings - Fork 0
/
exchangForm.html
197 lines (183 loc) · 6.24 KB
/
exchangForm.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/detailsStyle.css">
<link rel="stylesheet" href="css/exchangForm.css">
<title>Exchange</title>
<style>
.button1 {
font-size: 20px;
padding: 10px 32px;
color: #fff;
/* border: 2px solid #06D85F; */
background-color: #fca311ff;
border-radius: 8px;
text-decoration: none;
cursor: pointer;
transition: all 0.3s ease-out;
font-family: 'Roboto', sans-serif;
}
.button1:hover{
background-color: #14213dff;
}
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
}
.overlay:target {
visibility: visible;
opacity: 1;
}
.popup {
margin: 70px auto;
padding: 20px;
background: #fff;
border-radius: 5px;
width: 30%;
position: relative;
transition: all 5s ease-in-out;
}
.poplink{
margin-top: 120px;
}
.popup h2 {
margin-top: 0;
color: #333;
font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
position: absolute;
top: 20px;
right: 30px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
text-decoration: none;
color: #333;
}
.popup .close:hover {
color: #14213dff;
}
.popup .content1 {
max-height: 30%;
overflow: auto;
}
@media screen and (max-width: 700px){
.box{
width: 70%;
}
.popup{
width: 70%;
}
}
</style>
</head>
<body>
<header id="hero">
<a href="index.html"><img src="img/logo.png" alt="" class="logo"></a>
<h1 class="h1header"><a href="index.html">Books Shelves</a></h1>
<nav class="topHeader">
<div class="topBotomBordersOut">
<ul class="headerList">
<li><a href="index.html">home</a></li>
<div class="dropdown">
<li class="droplist"><a>Categories</a></li>
<div class="dropdown-content">
<a id="all" href="#liAll">All</a>
<a id="History" href="#liHistory">History</a>
<a id="hurror" href="#liHorror">Horror</a>
<a id="Fantasi" href="#liFantacy">Fantacy</a>
<a id="Kids" href="#liKids">Kids</a>
</div>
</div>
<li><a href="favorite.html">Favorite</a></li>
<li><a href="shelves.html">Shelves</a></li>
<div class="dropdown">
<li><a href="exchangForm.html">Exchange</a></li>
<div class="dropdown-content">
<a id="all" href="userBooks.html">User's Books</a>
</div>
</div>
<li><a href="about.html">about</a></li>
</ul>
</nav>
</div>
</header>
<main>
<div id="choosed">
<form id="exchangeForm" action="" method="post">
<fieldset>
<div id="divMain">
<div id="inputs">
<input class="userData" placeholder="Your Name" id="userName" type="text" required>
<input class="userData" placeholder="Email" id="Email" type="email" required>
<div id="bookde">
<input class="userData" placeholder="Book Name" id="BookName" type="text" required>
<input class="userData" placeholder="Auther Name" id="auther" type="text" required>
<textarea class="userData" id="BookDisc" placeholder="Book Discription..."
rows="10" required></textarea>
</div>
<div class="poplink">
<a class="button1" href="#popup1">
submit
</a></div>
</div>
<label class="file">
<input onchange="loadFile(event)" id="imageHolder" id="img" name="img" accept="image/*"
type="file" id="file" aria-label="File browser example">
<img id="choosedImg" src="" alt="" style="width: 432px;
height: 630px; margin-top: -30px;">
<span class="file-custom" id="choosedImg"></span>
</label>
</fieldset>
</form>
</div>
<aside>
<!-- <button class="buy">Buy Now!</button> -->
<img src="img/Ad1_3060.jpg" alt="" id="addImg"></aside>
<div id="popup1" class="overlay">
<div class="popup">
<a class="close" href="#">×</a>
<div class="content1">
<p style="color: #14213dff; font-family: 'Roboto', sans-serif;
font-size: 30px;">Thank to upload and exchange with others</p>
<button class="sub">
submit
</button>
</div>
</div>
</div>
</main>
<footer>
<a href="index.html"><img id='Footerlogo' src="img/logo.png" /></a>
<h3><a href="index.html">Books Shelves</a></h3>
<nav class="links">
<ul>
<li><a href="about.html">about</a></li>
<li><a href="about.html">contact</a></li>
</ul>
</nav>
<nav class="social">
<ul>
<li><a href="https://facebook.com/" target="_blank"><img src="img/facebook.png" alt=""></a></li>
<li><a href="https://twitter.com/" target="_blank"><img src="img/twitter.png" alt=""></a></li>
<li><a href="https://instagram.com/" target="_blank"><img src="img/instagram.png" alt=""></a></li>
</ul>
</nav>
<hr>
<p>Books Shelves © 2020 · All Copyrights are reserved</p>
</footer>
<script src="js/multipleFunctions.js"></script>
<script src="js/exForm.js">
</script>
</body>
</html>