diff --git a/src/userContent/addons.css b/src/userContent/addons.css deleted file mode 100644 index faabfdc..0000000 --- a/src/userContent/addons.css +++ /dev/null @@ -1,8 +0,0 @@ -/* Copyright 2022 Anri Dellal - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document url("about:addons"), url-prefix("about:addons") { - :root { - --section-width: min(664px, 100%) !important; - } -} diff --git a/src/userContent/config.css b/src/userContent/config.css deleted file mode 100644 index 5e767cd..0000000 --- a/src/userContent/config.css +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2022 Anri Dellal - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document url("about:config") { - #search-container, - #toolbar, #prefs { - min-width: 300px !important; - } - - @media (max-width: 644px) { - #toolbar { - flex-direction: column; - } - - #about-config-search { - max-width: 100%; - } - - #prefs { - word-wrap: anywhere; - } - - .checkbox-container { - margin-top: 5px; - } - } - - @media (max-width: 500px) { - tr { - font-size: 12px; - } - - th { - padding-left: 8px !important; - } - } -} diff --git a/src/userContent/home.css b/src/userContent/home.css deleted file mode 100644 index 697e7bd..0000000 --- a/src/userContent/home.css +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright 2022 Oliver Smith - * SPDX-License-Identifier: MPL-2.0 */ - -@namespace url("http://www.w3.org/1999/xhtml"); - -@-moz-document url("about:home"), url("about:blank"), url("about:newtab") { - @media (max-width: 700px) { - - .outer-wrapper.only-search { - padding-top: 50px !important; - } - - .customize-menu { - width: 100% !important; - } - - } -} diff --git a/src/userContent/license.css b/src/userContent/license.css deleted file mode 100644 index f7db008..0000000 --- a/src/userContent/license.css +++ /dev/null @@ -1,11 +0,0 @@ -/* Copyright 2022 Anri Dellal - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document url("about:license") { - @media (max-width: 500px) { - .license-header { - background-image: none !important; - padding-inline-end: unset !important; - } - } -} diff --git a/src/userContent/logins.css b/src/userContent/logins.css deleted file mode 100644 index 7e5fb24..0000000 --- a/src/userContent/logins.css +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2022 Anri Dellal - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document url("about:logins") { - .container { - min-width: 300px !important; - } - - @media (max-width: 700px) { - body { - --sidebar-width: 200px !important; - grid-template-columns: var(--sidebar-width) 1fr !important; - } - - .edit-button, .delete-button { - font-size: 0 !important; - background-position: center; - } - - #branding-logo { - display: none; - } - } -} diff --git a/src/userContent/policies.css b/src/userContent/policies.css deleted file mode 100644 index 24c92fd..0000000 --- a/src/userContent/policies.css +++ /dev/null @@ -1,11 +0,0 @@ -/* Copyright 2022 Anri Dellal - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document url("about:policies"), url-prefix("about:policies") { - @media (max-width: 830px) { - tbody.collapsible td, - .active-policies td { - word-wrap: anywhere; - } - } -} diff --git a/src/userContent/preferences.css b/src/userContent/preferences.css deleted file mode 100644 index aeffa99..0000000 --- a/src/userContent/preferences.css +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2022 Anri Dellal - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document regexp("about:preferences.*") { - .sticky-container { - display: flex; - } - - #policies-container { - display: none; - } - - /* #sync page */ - .fxaMobilePromo { - display: none; - } - - @media (max-width: 700px) { - .fxaSyncIllustration { - display: none; - } - } -} diff --git a/src/userContent/protections.css b/src/userContent/protections.css deleted file mode 100644 index bb7e872..0000000 --- a/src/userContent/protections.css +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright 2022 Anri Dellal - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document url("about:protections") { - #report-content { - width: calc(100% - 16px) !important; - max-width: 800px !important; - } - - /* hide element with Firefox for Android and iOS ad */ - .lockwise-card .card-body, - #mobile-hanger { - display: none !important; - } - - @media (max-width: 800px) { - #report-content { - margin: 16px 8px !important; - } - - .icon { - width: 32px !important; - height: 32px !important; - } - - .body-wrapper { - /* make trackers report to fill the entire card width */ - grid-column-start: 1 !important; - grid-column-end: -1 !important; - } - - #manage-protections, - #sign-up-for-monitor-link, - #save-passwords-button, - #get-proxy-extension-link { - /* move button on a separate row */ - grid-area: 2 / 1 / 2 / 6 !important; - } - - .card-header .wrapper { - grid-row-gap: 8px !important; - } - - .card:not(.has-logins) .wrapper div:nth-child(1) { - /* make card title to use more width */ - grid-column-end: -1 !important; - } - } -} diff --git a/src/userContent/reader.css b/src/userContent/reader.css deleted file mode 100644 index 916254d..0000000 --- a/src/userContent/reader.css +++ /dev/null @@ -1,55 +0,0 @@ -/* Copyright 2022 Tim Magee - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document url-prefix("about:reader") { - @media (max-width: 800px) { - .toolbar-container { - margin-inline-start: 0px !important; - position: fixed !important; - top: 0px !important; - height: 74px !important; - width: 100% !important; - left: 0px !important; - background-color: rgba(255,255,255,1); - } - - .dark .toolbar-container { - background-color: rgba(3,3,3,1); - } - - .sepia .toolbar-container { - background-color: rgba(244,236,216,1); - } - - .toolbar { - margin-inline-start: unset !important; - width: unset !important; - } - - .dropdown li { - display: inline !important; - } - - .dropdown { - display: inline; - } - - body { - padding: 74px 0px !important; - margin: 15px 15px 0px !important; - --content-width: unset !important; - } - - .header > h1 { - margin: 10px 0 !important; - } - - .header > .meta-data { - margin: 0 0 5px !important; - } - - .header > .credits { - margin: 0 0 5px !important; - } - } -} diff --git a/src/userContent/rights.css b/src/userContent/rights.css deleted file mode 100644 index 5bfd91a..0000000 --- a/src/userContent/rights.css +++ /dev/null @@ -1,11 +0,0 @@ -/* Copyright 2022 Anri Dellal - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document url("about:rights") { - @media (max-width: 500px) { - .rights-header { - background-image: none !important; - padding-inline-end: unset !important; - } - } -} diff --git a/src/userContent/sidebar.css b/src/userContent/sidebar.css deleted file mode 100644 index 80c5d62..0000000 --- a/src/userContent/sidebar.css +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2022 plata, Anri Dellal - * SPDX-License-Identifier: MPL-2.0 */ - -@-moz-document regexp("about:(preferences|addons|policies).*") { - .category-icon { - user-select: none !important; - } - - @media (max-width: 700px) { - /* avoid that sidebar is too wide */ - :root { - --in-content-sidebar-width: 50px !important; - --sidebar-width: 50px !important; - } - - /* reduce space around category icons */ - #categories > .category { - margin-inline-start: auto !important; - padding-inline: auto !important; - } - - .category-name { - display: none !important; - } - - /* reduce space around footer icons (addons, help) */ - .sidebar-footer-list { - margin-inline: auto !important; - padding-inline: auto !important; - } - - .sidebar-footer-label { - display: none !important; - } - } - - @media (max-height: 400px) { - #categories { - margin-top: 8px !important; - } - } -}