summaryrefslogtreecommitdiffstats
path: root/browser/components/firefoxview/fxview-category-navigation.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /browser/components/firefoxview/fxview-category-navigation.css
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/firefoxview/fxview-category-navigation.css')
-rw-r--r--browser/components/firefoxview/fxview-category-navigation.css60
1 files changed, 0 insertions, 60 deletions
diff --git a/browser/components/firefoxview/fxview-category-navigation.css b/browser/components/firefoxview/fxview-category-navigation.css
deleted file mode 100644
index 571059699b..0000000000
--- a/browser/components/firefoxview/fxview-category-navigation.css
+++ /dev/null
@@ -1,60 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-:host {
- --fxviewcategorynav-button-padding: 8px;
- margin-inline-start: 42px;
- position: sticky;
- top: 0;
- height: 100vh;
-}
-
-nav {
- display: grid;
- grid-template-rows: min-content 1fr auto;
- gap: 25px;
- margin-block-start: var(--fxview-margin-top);
-}
-
-.category-nav-header {
- /* Align the header text/icon with the category button icons */
- margin-inline-start: var(--fxviewcategorynav-button-padding);
-}
-
-.category-nav-buttons,
-::slotted(.category-nav-footer) {
- display: grid;
- grid-template-columns: 1fr;
- grid-auto-rows: min-content;
- gap: 4px;
-}
-
-@media (prefers-contrast) {
- .category-nav-buttons {
- gap: 8px;
- }
-}
-
-@media (prefers-reduced-motion) {
- /* (See Bug 1610081) Setting border-inline-end to add clear differentiation between side navigation and main content area */
- :host {
- border-inline-end: 1px solid var(--in-content-border-color);
- }
-}
-
-@media (max-width: 52rem) {
- :host {
- grid-template-rows: 1fr auto;
- }
-
- .category-nav-header {
- display: none;
- }
-
- .category-nav-buttons,
- ::slotted(.category-nav-footer) {
- justify-content: center;
- grid-template-columns: min-content;
- }
-}