65 lines
1.3 KiB
HTML
65 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>UI Lib</title>
|
|
<!-- <script src="amrnb.js"></script> -->
|
|
<script type="module" src="main.ts"></script>
|
|
<link rel="stylesheet" href="../lib/ui/css/common.scss" />
|
|
<style type="text/css">
|
|
:root {
|
|
--red-color: red;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.drag-box {
|
|
position: absolute;
|
|
}
|
|
|
|
.box-inner {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid #ccc;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.drag-hover {
|
|
background-color: #ccc;
|
|
padding: 4px;
|
|
}
|
|
|
|
.wrapper {
|
|
position: relative;
|
|
height: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
#container>.ui-grid {
|
|
width: 1000px;
|
|
height: 400px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="wrapper">
|
|
<div id="container"></div>
|
|
<!--<button id="setItem">set item</button>
|
|
<button id="addItem">add item</button>
|
|
<button id="addItems">add items</button>
|
|
<button id="removeItem">remove item</button>
|
|
<button id="removeItems">remove items</button>-->
|
|
</div>
|
|
</body>
|
|
|
|
</html> |