Bug 1341056 - Stop setting a border for .button-box on Linux. r=dao
authorDeepa <deepsrijit1105@gmail.com>
Wed, 22 Feb 2017 23:08:48 +0530
changeset 373607 869ee93548d3f1cd9cb437b14c26de4bfdd80806
parent 373606 286d945249acc6ef5f4302970d1b53fc70e66d77
child 373608 95361085cae4224eb88888ed8dbf83d9d7297789
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1341056
milestone54.0a1
Bug 1341056 - Stop setting a border for .button-box on Linux. r=dao
toolkit/themes/linux/global/button.css
--- a/toolkit/themes/linux/global/button.css
+++ b/toolkit/themes/linux/global/button.css
@@ -15,38 +15,31 @@ button {
   margin: 1px 5px 2px 5px;
   min-width: 6.3em;
   color: ButtonText;
   text-shadow: none;
 }
 
 .button-box {
   -moz-appearance: button-focus;
-  border: 1px solid transparent;
   padding-top: 1px;
   padding-bottom: 2px;
   padding-inline-start: 3px;
   padding-inline-end: 4px;
 }
 
 .button-icon {
   margin-inline-end: 2px;
 }
 
 .button-text {
   margin: 0 !important;
   text-align: center;
 }
 
-/* .......... focused state .......... */
-
-button:focus > .button-box {
-  border: 1px dotted ThreeDDarkShadow;
-}
-
 /* .......... hover state .......... */
 
 button:hover {
   color: -moz-buttonhovertext;
 }
 
 /* .......... active/open/checked state .......... */