1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +08:00

add toolbar buttons style

This commit is contained in:
lana-k
2020-10-09 14:56:19 +02:00
parent 5317c415b2
commit b7bf00eb89
2 changed files with 23 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
button:focus {
outline: none;
}
button.primary {
background: var(--color-accent);
border: 1px solid var(--color-accent-shade);
@@ -30,7 +34,21 @@ button.primary:disabled {
cursor: default;
}
button.primary:focus {
outline: none;
button.toolbar {
background: transparent;
border: none;
box-sizing: border-box;
height: 36px;
padding: 0 12px;
color: var(--color-text-base);
font-size: 14px;
font-weight: 600;
cursor: pointer;
}
button.toolbar:hover {
color: var(--color-accent);
}

View File

@@ -3,9 +3,9 @@
<div id="my-queries-content">
<div id="my-queries-toolbar">
<div id="toolbar-buttons">
<button>Import</button>
<button>Export</button>
<button>Delete</button>
<button class="toolbar">Import</button>
<button class="toolbar">Export</button>
<button class="toolbar">Delete</button>
</div>
<div id="toolbar-search">
<input type="text" placeholder="Search query by name"/>