diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-19 19:43:26 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-19 19:49:39 -0800 |
commit | 892da3ccc83f398eb9f92785e79ac624894fbabe (patch) | |
tree | cdd64227d9d67f1f8fcf3f50b24596d28899659d /fatcat_scholar/templates/base.html | |
parent | 09f10227b2ce140c969bed934508d51a6b74204d (diff) | |
download | fatcat-scholar-892da3ccc83f398eb9f92785e79ac624894fbabe.tar.gz fatcat-scholar-892da3ccc83f398eb9f92785e79ac624894fbabe.zip |
html: new <detail> dropdown main link
Diffstat (limited to 'fatcat_scholar/templates/base.html')
-rw-r--r-- | fatcat_scholar/templates/base.html | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index 56b10c3..9fd1351 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -48,7 +48,7 @@ .ui.labeled.icon.button.serp-button { padding-left: 3.0em!important; padding-right: 1em!important; - min-width: 12em; + min-width: 10em; max-width: 15em; box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3); } @@ -97,9 +97,6 @@ font-size: 16px; line-height: 20px; } - .ui.serp.card { - max-width: 180px; - } div.fulltext-link { width: 180px; } @@ -109,12 +106,10 @@ } .ui.serp.card { + max-width: 180px; margin-bottom: 0.2em; border-radius: 0; } - .ui.serp.card img { - max-width: 100%; - } .hit-count { font-weight: bold; line-height: 1.28571429em; @@ -262,6 +257,17 @@ overflow: auto; } + details.access-options summary { + text-decoration: none; + color: inherit; + } + details.access-options .menu { + /* border: 1px solid black; */ + margin: 0.5em; + width: auto; + padding: 1em; + } + details.serp-action-menu[open] > summary .ui.basic.button { box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset, 0 1px 4px 0 rgba(34,36,38,.15) inset; background: #f8f8f8!important; |