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;
|
display: flex;
|
||||||
padding: calc(2 * var(--step));
|
padding: calc(2 * var(--step));
|
||||||
gap: calc(2 * var(--step));
|
gap: calc(2 * var(--step));
|
||||||
|
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
background: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > input {
|
header > input {
|
||||||
|
|
@ -45,19 +49,14 @@ main {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab .label {
|
.tab > span:first-child {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
color: var(--gray-dark-05);
|
color: var(--gray-dark-05);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab > .title,
|
.tab > span:last-child {
|
||||||
.tab > .url {
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
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='searchbox' placeholder='Filter' autofocus>
|
||||||
<input type='search' id='actionbox' placeholder='Action (? for help)'>
|
<input type='search' id='actionbox' placeholder='Action (? for help)'>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main id='searchResults'>
|
||||||
<button class='tab'>
|
<button class='tab'>
|
||||||
<div class='label'>jk</div>
|
<div class='label'>jk</div>
|
||||||
<div class='title'>
|
<div class='title'>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue