mirror of
https://github.com/He4eT/tabswitcher.git
synced 2026-05-05 01:17:23 +00:00
pages/search: results markup
This commit is contained in:
parent
ae2259b2ba
commit
f5af3c1823
2 changed files with 7 additions and 8 deletions
|
|
@ -2,6 +2,10 @@ header {
|
|||
display: flex;
|
||||
padding: calc(2 * var(--step));
|
||||
gap: calc(2 * var(--step));
|
||||
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
header > input {
|
||||
|
|
@ -45,19 +49,14 @@ main {
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tab .label {
|
||||
.tab > span:first-child {
|
||||
font-family: monospace;
|
||||
color: var(--gray-dark-05);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tab > .title,
|
||||
.tab > .url {
|
||||
.tab > span:last-child {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tab .url {
|
||||
color: var(--gray-dark-05);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<input type='search' id='searchbox' placeholder='Filter' autofocus>
|
||||
<input type='search' id='actionbox' placeholder='Action (? for help)'>
|
||||
</header>
|
||||
<main>
|
||||
<main id='searchResults'>
|
||||
<button class='tab'>
|
||||
<div class='label'>jk</div>
|
||||
<div class='title'>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue