forked from Vedbhanushali/omsagar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshopping.html
More file actions
302 lines (260 loc) · 16.8 KB
/
shopping.html
File metadata and controls
302 lines (260 loc) · 16.8 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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shop</title>
<!-- <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> -->
<!-- <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> -->
<!-- <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> -->
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<link rel="stylesheet" href="css/dark_mode.css">
<link rel="stylesheet" href="css/footer.css">
<link rel="stylesheet" href="css/shopping.css">
<style>
#theme_icon{
height:25px ;
width: 25px;
background:none;
}
:root{
--primary-color: aliceblue;
--secondary-color: black;
--form-background:rgba(0, 0, 0, 0.233);
--title-color: #0067e6;
}
[data-theme="dark"] {
--primary-color: black;
--secondary-color: white;
--title-color: #fec150;
}
body
{
background: var(--primary-color);
color: var(--secondary-color);
}
.cart-item{
background: var(--primary-color);
color: var(--secondary-color);
}
/* Animation */
.cart-item{
white-space: nowrap;
overflow: hidden;
text-align: justify;
}
.cart-item{
animation: animated-text 1s linear 1s 1 normal both,
animated-cursor 600ms linear infinite;
position: sticky;
}
/* text animation */
@keyframes animated-text{
from{max-width: 0;text-align: justify;visibility: hidden;}
to{max-width: 100%;text-align: justify;visibility: visible;}
}
/* cursor animations */
@keyframes animated-cursor{
from{border-right-color: var(--border-cursor-color); }
to{border-right-color: transparent;}
}
</style>
</head>
<body>
<!-- navbar---------------------------------------------------------->
<!-- navbar---------------------------------------------------------->
<nav class="navbar sticky-top navbar-expand-lg navbar-dark" style="background: #0075A2;color: aliceblue;" >
<div class="container-fluid" >
<div class="navbar-nav me-auto mb-4 mb-lg-0">
<a class="container navbar-brand" href="index.html">
<img src="img/OM_LOGO.png" alt="logo.png ni=ot found" height="100" width="160" class="d-inline-block align-top">
</a>
</div>
<div class=" ">
<div class="mx-auto" style="width: 600px;">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse " id="navbarTogglerDemo01">
<ul class="nav navbar-nav navbar-right" >
<li class="nav-item">
<a class="nav-link " aria-current="page" href="index.html">HOME</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="shopping.html">SHOP</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
PRODUCTS
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="grey_products.html">Grey Products</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="more_product.html">More</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link " href="index.html#contact">CONTACT</a>
</li>
<li>
<li class="nav-item">
<a class="nav-link " href="about.html">ABOUT</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
MORE
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item mx-auto" href="Complain.html">Complain</a></li>
<li><a class="dropdown-item mx-auto" href="feedback_help.html">Feedback & Help </a></li>
<li> <a class="dropdown-item mx-auto " id="theme">Theme
<label class="theme-switch theme-switch-wrapper " for="checkbox">
<input type="checkbox" id="checkbox" />
<div class="slider">
<svg
xmlns="http://www.w3.org/2000/svg"
width="15"
height="15"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="feather feather-sun"
>
<path
d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"
></path>
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="15"
height="15"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="feather feather-moon"
>
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</div>
</label>
</a>
</li>
<li><a class="dropdown-item mx-auto" href="#">...</a></li>
</ul>
</li>
<li class="nav-item">
<a href="cart.html">
<svg xmlns="http://www.w3.org/2000/svg" style="color: white;" width="25" height="25" fill="currentColor" class="bi bi-cart4" viewBox="0 0 16 16">
<path d="M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z"/>
</svg>
</a><span class="total-count"></span>
</li>
</ul>
</div>
</div>
</nav>
<!-- this is body part----->
<div class="container">
<div id="cbp-vm" class=" cbp-vm-switcher cbp-vm-view-grid">
<div class="cbp-vm-options">
<a href="#" class="cbp-vm-icon cbp-vm-selected" data-view="cbp-vm-view-grid"><svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" fill="currentColor" class="bi bi-grid-3x3-gap-fill" viewBox="0 0 16 14">
<path d="M1 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V2zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V2zM1 7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V7zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V7zM1 12a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-2zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-2zm5 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-2z"/>
</svg></a>
<a href="#" class="cbp-vm-icon" data-view="cbp-vm-view-list"><svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" fill="currentColor" class="bi bi-list-ul" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm-3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>
</svg></a>
</div>
<ul >
<li class="cart-item ">
<a class="cbp-vm-image text-center card-img-top " href="#"><img class="img-thumbnail" src="img/Grey.png" ></a>
<h3 class="cbp-vm-title text-center card-title" style="padding-top: 2mm;">Grey Product</h3>
<div class="cbp-vm-price text-center card-text">₹ 200</div>
<div class="cbp-vm-details position">
Greige is an unfinished woven or knitted fabric <br>that hasn't been bleached or dyed. It can be <br> used for upholstery, window treatments, <br>clothes and more. Greige fabric is also known as <br> grey fabric.
</div> <br><br><br>
<a class="cbp-vm-icon cbp-vm-add btn add-to-cart position-relative top-0 start-50 translate-middle" href="#" data-name="Grey" data-price="200"> <svg xmlns="http://www.w3.org/2000/svg" style="color: white;" width="25" height="25" fill="currentColor" class="bi bi-cart4" viewBox="0 0 16 16">
<path d="M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z"/>
</svg> Add to Cart</a>
</li>
<li class="cart-item ">
<a class="cbp-vm-image text-center card-img-top" href="#" style="padding-top: 4mm;padding-bottom: 4mm;"><img class=" rounded img-thumbnail" src="img/Tencel.png" height="222px" ></a>
<h3 class="cbp-vm-title text-center card-title" style="padding-top: 7mm;">Yarn</h3>
<div class="cbp-vm-price text-center card-text">₹ 300</div>
<div class="cbp-vm-details position">
Yarn is a long continuous length of interlocked <br>fibres, suitable for use in the production of <br>textiles, sewing, crocheting, knitting, weaving, <br>embroidery, or ropemaking. Thread is a type of <br>yarn intended for sewing by hand or machine.
</div><br><br><br>
<a class="cbp-vm-icon cbp-vm-add btn add-to-cart position-relative top-0 start-50 translate-middle" href="#" data-name="Yarn" data-price="300"> <svg xmlns="http://www.w3.org/2000/svg" style="color: white;" width="25" height="25" fill="currentColor" class="bi bi-cart4" viewBox="0 0 16 16">
<path d="M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l.5 2H5V5H3.14zM6 5v2h2V5H6zm3 0v2h2V5H9zm3 0v2h1.36l.5-2H12zm1.11 3H12v2h.61l.5-2zM11 8H9v2h2V8zM8 8H6v2h2V8zM5 8H3.89l.5 2H5V8zm0 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z"/>
</svg> Add to Cart</a>
</li>
</ul>
</div>
<div class="positon" >
<button class="clear-cart btn btn-danger position-relative top-0 start-50 translate-middle">Clear Cart</button><p class="form-text text-center" style="color: #94908d;">To view cart click on Cart icon on Navbar</p>
</div>
</div><br><br>
<!-- footer ------------------------------------------------------------------------------------------------>
<div class="footer">
<footer style="background-color: black; background-color: #86c5da !important;">
<div class="container" ><br>
<div class="row">
<div class="col-sm center " style="text-align: center;">
<a href="#" style="color: black;">Terms & Condition </a><br>
<a href="#" style="color: black;">Privacy Policy </a><br><br>
</div>
<div class="col-sm center " style="text-align: center;">
<a href="about.html" style="color: black;">About </a><br>
<a href="contact.html" style="color: black;">Contact us </a><br><br>
</div>
<div class="col-sm center " style="text-align: center;">
<a href="Complain.html"style="color: black;">Complain Us </a><br>
<a href="index.html" style="color: black;">Om Sagar Textile </a><br><br>
</div>
</div>
</div>
</footer>
</div>
<!-------------------------------------------------------------------------------------------->
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.6.0/dist/umd/popper.min.js"
integrity="sha384-KsvD1yqQ1/1+IA7gi3P0tyJcT3vR+NdBTt13hSJ2lnve8agRGXTTyNaBYmCR/Nwi" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.min.js"
integrity="sha384-nsg8ua9HAw1y0W1btsyWgBklPnCUAFLuTMS2G72MMONqmOymq585AcH49TLBQObG" crossorigin="anonymous">
</script>
<!--add jquery for cart-->
<script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
<script>
var theme=document.getElementById("theme");
var themeicon=document.getElementById("theme_icon");
theme.onclick=function(){
document.body.classList.toggle("dark-theme");
if(document.body.classList.contains("dark-theme")){
themeicon.src="img/sun.png";
}
else{
themeicon.src="img/moon.png";
}
}
</script>
<script src="javascript/cart.js"></script>
<script src="javascript/shopping.js"></script>
<script src="javascript/dark_mode.js " ></script>
</body>
</html>