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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user