Bug 1377929 - Remove button-hover-effect of composer's From: label. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Mon, 03 Jul 2017 21:46:57 +0200
changeset 21739 33ae1055884a922fbf05bdb37452f982bdbc0186
parent 21738 3e98289e630350dd956ba213a5c0715a51219026
child 21740 081f746eb2e888485b6c4a3cd9e96aa82969f7d0
push id13260
push usermozilla@jorgk.com
push dateWed, 05 Jul 2017 07:16:54 +0000
treeherdercomm-central@33ae1055884a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1377929
Bug 1377929 - Remove button-hover-effect of composer's From: label. r=jorgk
mail/themes/linux/mail/compose/messengercompose.css
mail/themes/osx/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
@@ -422,33 +422,16 @@ treechildren::-moz-tree-image(subscribed
 #MsgHeadersToolbar {
   -moz-appearance: none !important;
   color: WindowText;
   text-shadow: none;
   background-image: url("chrome://messenger/skin/messengercompose/linux-noise.png");
   padding-top: 3px;
 }
 
-#identityLabel {
-  -moz-appearance: none;
-  margin-inline-end: 3px;
-  margin-top: 2px;
-  margin-bottom: 0;
-  padding: 3px 5px;
-  color: ButtonText;
-  background-color: transparent;
-  border: 1px solid transparent;
-  transition: background-color .25s ease-in;
-}
-
-#identityLabel:hover {
-  border-color: rgba(125, 125, 125, .4);
-  background-color: rgba(125, 125, 125, .4);
-}
-
 #msgIdentity {
   -moz-appearance: none;
   -moz-box-align: center;
   margin-right: 5px;
   margin-bottom: 0;
   padding-top: 1px;
   padding-bottom: 1px;
   padding-inline-start: 2px;
--- a/mail/themes/osx/mail/compose/messengercompose.css
+++ b/mail/themes/osx/mail/compose/messengercompose.css
@@ -228,31 +228,16 @@ toolbar[brighttext] #button-print {
 
 #MsgHeadersToolbar {
   color: -moz-DialogText;
   text-shadow: none;
   background-image: url("chrome://messenger/skin/noise.png");
   border-bottom: 0px solid;
 }
 
-#identityLabel {
-  margin: 1px 0;
-  margin-inline-end: 4px;
-  padding: 1px;
-  background-color: transparent;
-  border: 1px solid transparent;
-  border-radius: 2px;
-  transition: background-color .25s ease-in;
-}
-
-#identityLabel:hover {
-  background-color: rgba(150, 150, 150, .4);
-  border-color: rgba(149, 165, 166, 0.3);
-}
-
 #msgIdentity {
   margin: 0;
   margin-inline-end: 1px;
   padding-inline-start: 3px;
   background: transparent;
   line-height: 1;
   border: 1px solid transparent;
   border-bottom-color: #C6C6C6;
--- a/mail/themes/windows/mail/compose/messengercompose.css
+++ b/mail/themes/windows/mail/compose/messengercompose.css
@@ -110,29 +110,16 @@
 /* XXX I should really have a selector rule here to select just .listcell-icon
    objects underneath the attachmentList listbox */
 
 .listcell-icon {
   margin-inline-start: 2px;
   margin-top: 2px;
 }
 
-#identityLabel {
-  -moz-appearance: none;
-  border: 1px solid transparent;
-  margin-bottom: 1px;
-  margin-inline-end: 0;
-  padding: 3px 4px 2px;
-  transition: border .2s, background-color .2s;
-}
-
-#identityLabel > .toolbarbutton-icon {
-  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;
@@ -886,23 +873,21 @@ treechildren::-moz-tree-image(subscribed
     border: 1px solid;
     background: var(--toolbarbutton-hover-background);
     border-color: var(--toolbarbutton-hover-bordercolor);
     box-shadow: var(--toolbarbutton-hover-boxshadow);
     transition-property: background-color, border-color, box-shadow;
     transition-duration: 150ms;
   }
 
-  #identityLabel:hover,
   menulist:not([disabled="true"]):not([open="true"]):hover {
     background: var(--toolbarbutton-active-background);
     border-color: var(--toolbarbutton-active-bordercolor);
   }
 
-  #identityLabel:hover:active,
   menulist[open="true"] {
     background: var(--toolbarbutton-active-background);
     border-color: var(--toolbarbutton-active-bordercolor);
     box-shadow: var(--toolbarbutton-active-boxshadow);
   }
 }
 
 .aw-menulist {
@@ -998,22 +983,20 @@ treechildren::-moz-tree-image(subscribed
   #headers-box {
     border-bottom-color: #a9b7c9;
   }
 
   findbar {
     background-color: #eef3fa;
   }
 
-  #identityLabel,
   menulist {
     border-radius: 2px;
   }
 
-  #identityLabel:hover:active,
   menulist[open="true"] {
     text-shadow: none;
     transition: none;
   }
 
   .aw-menulist {
     margin: 1px;
     margin-inline-end: 4px;