Bug 1511252 - Clean up .tab-throbber-tabslist rules. r=dao
authorJared Wein <jwein@mozilla.com>
Tue, 04 Dec 2018 20:46:46 +0000
changeset 508577 adf4bd858ab4bb43cae99e5533bb7c248f1fcaff
parent 508576 6397590938811dfaec66b509a9f167c454a6779f
child 508578 7fed8f371c19a508c3e6cc644643110c374c4ae1
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1511252
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1511252 - Clean up .tab-throbber-tabslist rules. r=dao Differential Revision: https://phabricator.services.mozilla.com/D13687
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -144,17 +144,16 @@
   }
   100% {
     opacity: 0;
     transform: scale(40);
   }
 }
 
 .tab-throbber,
-.tab-throbber-tabslist,
 .tab-icon-pending,
 .tab-icon-image,
 .tab-sharing-icon-overlay,
 .tab-icon-sound,
 .tab-close-button {
   margin-top: 1px;
 }
 
@@ -163,17 +162,16 @@
 .tab-icon-pending,
 .tab-icon-image,
 .tab-sharing-icon-overlay {
   height: 16px;
   width: 16px;
 }
 
 .tab-throbber:not([pinned]),
-.tab-throbber-tabslist:not([pinned]),
 .tab-sharing-icon-overlay:not([pinned]),
 .tab-icon-pending:not([pinned]),
 .tab-icon-image:not([pinned]) {
   margin-inline-end: 6px;
 }
 
 :root[sessionrestored] .tab-throbber[busy] {
   position: relative;
@@ -329,30 +327,30 @@
 .tab-throbber-tabslist[busy] {
   list-style-image: url("chrome://browser/skin/tabbrowser/tab-connecting.png");
 }
 
 .tab-throbber-tabslist[progress] {
   list-style-image: url("chrome://browser/skin/tabbrowser/tab-loading.png");
 }
 
-#TabsToolbar[brighttext] .tab-throbber-tabslist[progress]:not([selected=true]) {
+:root[lwt-popup-brighttext] .tab-throbber-tabslist[progress]:not([selected=true]) {
   list-style-image: url("chrome://browser/skin/tabbrowser/tab-loading-inverted.png");
 }
 
 @media (min-resolution: 1.1dppx) {
   .tab-throbber-tabslist[busy] {
     list-style-image: url("chrome://browser/skin/tabbrowser/tab-connecting@2x.png");
   }
 
   .tab-throbber-tabslist[progress] {
     list-style-image: url("chrome://browser/skin/tabbrowser/tab-loading@2x.png");
   }
 
-  #TabsToolbar[brighttext] .tab-throbber-tabslist[progress]:not([selected=true]) {
+  :root[lwt-popup-brighttext] .tab-throbber-tabslist[progress]:not([selected=true]) {
     list-style-image: url("chrome://browser/skin/tabbrowser/tab-loading-inverted@2x.png");
   }
 }
 
 .tab-label {
   margin-inline-end: 0;
   margin-inline-start: 0;
   /* Maintain consistent alignment in case of font fallback for non-Latin characters. */
@@ -752,21 +750,16 @@
 }
 
 .all-tabs-item:hover > .all-tabs-button,
 .all-tabs-item:hover > .all-tabs-secondary-button {
   /* Since the background is set on the item, don't set it on the children. */
   background-color: transparent !important;
 }
 
-.tab-throbber-tabslist {
-  display: block;
-  margin-inline-end: 0;
-}
-
 .all-tabs-item[selected] {
   font-weight: bold;
   box-shadow: inset 4px 0 var(--blue-40);
 }
 
 .all-tabs-item[selected]:-moz-locale-dir(rtl) {
   box-shadow: inset -4px 0 var(--blue-40);
 }