-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.htm
434 lines (347 loc) · 11.6 KB
/
index.htm
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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
<! -- WinSxS Techvortal 2023, nieidealne ale postarane xD -->
<! -- zgodne z FF/Edge i prawie z MyPalem 28.9 -->
<!DOCTYPE html>
<html>
<head>
<title>Windows XP</title>
<style>
/* Reset margin and padding for all elements */
body, html {
margin: 0;
padding: 0;
height: 100%; /* Set height for parent containers */
}
body {
font-family: Tahoma, sans-serif;
display: flex;
flex-direction: column; /* Stack elements vertically */
overflow: hidden;
}
#left-panel {
width: 208px;
background-color: #789DE5;
height: 100%;
display: flex; /* Use flex to create inner layout */
flex-direction: column; /* Stack inner elements vertically */
align-items: center; /* Center content horizontally */
overflow: hidden;
}
.left-inner {
width: 185px;
background-color: #D6DFF7;
padding: 0; /* No padding for the container */
box-sizing: border-box; /* Include padding in width calculation */
margin-top: 15px; /* Add margin to lower the div */
display: flex; /* Use flex to split inner content */
flex-direction: column; /* Stack inner content vertically */
position: relative; /* Create positioning context for the image overlay */
}
.left-inner img {
width: 100%; /* Set image width to 100% of container */
height: auto; /* Maintain aspect ratio */
display: block; /* Display image as block */
}
.content-section {
flex: 1; /* Take available space */
display: flex;
flex-direction: column;
justify-content: center;
border: 1px solid white;
border-top: none; /* Remove top border */
padding: 10px; /* Add padding to the section content */
box-sizing: border-box; /* Include padding in width calculation */
font-size: 8pt;
color: #215DC6;
display: flex; /* Show content-section by default */
transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1); /* Use cubic-bezier for smoother transition */ max-height: 200px; /* Set a maximum height for the content section */
overflow: hidden; /* Hide overflow content */
}
.content-section:target {
height: 200px;}
.content-section.hidden {
max-height: 0;
padding-top: 0;
padding-bottom: 0;
}
.overlay-text {
position: absolute;
top: 6px;
left: 8px;
font-family: Tahoma, sans-serif;
font-size: 8pt;
font-weight: bold;
color: #215DC6;
cursor: pointer; /* Add cursor pointer to indicate interactivity */
transition: opacity 0.3s ease-in-out; /* Add transition for opacity */
}
.overlay-text button {
transition: transform 0.3s ease-in-out; /* Add transition for transform property */
transform-origin: center;
}
.overlay-text.active button {
opacity: 1;
}
.section {
display: flex;
align-items: center; /* Align items vertically */
}
.section img {
width: 16px; /* Set image width to 16px */
height: 16px; /* Set image height to 16px */
margin-right: 6px; /* Add 6px margin to the right of the image */
vertical-align: middle; /* Align the image vertically */
}
#right-panel {
flex: 1;
background-color: #FFFFFF;
margin-top: 15px;
margin-left: 15px;
margin-bottom: 15px;
margin-right: 15px;
background: #ffffff url("security.png") no-repeat right bottom 20px;
font-size: 10pt;
overflow: auto; /* Enable scrolling within the right-panel */
height: 100%; /* Set the height to 100% to take up all available vertical space */
-ms-overflow-style: none;
scrollbar-width: none;
}
#right-panel::-webkit-scrollbar {
display: none;
}
.section {
margin: 2px 0; /* Adjust margins for each section */
}
a:link {
text-decoration: none;
color: #215DC6;
}
a:visited {
text-decoration: none;
color: #215DC6;
}
#right-panel a:link {
text-decoration: none;
color: #000000;
}
#right-panel a:visited {
text-decoration: none;
color: #000000;
}
#content {
display: flex; /* Keep left and right panels side by side */
flex: 1; /* Take remaining vertical space */
overflow: hidden;
}
button {
border: none;
appearance: none;
font-family: Tahoma, sans-serif;
font-size: 8pt;
font-weight: bold;
color: #215DC6;
background: none;
cursor: default;
}
#top-bar {
background-color: #F0EDDE;
height: 38px;
width: 100%;
font-size: 8pt;
margin-left: -4px;
}
#top-bar2 {
background: url("bar.png");
background-size:100% 100%;
height: 29px;
width: 100%;
font-size: 8pt;
}
#top-bar img {
width: 24px; /* Set image width to 100% of container */
height: 24px; /* Maintain aspect ratio */
margin-right: 4px;
margin-left: 8px;
}
.box {
display: flex;
align-items:center;
padding-left: 6px;
}
.box2 {
display: flex;
align-items:center;
}
.left{
left: 0px;
position: relative;
}
.right{
right: 0px;
position: fixed;
}
.iconbar
{
position: absolute;
margin-left: 6px;
font-family: Trebuchet MS;
color: white;
font-size: 10pt;
font-weight: bold;
}
.iconbar2
{
position: absolute;
margin-left: 22px;
margin-top: 1px;
font-family: Trebuchet MS;
color: white;
font-size: 10pt;
font-weight: bold;
text-shadow: 1px 1px #5f5f5f;
}
.iconbar3
{
position: absolute;
right: 6px;
}
.iconbar img {
height: 16px;
width: 16px; /* Maintain aspect ratio */
}
.iconbar3 img {
height: 21px;
}
</style>
</head>
<body>
<div id="top-bar2" class="box2">
<div class="left"><img src="barleft.png" style="vertical-align:middle"></div>
<div class="iconbar"><img src="security center.png" style="vertical-align:middle"></div>
<div class="iconbar2"> Security Center</div>
<div class="right"><img src="barright.png" style="vertical-align:middle"></div>
<div class="iconbar3"><img src="buttons.png" style="vertical-align:middle">
<!-- wersja druga z ikonami hd, gorzej wygląda przy 100%, ale lepiej przy 200%+: <img src="minimize.png" style="vertical-align:middle"> <img src="maximize.png" style="vertical-align:middle"> <img src="exit.png" style="vertical-align:middle">-->
</div>
</div>
<div id="top-bar" class="box">
<img src="back.png" style="vertical-align:middle"><span>Back ▾</span>
⠀<img src="forward.png" style="vertical-align:middle"><span></span>
⠀<div style="border-left:1px solid #C4C6B9;height:30px"></div>
<img src="home.png" style="vertical-align:middle"><span>Home</span>
⠀
<img src="help.png" style="vertical-align:middle"><span>Help</span>
⠀
</div>
<div id="content">
<div id="left-panel">
<div class="left-inner">
<img id="toggle-button1" src="rozw.png" alt="Image" onclick="toggleContent('content-section1', 'overlay-text1')">
<div class="overlay-text" id="overlay-text1"><button onclick="toggleContent('content-section1', 'overlay-text1')">Protection status</button></div>
<div class="content-section" id="content-section1">
<div class="section">
<img src="ok.png" alt="Icon">
<span><b>Real-time protection:</b> Active</span>
</div>
<div class="section">
<img src="ok.png" alt="Icon">
<span><br><b>Virus & spyware definitions:</b> Up to date</span>
</div>
<div class="section">
<span><br><b>Database creation:</b> <br>26 Oct 2001 at 16:46</span></div>
</div>
</div>
<div class="left-inner">
<img id="toggle-button2" src="rozw.png" alt="Image" onclick="toggleContent('content-section2', 'overlay-text2')">
<div class="overlay-text" id="overlay-text2"><button onclick="toggleContent('content-section2', 'overlay-text2')">Scan for threats</button></div>
<div class="content-section" id="content-section2">
<div class="section">
<img src="search.png" alt="Icon">
<span><a href="#">Scan for threats</a></span>
</div>
<div class="section">
<img src="history.png" alt="Icon">
<span><a href="#">Threats history</a></span>
</div>
</div>
</div>
<div class="left-inner">
<img id="toggle-button3" src="rozw.png" alt="Image" onclick="toggleContent('content-section3', 'overlay-text3')">
<div class="overlay-text" id="overlay-text3"><button onclick="toggleContent('content-section3', 'overlay-text3')">Protection settings</button></div>
<div class="content-section" id="content-section3">
<div class="section">
<img src="control.png" alt="Icon">
<span>Global settings</span>
</div>
<div class="section">
<img src="virus.png" alt="Icon">
<span>Antivirus protection</span>
</div>
<div class="section">
<img src="firewall.png" alt="Icon">
<span>Firewall protection</span>
</div>
<div class="section">
<img src="smartscreen.png" alt="Icon">
<span>SmartScreen</span>
</div>
<div class="section">
<img src="mail.png" alt="Icon">
<span>E-mail protection</span>
</div>
<div class="section">
<img src="dep.png" alt="Icon">
<span>Data Execution Prevention</span>
</div>
<div class="section">
<img src="padlock.png" alt="Icon">
<span>Private Vault</span>
</div>
<div class="section">
<img src="restore.png" alt="Icon">
<span>System Restore</span>
</div>
<div class="section">
<img src="wu.png" alt="Icon">
<span>Windows Update</span>
</div>
</div>
</div>
</div>
<div id="right-panel">
<div class="box">
<img src="ok.png" style="height:46px;width:46px;">
<span style="margin-left:20px"><b>Your computer is up to date and secure.</b></span>
</div>
<hr><br>
<div class="box">
<span style="margin-left:20px">Microsoft Security Center is monitoring your computer and helping to protect it.</span>
</div>
<br><br><br>
<div class="box">
<img src="go.png" style="height:24px; width:24px">
<span style="margin-left:20px"><b><a href="ffe">Perform a scan of the entire hard disk for threats</a></b></span>
</div><br>
<div class="box">
<img src="go.png" style="height:24px; width:24px">
<span style="margin-left:20px"><b>Perform an update to your operating system</b></span>
</div>
<!-- fix przeciwko ucinaniu ostatniej linijki -->  <br> <br> </div>
</div>
<script>
function toggleContent(sectionId, overlayTextId) {
var contentSection = document.getElementById(sectionId);
var overlayText = document.getElementById(overlayTextId);
var toggleButton = document.getElementById(`toggle-button${sectionId.slice(-1)}`);
if (contentSection.classList.contains('hidden')) {
contentSection.classList.remove('hidden'); // Show the content section
overlayText.classList.add('active'); // Add active class
toggleButton.src = 'rozw.png';
} else {
contentSection.classList.add('hidden'); // Hide the content section completely
overlayText.classList.remove('active'); // Remove active class
toggleButton.src = 'zw.png';
}
}
</script>
</body>
</html>