Bug 1356352 - Add a border to #msgSubject after removal in toolkit. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 13 Apr 2017 21:34:03 +0200
changeset 28036 6bcade9daa96f10cdc7c356af6a781fa5930184e
parent 28035 b40d588a73bada371efd0cb3da6ae3cd36e9e198
child 28037 78522213bd3802ac01c80c0fa5c90a23a707505a
push id1966
push userclokep@gmail.com
push dateMon, 12 Jun 2017 16:57:35 +0000
treeherdercomm-beta@32d9b8d10da1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1356352
Bug 1356352 - Add a border to #msgSubject after removal in toolkit. r=jorgk
mail/themes/linux/mail/compose/messengercompose.css
mail/themes/windows/mail/compose/messengercompose.css
--- a/mail/themes/linux/mail/compose/messengercompose.css
+++ b/mail/themes/linux/mail/compose/messengercompose.css
@@ -249,17 +249,17 @@ toolbar[brighttext] menulist > .menulist
 }
 
 #msgSubject {
   -moz-appearance: none;
   margin-top: 0;
   margin-inline-start: 6px;
   margin-inline-end: 5px;
   background-color: inherit;
-  border-color: transparent;
+  border: 2px solid transparent;
   -moz-border-top-colors: none;
   -moz-border-left-colors: none;
   -moz-border-right-colors: none;
   -moz-border-bottom-colors: ThreeDShadow ThreeDHighlight;
   padding: 2px;
   padding-inline-start: 5px !important;
   transition: border .2s, background-color .2s;
 }
--- a/mail/themes/windows/mail/compose/messengercompose.css
+++ b/mail/themes/windows/mail/compose/messengercompose.css
@@ -127,39 +127,43 @@
   display: none;
 }
 
 #msgSubject {
   -moz-appearance: none;
   margin-top: 0;
   margin-inline-end: 5px;
   background-color: inherit;
+  border-style: solid;
   border-color: transparent;
   -moz-border-top-colors: none;
   -moz-border-left-colors: none;
   -moz-border-right-colors: none;
   -moz-border-bottom-colors: none;
   padding: 2px;
   padding-inline-start: 5px;
   transition: border .2s, background-color .2s;
 }
 
 @media (-moz-windows-default-theme) {
   #msgSubject {
     border-width: 1px;
+    border-bottom-color: #a9b7c9;
   }
 
   #msgSubject:hover,
   #msgSubject[focused="true"] {
     background-color: -moz-field;
+    border-color: #a9b7c9;
   }
 }
 
 @media (-moz-windows-default-theme: 0) {
   #msgSubject {
+    border-width: 2px;
     -moz-border-bottom-colors: ThreeDShadow ThreeDHighlight;
   }
 
   #msgSubject:hover,
   #msgSubject[focused="true"] {
     background-color: -moz-field;
     -moz-border-top-colors: ThreeDShadow ThreeDHighlight;
     -moz-border-right-colors: ThreeDShadow ThreeDHighlight;
@@ -791,27 +795,16 @@ toolbar[brighttext] #button-print {
   border-bottom-width: 0;
   background-color: transparent;
 }
 
 #subjectLabel {
   margin-top: 0;
 }
 
-@media (-moz-windows-default-theme) {
-  #msgSubject {
-    border-bottom-color: #a9b7c9;
-  }
-
-  #msgSubject:hover,
-  #msgSubject[focused="true"] {
-    border-color: #a9b7c9;
-  }
-}
-
 /* ::::: autocomplete icons ::::: */
 
 treechildren::-moz-tree-image(local-abook) {
   margin-inline-start: 2px;
   margin-inline-end: 5px;
   list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.png");
 }