From 182a2f3bdbc8f7a349c7eb407b21d68a8d664c86 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Wed, 25 Jul 2018 22:43:55 -0700 Subject: options for sorting when searching --- yt_watch_template.html | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) (limited to 'yt_watch_template.html') diff --git a/yt_watch_template.html b/yt_watch_template.html index f78f7e8..7d5f4ae 100644 --- a/yt_watch_template.html +++ b/yt_watch_template.html @@ -48,6 +48,35 @@ #related .medium-item{ grid-template-columns: 160px 1fr 0fr; } + + .download-dropdown{ + z-index:1; + justify-self:start; + min-width:0px; + } + + .download-dropdown-label{ + background-color: #e9e9e9; + border-style: outset; + border-width: 2px; + font-weight: bold; + } + + .download-dropdown-content{ + display:none; + background-color: #e9e9e9; + } + .download-dropdown:hover .download-dropdown-content { + display: grid; + grid-auto-rows:30px; + padding-bottom: 50px; + } + .download-dropdown-content a{ + white-space: nowrap; + display:grid; + grid-template-columns: 60px 90px auto; + max-height: 1.2em; + } @@ -68,9 +97,9 @@ $video_sources $likes likes $dislikes dislikes -