From aba39d271b7b84865b0a4fb0f9602b796440d24f Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Fri, 3 Feb 2023 14:16:24 +0100 Subject: [PATCH] [GeckoView] Remove unused `@media` CSS rules These `@media` rules were most likely just copy-pasted from the regular viewer, however none of them are currently necessary since the GeckoView-specific viewer doesn't have any toolbars. Note that the whole purpose of these CSS rules are to make the toolbar, of the regular viewer, responsive. If we in the future add toolbars for the GeckoView-specific viewer, these rules most likely wouldn't be usable as-is anyway. --- web/viewer-geckoview.css | 61 ---------------------------------------- 1 file changed, 61 deletions(-) diff --git a/web/viewer-geckoview.css b/web/viewer-geckoview.css index 768091687..9385c5cf1 100644 --- a/web/viewer-geckoview.css +++ b/web/viewer-geckoview.css @@ -245,64 +245,3 @@ dialog :link { @page { margin: 0; } - -.visibleLargeView, -.visibleMediumView { - display: none; -} - -@media all and (max-width: 900px) { - #toolbarViewerMiddle { - display: table; - margin: auto; - left: auto; - position: inherit; - transform: none; - } -} - -@media all and (max-width: 840px) { - #sidebarContainer { - background-color: var(--sidebar-narrow-bg-color); - } - #outerContainer.sidebarOpen #viewerContainer { - inset-inline-start: 0 !important; - } -} - -@media all and (max-width: 820px) { - #outerContainer .hiddenLargeView { - display: none; - } - #outerContainer .visibleLargeView { - display: inherit; - } -} - -@media all and (max-width: 750px) { - #outerContainer .hiddenMediumView { - display: none; - } - #outerContainer .visibleMediumView { - display: inherit; - } -} - -@media all and (max-width: 690px) { - .hiddenSmallView, - .hiddenSmallView * { - display: none; - } - .toolbarButtonSpacer { - width: 0; - } - .findbar { - inset-inline-start: 34px; - } -} - -@media all and (max-width: 560px) { - #scaleSelectContainer { - display: none; - } -}