87 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Task1 vanilla </title>
<style>
body {
margin: 0;
background: #f3f5f8;
overflow: hidden;
font-family: "Avenir Next", "Segoe UI", sans-serif;
}
#preset-panel {
position: fixed;
top: 16px;
left: 16px;
z-index: 10;
background: rgba(255, 255, 255, 0.82);
border: 1px solid rgba(0, 0, 0, 0.12);
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
padding: 12px;
display: flex;
flex-direction: column;
gap: 8px;
backdrop-filter: blur(6px);
}
#preset-panel h2 {
margin: 0;
font-size: 14px;
letter-spacing: 0.03em;
color: #1b2530;
font-weight: 700;
}
.preset-buttons {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.preset-btn {
border: 1px solid #cfd8e3;
background: #ffffff;
color: #203448;
border-radius: 8px;
padding: 8px 10px;
font-size: 13px;
cursor: pointer;
transition: all 0.2s ease;
}
.preset-btn:hover {
border-color: #8ea2b8;
transform: translateY(-1px);
}
.preset-btn.active {
background: #203448;
border-color: #203448;
color: #f4f8fb;
}
#hint {
margin: 0;
font-size: 12px;
color: #4f647a;
}
</style>
</head>
<body>
<div id="preset-panel">
<h2>Camera Presets</h2>
<div class="preset-buttons">
<button class="preset-btn" data-preset="front">Front (1)</button>
<button class="preset-btn" data-preset="side">Side (2)</button>
<button class="preset-btn" data-preset="topAngled">Top Angled (3)</button>
</div>
</div>
<script type="module" src="/main.js"></script>
</body>
</html>