Upload files to "/"
This commit is contained in:
487
More Pannels.html
Normal file
487
More Pannels.html
Normal file
@ -0,0 +1,487 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Glass UI Elements</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;
|
||||
padding: 40px 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
|
||||
radial-gradient(circle at 70% 80%, rgba(173,216,230,0.2) 0%, transparent 50%),
|
||||
radial-gradient(circle at 20% 70%, rgba(135,206,235,0.15) 0%, transparent 50%);
|
||||
animation: aurora 20s ease-in-out infinite;
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
@keyframes aurora {
|
||||
0%, 100% { transform: rotate(0deg) scale(1); }
|
||||
33% { transform: rotate(120deg) scale(1.1); }
|
||||
66% { transform: rotate(240deg) scale(0.9); }
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 30px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.left-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.right-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.glass-panel {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 8px;
|
||||
padding: 25px;
|
||||
box-shadow:
|
||||
0 8px 32px rgba(0, 0, 0, 0.3),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
||||
position: relative;
|
||||
overflow: visible
|
||||
}
|
||||
|
||||
.glass-panel::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
||||
}
|
||||
|
||||
.form {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.form h2 {
|
||||
color: #fff;
|
||||
margin-bottom: 20px;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.form-group input,
|
||||
.form-group select,
|
||||
.form-group textarea {
|
||||
width: 100%;
|
||||
padding: 8px 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
font-size: 13px;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.form-group input:focus,
|
||||
.form-group select:focus,
|
||||
.form-group textarea:focus {
|
||||
outline: none;
|
||||
border-color: #4a90e2;
|
||||
box-shadow:
|
||||
inset 0 1px 3px rgba(0, 0, 0, 0.1),
|
||||
0 0 8px rgba(74, 144, 226, 0.6);
|
||||
}
|
||||
|
||||
.btn {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.4);
|
||||
border-radius: 4px;
|
||||
padding: 8px 16px;
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
box-shadow:
|
||||
0 2px 4px rgba(0, 0, 0, 0.2),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
|
||||
box-shadow:
|
||||
0 4px 8px rgba(0, 0, 0, 0.3),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
.btn:active {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.3) 100%);
|
||||
box-shadow:
|
||||
inset 0 2px 4px rgba(0, 0, 0, 0.2),
|
||||
0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: linear-gradient(180deg, #5aa3f0 0%, #4a90e2 100%);
|
||||
border: 1px solid #3a7bc8;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: linear-gradient(180deg, #6bb4ff 0%, #5aa3f0 100%);
|
||||
}
|
||||
|
||||
.button-panel h3 {
|
||||
color: #fff;
|
||||
margin-bottom: 15px;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.dropdown-container {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.dropdown-btn {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.4);
|
||||
border-radius: 4px;
|
||||
padding: 8px 16px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
box-shadow:
|
||||
0 2px 4px rgba(0, 0, 0, 0.2),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.dropdown-btn::after {
|
||||
content: '▼';
|
||||
font-size: 10px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 4px;
|
||||
min-width: 150px;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
||||
z-index: 1000;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transform: translateY(-10px);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.dropdown-menu.show {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
padding: 10px 16px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
transition: background 0.2s ease;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.dropdown-item:hover {
|
||||
background: rgba(74, 144, 226, 0.1);
|
||||
}
|
||||
|
||||
.dropdown-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.popup-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(5px);
|
||||
z-index: 10000;
|
||||
display: none;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.popup-window {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(15px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 8px;
|
||||
width: 90%;
|
||||
max-width: 400px;
|
||||
box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
|
||||
animation: popupSlideIn 0.3s ease;
|
||||
}
|
||||
|
||||
@keyframes popupSlideIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.9) translateY(-20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.popup-header {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 8px 8px 0 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.popup-title {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.popup-close {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
padding: 0;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 2px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.popup-close:hover {
|
||||
background: rgba(255, 0, 0, 0.1);
|
||||
color: #ff4444;
|
||||
}
|
||||
|
||||
.popup-content {
|
||||
padding: 20px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.popup-actions {
|
||||
padding: 16px;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.info-panel h3 {
|
||||
color: #fff;
|
||||
margin-bottom: 15px;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.info-panel p {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
line-height: 1.5;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.status-indicator {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #4CAF50;
|
||||
margin-right: 8px;
|
||||
box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
|
||||
}
|
||||
|
||||
.demo-section {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.demo-section h3 {
|
||||
color: #fff;
|
||||
margin-bottom: 15px;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="left-column">
|
||||
<div class="glass-panel info-panel">
|
||||
<h3>System Status</h3>
|
||||
<p><span class="status-indicator"></span>System Online</p>
|
||||
<p><span class="status-indicator" style="background: hsl(0, 67%, 49%);"></span>Shits fucked</p>
|
||||
<p>Status indicator</p>
|
||||
<p>Status indicator</p>
|
||||
<button class="btn" onclick="showPopup()">Show Details</button>
|
||||
</div>
|
||||
|
||||
<div class="glass-panel">
|
||||
<h3>Dropdown Menu</h3>
|
||||
<div class="dropdown-container">
|
||||
<button class="dropdown-btn" onclick="toggleDropdown()">
|
||||
File Options
|
||||
</button>
|
||||
<div class="dropdown-menu" id="dropdownMenu">
|
||||
<div class="dropdown-item" onclick="selectItem('Placeholder')">🥐 Placeholder</div>
|
||||
<div class="dropdown-item" onclick="selectItem('Placeholder')">🌭 Placeholder</div>
|
||||
<div class="dropdown-item" onclick="selectItem('Placeholder')">🥞 Placeholder</div>
|
||||
<div class="dropdown-item" onclick="selectItem('Placeholder')">🕐 Placeholder</div>
|
||||
<div class="dropdown-item" onclick="selectItem('Placeholder')">🚪 Placeholder</div>
|
||||
</div>
|
||||
</div>
|
||||
<p style="color: rgba(255,255,255,0.8); margin-top: 15px; font-size: 12px;">
|
||||
Selected: <span id="selectedItem">None</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="right-column">
|
||||
<div class="glass-panel">
|
||||
<h3>Pop up window</h3>
|
||||
<p style="color: rgba(255,255,255,0.8); margin-bottom: 15px;">
|
||||
Placeholder for the popup window
|
||||
</p>
|
||||
<button class="btn btn-primary" onclick="showPopup()">Open Popup Window</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="popup-overlay" id="popupOverlay">
|
||||
<div class="popup-window">
|
||||
<div class="popup-header">
|
||||
<span class="popup-title">dropdown menu</span>
|
||||
<button class="popup-close" onclick="hidePopup()">×</button>
|
||||
</div>
|
||||
<div class="popup-content">
|
||||
<p>Window popup!</p>
|
||||
<p>Cool looking thing</p>
|
||||
<p><strong>Things:</strong></p>
|
||||
<ul style="margin-left: 20px; margin-top: 10px;">
|
||||
<li>Line placeholder</li>
|
||||
<li>Line placeholder</li>
|
||||
<li>Line placeholder</li>
|
||||
<li>Line placeholder</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="popup-actions">
|
||||
<button class="btn" onclick="hidePopup()">Cancel</button>
|
||||
<button class="btn btn-primary" onclick="hidePopup()">OK</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function toggleDropdown() {
|
||||
const menu = document.getElementById('dropdownMenu');
|
||||
menu.classList.toggle('show');
|
||||
}
|
||||
|
||||
function selectItem(item) {
|
||||
document.getElementById('selectedItem').textContent = item;
|
||||
document.getElementById('dropdownMenu').classList.remove('show');
|
||||
}
|
||||
|
||||
document.addEventListener('click', function(event) {
|
||||
const dropdown = document.querySelector('.dropdown-container');
|
||||
if (!dropdown.contains(event.target)) {
|
||||
document.getElementById('dropdownMenu').classList.remove('show');
|
||||
}
|
||||
});
|
||||
|
||||
function showPopup() {
|
||||
const overlay = document.getElementById('popupOverlay');
|
||||
overlay.style.display = 'flex';
|
||||
setTimeout(() => {
|
||||
overlay.style.opacity = '1';
|
||||
}, 10);
|
||||
}
|
||||
|
||||
function hidePopup() {
|
||||
const overlay = document.getElementById('popupOverlay');
|
||||
overlay.style.opacity = '0';
|
||||
setTimeout(() => {
|
||||
overlay.style.display = 'none';
|
||||
}, 300);
|
||||
}
|
||||
|
||||
document.getElementById('popupOverlay').addEventListener('click', function(event) {
|
||||
if (event.target === this) {
|
||||
hidePopup();
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('keydown', function(event) {
|
||||
if (event.key === 'Escape') {
|
||||
hidePopup();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
716
MoreStuff.html
Normal file
716
MoreStuff.html
Normal file
@ -0,0 +1,716 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Vista Glass UI Components</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;
|
||||
padding: 80px 20px 40px 20px;
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
|
||||
radial-gradient(circle at 70% 80%, rgba(173,216,230,0.2) 0%, transparent 50%),
|
||||
radial-gradient(circle at 20% 70%, rgba(135,206,235,0.15) 0%, transparent 50%);
|
||||
animation: aurora 20s ease-in-out infinite;
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
@keyframes aurora {
|
||||
0%, 100% { transform: rotate(0deg) scale(1); }
|
||||
33% { transform: rotate(120deg) scale(1.1); }
|
||||
66% { transform: rotate(240deg) scale(0.9); }
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
||||
gap: 30px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.glass-panel {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 8px;
|
||||
padding: 25px;
|
||||
box-shadow:
|
||||
0 8px 32px rgba(0, 0, 0, 0.3),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.glass-panel::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
||||
}
|
||||
|
||||
.glass-panel h3 {
|
||||
color: #fff;
|
||||
margin-bottom: 20px;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 300;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
||||
z-index: 1000;
|
||||
padding: 0 20px;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.top-bar::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
||||
}
|
||||
|
||||
.top-bar-logo {
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
font-weight: 300;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
position: relative;
|
||||
height: 280px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.chart-svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.chart-bar {
|
||||
fill: url(#barGradient);
|
||||
stroke: rgba(255, 255, 255, 0.3);
|
||||
stroke-width: 1;
|
||||
opacity: 0.8;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.chart-bar:hover {
|
||||
opacity: 1;
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
|
||||
.chart-line {
|
||||
fill: none;
|
||||
stroke: #fff;
|
||||
stroke-width: 2;
|
||||
stroke-linecap: round;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.chart-point {
|
||||
fill: #fff;
|
||||
stroke: #4a90e2;
|
||||
stroke-width: 2;
|
||||
r: 4;
|
||||
opacity: 0.8;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.chart-point:hover {
|
||||
r: 6;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.chart-axis {
|
||||
stroke: rgba(255, 255, 255, 0.3);
|
||||
stroke-width: 1;
|
||||
}
|
||||
|
||||
.chart-label {
|
||||
fill: rgba(255, 255, 255, 0.8);
|
||||
font-size: 11px;
|
||||
text-anchor: middle;
|
||||
font-family: 'Segoe UI', sans-serif;
|
||||
}
|
||||
|
||||
.loading-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 25px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.loading-spinner {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 3px solid rgba(255, 255, 255, 0.3);
|
||||
border-top: 3px solid #fff;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.loading-dots {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.loading-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
animation: bounce 1.4s ease-in-out infinite both;
|
||||
}
|
||||
|
||||
.loading-dot:nth-child(1) { animation-delay: -0.32s; }
|
||||
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
|
||||
.loading-dot:nth-child(3) { animation-delay: 0s; }
|
||||
|
||||
@keyframes bounce {
|
||||
0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
|
||||
40% { transform: scale(1.2); opacity: 1; }
|
||||
}
|
||||
|
||||
.loading-bar {
|
||||
width: 200px;
|
||||
height: 6px;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.loading-bar-fill {
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, #4a90e2, #7bb3f0);
|
||||
border-radius: 3px;
|
||||
position: absolute;
|
||||
left: -100%;
|
||||
animation: progress 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes progress {
|
||||
0% { left: -100%; width: 0%; }
|
||||
50% { left: 0%; width: 100%; }
|
||||
100% { left: 100%; width: 0%; }
|
||||
}
|
||||
|
||||
.loading-pulse {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
animation: pulse 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% { transform: scale(0.8); opacity: 1; }
|
||||
50% { transform: scale(1.2); opacity: 0.3; }
|
||||
100% { transform: scale(0.8); opacity: 1; }
|
||||
}
|
||||
|
||||
.slider-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.slider-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.slider-label {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
font-size: 13px;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.slider {
|
||||
appearance: none;
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
border-radius: 3px;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
outline: none;
|
||||
position: relative;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.slider::-webkit-slider-thumb {
|
||||
appearance: none;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(180deg, #fff 0%, #e0e0e0 100%);
|
||||
cursor: pointer;
|
||||
border: 2px solid rgba(255, 255, 255, 0.8);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.slider::-webkit-slider-thumb:hover {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.slider::-moz-range-thumb {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(180deg, #fff 0%, #e0e0e0 100%);
|
||||
cursor: pointer;
|
||||
border: 2px solid rgba(255, 255, 255, 0.8);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.slider::-moz-range-thumb:hover {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.slider::-moz-range-track {
|
||||
height: 6px;
|
||||
border-radius: 3px;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border: none;
|
||||
}
|
||||
|
||||
.slider-value {
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
text-align: right;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.toggle-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.toggle-group {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.toggle-label {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
font-size: 13px;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.toggle-switch {
|
||||
position: relative;
|
||||
width: 50px;
|
||||
height: 24px;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.toggle-switch.active {
|
||||
background: linear-gradient(180deg, #4a90e2 0%, #2a5298 100%);
|
||||
border-color: #4a90e2;
|
||||
}
|
||||
|
||||
.toggle-knob {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background: linear-gradient(180deg, #fff 0%, #e0e0e0 100%);
|
||||
border-radius: 50%;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.toggle-switch.active .toggle-knob {
|
||||
transform: translateX(26px);
|
||||
}
|
||||
|
||||
.search-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.search-box {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
width: 100%;
|
||||
padding: 12px 16px 12px 40px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
font-size: 14px;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.search-input:focus {
|
||||
outline: none;
|
||||
border-color: #4a90e2;
|
||||
box-shadow:
|
||||
inset 0 1px 3px rgba(0, 0, 0, 0.1),
|
||||
0 0 8px rgba(74, 144, 226, 0.6);
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
opacity: 0.6;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.search-results {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.search-results.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.search-result-item {
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
cursor: pointer;
|
||||
transition: background 0.2s ease;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.search-result-item:hover {
|
||||
background: rgba(74, 144, 226, 0.1);
|
||||
}
|
||||
|
||||
.search-result-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.search-filters {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.filter-btn {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 4px;
|
||||
padding: 6px 12px;
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.filter-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.filter-btn.active {
|
||||
background: linear-gradient(180deg, #4a90e2 0%, #2a5298 100%);
|
||||
border-color: #4a90e2;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
height: 200px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="top-bar">
|
||||
<div class="top-bar-logo">More stuff</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="glass-panel">
|
||||
<h3>Charts & Graphs</h3>
|
||||
<div class="chart-container">
|
||||
<svg class="chart-svg" viewBox="0 0 400 200">
|
||||
<defs>
|
||||
<linearGradient id="barGradient" x1="0%" y1="0%" x2="0%" y2="100%">
|
||||
<stop offset="0%" style="stop-color:#7bb3f0;stop-opacity:1" />
|
||||
<stop offset="100%" style="stop-color:#4a90e2;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
<g id="barChart">
|
||||
<rect class="chart-bar" x="40" y="120" width="30" height="60" />
|
||||
<rect class="chart-bar" x="80" y="100" width="30" height="80" />
|
||||
<rect class="chart-bar" x="120" y="80" width="30" height="100" />
|
||||
<rect class="chart-bar" x="160" y="90" width="30" height="90" />
|
||||
<rect class="chart-bar" x="200" y="70" width="30" height="110" />
|
||||
|
||||
<text class="chart-label" x="55" y="195">Jan</text>
|
||||
<text class="chart-label" x="95" y="195">Feb</text>
|
||||
<text class="chart-label" x="135" y="195">Mar</text>
|
||||
<text class="chart-label" x="175" y="195">Apr</text>
|
||||
<text class="chart-label" x="215" y="195">May</text>
|
||||
</g>
|
||||
|
||||
<g id="lineChart" style="display:none;">
|
||||
<polyline class="chart-line" points="50,150 90,120 130,90 170,110 210,80 250,100"/>
|
||||
<circle class="chart-point" cx="50" cy="150" />
|
||||
<circle class="chart-point" cx="90" cy="120" />
|
||||
<circle class="chart-point" cx="130" cy="90" />
|
||||
<circle class="chart-point" cx="170" cy="110" />
|
||||
<circle class="chart-point" cx="210" cy="80" />
|
||||
<circle class="chart-point" cx="250" cy="100" />
|
||||
</g>
|
||||
|
||||
<line class="chart-axis" x1="30" y1="20" x2="30" y2="180" />
|
||||
<line class="chart-axis" x1="30" y1="180" x2="370" y2="180" />
|
||||
</svg>
|
||||
</div>
|
||||
<div style="display: flex; gap: 10px; justify-content: center;">
|
||||
<button class="filter-btn active" onclick="toggleChart('bar')">Bar Chart</button>
|
||||
<button class="filter-btn" onclick="toggleChart('line')">Line Chart</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="glass-panel">
|
||||
<h3>Loading Animations</h3>
|
||||
<div class="loading-container">
|
||||
<div class="loading-spinner"></div>
|
||||
<div class="loading-dots">
|
||||
<div class="loading-dot"></div>
|
||||
<div class="loading-dot"></div>
|
||||
<div class="loading-dot"></div>
|
||||
</div>
|
||||
<div class="loading-bar">
|
||||
<div class="loading-bar-fill"></div>
|
||||
</div>
|
||||
<div class="loading-pulse"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="glass-panel">
|
||||
<h3>Slider Controls</h3>
|
||||
<div class="slider-container">
|
||||
<div class="slider-group">
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<span class="slider-label">Volume</span>
|
||||
<span class="slider-value" id="volumeValue">50</span>
|
||||
</div>
|
||||
<input type="range" min="0" max="100" value="50" class="slider" id="volumeSlider">
|
||||
</div>
|
||||
<div class="slider-group">
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<span class="slider-label">Brightness</span>
|
||||
<span class="slider-value" id="brightnessValue">75</span>
|
||||
</div>
|
||||
<input type="range" min="0" max="100" value="75" class="slider" id="brightnessSlider">
|
||||
</div>
|
||||
<div class="slider-group">
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<span class="slider-label">Transparency</span>
|
||||
<span class="slider-value" id="transparencyValue">25</span>
|
||||
</div>
|
||||
<input type="range" min="0" max="100" value="25" class="slider" id="transparencySlider">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="glass-panel">
|
||||
<h3>Toggle Switches</h3>
|
||||
<div class="toggle-container">
|
||||
<div class="toggle-group">
|
||||
<span class="toggle-label">Toggle</span>
|
||||
<div class="toggle-switch active" onclick="toggleSwitch(this)">
|
||||
<div class="toggle-knob"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="toggle-group">
|
||||
<span class="toggle-label">Toggle</span>
|
||||
<div class="toggle-switch" onclick="toggleSwitch(this)">
|
||||
<div class="toggle-knob"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="toggle-group">
|
||||
<span class="toggle-label">Toggle</span>
|
||||
<div class="toggle-switch active" onclick="toggleSwitch(this)">
|
||||
<div class="toggle-knob"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="toggle-group">
|
||||
<span class="toggle-label">Toggle</span>
|
||||
<div class="toggle-switch" onclick="toggleSwitch(this)">
|
||||
<div class="toggle-knob"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="glass-panel">
|
||||
<h3>Search Interface</h3>
|
||||
<div class="search-container">
|
||||
<div class="search-box">
|
||||
<svg class="search-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor">
|
||||
<circle cx="11" cy="11" r="8"></circle>
|
||||
<path d="m21 21-4.35-4.35"></path>
|
||||
</svg>
|
||||
<input type="text" class="search-input" placeholder="Search..." id="searchInput">
|
||||
</div>
|
||||
<div class="search-results" id="searchResults">
|
||||
<div class="search-result-item">Placeholder</div>
|
||||
<div class="search-result-item">Placeholder</div>
|
||||
<div class="search-result-item">Placeholder</div>
|
||||
<div class="search-result-item">Placeholder</div>
|
||||
<div class="search-result-item">Placeholder</div>
|
||||
</div>
|
||||
<div class="search-filters">
|
||||
<button class="filter-btn active" onclick="toggleFilter(this)">All</button>
|
||||
<button class="filter-btn" onclick="toggleFilter(this)">temp</button>
|
||||
<button class="filter-btn" onclick="toggleFilter(this)">temp</button>
|
||||
<button class="filter-btn" onclick="toggleFilter(this)">temp</button>
|
||||
<button class="filter-btn" onclick="toggleFilter(this)">temp</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function toggleChart(type) {
|
||||
const barChart = document.getElementById('barChart');
|
||||
const lineChart = document.getElementById('lineChart');
|
||||
const buttons = document.querySelectorAll('.filter-btn');
|
||||
|
||||
buttons.forEach(btn => btn.classList.remove('active'));
|
||||
|
||||
if (type === 'bar') {
|
||||
barChart.style.display = 'block';
|
||||
lineChart.style.display = 'none';
|
||||
event.target.classList.add('active');
|
||||
} else {
|
||||
barChart.style.display = 'none';
|
||||
lineChart.style.display = 'block';
|
||||
event.target.classList.add('active');
|
||||
}
|
||||
}
|
||||
|
||||
function updateSlider(sliderId, valueId) {
|
||||
const slider = document.getElementById(sliderId);
|
||||
const value = document.getElementById(valueId);
|
||||
|
||||
slider.addEventListener('input', function() {
|
||||
value.textContent = this.value;
|
||||
});
|
||||
}
|
||||
|
||||
updateSlider('volumeSlider', 'volumeValue');
|
||||
updateSlider('brightnessSlider', 'brightnessValue');
|
||||
updateSlider('transparencySlider', 'transparencyValue');
|
||||
|
||||
function toggleSwitch(element) {
|
||||
element.classList.toggle('active');
|
||||
}
|
||||
|
||||
const searchInput = document.getElementById('searchInput');
|
||||
const searchResults = document.getElementById('searchResults');
|
||||
|
||||
searchInput.addEventListener('focus', function() {
|
||||
searchResults.classList.add('show');
|
||||
});
|
||||
|
||||
searchInput.addEventListener('input', function() {
|
||||
if (this.value.trim() === '') {
|
||||
searchResults.classList.remove('show');
|
||||
} else {
|
||||
searchResults.classList.add('show');
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('click', function(event) {
|
||||
if (!event.target.closest('.search-box') && !event.target.closest('.search-results')) {
|
||||
searchResults.classList.remove('show');
|
||||
}
|
||||
});
|
||||
|
||||
function toggleFilter(element) {
|
||||
document.querySelectorAll('.search-filters .filter-btn').forEach(btn => {
|
||||
btn.classList.remove('active');
|
||||
});
|
||||
element.classList.add('active');
|
||||
}
|
||||
|
||||
document.querySelectorAll('.search-result-item').forEach(item => {
|
||||
item.addEventListener('click', function() {
|
||||
searchInput.value = this.textContent;
|
||||
searchResults.classList.remove('show');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
383
Pannels.html
Normal file
383
Pannels.html
Normal file
@ -0,0 +1,383 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Vista Panels</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;
|
||||
padding: 40px 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
|
||||
radial-gradient(circle at 70% 80%, rgba(173,216,230,0.2) 0%, transparent 50%),
|
||||
radial-gradient(circle at 20% 70%, rgba(135,206,235,0.15) 0%, transparent 50%);
|
||||
animation: aurora 20s ease-in-out infinite;
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
@keyframes aurora {
|
||||
0%, 100% { transform: rotate(0deg) scale(1); }
|
||||
33% { transform: rotate(120deg) scale(1.1); }
|
||||
66% { transform: rotate(240deg) scale(0.9); }
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
color: #ffffff;
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 40px;
|
||||
text-shadow: 0 0 20px rgba(255,255,255,0.3);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.panel-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
||||
gap: 30px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
background: linear-gradient(135deg,
|
||||
rgba(255,255,255,0.08) 0%,
|
||||
rgba(255,255,255,0.04) 100%);
|
||||
border: 1px solid rgba(255,255,255,0.15);
|
||||
border-radius: 6px;
|
||||
padding: 25px;
|
||||
backdrop-filter: blur(15px);
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.2),
|
||||
inset 0 1px 0 rgba(255,255,255,0.2);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.panel:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px rgba(0,0,0,0.3),
|
||||
inset 0 1px 0 rgba(255,255,255,0.3);
|
||||
}
|
||||
|
||||
.panel-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
color: #ffffff;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 400;
|
||||
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.panel-icon {
|
||||
font-size: 1.5rem;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.panel-content {
|
||||
color: #e0e0e0;
|
||||
line-height: 1.6;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.panel-content p {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.panel-content ul {
|
||||
margin-left: 20px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.panel-content li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.panel.info {
|
||||
background: linear-gradient(135deg,
|
||||
rgba(74,144,226,0.15) 0%,
|
||||
rgba(74,144,226,0.08) 100%);
|
||||
border: 1px solid rgba(74,144,226,0.3);
|
||||
}
|
||||
|
||||
.panel.warning {
|
||||
background: linear-gradient(135deg,
|
||||
rgba(255,193,7,0.15) 0%,
|
||||
rgba(255,193,7,0.08) 100%);
|
||||
border: 1px solid rgba(255,193,7,0.3);
|
||||
}
|
||||
|
||||
.panel.success {
|
||||
background: linear-gradient(135deg,
|
||||
rgba(40,167,69,0.15) 0%,
|
||||
rgba(40,167,69,0.08) 100%);
|
||||
border: 1px solid rgba(40,167,69,0.3);
|
||||
}
|
||||
|
||||
.panel.error {
|
||||
background: linear-gradient(135deg,
|
||||
rgba(220,53,69,0.15) 0%,
|
||||
rgba(220,53,69,0.08) 100%);
|
||||
border: 1px solid rgba(220,53,69,0.3);
|
||||
}
|
||||
|
||||
.panel.elevated {
|
||||
background: linear-gradient(135deg,
|
||||
rgba(255,255,255,0.12) 0%,
|
||||
rgba(255,255,255,0.06) 100%);
|
||||
border: 1px solid rgba(255,255,255,0.25);
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.4),
|
||||
inset 0 1px 0 rgba(255,255,255,0.4);
|
||||
}
|
||||
|
||||
.panel.glass {
|
||||
background: linear-gradient(135deg,
|
||||
rgba(255,255,255,0.1) 0%,
|
||||
rgba(255,255,255,0.03) 100%);
|
||||
backdrop-filter: blur(25px);
|
||||
border: 1px solid rgba(255,255,255,0.2);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.panel.glass::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
|
||||
}
|
||||
|
||||
.panel.glass::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg,
|
||||
transparent 0%,
|
||||
rgba(255,255,255,0.1) 50%,
|
||||
transparent 100%);
|
||||
animation: glass-sweep 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes glass-sweep {
|
||||
0% { left: -100%; }
|
||||
100% { left: 100%; }
|
||||
}
|
||||
|
||||
.panel-stats {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 20px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid rgba(255,255,255,0.1);
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 12px;
|
||||
color: #b0b0b0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.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: 8px 16px;
|
||||
font-size: 12px;
|
||||
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-top: 15px;
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
|
||||
.full-width-panel {
|
||||
grid-column: 1 / -1;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.chart-placeholder {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
background: linear-gradient(135deg,
|
||||
rgba(255,255,255,0.05) 0%,
|
||||
rgba(255,255,255,0.02) 100%);
|
||||
border: 1px solid rgba(255,255,255,0.1);
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #888;
|
||||
font-size: 14px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.panel-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.panel-stats {
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>🔳 Panels</h1>
|
||||
|
||||
<div class="panel-grid">
|
||||
<div class="panel">
|
||||
<div class="panel-header">
|
||||
<span class="panel-icon"><img src="https://cdn.discordapp.com/emojis/767455349954969650.png" width="50%" height="50%"></span>
|
||||
Information panel
|
||||
</div>
|
||||
<div class="panel-content">
|
||||
<p>Basic panel thing.</p>
|
||||
<ul>
|
||||
<li>Put things here</li>
|
||||
<li>Put things here</li>
|
||||
<li>Put things here</li>
|
||||
<li>Put things here</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel info">
|
||||
<div class="panel-header">
|
||||
<span class="panel-icon">ℹ️</span>
|
||||
Information
|
||||
</div>
|
||||
<div class="panel-content">
|
||||
<p>Information pannel</p>
|
||||
<p>Can put things here</p>
|
||||
<button class="btn" >Learn More</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel warning">
|
||||
<div class="panel-header">
|
||||
<span class="panel-icon">⚠️</span>
|
||||
Warning
|
||||
</div>
|
||||
<div class="panel-content">
|
||||
<p>Warning thing</p>
|
||||
<button class="btn">Acknowledge</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel success">
|
||||
<div class="panel-header">
|
||||
<span class="panel-icon">✅</span>
|
||||
Success
|
||||
</div>
|
||||
<div class="panel-content">
|
||||
<p>Yes Good</p>
|
||||
<button class="btn">Continue</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel error">
|
||||
<div class="panel-header">
|
||||
<span class="panel-icon">❌</span>
|
||||
Error
|
||||
</div>
|
||||
<div class="panel-content">
|
||||
<p>Shits fucked up</p>
|
||||
<button class="btn">Exit</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel elevated">
|
||||
<div class="panel-header">
|
||||
<span class="panel-icon">🔒</span>
|
||||
Panel
|
||||
</div>
|
||||
<div class="panel-content">
|
||||
<p>Ngl no idea what this would be used for i saw it in a screenshot</p>
|
||||
<div class="panel-stats">
|
||||
<div class="stat-item">
|
||||
<span class="stat-value">5</span>
|
||||
<span class="stat-label">numbers</span>
|
||||
</div>
|
||||
<div class="stat-item">
|
||||
<span class="stat-value">3:29</span>
|
||||
<span class="stat-label">Time!</span>
|
||||
</div>
|
||||
<div class="stat-item">
|
||||
<span class="stat-value">1B</span>
|
||||
<span class="stat-label">somethiung else</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel glass full-width-panel">
|
||||
<div class="panel-header">
|
||||
<span class="panel-icon">✨</span>
|
||||
Basic panel
|
||||
</div>
|
||||
<div class="panel-content">
|
||||
<p>wooooaahhh so coooooool</p>
|
||||
<p>im in aw</p>
|
||||
|
||||
<div class="chart
|
612
Topbar.html
Normal file
612
Topbar.html
Normal file
@ -0,0 +1,612 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Glass UI Elements</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;
|
||||
padding: 80px 20px 40px 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
|
||||
radial-gradient(circle at 70% 80%, rgba(173,216,230,0.2) 0%, transparent 50%),
|
||||
radial-gradient(circle at 20% 70%, rgba(135,206,235,0.15) 0%, transparent 50%);
|
||||
animation: aurora 20s ease-in-out infinite;
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
@keyframes aurora {
|
||||
0%, 100% { transform: rotate(0deg) scale(1); }
|
||||
33% { transform: rotate(120deg) scale(1.1); }
|
||||
66% { transform: rotate(240deg) scale(0.9); }
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 30px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.left-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.right-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.glass-panel {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 8px;
|
||||
padding: 25px;
|
||||
box-shadow:
|
||||
0 8px 32px rgba(0, 0, 0, 0.3),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.glass-panel::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
||||
}
|
||||
|
||||
.form {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.form h2 {
|
||||
color: #fff;
|
||||
margin-bottom: 20px;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.form-group input,
|
||||
.form-group select,
|
||||
.form-group textarea {
|
||||
width: 100%;
|
||||
padding: 8px 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
font-size: 13px;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.form-group input:focus,
|
||||
.form-group select:focus,
|
||||
.form-group textarea:focus {
|
||||
outline: none;
|
||||
border-color: #4a90e2;
|
||||
box-shadow:
|
||||
inset 0 1px 3px rgba(0, 0, 0, 0.1),
|
||||
0 0 8px rgba(74, 144, 226, 0.6);
|
||||
}
|
||||
|
||||
.btn {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.4);
|
||||
border-radius: 4px;
|
||||
padding: 8px 16px;
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
box-shadow:
|
||||
0 2px 4px rgba(0, 0, 0, 0.2),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
|
||||
box-shadow:
|
||||
0 4px 8px rgba(0, 0, 0, 0.3),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
.btn:active {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.3) 100%);
|
||||
box-shadow:
|
||||
inset 0 2px 4px rgba(0, 0, 0, 0.2),
|
||||
0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: linear-gradient(180deg, #5aa3f0 0%, #4a90e2 100%);
|
||||
border: 1px solid #3a7bc8;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: linear-gradient(180deg, #6bb4ff 0%, #5aa3f0 100%);
|
||||
}
|
||||
|
||||
.button-panel h3 {
|
||||
color: #fff;
|
||||
margin-bottom: 15px;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.dropdown-container {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.dropdown-btn {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.4);
|
||||
border-radius: 4px;
|
||||
padding: 8px 16px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
box-shadow:
|
||||
0 2px 4px rgba(0, 0, 0, 0.2),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.dropdown-btn::after {
|
||||
content: '▼';
|
||||
font-size: 10px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 4px;
|
||||
min-width: 150px;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
||||
z-index: 1000;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transform: translateY(-10px);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.dropdown-menu.show {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
padding: 10px 16px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
transition: background 0.2s ease;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.dropdown-item:hover {
|
||||
background: rgba(74, 144, 226, 0.1);
|
||||
}
|
||||
|
||||
.dropdown-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.popup-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(5px);
|
||||
z-index: 10000;
|
||||
display: none;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.popup-window {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(15px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 8px;
|
||||
width: 90%;
|
||||
max-width: 400px;
|
||||
box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
|
||||
animation: popupSlideIn 0.3s ease;
|
||||
}
|
||||
|
||||
@keyframes popupSlideIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.9) translateY(-20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.popup-header {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 8px 8px 0 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.popup-title {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.popup-close {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
padding: 0;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 2px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.popup-close:hover {
|
||||
background: rgba(255, 0, 0, 0.1);
|
||||
color: #ff4444;
|
||||
}
|
||||
|
||||
.popup-content {
|
||||
padding: 20px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.popup-actions {
|
||||
padding: 16px;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.info-panel h3 {
|
||||
color: #fff;
|
||||
margin-bottom: 15px;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.info-panel p {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
line-height: 1.5;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.status-indicator {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #4CAF50;
|
||||
margin-right: 8px;
|
||||
box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
|
||||
}
|
||||
|
||||
.demo-section {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.demo-section h3 {
|
||||
color: #fff;
|
||||
margin-bottom: 15px;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
||||
z-index: 1000;
|
||||
padding: 0 20px;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.top-bar::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
||||
}
|
||||
|
||||
.top-bar-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.top-bar-logo {
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
font-weight: 300;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.top-bar-nav {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.top-bar-item {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
padding: 8px 12px;
|
||||
border-radius: 4px;
|
||||
transition: all 0.2s ease;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.top-bar-item:hover {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.top-bar-item.active {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.top-bar-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.top-bar-dropdown {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.top-bar-dropdown-btn {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.4);
|
||||
border-radius: 4px;
|
||||
padding: 6px 12px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||
box-shadow:
|
||||
0 2px 4px rgba(0, 0, 0, 0.2),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.top-bar-dropdown-btn::after {
|
||||
content: '▼';
|
||||
font-size: 8px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.top-bar-dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
right: 0;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 4px;
|
||||
min-width: 150px;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
||||
z-index: 1100;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transform: translateY(-10px);
|
||||
transition: all 0.3s ease;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.top-bar-dropdown-menu.show {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.top-bar-dropdown-item {
|
||||
padding: 10px 16px;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
transition: background 0.2s ease;
|
||||
color: #333;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.top-bar-dropdown-item:hover {
|
||||
background: rgba(74, 144, 226, 0.1);
|
||||
}
|
||||
|
||||
.top-bar-dropdown-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.top-bar-nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.top-bar-logo {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="top-bar">
|
||||
<div class="top-bar-left">
|
||||
<div class="top-bar-logo">TopBar UI</div>
|
||||
<nav class="top-bar-nav">
|
||||
<a href="#" class="top-bar-item active">Dashboard</a>
|
||||
<a href="#" class="top-bar-item">Home</a>
|
||||
<a href="#" class="top-bar-item">Settings</a>
|
||||
<a href="#" class="top-bar-item">Help</a>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="top-bar-right">
|
||||
<div class="top-bar-dropdown">
|
||||
<button class="top-bar-dropdown-btn" onclick="toggleTopBarDropdown()">
|
||||
Menu
|
||||
</button>
|
||||
<div class="top-bar-dropdown-menu" id="topBarDropdownMenu">
|
||||
<div class="top-bar-dropdown-item" onclick="selectTopBarItem('Profile')">Profile</div>
|
||||
<div class="top-bar-dropdown-item" onclick="selectTopBarItem('Settings')">Settings</div>
|
||||
<div class="top-bar-dropdown-item" onclick="selectTopBarItem('Logout')">Logout</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function toggleDropdown() {
|
||||
const menu = document.getElementById('dropdownMenu');
|
||||
menu.classList.toggle('show');
|
||||
}
|
||||
|
||||
function selectItem(item) {
|
||||
document.getElementById('selectedItem').textContent = item;
|
||||
document.getElementById('dropdownMenu').classList.remove('show');
|
||||
}
|
||||
|
||||
document.addEventListener('click', function(event) {
|
||||
const dropdown = document.querySelector('.dropdown-container');
|
||||
if (!dropdown.contains(event.target)) {
|
||||
document.getElementById('dropdownMenu').classList.remove('show');
|
||||
}
|
||||
});
|
||||
|
||||
function toggleTopBarDropdown() {
|
||||
const menu = document.getElementById('topBarDropdownMenu');
|
||||
menu.classList.toggle('show');
|
||||
}
|
||||
|
||||
function selectTopBarItem(item) {
|
||||
console.log('Selected:', item);
|
||||
document.getElementById('topBarDropdownMenu').classList.remove('show');
|
||||
}
|
||||
|
||||
document.addEventListener('click', function(event) {
|
||||
const topBarDropdown = document.querySelector('.top-bar-dropdown');
|
||||
if (!topBarDropdown.contains(event.target)) {
|
||||
document.getElementById('topBarDropdownMenu').classList.remove('show');
|
||||
}
|
||||
});
|
||||
|
||||
function showPopup() {
|
||||
const overlay = document.getElementById('popupOverlay');
|
||||
overlay.style.display = 'flex';
|
||||
setTimeout(() => {
|
||||
overlay.style.opacity = '1';
|
||||
}, 10);
|
||||
}
|
||||
|
||||
function hidePopup() {
|
||||
const overlay = document.getElementById('popupOverlay');
|
||||
overlay.style.opacity = '0';
|
||||
setTimeout(() => {
|
||||
overlay.style.display = 'none';
|
||||
}, 300);
|
||||
}
|
||||
|
||||
document.getElementById('popupOverlay').addEventListener('click', function(event) {
|
||||
if (event.target === this) {
|
||||
hidePopup();
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('keydown', function(event) {
|
||||
if (event.key === 'Escape') {
|
||||
hidePopup();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
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