summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-12-03 14:06:21 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-12-03 14:06:21 -0500
commit95c9e3ace3a65a418121a156c1b5cd2f927391d2 (patch)
tree361b641dc1cda3346775efe28a165a7954c646af /mail
parent2db9daabcaa170ac957b55577afd13cf5bc2de82 (diff)
downloadaura-central-95c9e3ace3a65a418121a156c1b5cd2f927391d2.tar.gz
Revert "[MAIL] Attempt to fix close buttons for tabs"
This reverts commit a2eeb92050cca59f53dc036275a96e36d9eefecb.
Diffstat (limited to 'mail')
-rw-r--r--mail/themes/classic/messenger/tabmail.css37
1 files changed, 7 insertions, 30 deletions
diff --git a/mail/themes/classic/messenger/tabmail.css b/mail/themes/classic/messenger/tabmail.css
index 0e0ff64c3..cdfccbfa9 100644
--- a/mail/themes/classic/messenger/tabmail.css
+++ b/mail/themes/classic/messenger/tabmail.css
@@ -142,7 +142,7 @@ tabpanels {
.tabs-closebutton-box {
margin-top: 2px;
margin-bottom: 4px;
-}
+}
.tab-close-button > .toolbarbutton-icon {
-moz-margin-end: 0px !important;
@@ -152,42 +152,19 @@ tabpanels {
.tab-close-button,
.tabs-closebutton {
-moz-appearance: none;
- -moz-image-region: rect(0, 16px, 16px, 0);
border: none !important;
- padding: 1px;
+ padding: 0px;
cursor: default;
- list-style-image: url("chrome://global/skin/icons/close.svg");
}
.tabs-closebutton {
- padding: 1px 3px;
-}
-
-.tabmail-tab:not([selected="true"]) > .tab-close-button {
- margin-bottom: 1px;
-}
-
-.tabmail-tab:not([selected="true"]) > .tab-close-button > .toolbarbutton-icon {
- margin-top: 2px;
-}
-
-.tab-close-button:hover,
-.tabs-closebutton:hover,
-.tabmail-tab[selected="true"] > .tab-close-button:hover {
- -moz-image-region: rect(0, 32px, 16px, 16px);
- opacity: 1.0;
+ padding: 0 3px;
}
-.tab-close-button:hover:active,
-.tabs-closebutton:hover:active,
-.tabmail-tab[selected="true"] > .tab-close-button:hover:active {
- -moz-image-region: rect(0, 48px, 16px, 32px);
- opacity: 1.0;
-}
-
-
-.tabmail-tab[selected="true"] > .tab-close-button {
- -moz-image-region: rect(0, 16px, 16px, 0);
+.tabmail-tab:not([selected="true"]) > .tab-stack > .tab-content > .tab-close-button:not(:hover):not(:active) {
+%ifndef XP_LINUX
+ -moz-image-region: rect(0px, 64px, 16px, 48px);
+%endif
/* Make this button focusable so clicking on it will not focus the tab while
it's getting closed */
-moz-user-focus: normal;