From 24150c2adeb761fc652bf94c7664bc9cba3c68a2 Mon Sep 17 00:00:00 2001 From: Stian Lund Date: Mon, 6 Mar 2023 10:16:18 +0100 Subject: [PATCH] changes --- test/focus/index.html | 4 ++-- vivaldi/Mods/CSS/custom.css | 10 +++++----- vivaldi/Mods/CSS/{hide-header.css => header.css} | 11 ++++++++--- vivaldi/Mods/CSS/index.html | 4 ++-- vivaldi/Mods/index.html | 2 +- 5 files changed, 18 insertions(+), 13 deletions(-) rename vivaldi/Mods/CSS/{hide-header.css => header.css} (86%) diff --git a/test/focus/index.html b/test/focus/index.html index 0c1e255..725a29c 100755 --- a/test/focus/index.html +++ b/test/focus/index.html @@ -4,7 +4,7 @@ Input focus test - This should not get focus:
- This should get focus:
+

This should not get focus:

+

This should get focus:

diff --git a/vivaldi/Mods/CSS/custom.css b/vivaldi/Mods/CSS/custom.css index 10e85da..a80a531 100755 --- a/vivaldi/Mods/CSS/custom.css +++ b/vivaldi/Mods/CSS/custom.css @@ -5,15 +5,15 @@ .vivaldi-v svg, .vivaldi-horizontal-icon svg {background: radial-gradient(white, white 50%, transparent 50%); fill: #383838;} /* Skinnier mainbar */ -.toolbar-mainbar, -.toolbar-mainbar .button-toolbar button, -.toolbar-mainbar .toolbar-extensions, -.toolbar-mainbar .toolbar-extensions .button-toolbar button { +.mainbar>.toolbar-mainbar, +.mainbar>.toolbar-mainbar .button-toolbar button, +.mainbar>.toolbar-mainbar .toolbar-extensions, +.mainbar>.toolbar-mainbar .toolbar-extensions .button-toolbar button { height: 30px; } /* Skinnier mainbar - fix BookmarkButton focus */ -.UrlBar-AddressField .BookmarkButton button { +.toolbar-mainbar .UrlBar-AddressField .BookmarkButton button { height: 100%; } diff --git a/vivaldi/Mods/CSS/hide-header.css b/vivaldi/Mods/CSS/header.css similarity index 86% rename from vivaldi/Mods/CSS/hide-header.css rename to vivaldi/Mods/CSS/header.css index 853ef1d..7ed2667 100755 --- a/vivaldi/Mods/CSS/hide-header.css +++ b/vivaldi/Mods/CSS/header.css @@ -1,6 +1,11 @@ /* Hide header if tabs not on top */ #browser:not(.tabs-top) #header { - min-height: 0px; + min-height: 0px !important; +} + +/* Hide page title (Start Page for some reason shows this) */ +#browser:not(.tabs-top):not(.minimal-ui):not(.normal) #pagetitle { + display: none; } /* Set mainbar/bookmark-bar l/r padding */ @@ -50,10 +55,10 @@ /* Reset header on windowed/minimal-ui/bottom-UrlBar/horizontal-menu */ #browser.normal #header, -#browser.minimal-ui #header, +#browser.minimal-ui:not(.fullscreen) #header, #browser.address-bottom #header, #browser.horizontal-menu #header { - min-height: calc(25px / var(--uiZoomLevel)); + min-height: calc(25px / var(--uiZoomLevel)) !important; } /* Reset header on windowed/minimal-ui/bottom-UrlBar/horizontal-menu */ diff --git a/vivaldi/Mods/CSS/index.html b/vivaldi/Mods/CSS/index.html index f3cfcbd..2b1282d 100644 --- a/vivaldi/Mods/CSS/index.html +++ b/vivaldi/Mods/CSS/index.html @@ -29,9 +29,9 @@

CSS

..
-[4.2K Feb 16 15:16]  custom.css
+[4.2K Mar  4 11:16]  custom.css
[ 704 Nov 25 23:01]  find-in-page.css
-[1.8K Nov 11  9:36]  hide-header.css
+[2.0K Mar  4 13:31]  header.css
[1001 Nov 25 23:01]  speed-dials.css
[ 354 Nov 25 23:01]  tabcycler.css


diff --git a/vivaldi/Mods/index.html b/vivaldi/Mods/index.html index 92adefb..2f452f7 100644 --- a/vivaldi/Mods/index.html +++ b/vivaldi/Mods/index.html @@ -29,7 +29,7 @@

Mods

..
-[   0 Sep 11  0:32]  CSS
+[   0 Mar  6 10:15]  CSS
[   0 Sep 11  0:32]  JS
[3.4K Nov 13 14:59]  custom.css
[1.2K Sep 13 17:47]  custom.unused.css