Bug 1444740 - Part 3. Replace obsolete moz-border css styles in SeaMonkey Modern theme. r=IanN
authorBill Gianopoulos <wgianopoulos@gmail.com>
Sun, 02 Feb 2020 20:56:09 +0100
changeset 37263 4d69d0a1d74a256813385fcfed089883cdca2d6c
parent 37262 3f673febb509de790bf0b2a2243c96d110fe5a98
child 37264 5d2047317bdb1a062a31a14d919890f59312a559
push id2552
push userclokep@gmail.com
push dateMon, 10 Feb 2020 21:24:16 +0000
treeherdercomm-beta@f95a6f4408a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN
bugs1444740
Bug 1444740 - Part 3. Replace obsolete moz-border css styles in SeaMonkey Modern theme. r=IanN
suite/themes/modern/communicator/communicator.css
suite/themes/modern/communicator/customizeToolbar.css
suite/themes/modern/communicator/datetimepicker.css
suite/themes/modern/communicator/profile/profile.css
suite/themes/modern/communicator/sidebar/sidebar.css
suite/themes/modern/communicator/spinbuttons.css
suite/themes/modern/global/autocomplete.css
suite/themes/modern/global/button.css
suite/themes/modern/global/colorpicker.css
suite/themes/modern/global/dropmarker.css
suite/themes/modern/global/filefield.css
suite/themes/modern/global/groupbox.css
suite/themes/modern/global/listbox.css
suite/themes/modern/global/menulist.css
suite/themes/modern/global/popup.css
suite/themes/modern/global/preferences.css
suite/themes/modern/global/progressmeter.css
suite/themes/modern/global/richlistbox.css
suite/themes/modern/global/scale.css
suite/themes/modern/global/scrollbars-mini.css
suite/themes/modern/global/scrollbars.css
suite/themes/modern/global/splitter.css
suite/themes/modern/global/tabbox.css
suite/themes/modern/global/textbox.css
suite/themes/modern/global/tree.css
suite/themes/modern/messenger/mailWindow1.css
suite/themes/modern/messenger/messengercompose/messengercompose.css
suite/themes/modern/messenger/primaryToolbar.css
suite/themes/modern/mozapps/aboutNetworking.css
suite/themes/modern/mozapps/downloads/downloads.css
suite/themes/modern/mozapps/extensions/extensions.css
suite/themes/modern/mozapps/plugins/pluginInstallerWizard.css
suite/themes/modern/mozapps/update/updates.css
suite/themes/modern/mozapps/xpinstall/xpinstallConfirm.css
suite/themes/modern/navigator/navigator.css
suite/themes/modern/navigator/tabbrowser.css
--- a/suite/themes/modern/communicator/communicator.css
+++ b/suite/themes/modern/communicator/communicator.css
@@ -184,21 +184,17 @@ toolbar[iconsize="small"] > #print-butto
 .messageImage[value="MixedDisplayContentMessage"] {
   list-style-image: url("chrome://communicator/skin/icons/lock-broken-16.png");
 }
 
 /* ::::: dialog header ::::: */
 
 dialogheader {
   margin: 0px 5px 5px;
-  border: 2px solid;
-  -moz-border-top-colors: #858B97 #2D3B49;
-  -moz-border-right-colors: #ECEFF2 #2D3B49;
-  -moz-border-bottom-colors: #ECEFF2 #2D3B49;
-  -moz-border-left-colors: #858B97 #2D3B49;
+  border: 1px solid #2D3B49;
   padding: 5px 8px;
   background-color: #90A1B3;
   color: #000000;
 }
 
 .dialogheader-title {
   margin: 0px !important;
   font-size: 120%;
--- a/suite/themes/modern/communicator/customizeToolbar.css
+++ b/suite/themes/modern/communicator/customizeToolbar.css
@@ -9,15 +9,12 @@ dialog {
 
 #instructions {
   font-weight: bold;
   font-size: 120%;
 }
 
 #CustomizeToolbarWindow > #main-box {
   border-top: none;
-  border-left: 2px solid;
-  border-right: 2px solid;
-  border-bottom: 3px solid;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #5D616E #5D616E #BEC3D3;
-  -moz-border-left-colors: #5D616E #F8FAFE;
+  border-left: 1px solid #5D616E;
+  border-right: 1px solid #5D616E;
+  border-bottom: 2px solid #5D616E;
 }
--- a/suite/themes/modern/communicator/datetimepicker.css
+++ b/suite/themes/modern/communicator/datetimepicker.css
@@ -11,21 +11,17 @@
 
 datepicker, timepicker {
   margin: 2px 4px;
   font: inherit;
   cursor: default;
 }
 
 .datetimepicker-input-box {
-  border: 2px solid;
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border: 1px solid #5D616E;
   padding: 1px;
   background-color: #FFFFFF;
   color: #000000;
 }
 
 html|*.datetimepicker-input {
   text-align: right;
   width: 1.6em;
--- a/suite/themes/modern/communicator/profile/profile.css
+++ b/suite/themes/modern/communicator/profile/profile.css
@@ -31,17 +31,17 @@ hbox.wizard-box {
   margin-top: -7px;
   margin-bottom: 5px;
   margin-inline-start: -7px;
   margin-inline-end: -5px;
   border-left: none;
   border-right: none;
   border-top: none;
   border-bottom-width: 1px;
-  -moz-border-bottom-colors: #000000;
+  border-bottom-color: #000000;
   padding-top: 12px;
   padding-bottom: 12px;
   padding-inline-start: 25px;
   padding-inline-end: 5px;
   background-color: #90A1B3;
   color: #000000;
 }
 
--- a/suite/themes/modern/communicator/sidebar/sidebar.css
+++ b/suite/themes/modern/communicator/sidebar/sidebar.css
@@ -76,24 +76,24 @@
 .image-panel-loading {
   margin: 5px;
   list-style-image: url("chrome://communicator/skin/icons/loading.gif");
 }
 
 /* ::::: sidebar panel ::::: */
 
 .iframe-panel {
-  border-bottom: 6px solid;
-  -moz-border-bottom-colors: #B9C4D0 #B9C4D0 #B9C4D0 #B9C4D0 #DAE3ED #96A7B8;
+  border-bottom: 1px solid;
+  border-bottom-color: #96A7B8;
 }
 
 .browser-sidebar {
   -moz-binding: url("chrome://global/skin/globalBindings.xml#browser-miniscroll") !important;
-  border-bottom: 6px solid;
-  -moz-border-bottom-colors: #B9C4D0 #B9C4D0 #B9C4D0 #B9C4D0 #DAE3ED #96A7B8;  
+  border-bottom: 1px solid;
+  border-bottom-color: #96A7B8;  
 }
 
 
 /* ::::: sidebar tabs ::::: */
 
 /* ..... normal tabs ..... */
  
 .box-texttab {
@@ -103,19 +103,19 @@
 }
 
 .sidebar-tab-left-box,
 .sidebar-tab-right-box {
   margin-bottom: 3px;
 }
 
 .sidebar-tab-left-box {
-  border-top: 2px solid;
+  border-top: 1px solid;
   border-bottom: 2px solid #B9C4D0;
-  -moz-border-top-colors: #8A9DAF #D4E1EA;
+  border-top-color: #8A9DAF;
   min-width: 90px;
 }
 
 .sidebar-tab-left {
   width: 10px;
   background: url("chrome://communicator/skin/sidebar/sbtab-lft.gif") no-repeat;
 }
 
@@ -130,25 +130,25 @@
   list-style-image: url("chrome://communicator/skin/sidebar/sbtab-rit-top.gif");
 }
 
 .sidebar-tab-right-btm {
   min-height: 5px;
 }
 
 .sidebar-tab-right-line {
-  border-bottom: 2px solid;
-  -moz-border-bottom-colors: #DAE3ED #96A7B8;
+  border-bottom: 1px solid;
+  border-bottom-color: #96A7B8;
 }
 
 /* ..... hover state ..... */
 
 .box-texttab:hover > .sidebar-tab-left-box {
-  border-bottom: 2px solid;
-  -moz-border-bottom-colors: #CCD7E2 #9CADBB;
+  border-bottom: 1px solid;
+  border-bottom-color: #9CADBB;
 }
 
 .box-texttab:hover > .sidebar-tab-right-box > .sidebar-tab-right-top-box 
     > .sidebar-tab-right-img 
 {
   list-style-image: url("chrome://communicator/skin/sidebar/sbtab-rit-top-hov.gif");
 }
 
@@ -159,20 +159,20 @@
 /* ..... active state ..... */
 
 .box-texttab:hover:active {
   border-left: none;
   color: #FFFFFF;
 }
 
 .box-texttab:hover:active > .sidebar-tab-left-box {
-  border-left: 2px solid;
-  -moz-border-bottom-colors: #D8E2EC #A1B1BE	;
-  -moz-border-top-colors: #8A9DAF #748490;
-  -moz-border-left-colors: #737E8A #90A0AD;
+  border-left: 1px solid;
+  border-bottom-color: #A1B1BE	;
+  border-top-color: #748490;
+  border-left-color: #737E8A;
   background-color: #A1B1BE;
 }
 
 .box-texttab:hover:active > .sidebar-tab-left-box > .sidebar-tab-left {
   background-image: url("chrome://communicator/skin/sidebar/sbtab-lft-act.gif");
 }
 
 .box-texttab:hover:active > .sidebar-tab-left-box > .sidebar-tab-text {
@@ -195,17 +195,17 @@
   border-left: 1px solid #E8EEF5 !important;
   border-bottom: 1px solid #CBD5E0 !important;
   color: #000000 !important;
 }
 
 .box-texttab[selected] > .sidebar-tab-left-box {
   border-bottom: none !important;
   border-left: none !important;
-  -moz-border-top-colors: #8A9DAF #DFEBF2 !important;
+  border-top-color: #8A9DAF !important;
   background-color: #CBD5E0 !important;
 }
 
 .box-texttab[selected] > .sidebar-tab-left-box,
 .box-texttab[selected] > .sidebar-tab-right-box {
   margin-bottom: 0 !important;
 }
 
