diff options
Diffstat (limited to 'browser/extensions/webcompat/injections/css')
34 files changed, 553 insertions, 0 deletions
diff --git a/browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css b/browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css new file mode 100644 index 0000000000..566685c2da --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css @@ -0,0 +1,7 @@ +/* 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/. */ + +#css-injection.red { + background-color: #0f0; +} diff --git a/browser/extensions/webcompat/injections/css/bug1575000-apply.lloydsbank.co.uk-radio-buttons-fix.css b/browser/extensions/webcompat/injections/css/bug1575000-apply.lloydsbank.co.uk-radio-buttons-fix.css new file mode 100644 index 0000000000..e157dc6920 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1575000-apply.lloydsbank.co.uk-radio-buttons-fix.css @@ -0,0 +1,15 @@ +/* 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/. */ + +/** + * apply.lloydsbank.co.uk - radio buttons are misplaced + * Bug #1575000 - https://bugzilla.mozilla.org/show_bug.cgi?id=1575000 + * WebCompat issue #34969 - https://webcompat.com/issues/34969 + * + * Radio buttons are displaced to the left due to positioning issue of ::before + * pseudo element, adding position relative to it's parent fixes the issue. + */ +.radio-content-field .radio.inline label span.text { + position: relative; +} diff --git a/browser/extensions/webcompat/injections/css/bug1610344-directv.com.co-hide-unsupported-message.css b/browser/extensions/webcompat/injections/css/bug1610344-directv.com.co-hide-unsupported-message.css new file mode 100644 index 0000000000..9f673bee95 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1610344-directv.com.co-hide-unsupported-message.css @@ -0,0 +1,17 @@ +/* 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/. */ + +/** + * directv.com.co - Browser is not supported message + * Bug #1610344 - https://bugzilla.mozilla.org/show_bug.cgi?id=1610344 + * WebCompat issue #41822 - https://webcompat.com/issues/41822 + * + * directv.com.co is showing a "This browser is not supported" message in + * Firefox. Our tests indicated that everything is working just fine, and our + * previous contact attempts have not been successful. This intervention + * hides the large red unsupported banner. + */ +.browser-compatible.compatible.incompatible { + display: none; +} diff --git a/browser/extensions/webcompat/injections/css/bug1644830-missingmail.usps.com-checkboxes-not-visible.css b/browser/extensions/webcompat/injections/css/bug1644830-missingmail.usps.com-checkboxes-not-visible.css new file mode 100644 index 0000000000..fc1cb7489a --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1644830-missingmail.usps.com-checkboxes-not-visible.css @@ -0,0 +1,17 @@ +/* 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/. */ + +/** + * missingmail.usps.com - Unable to mark the check-boxes from "Disclaimer and + * Terms and Conditions" section + * Bug #1644830 - https://bugzilla.mozilla.org/show_bug.cgi?id=1644830 + * WebCompat issue #53950 - https://webcompat.com/issues/53950 + * + * missingmail.usps.com runs into a case of bug 997189, where an absolutely + * positioned inline-block element with floating siblings is shifter to the + * right, and thus invisible. + */ +.mrc-custom-checkbox-container input { + margin-left: -3rem; +} diff --git a/browser/extensions/webcompat/injections/css/bug1651917-teletrader.com.body-transform-origin.css b/browser/extensions/webcompat/injections/css/bug1651917-teletrader.com.body-transform-origin.css new file mode 100644 index 0000000000..2c4429a301 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1651917-teletrader.com.body-transform-origin.css @@ -0,0 +1,18 @@ +/* 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/. */ + +/** + * teletrader.com - content is shifted down and right + * Bug #1651917 - https://bugzilla.mozilla.org/show_bug.cgi?id=1651917 + * WebCompat issue #55217 - https://webcompat.com/issues/55217 + * + * The content is shifted down and right, because they use webkit prefixes + * for scaling and redefining the origin. Firefox doesn't support + * -webkit-transform-origin-x/y + * This is the object of https://bugzilla.mozilla.org/show_bug.cgi?id=1584881 + * Adding transform-origin: 0 0; to body fixes the issue + */ +body { + transform-origin: 0 0; +} diff --git a/browser/extensions/webcompat/injections/css/bug1653075-livescience.com-scrollbar-width.css b/browser/extensions/webcompat/injections/css/bug1653075-livescience.com-scrollbar-width.css new file mode 100644 index 0000000000..ae14d1ec13 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1653075-livescience.com-scrollbar-width.css @@ -0,0 +1,17 @@ +/* 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/. */ + +/** + * livescience.com - a scrollbar covering navigation menu + * Bug #1653075 - https://bugzilla.mozilla.org/show_bug.cgi?id=1653075 + * + * The scrollbar is covering navigation items and that makes them half hidden. + * There are some ::-webkit-scrollbar css rules applied to the scrollbar, + * making it thinner. Adding similar rules for Firefox fixes the issue. + */ + +.trending__list { + scrollbar-width: thin; + scrollbar-color: #f9ae3b #f5f5f5; +} diff --git a/browser/extensions/webcompat/injections/css/bug1654877-preev.com-moz-appearance-fix.css b/browser/extensions/webcompat/injections/css/bug1654877-preev.com-moz-appearance-fix.css new file mode 100644 index 0000000000..b13c3052f3 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1654877-preev.com-moz-appearance-fix.css @@ -0,0 +1,19 @@ +/* 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/. */ + +/** + * preev.com - typed numbers are not fully visible + * Bug #1654877 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654877 + * WebCompat issue #55099 - https://webcompat.com/issues/55099 + * + * It's hard to see the entered number because the spin button is + * taking too much space. While there is -moz-appearance: textfield, + * -webkit-appearance: none; underneath supersedes it, + * leaving the spin button visible. Adding -moz-appearance: textfield; + * as a separate rule fixes the issue + */ +input[type="number"], +input[type="text"] { + -moz-appearance: textfield; +} diff --git a/browser/extensions/webcompat/injections/css/bug1654907-reactine.ca-hide-unsupported.css b/browser/extensions/webcompat/injections/css/bug1654907-reactine.ca-hide-unsupported.css new file mode 100644 index 0000000000..6cecb6658a --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1654907-reactine.ca-hide-unsupported.css @@ -0,0 +1,16 @@ +/* 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/. */ + +/** + * reactine.ca - Unsupported browser message + * Bug #1654907 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654907 + * WebCompat issue #55481 - https://webcompat.com/issues/55481 + * + * reactine.ca is showing "Sorry this browser is not supported." + * message if Firefox for Android based on UA detection. Site seems + * to be working fine, so this intervention is to hide this message + */ +#browser-alert { + display: none !important; +} diff --git a/browser/extensions/webcompat/injections/css/bug1694470-myvidster.com-content-not-shown.css b/browser/extensions/webcompat/injections/css/bug1694470-myvidster.com-content-not-shown.css new file mode 100644 index 0000000000..adec7101ba --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1694470-myvidster.com-content-not-shown.css @@ -0,0 +1,15 @@ +/* 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/. */ + +/** + * m.myvidster.com - Content is not shown + * Bug #1694470 - https://bugzilla.mozilla.org/show_bug.cgi?id=1694470 + * WebCompat issue #67308 - https://webcompat.com/issues/67308 + * + * The site depends on Sencha Touch and should receive some specific + * -webkit-box-flex be working. + */ +#home_refresh_var { + -webkit-box-flex: 1; +} diff --git a/browser/extensions/webcompat/injections/css/bug1707795-office365-sheets-overscroll-disable.css b/browser/extensions/webcompat/injections/css/bug1707795-office365-sheets-overscroll-disable.css new file mode 100644 index 0000000000..7165ceb70f --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1707795-office365-sheets-overscroll-disable.css @@ -0,0 +1,12 @@ +/* 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/. */ + +/** + * www.office.com - There is an overscroll effect on Excel sheets which is + * not a very pleasant user experience. This invention disables it. + */ + +.ewr-sheetcontainer { + overscroll-behavior: none; +} diff --git a/browser/extensions/webcompat/injections/css/bug1712833-buskocchi.desuca.co.jp-fix-map-height.css b/browser/extensions/webcompat/injections/css/bug1712833-buskocchi.desuca.co.jp-fix-map-height.css new file mode 100644 index 0000000000..b4b8ca4a34 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1712833-buskocchi.desuca.co.jp-fix-map-height.css @@ -0,0 +1,13 @@ +/* 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/. */ + +/** + * buskocchi.desuca.co.jp - Ensure that the map has a height so it is visible. + * Bug #1712833 - https://bugzilla.mozilla.org/show_bug.cgi?id=1712833 + * WebCompat issue #50837 - https://webcompat.com/issues/50837 + */ + +form[name="main"] { + height: 100%; +} diff --git a/browser/extensions/webcompat/injections/css/bug1741234-patient.alphalabs.ca-height-fix.css b/browser/extensions/webcompat/injections/css/bug1741234-patient.alphalabs.ca-height-fix.css new file mode 100644 index 0000000000..3765d1de1e --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1741234-patient.alphalabs.ca-height-fix.css @@ -0,0 +1,13 @@ +/* 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/. */ + +/** + * patient.alphalabs.ca - "Continue" button is overlapped by displaced page footer + * Bug #1741234 - https://bugzilla.mozilla.org/show_bug.cgi?id=1741234 + * WebCompat issue #93156 - https://webcompat.com/issues/93156 + */ + +body { + height: 100%; +} diff --git a/browser/extensions/webcompat/injections/css/bug1765947-veniceincoming.com-left-fix.css b/browser/extensions/webcompat/injections/css/bug1765947-veniceincoming.com-left-fix.css new file mode 100644 index 0000000000..8c1ab7b2ae --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1765947-veniceincoming.com-left-fix.css @@ -0,0 +1,13 @@ +/* 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/. */ + +/** + * veniceincoming.com - site is not usable + * Bug #1765947 - https://bugzilla.mozilla.org/show_bug.cgi?id=1765947 + * WebCompat issue #102133 - https://webcompat.com/issues/102133 + */ + +.tour-list .single-tour .mobile-link { + left: 0; +} diff --git a/browser/extensions/webcompat/injections/css/bug1770962-coldwellbankerhomes.com-image-height.css b/browser/extensions/webcompat/injections/css/bug1770962-coldwellbankerhomes.com-image-height.css new file mode 100644 index 0000000000..f9460951af --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1770962-coldwellbankerhomes.com-image-height.css @@ -0,0 +1,18 @@ +/* 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/. */ + +/** + * coldwellbankerhomes.com - Property images are displayed squeezed + * Bug #1770962 - https://bugzilla.mozilla.org/show_bug.cgi?id=1770962 + * WebCompat issue #102872 - https://webcompat.com/issues/102872 + */ + +.property-snapshot-psr-panel + .prop-pix + .photo-carousel.owl + .owl-stage-outer + .owl-item + img { + height: -moz-available; +} diff --git a/browser/extensions/webcompat/injections/css/bug1774490-rainews.it-gallery-fix.css b/browser/extensions/webcompat/injections/css/bug1774490-rainews.it-gallery-fix.css new file mode 100644 index 0000000000..840e4ad7fb --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1774490-rainews.it-gallery-fix.css @@ -0,0 +1,13 @@ +/* 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/. */ + +/** + * rainews.it - Image slideshow is not shown + * Bug #1774490 - https://bugzilla.mozilla.org/show_bug.cgi?id=1774490 + * WebCompat issue #105402 - https://webcompat.com/issues/105402 + */ + +.photogallery-swiper .swiper-slide { + height: auto; +} diff --git a/browser/extensions/webcompat/injections/css/bug1784141-aveeno.com-acuvue.com-unsupported.css b/browser/extensions/webcompat/injections/css/bug1784141-aveeno.com-acuvue.com-unsupported.css new file mode 100644 index 0000000000..50b5bb2e90 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1784141-aveeno.com-acuvue.com-unsupported.css @@ -0,0 +1,17 @@ +/* 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/. */ + +/** + * aveeno.com and acuvue.com - Unsupported message is displayed + * + * Bug #1784141 - aveeno.com - https://bugzilla.mozilla.org/show_bug.cgi?id=1784141 + * Bug #1804730 - acuvue.com - https://bugzilla.mozilla.org/show_bug.cgi?id=1804730 + * + * WebCompat issue #103557 - https://webcompat.com/issues/103557 + * WebCompat issue #103557 - https://webcompat.com/issues/110797 + */ + +#browser-alert { + display: none !important; +} diff --git a/browser/extensions/webcompat/injections/css/bug1784199-entrata-platform-unsupported.css b/browser/extensions/webcompat/injections/css/bug1784199-entrata-platform-unsupported.css new file mode 100644 index 0000000000..d20b84a99b --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1784199-entrata-platform-unsupported.css @@ -0,0 +1,18 @@ +/* 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/. */ + +/** + * aptsovation.com - Unsupported message is displayed on sites based on Entrata platform + * Bug #1784199 - https://bugzilla.mozilla.org/show_bug.cgi?id=1784199 + * WebCompat issue #100131 - https://webcompat.com/issues/100131 + */ + +* { + color: unset; +} + +#propertyProduct, +.banner_overlay { + display: none; +} diff --git a/browser/extensions/webcompat/injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css b/browser/extensions/webcompat/injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css new file mode 100644 index 0000000000..ab9788ddc1 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1819678-nppes.cms.hhs.gov-unsupported-banner.css @@ -0,0 +1,15 @@ +/* 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/. */ + +/** + * nppes.cms.hhs.gov - Firefox is an unsupported browser + * WebCompat issue #119017 - https://github.com/webcompat/web-bugs/issues/119017 + * + * As everything seems to work just fine, this intervention simply hides the + * banner. + */ + +#unsupportedDiv { + display: none !important; +} diff --git a/browser/extensions/webcompat/injections/css/bug1829949-tomshardware.com-scrollbar-width.css b/browser/extensions/webcompat/injections/css/bug1829949-tomshardware.com-scrollbar-width.css new file mode 100644 index 0000000000..f6bee8c878 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1829949-tomshardware.com-scrollbar-width.css @@ -0,0 +1,18 @@ +/* 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/. */ + +/** + * tomshardware.com - a scrollbar covering navigation menu + * Bug #1829949 - https://bugzilla.mozilla.org/show_bug.cgi?id=1829949 + * WebCompat issue #121170 - https://github.com/webcompat/web-bugs/issues/121170 + * + * The scrollbar is covering navigation items and that makes them half hidden. + * There are some ::-webkit-scrollbar css rules applied to the scrollbar, + * making it thinner. Adding similar rules for Firefox fixes the issue. + */ + +.trending__list { + scrollbar-width: thin; + scrollbar-color: #000 #f5f5f5; +} diff --git a/browser/extensions/webcompat/injections/css/bug1830747-babbel.com-page-height.css b/browser/extensions/webcompat/injections/css/bug1830747-babbel.com-page-height.css new file mode 100644 index 0000000000..1f7585e637 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1830747-babbel.com-page-height.css @@ -0,0 +1,17 @@ +/* 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/. */ + +/** + * my.babbel.com - "Next" button is not visible + * Bug #1830747 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830747 + * WebCompat issue #119212 - https://github.com/webcompat/web-bugs/issues/119212 + * + * The next button on the bottom of the page is not visible in Firefox, + * but visible in Chrome since the site is using -webkit-fill-available rule. + * Adding height: 100% to the page wrapper allows to see the button. + */ + +[data-main] { + height: 100%; +} diff --git a/browser/extensions/webcompat/injections/css/bug1830752-afisha.ru-slider-pointer-events.css b/browser/extensions/webcompat/injections/css/bug1830752-afisha.ru-slider-pointer-events.css new file mode 100644 index 0000000000..4a9950b810 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1830752-afisha.ru-slider-pointer-events.css @@ -0,0 +1,27 @@ +/* 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/. */ + +/** + * afisha.ru - Slider not working + * Bug #1830752 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830752 + * WebCompat issue #120455 - https://github.com/webcompat/web-bugs/issues/120455 + * + * The range slider for price filtering is not working because of pointer-events:none applied + * on the slider element. It's working in Chrome because of webkit specific rules + * set with -moz-range-thumb that override the pointer events on the slider thumb to auto. + * Setting the same rule with -moz-range-thumb makes the slider to work. + */ + +.XdRPG, +.gkKBB { + pointer-events: auto; +} +.XdRPG::-moz-range-thumb, +.gkKBB::-moz-range-thumb { + background-color: #ff3118; + border-color: #ff3118; + border-radius: 50%; + cursor: pointer; + pointer-events: auto; +} diff --git a/browser/extensions/webcompat/injections/css/bug1830761-91mobiles.com-content-height.css b/browser/extensions/webcompat/injections/css/bug1830761-91mobiles.com-content-height.css new file mode 100644 index 0000000000..f2e24346e1 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1830761-91mobiles.com-content-height.css @@ -0,0 +1,18 @@ +/* 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/. */ + +/** + * 91mobiles.com - Text overlapping + * Bug #1830761 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830761 + * WebCompat issue #117029 - https://github.com/webcompat/web-bugs/issues/117029 + * + * The content overlaps dedicated space since Firefox honors small heights on <td> + * due to https://bugzilla.mozilla.org/show_bug.cgi?id=1461852. Setting the height to + * fit-content makes it work as expected. + */ + +#fixed-table tr td .cmp-summary-box, +.cmpr-table .textpanel { + height: fit-content; +} diff --git a/browser/extensions/webcompat/injections/css/bug1830796-copyleaks.com-hide-unsupported.css b/browser/extensions/webcompat/injections/css/bug1830796-copyleaks.com-hide-unsupported.css new file mode 100644 index 0000000000..753835de6a --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1830796-copyleaks.com-hide-unsupported.css @@ -0,0 +1,13 @@ +/* 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/. */ + +/** + * copyleaks.com - Unsupported message + * Bug #1830796 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830796 + * WebCompat issue #121395 - https://github.com/webcompat/web-bugs/issues/121395 + */ + +#outdated { + display: none !important; +} diff --git a/browser/extensions/webcompat/injections/css/bug1830810-interceramic.com-hide-unsupported.css b/browser/extensions/webcompat/injections/css/bug1830810-interceramic.com-hide-unsupported.css new file mode 100644 index 0000000000..7726140d0e --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1830810-interceramic.com-hide-unsupported.css @@ -0,0 +1,13 @@ +/* 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/. */ + +/** + * interceramic.com - Unsupported message + * Bug #1830810 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830810 + * WebCompat issue #117807 - https://github.com/webcompat/web-bugs/issues/117807 + */ + +#ff-modal { + display: none !important; +} diff --git a/browser/extensions/webcompat/injections/css/bug1830813-page.onstove.com-hide-unsupported.css b/browser/extensions/webcompat/injections/css/bug1830813-page.onstove.com-hide-unsupported.css new file mode 100644 index 0000000000..23069c4259 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1830813-page.onstove.com-hide-unsupported.css @@ -0,0 +1,18 @@ +/* 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/. */ + +/** + * onstove.com - Unsupported message + * Bug #1830813 - https://bugzilla.mozilla.org/show_bug.cgi?id=1830813 + * WebCompat issue #116760 - https://github.com/webcompat/web-bugs/issues/116760 + */ + +.gnb-alerts.gnb-old-browser { + max-height: 0; +} + +.isCampaign .gnb-stove.gnb-default-fixed, +.isCampaign .layout.layout-base .layout-header { + height: 68px; +} diff --git a/browser/extensions/webcompat/injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css b/browser/extensions/webcompat/injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css new file mode 100644 index 0000000000..70fc01b86f --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1836103-autostar-novoross.ru-make-map-taller.css @@ -0,0 +1,13 @@ +/* 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/. */ + +/** + * autostar-novoross.ru - Map is not as tall as expected + * Bug #1836103 - https://bugzilla.mozilla.org/show_bug.cgi?id=1836103 + * WebCompat issue #80763 - https://github.com/webcompat/web-bugs/issues/80763 + */ + +.t396 .tn-atom { + height: 100%; +} diff --git a/browser/extensions/webcompat/injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css b/browser/extensions/webcompat/injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css new file mode 100644 index 0000000000..db6f018619 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1836105-cnn.com-fix-blank-pages-when-printing.css @@ -0,0 +1,19 @@ +/* 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/. */ + +/** + * cnn.com - Printing in portrait mode results in blank pages + * Bug #1836105 - https://bugzilla.mozilla.org/show_bug.cgi?id=1836105 + * + * Disable some of CNN's giant styles for height, top and margin-bottom, + * since they break print layout in Firefox (as per bug 1830307) + */ + +@media print { + .header__wrapper-outer { + height: initial !important; + top: initial !important; + margin-bottom: initial !important; + } +} diff --git a/browser/extensions/webcompat/injections/css/bug1848711-vio.com-page-height.css b/browser/extensions/webcompat/injections/css/bug1848711-vio.com-page-height.css new file mode 100644 index 0000000000..85ad4d3bee --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1848711-vio.com-page-height.css @@ -0,0 +1,16 @@ +/* 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/. */ + +/** + * vio.com - Map is not displayed + * Bug #1848711 - https://bugzilla.mozilla.org/show_bug.cgi?id=1848711 + * WebCompat issue #118126 - https://github.com/webcompat/web-bugs/issues/118126 + * + * vio.com uses min-height: -webkit-fill-available; on the canvas map parent + * element, which is not supported in Firefox, so the element has zero height. + */ + +.ec-44lvm8 { + height: 100%; +} diff --git a/browser/extensions/webcompat/injections/css/bug1848713-cleanrider.com-slider.css b/browser/extensions/webcompat/injections/css/bug1848713-cleanrider.com-slider.css new file mode 100644 index 0000000000..5cfb2263d9 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1848713-cleanrider.com-slider.css @@ -0,0 +1,20 @@ +/* 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/. */ + +/** + * www.cleanrider.com - The price slider does not work + * Bug #1848713 - https://bugzilla.mozilla.org/show_bug.cgi?id=1848713 + * WebCompat issue #123642 - https://github.com/webcompat/web-bugs/issues/123642 + * + * the site disables pointer events on the slider and only allows them + * in -webkit-slider-thumb style which is not supported in Firefox and + * depends on https://bugzilla.mozilla.org/show_bug.cgi?id=1735575 + */ + +input[type="range"]::-moz-range-thumb { + -webkit-appearance: none; + height: 24px; + pointer-events: all; + width: 24px; +} diff --git a/browser/extensions/webcompat/injections/css/bug1848716-elal.com-unsupported-banner.css b/browser/extensions/webcompat/injections/css/bug1848716-elal.com-unsupported-banner.css new file mode 100644 index 0000000000..22c81e50c5 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1848716-elal.com-unsupported-banner.css @@ -0,0 +1,16 @@ +/* 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/. */ + +/** + * www.elal.com - Firefox is an unsupported browser + * Bug #1848716 - https://bugzilla.mozilla.org/show_bug.cgi?id=1848716 + * WebCompat issue #85474 - https://github.com/webcompat/web-bugs/issues/85474 + * + * As everything seems to work just fine, this intervention simply hides the + * banner. + */ + +.pnlOldBrowser { + display: none !important; +} diff --git a/browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css b/browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css new file mode 100644 index 0000000000..48ab165347 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1848849-theaa.com-printing-mode-fix.css @@ -0,0 +1,19 @@ +/* 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/. */ + +/** + * www.theaa.com - Print preview is blank + * Bug #1848849 - https://bugzilla.mozilla.org/show_bug.cgi?id=1848849 + * WebCompat issue #117996 - https://github.com/webcompat/web-bugs/issues/117996 + * + * The site is adding a style rule of size: 16px for @page, which is very small and Chrome + * is ignoring the rule, while Firefox honours it. + * Depends on https://bugzilla.mozilla.org/show_bug.cgi?id=1807985 + */ + +@media print { + @page { + size: a3 !important; + } +} diff --git a/browser/extensions/webcompat/injections/css/bug1849019-axa-assistance.pl-datepicker-fix.css b/browser/extensions/webcompat/injections/css/bug1849019-axa-assistance.pl-datepicker-fix.css new file mode 100644 index 0000000000..239bbbfe5b --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1849019-axa-assistance.pl-datepicker-fix.css @@ -0,0 +1,19 @@ +/* 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/. */ + +/** + * www.axa-assistance.pl - The buttons for picking a date are not working + * Bug #1849019 - https://bugzilla.mozilla.org/show_bug.cgi?id=1849019 + * WebCompat issue #123068 - https://github.com/webcompat/web-bugs/issues/123068 + * + * The site delegates click events to a hidden date input to open its UI, + * which doesn't work in Firefox, but works in Chrome + * Depends on https://bugzilla.mozilla.org/show_bug.cgi?id=1840668 + */ + +.hiddenDate { + width: 100%; + height: 100%; + z-index: auto; +} diff --git a/browser/extensions/webcompat/injections/css/bug1849388-kucharkaprodceru.cz-scroll-fix.css b/browser/extensions/webcompat/injections/css/bug1849388-kucharkaprodceru.cz-scroll-fix.css new file mode 100644 index 0000000000..b619b7f778 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1849388-kucharkaprodceru.cz-scroll-fix.css @@ -0,0 +1,17 @@ +/* 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/. */ + +/** + * www.kucharkaprodceru.cz - Scrolling up triggers pull-refresh + * Bug #1849388 - https://bugzilla.mozilla.org/show_bug.cgi?id=1849388 + * WebCompat issue #123452 - https://github.com/webcompat/web-bugs/issues/123452 + * + * The site uses older version of jquery.nicescroll.js which adds + * overflow-y: auto to the body element only in Firefox. Resetting + * makes the scrolling work as expected + */ + +body { + overflow-y: auto !important; +} diff --git a/browser/extensions/webcompat/injections/css/bug1868345-tvmovie.de-scroll-fix.css b/browser/extensions/webcompat/injections/css/bug1868345-tvmovie.de-scroll-fix.css new file mode 100644 index 0000000000..de932ee597 --- /dev/null +++ b/browser/extensions/webcompat/injections/css/bug1868345-tvmovie.de-scroll-fix.css @@ -0,0 +1,17 @@ +/* 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/. */ + +/** + * www.tvmovie.de - Can't scroll tv program on tvmovie.de + * Bug #1868345 - https://bugzilla.mozilla.org/show_bug.cgi?id=1868345 + * Bug #1840166 - https://bugzilla.mozilla.org/show_bug.cgi?id=1840166 + * WebCompat issue #123254 - https://github.com/webcompat/web-bugs/issues/123254 + * + * Due to an unfortunate combination of table layout issues and schroll + * anchoring issues, the page keeps scrolling down forever, with no ability + * to scroll back up. + */ +:root { + overflow-anchor: none; +} |