Upload files to "/"
This commit is contained in:
227
Window.html
Normal file
227
Window.html
Normal file
@ -0,0 +1,227 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Window</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #4a90e2 50%, #7bb3f0 75%, #a8d0f0 100%);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 600px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
color: #ffffff;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 30px;
|
||||
text-shadow: 0 0 20px rgba(255,255,255,0.3);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.window {
|
||||
background: linear-gradient(135deg,
|
||||
rgba(255,255,255,0.12) 0%,
|
||||
rgba(255,255,255,0.06) 50%,
|
||||
rgba(255,255,255,0.03) 100%);
|
||||
border: 1px solid rgba(255,255,255,0.25);
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 12px 32px rgba(0,0,0,0.4),
|
||||
inset 0 1px 0 rgba(255,255,255,0.3);
|
||||
backdrop-filter: blur(25px);
|
||||
}
|
||||
|
||||
.titlebar {
|
||||
background: linear-gradient(180deg,
|
||||
rgba(255,255,255,0.25) 0%,
|
||||
rgba(255,255,255,0.1) 100%);
|
||||
border-bottom: 1px solid rgba(255,255,255,0.2);
|
||||
padding: 12px 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.titlebar::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #ffffff;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.control-btn {
|
||||
width: 20px;
|
||||
height: 18px;
|
||||
border: 1px solid rgba(255,255,255,0.3);
|
||||
border-radius: 2px;
|
||||
background: linear-gradient(180deg,
|
||||
rgba(255,255,255,0.3) 0%,
|
||||
rgba(255,255,255,0.1) 100%);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.control-btn:hover {
|
||||
background: linear-gradient(180deg,
|
||||
rgba(255,255,255,0.4) 0%,
|
||||
rgba(255,255,255,0.15) 100%);
|
||||
}
|
||||
|
||||
.control-btn.close:hover {
|
||||
background: linear-gradient(180deg,
|
||||
rgba(255,100,100,0.7) 0%,
|
||||
rgba(200,50,50,0.8) 100%);
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 20px;
|
||||
color: #ffffff;
|
||||
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.btn {
|
||||
background: linear-gradient(180deg,
|
||||
rgba(255,255,255,0.3) 0%,
|
||||
rgba(255,255,255,0.1) 50%,
|
||||
rgba(255,255,255,0.05) 100%);
|
||||
border: 1px solid rgba(255,255,255,0.4);
|
||||
color: #ffffff;
|
||||
padding: 12px 24px;
|
||||
font-size: 14px;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.3),
|
||||
inset 0 1px 0 rgba(255,255,255,0.5);
|
||||
transition: all 0.2s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
||||
font-family: 'Segoe UI', sans-serif;
|
||||
font-weight: 400;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.btn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 50%;
|
||||
background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background: linear-gradient(180deg,
|
||||
rgba(255,255,255,0.4) 0%,
|
||||
rgba(255,255,255,0.15) 50%,
|
||||
rgba(255,255,255,0.08) 100%);
|
||||
box-shadow: 0 2px 12px rgba(0,0,0,0.4),
|
||||
inset 0 1px 0 rgba(255,255,255,0.6);
|
||||
}
|
||||
|
||||
.btn:active {
|
||||
background: linear-gradient(180deg,
|
||||
rgba(255,255,255,0.1) 0%,
|
||||
rgba(255,255,255,0.2) 50%,
|
||||
rgba(255,255,255,0.15) 100%);
|
||||
box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.message {
|
||||
margin-top: 20px;
|
||||
padding: 15px;
|
||||
background: linear-gradient(135deg,
|
||||
rgba(255,255,255,0.1) 0%,
|
||||
rgba(255,255,255,0.05) 100%);
|
||||
border: 1px solid rgba(255,255,255,0.2);
|
||||
border-radius: 4px;
|
||||
backdrop-filter: blur(15px);
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 15px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Window</h1>
|
||||
|
||||
<div class="window">
|
||||
<div class="titlebar">
|
||||
<div class="title">Window</div>
|
||||
<div class="controls">
|
||||
<div class="control-btn" onclick="showMessage('Minimize clicked!')"></div>
|
||||
<div class="control-btn" onclick="showMessage('Maximize clicked!')"></div>
|
||||
<div class="control-btn close" onclick="showMessage('Close clicked!')"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p style="margin-bottom: 20px;">You can like put text here idk AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA something something something.</p>
|
||||
|
||||
<div style="text-align: center;">
|
||||
<button class="btn" onclick="showMessage('Window action performed!')">Yes</button>
|
||||
<button class="btn" onclick="showMessage('Settings opened!')">No?</button>
|
||||
</div>
|
||||
|
||||
<div id="message" class="message"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function showMessage(text) {
|
||||
const messageDiv = document.getElementById('message');
|
||||
messageDiv.textContent = text;
|
||||
messageDiv.style.display = 'block';
|
||||
|
||||
setTimeout(() => {
|
||||
messageDiv.style.display = 'none';
|
||||
}, 3000);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user