Bug 1625754 - Partially reverse patch to scrollbar css for SeaMonkey for 2.57. r=IanN
authorDmitry Butskoy <dmitry@butskoy.name>
Sun, 29 Mar 2020 15:35:42 +0100
changeset 38615 1c4d7e7606f26b68cf972ec9be1e8a7020514673
parent 38614 83dced891b5400ada00ca5dc6e6c0ab179700ea7
child 38616 6d347949d057b7efe4efe049f210a24bacf6ef80
push id400
push userclokep@gmail.com
push dateMon, 04 May 2020 18:56:09 +0000
reviewersIanN
bugs1625754
Bug 1625754 - Partially reverse patch to scrollbar css for SeaMonkey for 2.57. r=IanN
suite/themes/classic/jar.mn
suite/themes/classic/linux/communicator/scrollbars.css
--- a/suite/themes/classic/jar.mn
+++ b/suite/themes/classic/jar.mn
@@ -71,17 +71,16 @@ classic.jar:
   skin/classic/communicator/button.css                                  (communicator/button.css)
   skin/classic/communicator/config.css                                  (communicator/config.css)
   skin/classic/communicator/customizeToolbar.css                        (communicator/customizeToolbar.css)
   skin/classic/communicator/datetimepicker.css                          (communicator/datetimepicker.css)
 #ifdef MOZ_WIDGET_GTK
   skin/classic/communicator/communicator.css                            (linux/communicator/communicator.css)
   skin/classic/communicator/numberbox.css                               (linux/communicator/numberbox.css)
   skin/classic/communicator/preferences.css                             (linux/communicator/preferences.css)
-  skin/classic/communicator/scrollbars.css                              (linux/communicator/scrollbars.css)
   skin/classic/communicator/spinbuttons.css                             (linux/communicator/spinbuttons.css)
 #else
   skin/classic/communicator/communicator.css                            (communicator/communicator.css)
   skin/classic/communicator/numberbox.css                               (communicator/numberbox.css)
   skin/classic/communicator/preferences.css                             (communicator/preferences.css)
   skin/classic/communicator/spinbuttons.css                             (communicator/spinbuttons.css)
 #endif
   skin/classic/communicator/toolbar.css                                 (communicator/toolbar.css)
@@ -503,12 +502,8 @@ classic.jar:
   skin/classic/navigator/icons/tab-drag-indicator.gif                   (navigator/icons/tab-drag-indicator.gif)
   skin/classic/navigator/icons/tab-new.gif                              (navigator/icons/tab-new.gif)
 [extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}] chrome.jar:
 % override chrome://global/skin/about.css                         chrome://communicator/skin/about.css
 % override chrome://global/skin/aboutSupport.css                  chrome://communicator/skin/aboutSupport.css
 % override chrome://global/skin/config.css                        chrome://communicator/skin/config.css
 % override chrome://global/skin/in-content/info-pages.css         chrome://communicator/skin/communicator.css
 % override chrome://mozapps/skin/places/defaultFavicon.svg        chrome://communicator/skin/places/bookmark-item.svg
