From 892da3ccc83f398eb9f92785e79ac624894fbabe Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 19 Jan 2021 19:43:26 -0800 Subject: html: new dropdown main link --- fatcat_scholar/templates/base.html | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'fatcat_scholar/templates/base.html') 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; -- cgit v1.2.3