@@ -224,17 +224,17 @@
 }
 
 .box-texttab[selected] > .sidebar-tab-right-box > .sidebar-tab-right-btm {
   background: #CBD5E0 !important;
 }
 
 .box-texttab[selected] > .sidebar-tab-right-box > .sidebar-tab-right-top-box > .sidebar-tab-right-line 
 {
-  -moz-border-bottom-colors: #E2EAF4 #8CA2B3 !important;
+  border-bottom-color: #8CA2B3 !important;
 }
 
 /* ::::: sidebar navigation buttons ::::: */
 
 .sidebar-nav-button {
   padding: 5px 0px 5px 0px;
 }
 
--- a/suite/themes/modern/communicator/spinbuttons.css
+++ b/suite/themes/modern/communicator/spinbuttons.css
@@ -2,44 +2,47 @@
  * 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/. */
 
 spinbuttons {
   height: 16px;
 }
 
 .spinbuttons-button {
-  border: 2px solid;
-  -moz-border-top-colors: #5D616E #B1BBC9;
-  -moz-border-right-colors: #2D3B49 #A7B4C1;
-  -moz-border-bottom-colors: #2D3B49 #9DAAB9;
-  -moz-border-left-colors: #5D616E #B1BBC9;
+  border: 1px solid;
+  padding: 1px;
+  border-top-color: #5D616E;
+  border-right-color: #2D3B49;
+  border-bottom-color: #2D3B49;
+  border-left-color: #5D616E;
   border-radius: 0;
   background: #B1BBC5 50% 50% no-repeat;
   width: 13px;
   min-width: 13px;
   margin: 0;
   -moz-box-flex: 1;
 }
 
 .spinbuttons-button:hover:active {
-  -moz-border-top-colors: #8290A5 #899AAC;
-  -moz-border-right-colors: #8290A5 #899AAC;
-  -moz-border-bottom-colors: #8290A5 #899AAC;
-  -moz-border-left-colors: #8290A5 #899AAC;
+  border-color: #8290A5;
+  border-top-color: #8290A5;
+  border-right-color: #8290A5;
+  border-bottom-color: #8290A5;
+  border-left-color: #8290A5;
   background-color: #90A1B3;
 }
 
 .spinbuttons-button[disabled="true"] {
   background-color: #B7BFCB;
-  border: 2px solid !important;
-  -moz-border-top-colors: #8290A5 #C6CDD7 !important;
-  -moz-border-right-colors: #8290A5 #A9B5C1 !important;
-  -moz-border-bottom-colors: #8290A5 #A9B5C1 !important;
-  -moz-border-left-colors: #8290A5 #C6CDD7 !important;
+  border: 1px solid !important;
+  padding: 1px !important;
+  border-top-color: #8290A5 !important;
+  border-right-color: #8290A5 !important;
+  border-bottom-color: #8290A5 !important;
+  border-left-color: #8290A5 !important;
 }
 
 .spinbuttons-up {
   list-style-image: url("chrome://global/skin/scrollbar/mini-btn-up.gif");
 }
 
 .spinbuttons-down {
   list-style-image: url("chrome://global/skin/scrollbar/mini-btn-dn.gif");
--- a/suite/themes/modern/global/autocomplete.css
+++ b/suite/themes/modern/global/autocomplete.css
@@ -41,20 +41,17 @@ textbox[nomatch="true"][highlightnonmatc
 
 /* ::::: autocomplete popups ::::: */
 
 panel[type="autocomplete"],
 panel[type="autocomplete-richlistbox"],
 .autocomplete-history-popup {
   -moz-appearance: none;
   border: 1px solid;
-  -moz-border-top-colors: #6B747E;
-  -moz-border-right-colors: #6B747E;
-  -moz-border-bottom-colors: #6B747E;
-  -moz-border-left-colors: #6B747E;
+  border-color: #6B747E;
   background-color: #FFFFFF;
 }
 
 .autocomplete-history-popup {
   max-height: 180px;
 }
 
 /* ::::: tree ::::: */
--- a/suite/themes/modern/global/button.css
+++ b/suite/themes/modern/global/button.css
@@ -5,22 +5,20 @@
 /* ===== button.css =====================================================
   == Styles used by the XUL (and XHTML in netError.xhtml) button element.
   ======================================================================= */
 
 /* :::::::::: button :::::::::: */
 
 button {
   margin: 2px;
-  border: 6px solid;
-  -moz-border-top-colors: transparent transparent transparent #000000 #BBC6D1 #B1BBC9;
-  -moz-border-right-colors: transparent transparent transparent #000000 #A2AEBB #A7B4C1;
-  -moz-border-bottom-colors: transparent transparent transparent #000000 #97A6B6 #9DAAB9;
-  -moz-border-left-colors: transparent transparent transparent #000000 #BBC6D1 #B1BBC9;
-  border-radius: 5px;
+  border: 1px solid;
+  padding: 3px;
+  border-color: #5F5F5F;
+  border-radius: 2px;
   min-width: 6em;
   background-color: #AAB6C4;
   background-clip: padding-box;
   color: #000000;
   font: menu;
 }
 
 .button-icon {
@@ -33,84 +31,61 @@ button {
   margin-inline-start: 4px !important;
   margin-inline-end: 6px !important;
   text-align: center;
 }
 
 /* .......... focused state .......... */
 
 button:focus {
-  -moz-border-top-colors: transparent #98A5B2 #98A5B2 #000000 #BBC6D1 #B1BBC9;
-  -moz-border-right-colors: transparent #98A5B2 #98A5B2 #000000 #A2AEBB #A7B4C1;
-  -moz-border-bottom-colors: transparent #98A5B2 #98A5B2 #000000 #97A6B6 #9DAAB9;
-  -moz-border-left-colors: transparent #98A5B2 #98A5B2 #000000 #BBC6D1 #B1BBC9;
+  border-color: #000000;
 }
 
 /* .......... active/open/checked state .......... */
 
 button:hover:active,
 button[checked="true"],
 button[open="true"] {
-  -moz-border-top-colors: transparent transparent transparent #000000 #8290A5 #899AAC;
-  -moz-border-right-colors: transparent transparent transparent #000000 #8290A5 #899AAC;
-  -moz-border-bottom-colors: transparent transparent transparent #000000 #8290A5 #899AAC;
-  -moz-border-left-colors: transparent transparent transparent #000000 #8290A5 #899AAC;
+  border-color: #000000;
   background-color: #90A1B3;
   color: #FFFFFF;
 }
 
 button:hover:active:focus,
 button[checked="true"]:focus,
 button[open="true"]:focus {
-  -moz-border-top-colors: transparent #98A5B2 #98A5B2 #000000 #8290A5 #899AAC;
-  -moz-border-right-colors: transparent #98A5B2 #98A5B2 #000000 #8290A5 #899AAC;
-  -moz-border-bottom-colors: transparent #98A5B2 #98A5B2 #000000 #8290A5 #899AAC;
-  -moz-border-left-colors: transparent #98A5B2 #98A5B2 #000000 #8290A5 #899AAC;
+  border: 2px solid;
+  border-color: #000000;
 }
 
 /* .......... disabled state .......... */
 
 button[disabled="true"] {
-  -moz-border-top-colors: transparent transparent transparent #8290A5 #C6CDD7 #BCC5D1 !important;
-  -moz-border-right-colors: transparent transparent transparent #8290A5 #A9B5C1 #B2BAC7 !important;
-  -moz-border-bottom-colors: transparent transparent transparent #8290A5 #A9B5C1 #B2BAC7 !important;
-  -moz-border-left-colors: transparent transparent transparent #8290A5 #C6CDD7 #BCC5D1 !important;
+  border-color: #8290A5 !important;
   background-color: #B7BFCB !important;
   color: #8C99AB !important;
 }
   
 /* .......... default state .......... */
 
 button[default="true"] {
-  -moz-border-top-colors: transparent transparent #000000 #000000 #BBC6D1 #B1BBC9;
-  -moz-border-right-colors: transparent transparent #000000 #000000 #A2AEBB #A7B4C1;
-  -moz-border-bottom-colors: transparent transparent #000000 #000000 #97A6B6 #9DAAB9;
-  -moz-border-left-colors: transparent transparent #000000 #000000 #BBC6D1 #B1BBC9;
+  border-color: #000000;
 }
 
 button[default="true"]:hover:active {
-  -moz-border-top-colors: transparent transparent #000000 #000000 #8290A5 #899AAC;
-  -moz-border-right-colors: transparent transparent #000000 #000000 #8290A5 #899AAC;
-  -moz-border-bottom-colors: transparent transparent #000000 #000000 #8290A5 #899AAC;
-  -moz-border-left-colors: transparent transparent #000000 #000000 #8290A5 #899AAC;
-  border-radius: 4px;
+  border-color: #000000;
+  border-radius: 2px;
 }
 
 button[default="true"]:hover:active:focus {
-  -moz-border-top-colors: #98A5B2 #98A5B2 #000000 #000000 #8290A5 #899AAC;
-  -moz-border-right-colors: #98A5B2 #98A5B2 #000000 #000000 #8290A5 #899AAC;
-  -moz-border-bottom-colors: #98A5B2 #98A5B2 #000000 #000000 #8290A5 #899AAC;
-  -moz-border-left-colors: #98A5B2 #98A5B2 #000000 #000000 #8290A5 #899AAC;
+  border-color: #000000;
 }
 
 button[default="true"]:focus {
-  -moz-border-top-colors: #98A5B2 #98A5B2 #000000 #000000 #BBC6D1 #B1BBC9;
-  -moz-border-right-colors: #98A5B2 #98A5B2 #000000 #000000 #A2AEBB #A7B4C1;
-  -moz-border-bottom-colors: #98A5B2 #98A5B2 #000000 #000000 #97A6B6 #9DAAB9;
-  -moz-border-left-colors: #98A5B2 #98A5B2 #000000 #000000 #BBC6D1 #B1BBC9;
+  border-color: #000000;
 }
 
 /* ::::: menu/menu-button buttons ::::: */
 
 button[type="menu-button"] {
   border: none;
   background: transparent !important;
 }
--- a/suite/themes/modern/global/colorpicker.css
+++ b/suite/themes/modern/global/colorpicker.css
@@ -8,49 +8,36 @@
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: colorpicker button ::::: */
  
 colorpicker[type="button"] {
   width: 38px;
   height: 24px;
-  border: 4px solid;
-  -moz-border-top-colors: transparent transparent #97A4B2 #DFE5EF;
-  -moz-border-right-colors: transparent transparent #3B414F #AAB4BF;
-  -moz-border-bottom-colors: transparent transparent #3B414F #AAB4BF;
-  -moz-border-left-colors: transparent transparent #97A4B2 #DFE5EF;
+  border: 4px solid transparent;
   background-color: #C7D0D9;
   padding: 3px;
 }
 
 .colorpicker-button-colorbox {
   border: 1px solid #000000;
 }
 
 colorpicker[type="button"][open="true"] {
-  -moz-border-top-colors: transparent transparent #3B414F #A6B3C0;
-  -moz-border-right-colors: transparent transparent #3B414F #A6B3C0;
-  -moz-border-bottom-colors: transparent transparent #3B414F #A6B3C0;
-  -moz-border-left-colors: transparent transparent #3B414F #A6B3C0;
+  border-color: #3B414F;
   background-color: #A6B3C0;
 }
 
 colorpicker[type="button"]:focus {
-  -moz-border-top-colors: #98A5B2 #98A5B2 #97A4B2 #DFE5EF;
-  -moz-border-right-colors: #98A5B2 #98A5B2 #3B414F #AAB4BF;
-  -moz-border-bottom-colors: #98A5B2 #98A5B2 #3B414F #AAB4BF;
-  -moz-border-left-colors: #98A5B2 #98A5B2 #97A4B2 #DFE5EF;
+  border-color: #98A5B2;
 }
 
 colorpicker[type="button"][open="true"]:focus {
-  -moz-border-top-colors: #98A5B2 #98A5B2 #3B414F #A6B3C0;
-  -moz-border-right-colors: #98A5B2 #98A5B2 #3B414F #A6B3C0;
-  -moz-border-bottom-colors: #98A5B2 #98A5B2 #3B414F #A6B3C0;
-  -moz-border-left-colors: #98A5B2 #98A5B2 #3B414F #A6B3C0;
+  border-color: #98A5B2;
 }
 
 /* ::::: colorpicker tiles ::::: */
 
 .colorpickertile {
   width: 20px;
   height: 20px;
   margin: 1px;
--- a/suite/themes/modern/global/dropmarker.css
+++ b/suite/themes/modern/global/dropmarker.css
@@ -1,27 +1,24 @@
 /* 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/. */
 
 dropmarker {
   -moz-box-align: center;
   -moz-box-pack: center;
   border: 3px solid;
-  -moz-border-top-colors: #000000 #BBC4D1 #B3BBC9;
-  -moz-border-bottom-colors: #000000 #99A7B7 #9EACBB;
-  -moz-border-right-colors: #000000 #99A7B7 #9EACBB;
-  -moz-border-left-colors: #000000 #BBC4D1 #B3BBC9;
+  border-top-color: #BBC4D1;
+  border-right-color: #99A7B7;
+  border-bottom-color: #99A7B7;
+  border-left-color: #BBC4D1;
   border-radius: 2px;
   padding-top: 3px;
   padding-bottom: 2px;
   background-color: #A6B3C0;
   list-style-image: url("chrome://global/skin/menulist/mlist-arrow.gif");
 }
 
 dropmarker[disabled="true"] {
-  -moz-border-top-colors: #727D8E #D0D6DF #BDC6D2 !important;
-  -moz-border-right-colors: #727D8E #AAB5C2 #B3BBC8 !important;
-  -moz-border-top-colors: #727D8E #D0D6DF #BDC6D2 !important;
-  -moz-border-bottom-colors: #727D8E #AAB5C2 #B3BBC8 !important;
+  border-color: #727D8E !important;
   background-color: #B7BFCB !important;
   list-style-image: url("chrome://global/skin/menulist/mlist-dis-arrow.gif") !important;
 }
--- a/suite/themes/modern/global/filefield.css
+++ b/suite/themes/modern/global/filefield.css
@@ -2,32 +2,25 @@
  * 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/. */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* File Field Widget */
 filefield {
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border: 1px solid #5D616E;
 }
 
 .fileFieldContentBox {
   background-color: #C7D0D9;
 }
 
 filefield[disabled="true"] {
-  -moz-border-top-colors: #BEC3D3 #98A5B2;
-  -moz-border-right-colors: #F8FAFE #98A5B2;
-  -moz-border-bottom-colors: #F8FAFE #98A5B2;
-  -moz-border-left-colors: #BEC3D3 #98A5B2;
+  border-color: #98A5B2;
 }
 
 .fileFieldIcon[disabled="true"] {
  opacity: 0.4;
 }
 
 .fileFieldIcon {
   width: 16px;
--- a/suite/themes/modern/global/groupbox.css
+++ b/suite/themes/modern/global/groupbox.css
@@ -7,21 +7,17 @@
   ======================================================================= */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: groupbox ::::: */
 
 groupbox {
   margin: 5px;
-  border: 2px solid;
-  -moz-border-top-colors: #858B97 #ECEFF2;
-  -moz-border-right-colors: #ECEFF2 #858B97;
-  -moz-border-bottom-colors: #ECEFF2 #858B97;
-  -moz-border-left-colors: #858B97 #ECEFF2;
+  border: 1px solid #858B97;
   padding: 5px;
 }
 
 .groupbox-body {
   padding: inherit;
 }
 
 caption {
--- a/suite/themes/modern/global/listbox.css
+++ b/suite/themes/modern/global/listbox.css
@@ -7,21 +7,17 @@
   ======================================================================= */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: listbox ::::: */
 
 listbox {
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border: 1px solid #5D616E;
   background-color: #FFFFFF;
   color: #000000;
 }
 
 listbox[disabled="true"] {
   color: #999999;
 }
 
@@ -73,35 +69,31 @@ listcell {
 .listcell-check[disabled="true"][checked="true"] {
   list-style-image: url("chrome://global/skin/checkbox/cbox-dis-check.gif");
 }
 
 /* ::::: listheader ::::: */
 
 listheader {
   -moz-box-align: center;
-  border: 2px solid;
-  -moz-border-top-colors: #EEF0F3 #C7D0D9;
-  -moz-border-right-colors: #63676B #A5ABB0;
-  -moz-border-bottom-colors: #63676B #A5ABB0;
-  -moz-border-left-colors: #EEF0F3 #C7D0D9;
+  border: 1px solid;
+  border-top-color: #C7D0D9;
+  border-right-color: #63676B;
+  border-bottom-color: #63676B;
+  border-left-color: #C7D0D9;
   padding: 0 4px;
   background-color: #C7D0D9;
   color: #000000;
 }
 
 listheader[sortable="true"]:hover:active {
-  border-top: 2px solid;
-  border-right: 1px solid;
-  border-bottom: 1px solid;
-  border-left: 2px solid;
-  -moz-border-top-colors: #A5ABB0 #C7D0D9;
-  -moz-border-right-colors: #A5ABB0;
-  -moz-border-bottom-colors: #A5ABB0;
-  -moz-border-left-colors: #A5ABB0 #C7D0D9;
+  border-top: 1px solid #A5ABB0;
+  border-right: 1px solid #A5ABB0;
+  border-bottom: 1px solid #A5ABB0;
+  border-left: 1px solid #A5ABB0;
   padding-top: 1px;
   padding-bottom: 0px;
   padding-inline-start: 5px;
   padding-inline-end: 4px;
 }
 
 .listheader-icon {
   margin-inline-end: 2px;
--- a/suite/themes/modern/global/menulist.css
+++ b/suite/themes/modern/global/menulist.css
@@ -34,31 +34,28 @@ menulist {
 
 .menulist-icon {
   margin-inline-end: 2px;
 }
 
 .menulist-label-box {
   -moz-box-align: center;
   -moz-box-pack: center;
-  border-top: 3px solid;
-  border-bottom: 3px solid;
-  border-left: 3px solid;
-  -moz-border-top-colors: #000000 #BBC4D1 #B3BBC9;
-  -moz-border-bottom-colors: #000000 #99A7B7 #9EACBB;
-  -moz-border-left-colors: #000000 #BBC4D1 #B3BBC9;
+  padding: 2px;
+  border: 1px solid #000000;
+  border-right: 1px solid transparent;
   border-top-left-radius: 2px;
   border-bottom-left-radius: 2px;
   background-color: #A6B3C0;
   padding-inline-start: 8px;
 }
 
 .menulist-dropmarker {
-  border-left: 2px solid;
-  -moz-border-left-colors: #6D7C8F #C1CBD9;
+  border: 1px solid black;
+  border-left: 1px solid #6D7C8F;
   border-top-left-radius: 0px;
   border-bottom-left-radius: 0px;
 }
 
 .menulist-dropmarker > .dropmarker-icon {
   margin: 1px 2px 0px;
 }
 
@@ -72,44 +69,44 @@ menulist:focus {
 
 /* ..... active state ..... */
   
 menulist[open="true"] {
   color: #FFFFFF;
 }
   
 menulist[open="true"] > .menulist-label-box {
-  -moz-border-top-colors: #313948 #8393A7 #8C9DAF;
-  -moz-border-bottom-colors: #313948 #8393A7 #8C9DAF;
-  -moz-border-left-colors: #313948 #8393A7 #8C9DAF;
+  border-top-color: #313948;
+  border-bottom-color: #313948;
+  border-left-color: #313948;
   background-color: #91A2B4;
 }
 
 menulist[open="true"] > .menulist-dropmarker {
   list-style-image: url("chrome://global/skin/menulist/mlist-act-arrow.gif");
 }
 
 /* ..... disabled state ..... */
 
 menulist[disabled="true"] {
   color: #8C99AB !important;
 }
   
 menulist[disabled="true"] > .menulist-label-box {
-  -moz-border-top-colors: #727D8E #D0D6DF #BDC6D2 !important;
-  -moz-border-bottom-colors: #727D8E #AAB5C2 #B3BBC8 !important;
+  border-top-color: #727D8E !important;
+  border-bottom-color: #727D8E !important;
   background-color: #B7BFCB !important;
 }
 
 menulist[disabled="true"] > .menulist-label-box {
-  -moz-border-left-colors: #727D8E #C9D0D9 #BDC6D2 !important;
+  border-left-color: #727D8E !important;
 }
 
 menulist[disabled="true"] > .menulist-dropmarker {
-  -moz-border-left-colors: #95A1AD #C7D0DC !important;
+  border-left-color: #95A1AD !important;
 }
 
 /* ::::: editable menulists ::::: */
 
 .menulist-editable-box {
   border: 1px solid #000000;
   border-right: none;
   background-color: #FFFFFF;
@@ -135,21 +132,21 @@ menulist[focused="true"] {
 }
 
 /* ::::: compact menulists ::::: */
 
 .menulist-compact {
   -moz-box-align: center;
   -moz-box-pack: center;
   margin: 0;
-  border: 2px solid;
-  -moz-border-top-colors: #CED5DD #A6B3C0;
-  -moz-border-right-colors: #5D616E #99A9BA;
-  -moz-border-bottom-colors: #5D616E #99A9BA;
-  -moz-border-left-colors: #CED5DD #A6B3C0;
+  border: 1px solid;
+  border-top-color: #A6B3C0;
+  border-right-color: #5D616E;
+  border-bottom-color: #5D616E;
+  border-left-color: #A6B3C0;
   border-radius: 0;
   padding: 1px;
   min-height: 0px;
   background-color: #A6B3C0;
   color: #000000;
 }
 
 .menulist-compact > .menulist-label {
@@ -170,14 +167,14 @@ menulist[focused="true"] {
   list-style-image: url("chrome://global/skin/menulist/mlist-compact-arrow.gif");
 }
 
 .menulist-compact:focus {
   border-radius: 0;
 }
       
 .menulist-compact[open="true"] {
-  -moz-border-top-colors: #788797 #91A2B4;
-  -moz-border-right-colors: #5D616E #788797;
-  -moz-border-bottom-colors: #5D616E #788797;
-  -moz-border-left-colors: #788797 #91A2B4;
+  border-top-color: #788797;
+  border-right-color: #5D616E;
+  border-bottom-color: #5D616E;
+  border-left-color: #788797;
   background-color: #91A2B4;
 }
--- a/suite/themes/modern/global/popup.css
+++ b/suite/themes/modern/global/popup.css
@@ -10,21 +10,17 @@
 
 /* ::::: popup/menupopup ::::: */
 
 .panel-arrowcontent,
 panel:not([type="arrow"]),
 menupopup,
 popup {
   cursor: default;
-  border: 2px solid;
-  -moz-border-top-colors: #7F8893 #EEF4FC;
-  -moz-border-right-colors: #7F8893 #B9BFC7;
-  -moz-border-bottom-colors: #7F8893 #B9BFC7;
-  -moz-border-left-colors: #7F8893 #EEF4FC;
+  border: 1px solid #7F8893;
   min-width: 1px;
   background-color: #DDE3EB;
   color: #22262F;
 }
 
 menupopup > menu > menupopup,
 popup > menu > menupopup {
   margin: -2px;
@@ -47,32 +43,32 @@ panel[type="arrow"][side="right"] {
 /* The arrow is empty, but it has equal triangular borders on all four sides.
    We just have to turn on the border on the side touching the content. */
 .panel-arrow {
   border: 16px solid transparent;
 }
 
 .panel-arrow[side="top"] {
   border-top-style: none;
-  -moz-border-bottom-colors: #7F8893;
+  border-bottom-color: #7F8893;
 }
 
 .panel-arrow[side="bottom"] {
   border-bottom-style: none;
-  -moz-border-top-colors: #7F8893;
+  border-top-color: #7F8893;
 }
 
 .panel-arrow[side="left"] {
   border-left-style: none;
-  -moz-border-right-colors: #7F8893;
+  border-right-color: #7F8893;
 }
 
 .panel-arrow[side="right"] {
   border-right-style: none;
-  -moz-border-left-colors: #7F8893;
+  border-left-color: #7F8893;
 }
 
 /* ::::: tooltip ::::: */
 
 tooltip {
   margin-top: 21px;
   border: 1px solid #000000;
   padding: 2px 3px;
@@ -92,20 +88,17 @@ tooltip[titletip="true"] {
   max-width: none;
 }
 
 /* ::::: menulist popup :::::: */
 
 menulist > menupopup,
 .menulist-menupopup {
   border-width: 1px;
-  -moz-border-top-colors: #000000;
-  -moz-border-right-colors: #000000;
-  -moz-border-bottom-colors: #000000;
-  -moz-border-left-colors: #000000;
+  border-color: #000000;
   padding: 0px;
   min-width: 0px;
 }
 
 menupopup > menu > .menulist-menupopup,
 popup > menu > .menulist-menupopup {
   margin: -1px;
 }
--- a/suite/themes/modern/global/preferences.css
+++ b/suite/themes/modern/global/preferences.css
@@ -47,18 +47,17 @@ radio[pane][selected="true"] {
 }
 
 radio[pane]:hover:active {
   background-color: #90A1B3;
   color: #FFFFFF;
 }
 
 .paneSelector {
-  border-bottom: 2px solid;
-  -moz-border-bottom-colors: #ECEFF2 #2D3B49;
+  border-bottom: 1px solid #2D3B49;
   margin: 0px;
   padding-inline-start: 10px;
   background-color: #FFFFFF;
   color: #000000;
 }
 
 .paneButtonIcon {
   width: 32px;
--- a/suite/themes/modern/global/progressmeter.css
+++ b/suite/themes/modern/global/progressmeter.css
@@ -7,21 +7,21 @@
   ======================================================================= */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: progressmeter ::::: */
 
 progressmeter {
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #8997A1 #C7D0D9;
-  -moz-border-right-colors: #E0ECF6 #C7D0D9;
-  -moz-border-bottom-colors: #E0ECF6 #C7D0D9;
-  -moz-border-left-colors: #8997A1 #C7D0D9;
+  border: 1px solid;
+  border-top-color: #8997A1;
+  border-right-color: #C7D0D9;
+  border-bottom-color: #C7D0D9;
+  border-left-color: #8997A1;
   min-width: 128px;
   height: 14px;
 }
 
 progressmeter[mode="undetermined"] {
   background: url("chrome://global/skin/progressmeter/progress-busy.gif");
 }
 
@@ -34,14 +34,14 @@ progressmeter[mode="undetermined"] {
 .progress-remainder[mode="undetermined"] {
   visibility: hidden;
 }
 
 /* ::::: statusbar progressmeter ::::: */
 
 .progressmeter-statusbar {
   margin: 0;
-  -moz-border-bottom-colors: transparent transparent;
-  -moz-border-top-colors: #E0ECF6 #C7D0D9;
-  -moz-border-right-colors: #8997A1 #C7D0D9;
-  -moz-border-left-colors: #E0ECF6 #C7D0D9;
+  border-bottom-color: transparent;
+  border-top-color: #C7D0D9;
+  border-right-color: #8997A1;
+  border-left-color: #C7D0D9;
 }
 
--- a/suite/themes/modern/global/richlistbox.css
+++ b/suite/themes/modern/global/richlistbox.css
@@ -9,21 +9,17 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: richlistbox ::::: */
 
 richlistbox {
   /* -moz-appearance needed to override xul.css */
   -moz-appearance: none !important;
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border: 1px solid #5D616E;
   background-color: #FFFFFF;
   color: #000000;
 }
 
 richlistbox[disabled="true"] {
   color: #8C99AB;
 }
 
--- a/suite/themes/modern/global/scale.css
+++ b/suite/themes/modern/global/scale.css
@@ -29,30 +29,23 @@
   margin: 4px 2px;
   width: 15px;
   height: 100px;
 }
 
 /* ::::: scale thumb ::::: */
 
 .scale-thumb {
-  border: 3px solid;
-  -moz-border-top-colors: #000000 #E4EBF2 #C3CAD2;
-  -moz-border-right-colors: #000000 #8F9DAD #A4AFBB;
-  -moz-border-bottom-colors: #000000 #8F9DAD #A4AFBB;
-  -moz-border-left-colors: #000000 #E4EBF2 #C3CAD2;
+  border: 1px solid #000000;
   background-image: url("chrome://global/skin/scrollbar/thumb-hrz-grip.gif");
   min-width: 18px;
 }
 
 .scale-thumb[orient="vertical"] {
   background-image: url("chrome://global/skin/scrollbar/thumb-vrt-grip.gif");
   min-height: 18px;
   min-width: 0px;
 }
 
 .scale-thumb[disabled="true"] {
-  -moz-border-top-colors: #000000 #708092 #939FAD;
-  -moz-border-right-colors: #000000 #718193 #9EA9B5;
-  -moz-border-bottom-colors: #000000 #8795A4 #929EAC;
-  -moz-border-left-colors: #000000 #ADB6C0 #9EA9B5;
+  border-color: #000000;
   background: #9CA8B4;
 }
--- a/suite/themes/modern/global/scrollbars-mini.css
+++ b/suite/themes/modern/global/scrollbars-mini.css
@@ -35,30 +35,24 @@ slider {
 slider[orient="vertical"] {
   background: url("chrome://global/skin/scrollbar/mini-slider-vrt.gif") repeat-y;
 }
 
 /* ::::: borders for thumb and buttons ::::: */
 
 thumb,
 scrollbarbutton {
-  border: 3px solid;
-  -moz-border-top-colors: #000000 #E4EBF2 #C3CAD2;
-  -moz-border-right-colors: #000000 #8F9DAD #A4AFBB;
-  -moz-border-bottom-colors: #000000 #8F9DAD #A4AFBB;
-  -moz-border-left-colors: #000000 #E4EBF2 #C3CAD2;
+  border: 1px solid;
+  border-color: #000000;
   background: #B1BBC5 50% 50% no-repeat;
 }
 
 thumb:active {
   background-color: #C2CCD6;
-  -moz-border-top-colors: #111111 #F5FCF3 #D4DBE3;
-  -moz-border-right-colors: #111111 #9FAEBE #B5BFCC;
-  -moz-border-bottom-colors: #111111 #9FAEBE #B5BFCC;
-  -moz-border-left-colors: #111111 #D5FCF3 #D4DBE3;
+  border-color: #111111;
 }
 
 /* ::::: thumb (horizontal) ::::: */
 
 thumb {
   background-image: url("chrome://global/skin/scrollbar/thumb-vrt-grip.gif");
 }
 
@@ -81,22 +75,19 @@ scrollbar[orient="horizontal"] > scrollb
   height: 11px;
   max-width: 14px;
   max-height: 11px;
 }
 
 scrollbarbutton[disabled="true"],
 scrollbarbutton[active="true"],
 scrollbarbutton:hover:active {
-  border-left-width: 2px;
-  border-right-width: 2px;
-  -moz-border-top-colors: #000000 #708092 #939FAD;
-  -moz-border-right-colors: #000000 #718193 #9EA9B5;
-  -moz-border-bottom-colors: #000000 #8795A4 #929EAC;
-  -moz-border-left-colors: #000000 #ADB6C0 #9EA9B5;
+  border-left-width: 1px;
+  border-right-width: 1px;
+  border-color: #000000;
   background-color: #9CA8B4;
 }
 
 /* ..... increment .... */
 
 scrollbarbutton[type="increment"] {
   background-image: url("chrome://global/skin/scrollbar/mini-btn-rit.gif")
 }
--- a/suite/themes/modern/global/scrollbars.css
+++ b/suite/themes/modern/global/scrollbars.css
@@ -27,30 +27,24 @@ slider {
 slider[orient="vertical"] {
   background: url("chrome://global/skin/scrollbar/slider-vrt.gif") repeat-y;
 }
 
 /* ::::: borders for thumb and buttons ::::: */
 
 thumb,
 scrollbarbutton {
-  border: 3px solid;
-  -moz-border-top-colors: #000000 #E4EBF2 #C3CAD2;
-  -moz-border-right-colors: #000000 #8F9DAD #A4AFBB;
-  -moz-border-bottom-colors: #000000 #8F9DAD #A4AFBB;
-  -moz-border-left-colors: #000000 #E4EBF2 #C3CAD2;
+  border: 1px solid;
+  border-color: #000000;
   background: #B1BBC5 50% 50% no-repeat;
 }
 
 thumb:active {
   background-color: #C2CCD6;
-  -moz-border-top-colors: #111111 #F5FCF3 #D4DBE3;
-  -moz-border-right-colors: #111111 #9FAEBE #B5BFCC;
-  -moz-border-bottom-colors: #111111 #9FAEBE #B5BFCC;
-  -moz-border-left-colors: #111111 #D5FCF3 #D4DBE3;
+  border-color: #111111;
 }
 
 %ifdef MOZ_WIDGET_GTK
 scrollbarbutton[sbattr="scrollbar-up-bottom"],
 scrollbarbutton[sbattr="scrollbar-down-top"] {
   display: none;
 }
 
@@ -80,22 +74,17 @@ scrollbarbutton {
   max-width: 15px;
   max-height: 15px;
   -moz-box-flex: 1;
 }
 
 scrollbarbutton[disabled="true"],
 scrollbarbutton[active="true"],
 scrollbarbutton:hover:active {
-  border-left-width: 2px;
-  border-right-width: 2px;
-  -moz-border-top-colors: #000000 #708092 #939FAD;
-  -moz-border-right-colors: #000000 #718193 #9EA9B5;
-  -moz-border-bottom-colors: #000000 #8795A4 #929EAC;
-  -moz-border-left-colors: #000000 #ADB6C0 #9EA9B5;
+  border-color: #000000;
   background-color: #9CA8B4;
 }
 
 /* ::::: square at the corner of two scrollbars ::::: */
 
 scrollcorner { 
   -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar-base");
   width: 15px;
@@ -139,30 +128,24 @@ scrollbar[orient="vertical"] > scrollbar
     width: 15px;
     background: url("chrome://global/skin/scrollbar/slider-vrt.gif") repeat-y;
   }
 
   /* ::::: borders for thumb and buttons ::::: */
 
   html|div thumb,
   html|div scrollbarbutton {
-    border: 3px solid;
-    -moz-border-top-colors: #000000 #E4EBF2 #C3CAD2;
-    -moz-border-right-colors: #000000 #8F9DAD #A4AFBB;
-    -moz-border-bottom-colors: #000000 #8F9DAD #A4AFBB;
-    -moz-border-left-colors: #000000 #E4EBF2 #C3CAD2;
+    border: 1px solid;
+    border-color: #000000;
     background: #B1BBC5 50% 50% no-repeat;
   }
 
   html|div thumb:active {
     background-color: #C2CCD6;
-    -moz-border-top-colors: #111111 #F5FCF3 #D4DBE3;
-    -moz-border-right-colors: #111111 #9FAEBE #B5BFCC;
-    -moz-border-bottom-colors: #111111 #9FAEBE #B5BFCC;
-    -moz-border-left-colors: #111111 #D5FCF3 #D4DBE3;
+    border-color: #111111;
   }
 
   /* ::::: thumb (horizontal) ::::: */
 
   html|div thumb {
     min-height: 18px;
     background-image: url("chrome://global/skin/scrollbar/thumb-vrt-grip.gif");
   }
@@ -177,22 +160,17 @@ scrollbar[orient="vertical"] > scrollbar
   html|div scrollbarbutton {
     width: 15px;
     height: 15px;
   }
 
   html|div scrollbarbutton[disabled="true"],
   html|div scrollbarbutton[active="true"],   
   html|div scrollbarbutton:hover:active {
-    border-left-width: 2px;
-    border-right-width: 2px;
-    -moz-border-top-colors: #000000 #708092 #939FAD;
-    -moz-border-right-colors: #000000 #718193 #9EA9B5;
-    -moz-border-bottom-colors: #000000 #8795A4 #929EAC;
-    -moz-border-left-colors: #000000 #ADB6C0 #9EA9B5;
+    border-color: #000000;
     background-color: #9CA8B4;
   }
 
   /* ..... increment .... */
 
   html|div scrollbarbutton[type="increment"] {
     background-image: url("chrome://global/skin/scrollbar/btn-rit.gif")
   }
--- a/suite/themes/modern/global/splitter.css
+++ b/suite/themes/modern/global/splitter.css
@@ -9,24 +9,20 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: splitter (vertical) ::::: */
 
 splitter {
   -moz-box-align: center;
   -moz-box-pack: center;
   cursor: ew-resize;
-  border-top: 1px solid;
-  border-right: 2px solid;
-  border-bottom: 1px solid;
-  border-left: 2px solid;
-  -moz-border-top-colors: #DFE5EF;
-  -moz-border-right-colors: #3B414F #AAB4BF;
-  -moz-border-bottom-colors: #AAB4BF;
-  -moz-border-left-colors: #97A4B2 #DFE5EF;
+  border-top: 1px solid #DFE5EF;
+  border-right: 1px solid #3B414F;
+  border-bottom: 1px solid #AAB4BF;
+  border-left: 1px solid #97A4B2;
   min-width: 5px;
   background-color: #C1CBD5;
 }
 
 splitter[state="collapsed"][collapse="before"],
 splitter[state="collapsed"][substate="before"],
 splitter[state="collapsed"][collapse="after"]:-moz-locale-dir(rtl),
 splitter[state="collapsed"][substate="after"]:-moz-locale-dir(rtl) {
@@ -39,24 +35,20 @@ splitter[state="collapsed"][collapse="be
 splitter[state="collapsed"][substate="before"]:-moz-locale-dir(rtl) {
   cursor: w-resize;
 }
 
 /* ::::: splitter (horizontal) ::::: */
 
 splitter[orient="vertical"] {
   cursor: ns-resize;
-  border-top: 2px solid;
-  border-right: 1px solid;
-  border-bottom: 2px solid;
-  border-left: 1px solid;
-  -moz-border-top-colors: #97A4B2 #DFE5EF;
-  -moz-border-right-colors: #AAB4BF;
-  -moz-border-bottom-colors: #3B414F #AAB4BF;
-  -moz-border-left-colors: #DFE5EF;
+  border-top: 1px solid #97A4B2;
+  border-right: 1px solid #AAB4BF;
+  border-bottom: 1px solid #3B414F;
+  border-left: 1px solid #DFE5EF;
   min-width: 0;
   min-height: 5px;
 }
 
 splitter[orient="vertical"][state="collapsed"][collapse="before"],
 splitter[orient="vertical"][state="collapsed"][substate="before"] {
   cursor: s-resize;
 }
--- a/suite/themes/modern/global/tabbox.css
+++ b/suite/themes/modern/global/tabbox.css
@@ -17,36 +17,29 @@ tabs {
 .tabs-left,
 .tabs-right {
   border-bottom: 1px solid #000000;
 }
 
 /* ::::: tabpanels ::::: */
 
 tabpanels {
-  border-right: 3px solid;
-  border-left: 3px solid;
-  border-bottom: 3px solid;
-  -moz-border-right-colors: #000000 #BAC2CD #C1C9D3;
-  -moz-border-bottom-colors: #000000 #BAC2CD #C1C9D3;
-  -moz-border-left-colors: #000000 #DFE2E6 #D0D7DD;
+  border-right: 1px solid #000000;
+  border-left: 1px solid #000000;
+  border-bottom: 1px solid #000000;
   padding: 5px;
   background-color: #C7D0D9;
 }
 
 /* ::::: tab ::::: */
 
 tab {
   margin: 0px;
-  border: 3px solid;
-  border-bottom-width: 3px;
-  -moz-border-top-colors: #000000 #90A0B0 #98A7B5;
-  -moz-border-right-colors: #000000 #90A0B0 #98A7B5;
-  -moz-border-bottom-colors: #000000 #98A7B5;
-  -moz-border-left-colors: #000000 #90A0B0 #98A7B5;
+  border: 1px solid #000000;
+  border-bottom-width: 1px;
   border-top-left-radius: 3px;
   border-top-right-radius: 3px;
   padding: 1px 3px;
   /*background-color: #8C9DAF;*/
   background-color: #9CABBA;
   color: #000000;
   font: menu;
 }
@@ -57,64 +50,64 @@ tab {
 
 .tab-image {
   list-style-image: inherit;
 }
 
 /* ..... active state ..... */
 
 tab:hover:active {
-  -moz-border-top-colors: transparent #8190A5 #899AAC;
-  -moz-border-right-colors: transparent #8190A5 #899AAC;
-  -moz-border-left-colors: transparent #8190A5 #899AAC;
+  border-top-color: #8190A5;
+  border-right-color: #8190A5;
+  border-left-color: #8190A5;
   background-color: #8B9AAD;
   color: #FFFFFF;
 }
 
 /* ..... selected state ..... */
 
 tab[selected="true"],
 tab[selected="true"]:hover:active {
-  -moz-border-top-colors: #000000 #DFE2E6 #D0D7DD;
-  -moz-border-right-colors: #000000 #BAC2CD #C1C9D3;
-  -moz-border-bottom-colors: transparent;
-  -moz-border-left-colors: #000000 #DFE2E6 #D0D7DD;
+  border-top-color: #000000;
+  border-right-color: #000000;
+  border-bottom-color: transparent;
+  border-left-color: #000000;
   background-color: #C7D0D9;
   color: #000000;
 }
 
 /* ::::: tab-bottom ::::::::::
    :: Tabs that are attached to the bottom of a panel, but not necessarily
    :: a tabpanels.
    ::::: */
 
 .tab-bottom {
-  -moz-border-top-colors: #000000 #8C9DAF #8C9DAF;
-  -moz-border-bottom-colors: #000000 #8190A5 #899AAC #8D9EB0;
+  border-top-color: #000000;
+  border-bottom-color: #000000;
   border-top-left-radius: 0;
   border-top-right-radius: 0;
   border-bottom-right-radius: 3px;
   border-bottom-left-radius: 3px;
 }
 
 .tab-bottom:hover:active {
-  -moz-border-top-colors: #000000 #8C9DAF #8C9DAF;
-  -moz-border-bottom-colors: transparent #8190A5 #899AAC #8D9EB0;
+  border-top-color: #000000;
+  border-bottom-color: transparent;
 }
    
 .tab-bottom[selected="true"] {
-  -moz-border-top-colors: transparent !important;
-  -moz-border-bottom-colors: #000000 #DFE2E6 #D0D7DD transparent !important;
+  border-top-color: transparent !important;
+  border-bottom-color: #000000 !important;
 }
 
 tab:focus {
-  -moz-border-top-colors: #000000 #8C9DAF #8C9DAF;
-  -moz-border-left-colors: #000000 #8C9DAF #8C9DAF;
-  -moz-border-right-colors: #000000 #8C9DAF #8C9DAF;
-  -moz-border-bottom-colors: #8190A5 #8190A5 #899AAC;
+  border-top-color: #000000;
+  border-left-color: #000000;
+  border-right-color: #000000;
+  border-bottom-color: #8190A5;
 }
 
 .tab-bottom > .tab-text {
   font: message-box;
   font-weight: bold;
 }
    
 /* ::::: tabs-bottom ::::: */
--- a/suite/themes/modern/global/textbox.css
+++ b/suite/themes/modern/global/textbox.css
@@ -10,17 +10,17 @@
 
 @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 */
 
 /* ::::: textbox ::::: */
 
 textbox {
   margin: 2px 4px;
-  border: 2px solid;
+  border: 1px solid;
   padding-top: 1px;
   padding-bottom: 1px;
   padding-inline-start: 2px;
   padding-inline-end: 0px;
   background-color: #FFFFFF;
   color: #000000;
   font: inherit;
 }
@@ -28,49 +28,43 @@ textbox {
 html|*.textbox-input::placeholder,
 html|*.textbox-textarea::placeholder {
   color: #999999;
   opacity: 1.0;
 }
 
 textbox,
 textbox[readonly="true"][focused="true"] {
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border-color: #5D616E;
 }
 
 html|*.textbox-input,
 html|*.textbox-textarea {
   cursor: text;
   margin: 0px !important;
   border: none !important;
   padding: 0px !important;
   background-color: inherit;
   color: inherit;
   font: inherit;
 }
 
 /* ..... focused state ..... */
 
 textbox[focused="true"] {
-  -moz-border-top-colors: #98A5B2 #000000;
-  -moz-border-right-colors: #98A5B2 #000000;
-  -moz-border-bottom-colors: #98A5B2 #000000;
-  -moz-border-left-colors: #98A5B2 #000000;
+  border-color: #000000;
 }
 
 /* ..... disabled state ..... */
 
 textbox[disabled="true"] {
-  -moz-border-top-colors: #BEC3D3 #98A5B2;
-  -moz-border-right-colors: #F8FAFE #98A5B2;
-  -moz-border-bottom-colors: #F8FAFE #98A5B2;
-  -moz-border-left-colors: #BEC3D3 #98A5B2;
+  border-top-color: #98A5B2;
+  border-right-color: #F8FAFE;
+  border-bottom-color: #F8FAFE;
+  border-left-color: #BEC3D3;
   background-color: #C7D0D9;
   color: #999999;
   cursor: default !important;
 }
 
 /* ..... readonly state ..... */
 
 textbox[readonly="true"] {
--- a/suite/themes/modern/global/tree.css
+++ b/suite/themes/modern/global/tree.css
@@ -7,21 +7,17 @@
   ======================================================================= */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: tree ::::: */
 
 tree {
   margin: 0px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border: 1px solid #5D616E;
   background-color: #FFFFFF;
   color: #000000;
 }
 
 /* ::::: tree focusring ::::: */
 
 .focusring > .tree-stack > .tree-rows > .tree-bodybox {
   border: 1px solid transparent;  
@@ -171,21 +167,21 @@ treechildren::-moz-tree-checkbox {
 treechildren::-moz-tree-checkbox(checked) {
   list-style-image: url("chrome://global/skin/tree/checkbox-checked.gif");
 }
 
 /* ::::: tree progress meter ::::: */
 
 treechildren::-moz-tree-progressmeter {
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #8997A1 #C7D0D9;
-  -moz-border-right-colors: #E0ECF6 #C7D0D9;
-  -moz-border-bottom-colors: #E0ECF6 #C7D0D9;
-  -moz-border-left-colors: #8997A1 #C7D0D9;
+  border: 1px solid;
+  border-top-color: #8997A1;
+  border-right-color: #C7D0D9;
+  border-bottom-color: #C7D0D9;
+  border-left-color: #8997A1;
   color: #6B7B8D;
 }
 
 treechildren::-moz-tree-progressmeter(progressUndetermined) {
   list-style-image: url("chrome://global/skin/progressmeter/progress-busy.gif");
 }
 
 treechildren::-moz-tree-cell-text(progressmeter) {
@@ -193,21 +189,21 @@ treechildren::-moz-tree-cell-text(progre
  }
 
 /* ::::: tree columns ::::: */
 
 treecol,
 treecolpicker {
   -moz-box-align: center;
   -moz-box-pack: center;
-  border: 2px solid;
-  -moz-border-top-colors: #EEF0F3 #C7D0D9;
-  -moz-border-right-colors: #63676B #A5ABB0;
-  -moz-border-bottom-colors: #63676B #A5ABB0;
-  -moz-border-left-colors: #EEF0F3 #C7D0D9;
+  border: 1px solid;
+  border-top-color: #C7D0D9;
+  border-right-color: #63676B;
+  border-bottom-color: #63676B;
+  border-left-color: #C7D0D9;
   background-color: #C7D0D9;
   color: #000000;
   padding: 0px 4px;
   min-width: 19px;
 }
 
 .treecol-image {
   padding: 0px 1px;
@@ -221,56 +217,53 @@ treecol[hideheader="true"] {
   border: none;
   padding: 0;
 }
 
 /* ..... internal box ..... */
 
 treecol:hover:active,
 treecolpicker:hover:active {
-  border-top: 2px solid;
+  border-top: 1px solid;
   border-right: 1px solid;
   border-bottom: 1px solid;
   border-left: 2px solid;
-  -moz-border-top-colors: #A5ABB0 #C7D0D9;
-  -moz-border-right-colors: #A5ABB0;
-  -moz-border-bottom-colors: #A5ABB0;
-  -moz-border-left-colors: #A5ABB0 #C7D0D9;
+  border-color: #A5ABB0;
   padding-top: 1px;
   padding-bottom: 0px;
   padding-inline-start: 5px;
   padding-inline-end: 4px;
 }
 
 .treecol-image:hover:active {
   padding-top: 1px;
   padding-bottom: 0px;
   padding-inline-start: 2px;
   padding-inline-end: 1px;
 }
 
 /* ::::: column drag and drop styles ::::: */
 
 treecol[dragging="true"] {
-  -moz-border-top-colors: #000000 #90A1B3 !important;
-  -moz-border-right-colors: #000000 #90A1B3 !important;
-  -moz-border-bottom-colors: #000000 #90A1B3 !important;
-  -moz-border-left-colors: #000000 #90A1B3 !important;
+  border-top-color: #000000 !important;
+  border-right-color: #000000 !important;
+  border-bottom-color: #000000 !important;
+  border-left-color: #000000 !important;
   background-color: #90A1B3 !important;
   color: #FFFFFF !important;
 }
 
 treecol[insertafter="true"]:-moz-locale-dir(ltr),
 treecol[insertbefore="true"]:-moz-locale-dir(rtl) {
-  -moz-border-right-colors: #000000 #666666;
+  border-right-color: #000000;
 }
 
 treecol[insertafter="true"]:-moz-locale-dir(rtl),
 treecol[insertbefore="true"]:-moz-locale-dir(ltr) {
-  -moz-border-left-colors: #000000 #666666;
+  border-left-color: #000000;
 }
 
 treechildren::-moz-tree-column(insertbefore) {
   border-inline-start: 1px solid #AAAAAA;
 }
 
 treechildren::-moz-tree-column(insertafter) {
   border-inline-end: 1px solid #AAAAAA;
@@ -331,19 +324,19 @@ treechildren::-moz-tree-row(selected, ed
 }
 
 treechildren::-moz-tree-cell-text(selected, editing) {
   color: inherit;
 }
 
 .tree-input {
   -moz-appearance: none;
+  border-top-color: #C7D0D9;
+  border-bottom-color: #C7D0D9;
+  border-left-color: #C7D0D9;
+  border-right-color: #C7D0D9;
   border: 1px solid #C7D0D9;
-  -moz-border-top-colors: #C7D0D9;
-  -moz-border-bottom-colors: #C7D0D9;
-  -moz-border-left-colors: #C7D0D9;
-  -moz-border-right-colors: #C7D0D9;
   margin-top: 0px;
   margin-bottom: 0px;
   margin-inline-start: -4px;
   margin-inline-end: 0px;
   padding: 1px;
 }
--- a/suite/themes/modern/messenger/mailWindow1.css
+++ b/suite/themes/modern/messenger/mailWindow1.css
@@ -58,32 +58,29 @@
 
 #threadpane-splitter[state="collapsed"] {
   border-bottom: 2px solid;
 }
 
 /* ..... tree adjustments ..... */
 
 #folderTree {
-  border-right: 2px solid;
-  -moz-border-right-colors: #DFE5EF #97A4B2;
+  border-right: 1px solid #97A4B2;
   min-width: 1px;
 }
 
 #threadTree {
-  border-bottom: 2px solid;
-  -moz-border-bottom-colors: #DFE5EF #97A4B2;
+  border-bottom: 1px solid #97A4B2;
   min-width: 1px;
 }
 
 #threadTree,
 #accountCentralBox,
 #messagepanebox {
-  border-left: 2px solid;
-  -moz-border-left-colors: #AAB4BF #3B414F;
+  border-left: 1px solid #3B414F;
 }
 
 /* ::::: search toolbar ::::: */
 
 #searchToolbar {
   background: url("chrome://global/skin/toolbar/tb-mid.gif") #C7D0D9 repeat-x top;
 }
 
@@ -103,18 +100,17 @@
 
 #locationIcon {
   list-style-image: none;
 }
 
 /* ..... message pane adjustments ..... */
 
 #messagepanebox {
- border-top: 2px solid;
- -moz-border-top-colors: #AAB4BF #3B414F;
+ border-top: 1px solid #3B414F;
 }
 
 #msgHeaderView {
   border-left: none !important;
 }
 
 #messagepane {
   border: 1px solid #FFFFFF;
--- a/suite/themes/modern/messenger/messengercompose/messengercompose.css
+++ b/suite/themes/modern/messenger/messengercompose/messengercompose.css
@@ -158,17 +158,17 @@ toolbar[iconsize="small"] > #print-butto
 #attachmentbucket-sizer {
   border-top: none;
   border-bottom: none;
   background-color: #B1BDC9;
 }
 
 #compose-toolbar-sizer {
   border-top-width: 1px;
-  -moz-border-top-colors: #EEF0F3;
+  border-top-color: #EEF0F3;
 }
 
 #FontFaceSelect {
   max-width: 35ch;
 }
 
 /* ::::: autocomplete icons ::::: */
 
--- a/suite/themes/modern/messenger/primaryToolbar.css
+++ b/suite/themes/modern/messenger/primaryToolbar.css
@@ -356,18 +356,17 @@ toolbar[iconsize="small"] > #sync-button
 #extractEventButton[disabled="true"] .toolbarbutton-icon,
 #extractTaskButton[disabled="true"] .toolbarbutton-icon {
   opacity: 0.3;
 }
 
 /* ::::: message notification bar style rules ::::: */
 
 .msgNotificationBar {
-  border-bottom: 1px solid;
-  -moz-border-bottom-colors: #000000;
+  border-bottom: 1px solid #000000;
   -moz-appearance: toolbox;
   background-color: #C7BC8F;
   color: black;
 }
 
 .messageImage[value="remoteContent"] {
   list-style-image: url("chrome://messenger/skin/icons/remote-blocked.png");
 }
--- a/suite/themes/modern/mozapps/aboutNetworking.css
+++ b/suite/themes/modern/mozapps/aboutNetworking.css
@@ -31,22 +31,20 @@ body {
 /** Categories **/
 
 #categories > .category
 {
   -moz-appearance: button;
   display: inline-block;
 
   margin: 2px;
-  border: 6px solid;
-  -moz-border-top-colors: transparent transparent transparent #000000 #BBC6D1 #B1BBC9;
-  -moz-border-right-colors: transparent transparent transparent #000000 #A2AEBB #A7B4C1;
-  -moz-border-bottom-colors: transparent transparent transparent #000000 #97A6B6 #9DAAB9;
-  -moz-border-left-colors: transparent transparent transparent #000000 #BBC6D1 #B1BBC9;
-  border-radius: 5px;
+  border: 1px solid;
+  padding: 3px;
+  border-color: #000000;
+  border-radius: 2px;
   min-width: 6em;
   background-color: #AAB6C4;
   background-clip: padding-box;
   color: #000000;
   font: menu;
 }
 
 .category {
--- a/suite/themes/modern/mozapps/downloads/downloads.css
+++ b/suite/themes/modern/mozapps/downloads/downloads.css
@@ -53,30 +53,23 @@ richlistitem[type="download"]:not([selec
 .mini-button {
   min-width: 0;
   min-height: 0;
   color: #000000 !important;
   background-color: transparent !important;
   list-style-image: url("chrome://communicator/skin/downloads/downloadButtons.png");
   -moz-image-region: rect(0px, 48px, 16px, 32px);
   margin: 0;
-  border: 1px dotted !important;
-  -moz-border-top-colors: transparent !important;
-  -moz-border-right-colors: transparent !important;
-  -moz-border-bottom-colors: transparent !important;
-  -moz-border-left-colors: transparent !important;
+  border: 1px dotted transparent !important;
   border-radius: 0 !important;
   outline: none !important;
 }
 
 .mini-button:focus {
-  -moz-border-top-colors: #000000 !important;
-  -moz-border-right-colors: #000000 !important;
-  -moz-border-bottom-colors: #000000 !important;
-  -moz-border-left-colors: #000000 !important;
+  border-color: #000000 !important;
 }
 
 .cancel {
   -moz-image-region: rect(0px, 32px, 16px, 16px);
 }
 
 .retry {
   -moz-image-region: rect(0px, 64px, 16px, 48px);
--- a/suite/themes/modern/mozapps/extensions/extensions.css
+++ b/suite/themes/modern/mozapps/extensions/extensions.css
@@ -10,17 +10,17 @@
 
 #view-port-container {
   /* Needed to allow the radius to clip the inner content, see bug 595656 */
   /* Disabled because of bug 623615
   overflow: hidden;
   */
   background-color: #C7D0D9;
   border: 1px solid #494F5D;
-  border-radius: 5px;
+  border-radius: 2px;
 }
 
 .nav-button {
   list-style-image: url(chrome://mozapps/skin/extensions/navigation.png);
 }
 
 #forward-btn {
   border-inline-start: none;
@@ -375,34 +375,34 @@
   -moz-appearance: none;
   margin: 0;
   border: none;
   background-color: transparent;
 }
 
 .addon {
   color: black;
-  border-top: 2px solid;
-  -moz-border-top-colors: rgba(0, 0, 0, 0.1) rgba(255, 255, 255, 0.1);
+  border-top: 1px solid;
+  border-top-color: rgba(0, 0, 0, 0.1);
   border-bottom: 1px solid;
-  -moz-border-bottom-colors: rgba(255, 255, 255, 0.1);
+  border-bottom-color: rgba(255, 255, 255, 0.1);
   padding: 5px;
   background-origin: border-box;
 }
 
 .view-pane:not(#search-view) .addon:first-of-type,
 #search-view .addon[first] {
   border-top-width: 1px;
-  -moz-border-top-colors: rgba(255, 255, 255, 0.1);
+  border-top-color: rgba(255, 255, 255, 0.1);
 }
 
 .view-pane:not(#search-view) .addon:last-of-type,
 #search-view .addon[last] {
-  border-bottom-width: 2px;
-  -moz-border-bottom-colors: rgba(0, 0, 0, 0.1) rgba(255, 255, 255, 0.1);
+  border-bottom-width: 1px;
+  border-bottom-color: rgba(0, 0, 0, 0.1);
 }
 
 .details {
   cursor: pointer;
   margin: 0;
   margin-inline-start: 10px;
 }
 
@@ -803,18 +803,18 @@
 
 .detail-row[first-row="true"],
 .detail-row-complex[first-row="true"] {
   border-top: none;
 }
 
 .detail-row,
 .detail-row-complex {
-  border-top: 2px solid;
-  -moz-border-top-colors: rgba(28, 31, 37, 0.1) rgba(255, 255, 255, 0.1);
+  border-top: 1px solid;
+  border-top-color: rgba(28, 31, 37, 0.1);
   -moz-box-align: center;
 }
 
 .detail-row-value {
   margin-inline-start: 0;
 }
 
 #detail-controls {
@@ -1031,61 +1031,47 @@
 }
 
 .button-link[visited="true"] {
   color: purple;
 }
 
 .header-button {
   margin: 2px;
-  border: 6px solid;
-  -moz-border-top-colors: transparent transparent transparent #000000 #BBC6D1 #B1BBC9;
-  -moz-border-right-colors: transparent transparent transparent #000000 #A2AEBB #A7B4C1;
-  -moz-border-bottom-colors: transparent transparent transparent #000000 #97A6B6 #9DAAB9;
-  -moz-border-left-colors: transparent transparent transparent #000000 #BBC6D1 #B1BBC9;
-  border-radius: 5px;
+  border: 1px solid;
+  padding: 3px;
+  border-color: #000000;
+  border-radius: 2px;
   background-color: #AAB6C4;
   background-clip: padding-box;
   color: #000000;
   font: menu;
 }
 
 .header-button:focus {
-  -moz-border-top-colors: transparent #98A5B2 #98A5B2 #000000 #BBC6D1 #B1BBC9;
-  -moz-border-right-colors: transparent #98A5B2 #98A5B2 #000000 #A2AEBB #A7B4C1;
-  -moz-border-bottom-colors: transparent #98A5B2 #98A5B2 #000000 #97A6B6 #9DAAB9;
-  -moz-border-left-colors: transparent #98A5B2 #98A5B2 #000000 #BBC6D1 #B1BBC9;
+  border-color: #98A5B2;
 }
 
 .header-button[disabled="true"] {
-  -moz-border-top-colors: transparent transparent transparent #8290A5 #C6CDD7 #BCC5D1 !important;
-  -moz-border-right-colors: transparent transparent transparent #8290A5 #A9B5C1 #B2BAC7 !important;
-  -moz-border-bottom-colors: transparent transparent transparent #8290A5 #A9B5C1 #B2BAC7 !important;
-  -moz-border-left-colors: transparent transparent transparent #8290A5 #C6CDD7 #BCC5D1 !important;
+  border-color: #8290A5 !important;
   background-color: #B7BFCB !important;
   color: #8C99AB !important;
 }
 
 .header-button[disabled="true"] > .toolbarbutton-icon {
   opacity: 0.4;
 }
 
 .header-button:not([disabled="true"]):active:hover,
 .header-button[open="true"] {
-  -moz-border-top-colors: transparent transparent transparent #000000 #8290A5 #899AAC;
-  -moz-border-right-colors: transparent transparent transparent #000000 #8290A5 #899AAC;
-  -moz-border-bottom-colors: transparent transparent transparent #000000 #8290A5 #899AAC;
-  -moz-border-left-colors: transparent transparent transparent #000000 #8290A5 #899AAC;
+  border-color: #000000;
   background-color: #90A1B3;
   color: #FFFFFF;
 }
 
 .header-button:not([disabled="true"]):active:hover:focus,
 .header-button[open="true"]:focus {
-  -moz-border-top-colors: transparent #98A5B2 #98A5B2 #000000 #8290A5 #899AAC;
-  -moz-border-right-colors: transparent #98A5B2 #98A5B2 #000000 #8290A5 #899AAC;
-  -moz-border-bottom-colors: transparent #98A5B2 #98A5B2 #000000 #8290A5 #899AAC;
-  -moz-border-left-colors: transparent #98A5B2 #98A5B2 #000000 #8290A5 #899AAC;
+  border-color: #98A5B2;
 }
 
 .header-button > .toolbarbutton-text {
   display: none;
 }
--- a/suite/themes/modern/mozapps/plugins/pluginInstallerWizard.css
+++ b/suite/themes/modern/mozapps/plugins/pluginInstallerWizard.css
@@ -1,14 +1,10 @@
 /* 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/. */
 
 #licenseContainer, #pluginList {
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border: 1px solid #5D616E;
   background-color: #FFFFFF;
   color: #000000;
 }
--- a/suite/themes/modern/mozapps/update/updates.css
+++ b/suite/themes/modern/mozapps/update/updates.css
@@ -53,21 +53,17 @@ wizardpage {
 #updateName, #updateFinishedName {
   font-weight: bold;
   font-size: 120%;
 }
 
 /* License Page */
 #licenseContent {
   margin: 2px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border: 1px solid #5D616E;
   background-color: #FFFFFF;
   color: #000000;
 }
 
 /**
  * Downloading Page
  */
 #downloadStatusLine {
@@ -95,30 +91,27 @@ wizardpage {
   min-width: 0;
   min-height: 0;
   color: #000000 !important;
   background-color: transparent !important;
   list-style-image: url("chrome://mozapps/skin/icons/buttons.png");
   -moz-image-region: rect(0px, 48px, 16px, 32px);
   margin: 0;
   border: 1px solid !important;
-  -moz-border-top-colors: transparent !important;
-  -moz-border-right-colors: transparent !important;
-  -moz-border-bottom-colors: transparent !important;
-  -moz-border-left-colors: transparent !important;
+  border-top-colors: transparent !important;
+  border-right-colors: transparent !important;
+  border-bottom-colors: transparent !important;
+  border-left-colors: transparent !important;
   border-radius: 0 !important;
   outline: none !important;
 }
 
 #pauseButton:focus {
   border-style: dotted !important;
-  -moz-border-top-colors: #000000 !important;
-  -moz-border-right-colors: #000000 !important;
-  -moz-border-bottom-colors: #000000 !important;
-  -moz-border-left-colors: #000000 !important;
+  border-color: #000000 !important;
 }
 
 #pauseButton[disabled="true"] {
   -moz-image-region: rect(16px, 48px, 32px, 32px);
 }
 
 #pauseButton[paused="true"] {
   -moz-image-region: rect(0px, 16px, 16px, 0px);
@@ -162,18 +155,14 @@ update {
 .update-type {
   font-weight: bold;
   color: #990000;
 }
 
 #historyItems {
   height: 200px;
   margin: 1px 5px 4px;
-  border: 2px solid;
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border: 1px solid #5D616E;
 }
 
 #historyItems > scrollbox {
   margin-bottom: 1px;
 }
--- a/suite/themes/modern/mozapps/xpinstall/xpinstallConfirm.css
+++ b/suite/themes/modern/mozapps/xpinstall/xpinstallConfirm.css
@@ -5,21 +5,17 @@
 #xpinstallheader {
   margin-bottom: 2em;
 }
 
 #itemList {
   margin-top: 2px;
   margin-bottom: 10px;
   height: 14em;
-  border: 2px solid;
-  -moz-border-top-colors: #BEC3D3 #5D616E;
-  -moz-border-right-colors: #F8FAFE #5D616E;
-  -moz-border-bottom-colors: #F8FAFE #5D616E;
-  -moz-border-left-colors: #BEC3D3 #5D616E;
+  border: 1px solid #5D616E;
   background-color: #FFFFFF;
   color: #000000;
 }
 
 #itemWarningIntro {
   margin-inline-start: 8px;
 }
 
--- a/suite/themes/modern/navigator/navigator.css
+++ b/suite/themes/modern/navigator/navigator.css
@@ -240,18 +240,17 @@ toolbar[iconsize="small"] > #sync-button
 
 #window-controls {
   -moz-box-align: center;
   padding-top: 0px;
   padding-bottom: 0px;
   padding-inline-start: 4px;
   padding-inline-end: 2px;
   background-color: #A9B2BD;
-  border-left: 2px solid;
-  -moz-border-left-colors: #B6BEC5 #DDE3E8;
+  border-left: 1px solid #B6BEC5;
 }
 
 #window-controls > toolbarbutton {
   list-style-image: url("chrome://navigator/skin/icons/windowcontrols.png");
   min-width: 0;
   border: none;
 }
 
@@ -380,37 +379,37 @@ toolbar[iconsize=small][mode="icons"] #p
 }
 
 /* ::::: the grooved area around the urlbar and associated buttons ::::: */
 
 .nav-bar-class {
   -moz-box-align: center;
   margin-top: 7px;
   margin-bottom: 3px;
-  border-top: 2px solid;
-  border-bottom: 2px solid;
-  -moz-border-top-colors: #A2AFBD #EBF4FF;
-  -moz-border-right-colors: #D1D9E0 #A2AFBD;
-  -moz-border-bottom-colors: #CFD7DE #939EAA;
-  -moz-border-left-colors: #9FABB9 #D2DAE1;
+  border-top: 1px solid;
+  border-bottom: 1px solid;
+  border-top-color: #A2AFBD;
+  border-right-color: #A2AFBD;
+  border-bottom-color: #939EAA;
+  border-left-color: #9FABB9;
   padding: 0px;
   min-width: 0px;
 }
 
 .nav-bar-first,
 toolbarpaletteitem > .nav-bar-class {
   margin-inline-start: 5px;
-  border-inline-start: 2px solid;
+  border-inline-start: 2px solid #D2DAE1;
   padding-inline-start: 3px;
 }
 
 .nav-bar-last,
 toolbarpaletteitem > .nav-bar-class {
   margin-inline-end: 0px;
-  border-inline-end: 2px solid;
+  border-inline-end: 2px solid #A2AFBD;
   padding-inline-end: 3px;
 }
 
 .nav-bar-last:-moz-locale-dir(rtl),
 .nav-bar-first:-moz-locale-dir(ltr),
 toolbarpaletteitem > .nav-bar-class:-moz-locale-dir(rtl),
 toolbarpaletteitem > .nav-bar-class:-moz-locale-dir(ltr) {
   border-bottom-left-radius: 3px;
@@ -457,21 +456,18 @@ toolbar[mode="icons"] #search-button > .
 /* ::::: urlbar - the url textbox ::::: */
 
 .searchbar-textbox,
 #urlbar {
   margin-top: 2px;
   margin-bottom: 2px;
   margin-inline-start: 3px;
   margin-inline-end: 6px;
-  border: 3px solid;
-  -moz-border-top-colors: #A2AFBD #000000 #A7BACA;
-  -moz-border-right-colors: #D2DAE1 #000000 #768C9F;
-  -moz-border-bottom-colors: #D2DAE1 #000000 #768C9F;
-  -moz-border-left-colors: #A5ACB5 #000000 #A7BACA;
+  padding: 3px;
+  border: 1px solid #000000;
   background-color: #EDF5F7;
   box-shadow: inset 0px -2px #E9F3F6;
 }
 
 #urlbar[level="high"] {
   background-color: #E8DB99;
   box-shadow: none;
 }
--- a/suite/themes/modern/navigator/tabbrowser.css
+++ b/suite/themes/modern/navigator/tabbrowser.css
@@ -3,18 +3,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: tabs ::::: */
 
 .tabbrowser-strip {
   padding-bottom: 3px;
-  border-bottom: 2px solid;
-  -moz-border-bottom-colors: #000000 #BAC2CD;
+  border-bottom: 1px solid #000000;
 }
 
 .tabbrowser-tabs {
   padding-top: 1px;
 }
 
 .tabs-left {
   width: 3px;
@@ -36,30 +35,27 @@ tab[busy] {
 }
 
 /* ::::: Tab scrollbox arrow, and all-tabs buttons ::::: */
 
 .scrollbutton-up,
 .scrollbutton-down,
 .tabs-alltabs-button {
   margin: 0px;
-  border-bottom: 2px solid;
-  -moz-border-bottom-colors: #000000 transparent;
+  border-bottom: 1px solid #000000;
 }
 
 .scrollbutton-up:not([disabled="true"]):-moz-locale-dir(ltr),
 .scrollbutton-down:not([disabled="true"]):-moz-locale-dir(rtl) {
-  border-right: 2px solid;
-  -moz-border-right-colors: #000000 transparent;
+  border-right: 1px solid #000000;
 }
 
 .scrollbutton-up:not([disabled="true"]):-moz-locale-dir(rtl),
 .scrollbutton-down:not([disabled="true"]):-moz-locale-dir(ltr) {
-  border-left: 2px solid;
-  -moz-border-left-colors: #000000 transparent;
+  border-left: 1px solid #000000;
 }
 
 .scrollbutton-down {
   transition: background-color 1s ease-out;
 }
 
 .scrollbutton-down:hover,
 .scrollbutton-down[notifybgtab="true"],