-
-#ifdef MOZ_WIDGET_GTK
-% override chrome://global/skin/scrollbars.css                    chrome://communicator/skin/scrollbars.css
-#endif
deleted file mode 100644
--- a/suite/themes/classic/linux/communicator/scrollbars.css
+++ /dev/null
@@ -1,220 +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/. */
-
-/* ===== xulscrollbars.css ==============================================
-  == Styles used by XUL scrollbar-related elements.
-  ======================================================================= */
-
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
-
-/* ::::: scrollbar ::::: */
-
-scrollbar {
-  -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
-  cursor: default;
-  background: #888888;
-  border-left: 1px solid #555555;
-  border-right: 1px solid #555555;
-}
-
-scrollbar[orient="vertical"]
-{
-   -moz-appearance: scrollbar-vertical;
-  border-left: none;
-  border-right: none;
-  border-top: 1px solid #555555;
-  border-bottom: 1px solid #555555;
-}
-
-/* ::::: borders for thumb and buttons ::::: */
-
-thumb,
-scrollbarbutton {
-  border: 1px solid #555555;
-  background-color: -moz-Dialog;
-}
-
-/* ::::: thumb (horizontal) ::::: */
-
-thumb {
-  min-height: 8px;
-}
-
-thumb[orient="horizontal"] {
-  min-width: 8px;
-}
-
-/* ::::: scrollbar button ::::: */
-
-scrollbarbutton {
-  background: -moz-Dialog no-repeat 50% 50%;
-  min-width: 16px;
-  min-height: 16px;
-}
-
-scrollbarbutton:hover:active, scrollbarbutton[active="true"] {
-  border-color: #999999;
-  background-position: 60% 60%;
-}
-
-scrollbarbutton[sbattr="scrollbar-up-bottom"],
-scrollbarbutton[sbattr="scrollbar-down-top"] {
-  display: none;
-}
-
-scrollbarbutton[sbattr="scrollbar-up-top"],
-scrollbarbutton[sbattr="scrollbar-down-bottom"] {
-  display: -moz-box !important;
-}
-
-/* ::::: square at the corner of two scrollbars ::::: */
-
-scrollcorner {
-  /* XXX -moz-appearance: scrollcorner; */
-  -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar-base);
-  width: 16px;
-  cursor: default;
-  background-color: -moz-Dialog;
-}
-
-/* ..... increment .... */
-
-scrollbarbutton[type="increment"] {
-  -moz-appearance: scrollbarbutton-right;
-  background-image: url("chrome://global/skin/arrow/arrow-rit.gif")
-}
-
-scrollbarbutton[type="increment"][disabled="true"] {
-  background-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif")
-}
-
-scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {
-  -moz-appearance: scrollbarbutton-down;
-  background-image: url("chrome://global/skin/arrow/arrow-dn.gif")
-}
-
-scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] {
-  background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif")
-}
-
-/* ..... decrement .... */
-
-scrollbarbutton[type="decrement"] {
-  -moz-appearance: scrollbarbutton-left;
-   background-image: url("chrome://global/skin/arrow/arrow-lft.gif")
-}
-
-scrollbarbutton[type="decrement"][disabled="true"] {
-   background-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif")
-}
-
-scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {
-  -moz-appearance: scrollbarbutton-up;
-   background-image: url("chrome://global/skin/arrow/arrow-up.gif")
-}
-
-scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] {
-   background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif")
-}
-
-/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
-/* ::::::::::::::::::::: MEDIA PRINT :::::::::::::::::::::: */
-/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
-@media print {
-  /* ::::: scrollbar ::::: */
-
-  html|div scrollbar {
-    -moz-appearance: scrollbar-horizontal;
-    -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
-    cursor: default;
-    background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar;
-  }
-
-  html|div scrollbar[orient="vertical"]
-  {
-     -moz-appearance: scrollbar-vertical;
-  }
-
-  /* ::::: borders for thumb and buttons ::::: */
-
-  html|div thumb,
-  html|div scrollbarbutton {
-    border: 1px solid;
-    border-top-color: ThreeDLightShadow;
-    border-right-color: ThreeDDarkShadow;
-    border-bottom-color: ThreeDDarkShadow;
-    border-left-color: ThreeDLightShadow;
-    background-color: -moz-Dialog;
-  }
-
-  /* ::::: thumb (horizontal) ::::: */
-
-  html|div thumb {
-    -moz-appearance: scrollbarthumb-vertical;
-    min-height: 8px;
-  }
-
-  html|div thumb[orient="horizontal"] {
-    -moz-appearance: scrollbarthumb-horizontal;
-    min-width: 8px;
-  }
-
-  /* ::::: scrollbar button ::::: */
-
-  html|div scrollbarbutton {
-    background: -moz-Dialog no-repeat 50% 50%;
-    min-width: 16px;
-    min-height: 16px;
-  }
-
-  html|div scrollbarbutton:hover:active, html|div scrollbarbutton[active="true"] {
-    border-top-color: -moz-Dialog;
-    border-right-color: -moz-Dialog;
-    border-bottom-color: -moz-Dialog;
-    border-left-color: -moz-Dialog;
-    background-position: 60% 60%;
-  }
-
-  /* ..... increment .... */
-
-  html|div scrollbarbutton[type="increment"] {
-    -moz-appearance: scrollbarbutton-right;
-    background-image: url("chrome://global/skin/arrow/arrow-rit.gif")
-  }
-
-  html|div scrollbarbutton[type="increment"][disabled="true"] {
-    background-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif")
-  }
-
-  html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {
-    -moz-appearance: scrollbarbutton-down;
-    background-image: url("chrome://global/skin/arrow/arrow-dn.gif")
-  }
-
-  html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] {
-    background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif")
-  }
-
-  /* ..... decrement .... */
-
-  html|div scrollbarbutton[type="decrement"] {
-    -moz-appearance: scrollbarbutton-left;
-     background-image: url("chrome://global/skin/arrow/arrow-lft.gif")
-  }
-
-  html|div scrollbarbutton[type="decrement"][disabled="true"] {
-     background-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif")
-  }
-
-  html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {
-    -moz-appearance: scrollbarbutton-up;
-     background-image: url("chrome://global/skin/arrow/arrow-up.gif")
-  }
-
-  html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] {
-     background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif")
-  }
-
-}