From a7791635aa98f012d35f97c3c5288494bbb28e38 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 13 Mar 2024 18:03:43 +0100 Subject: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- app/assets/stylesheets/search.css | 75 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 app/assets/stylesheets/search.css (limited to 'app/assets/stylesheets/search.css') diff --git a/app/assets/stylesheets/search.css b/app/assets/stylesheets/search.css new file mode 100644 index 0000000..eb72638 --- /dev/null +++ b/app/assets/stylesheets/search.css @@ -0,0 +1,75 @@ +/* + * Root + */ + +#hidden-nav { + padding: 1rem .5rem 2rem .5rem; + display: flex; + align-items: center; + gap: 10px; + justify-content: center; +} + +#hidden-nav div:not(:last-child) { + padding-right: 1rem; + border-right: 1px solid var(--border); +} + +#hidden-nav a { + margin-left: .5rem; +} + +/* + * New search. + */ + +#search_form { + display: grid; + grid-template-columns: 1fr; + gap: 10px; + padding-bottom: 1rem; + margin-bottom: 2rem; + border-bottom: 1px solid var(--border); +} + +#search_form input[type=text] { + width: 100%; +} + +/* + * Export. + */ + +@media only screen and (max-width: 720px) { + #export-format-button { + width: 100%; + text-align: center; + } +} + +/* + * Shared searches. + */ + +#public-search-table { + margin: 0px; + width: 100%; +} + +#public-search-table td { + padding: 0px; + border: 0px; +} + +#public-search-table details { + background: 0; + margin: 0px; + border-radius: 0px; +} + +#public-search-table .details-flex { + display: flex; + align-items: flex-start; + gap: 20px; + flex-wrap: wrap; +} -- cgit v1.2.3