146 lines
3.1 KiB
HTML
146 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Event Container</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 40vh;
|
|
background-color: #f0f0f0;
|
|
}
|
|
.outer-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-width: 300px;
|
|
max-width: 600px;
|
|
width: 100%;
|
|
padding: 20px;
|
|
}
|
|
.container {
|
|
border: 1px solid #ccc;
|
|
padding: 5px 20px 5px 20px;
|
|
background-color: #fff;
|
|
border-radius: 10px;
|
|
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
|
|
width:90%;
|
|
/*margin:0 auto;*/
|
|
}
|
|
.select-container {
|
|
margin-bottom: 15px;
|
|
}
|
|
.row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
.row > * {
|
|
flex: 0 0 calc(50% - 20px); /* Adjusted width for better fit */
|
|
margin-bottom: 15px;
|
|
}
|
|
label {
|
|
display: block;
|
|
margin-bottom: 1px;
|
|
}
|
|
select, input[type="range"], input[type="color"] {
|
|
width:90%;
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
select{
|
|
width: 90%;
|
|
}
|
|
input[type="color"] {
|
|
height: 30px;
|
|
padding: 0;
|
|
width: 30px;
|
|
}
|
|
.row:last-child {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.checkbox-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: left;
|
|
}
|
|
.try-button-container {
|
|
display: flex;
|
|
justify-content: right;
|
|
width: 100%;
|
|
}
|
|
button {
|
|
background-color: #007bff;
|
|
color: #fff;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
.center-text {
|
|
text-align: center;
|
|
font-size: larger;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="outer-container">
|
|
<div class="container">
|
|
<legend class="center-text">Event0</legend><br>
|
|
<div class="row">
|
|
<div>
|
|
<label for="animation-list" id="list-label">Event:</label>
|
|
<select id="animation-list">
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label for="color-picker">Color:</label>
|
|
<input type="color" id="color-picker">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div>
|
|
<label for="speed" id="speed-label">Speed:</label>
|
|
<input type="range" id="speed" min="1" max="10">
|
|
</div>
|
|
<div>
|
|
<label for="range1">Col. Range:</label>
|
|
<input type="range" id="range1" min="0" max="100">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div>
|
|
<label for="param1" id="param1-label">Param1:</label>
|
|
<input type="range" id="param1" min="0" max="50">
|
|
</div>
|
|
<div>
|
|
<label for="param2" id="param2-label">Param2:</label>
|
|
<input type="range" id="param2" min="0" max="100">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="checkbox-container">
|
|
<input type="checkbox" id="check1">Mix</input>
|
|
<input type="checkbox" id="check1">Fwd</input>
|
|
</div>
|
|
<div class="try-button-container">
|
|
<button id="try-button">Try</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|