aboutsummaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/search.css
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-13 18:03:43 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-13 18:03:43 +0100
commita7791635aa98f012d35f97c3c5288494bbb28e38 (patch)
treebad987e6b4d10ad2f7cd02e40658d464907595ee /app/assets/stylesheets/search.css
downloadoperum-a7791635aa98f012d35f97c3c5288494bbb28e38.tar.gz
operum-a7791635aa98f012d35f97c3c5288494bbb28e38.zip
Initial commit
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'app/assets/stylesheets/search.css')
-rw-r--r--app/assets/stylesheets/search.css75
1 files changed, 75 insertions, 0 deletions
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;
+}