aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/static
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-25 20:36:10 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-25 20:36:10 -0800
commitee5901b25869763e3c30b495b03fe4b286edd6da (patch)
tree7df9255e38215a1a4cf534c928da3c84ec4f48c9 /fatcat_scholar/static
parenta2186898859b5b71a06bff3c23977b727409c590 (diff)
downloadfatcat-scholar-ee5901b25869763e3c30b495b03fe4b286edd6da.tar.gz
fatcat-scholar-ee5901b25869763e3c30b495b03fe4b286edd6da.zip
html/css: refactor RTL filter bar code
Diffstat (limited to 'fatcat_scholar/static')
-rw-r--r--fatcat_scholar/static/scholar.css23
1 files changed, 22 insertions, 1 deletions
diff --git a/fatcat_scholar/static/scholar.css b/fatcat_scholar/static/scholar.css
index b162ad5..3258dc6 100644
--- a/fatcat_scholar/static/scholar.css
+++ b/fatcat_scholar/static/scholar.css
@@ -26,7 +26,7 @@ nav.ui.menu {
box-sizing: border-box;
border-radius: 0;
margin-bottom: 0.4em;
- text-align: left;
+ text-align: start;
width: 14em;
}
@@ -222,6 +222,27 @@ a:hover .ui.card {
display: inline-block;
}
+.tablet-filter-bar {
+ display: flex;
+ align-items: flex-start;
+ column-gap: 2em;
+ row-gap: 2em;
+ flex-wrap: wrap;
+ padding-bottom:1.5em;
+}
+
+.filter-bar .text-button {
+ white-space: nowrap;
+ position: absolute;
+ right: 0.9em;
+}
+.filter-bar .filter-label {
+ color: rgba(0,0,0,0.55);
+ white-space: nowrap;
+ position: absolute;
+ right: 0.9em;
+}
+
details.title-dropdown summary {
text-decoration: none;
color: inherit;