update
This commit is contained in:
42
static/components/toolbar/toolbar.html
Normal file
42
static/components/toolbar/toolbar.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<template id="toolbar-template">
|
||||
<style></style>
|
||||
:host {
|
||||
display: block;
|
||||
width: 100%;
|
||||
background: #f0f0f0;
|
||||
border-bottom: 1px solid #ccc;
|
||||
box-sizing: border-box;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.section > label {
|
||||
font-size: 0.9rem;
|
||||
user-select: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="toolbar">
|
||||
<div class="section" id="bg-section">
|
||||
<label for="bg-picker">Background:</label>
|
||||
<slot name="bg-picker"></slot>
|
||||
</div>
|
||||
|
||||
<div class="section" id="grid-section">
|
||||
<label for="grid-picker">Grid:</label>
|
||||
<slot name="grid-picker"></slot>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user