Add preliminay search bar
This commit is contained in:
parent
cc0653d78c
commit
96efd6085a
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.idea/
|
||||||
|
.vscode/
|
@ -12,11 +12,13 @@
|
|||||||
<h1>Welcome to DataDash</h1>
|
<h1>Welcome to DataDash</h1>
|
||||||
<p>The place to launch and discover datasets and API endpoints.</p>
|
<p>The place to launch and discover datasets and API endpoints.</p>
|
||||||
</header>
|
</header>
|
||||||
<div id="functionBar">
|
|
||||||
<div id="searchBar">
|
<section id="tool-bar">
|
||||||
<p>lilalu</p>
|
<div id="search-bar">
|
||||||
|
<input type="search" name="query" id="search-entry" placeholder="Search">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
<section id="recents">
|
<section id="recents">
|
||||||
<h2>Recently added:</h2>
|
<h2>Recently added:</h2>
|
||||||
<ul class="datasets">
|
<ul class="datasets">
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
--pad-datasets: 1rem;
|
--pad-datasets: 1rem;
|
||||||
--pad-main: 2rem;
|
--pad-main: 2rem;
|
||||||
--min-card-size: 60ch;
|
--min-card-size: 60ch;
|
||||||
|
--corner-radius: 1rem;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -25,6 +26,23 @@ header {
|
|||||||
margin-inline: .75rem;
|
margin-inline: .75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#tool-bar {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
|
||||||
|
#search-bar {
|
||||||
|
background-color: var(--fg-color, darkgrey);
|
||||||
|
padding: .5rem 1rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#search-entry {
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
color: var(--text-color);
|
||||||
|
}
|
||||||
|
|
||||||
.datasets {
|
.datasets {
|
||||||
padding-inline: var(--pad-datasets);
|
padding-inline: var(--pad-datasets);
|
||||||
display: grid;
|
display: grid;
|
||||||
@ -38,10 +56,10 @@ header {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dataset, #functionBar {
|
.dataset {
|
||||||
padding: 1rem 2rem;
|
padding: 1rem 2rem;
|
||||||
background-color: var(--fg-color, darkgrey);
|
background-color: var(--fg-color, darkgrey);
|
||||||
border-radius: 1rem;
|
border-radius: var(--corner-radius);
|
||||||
list-style: none;
|
list-style: none;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user