Backed out changeset 4ddaece5b962 (bug 1509194); rs=backout
authorGeoff Lankow <geoff@darktrojan.net>
Thu, 22 Nov 2018 18:26:14 +1300
changeset 32903 601a4bad47a152d738a6fed92ae56933962dfe87
parent 32902 4ddaece5b9625bc57152af84385bd4f66d0c6195
child 32904 b5146b7bfd61c4d2fba81f2890b5bf60653c1c86
push id2343
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:37:21 +0000
treeherdercomm-beta@a0750c375f71 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1509194
backs out4ddaece5b9625bc57152af84385bd4f66d0c6195
Backed out changeset 4ddaece5b962 (bug 1509194); rs=backout
calendar/base/content/widgets/calendar-widget-bindings.css
calendar/base/themes/common/widgets/calendar-widgets.css
calendar/base/themes/linux/calendar-views.css
calendar/base/themes/osx/calendar-views.css
calendar/base/themes/windows/calendar-views.css
--- a/calendar/base/content/widgets/calendar-widget-bindings.css
+++ b/calendar/base/content/widgets/calendar-widget-bindings.css
@@ -32,15 +32,19 @@ minimonth-header {
 minimonth-header[readonly="true"] {
   -moz-binding: url("chrome://calendar/content/widgets/minimonth.xml#minimonth-header");
 }
 
 dragndropContainer {
    -moz-binding: url(chrome://calendar/content/widgets/calendar-widgets.xml#dragndropContainer);
 }
 
+tab[calview] {
+   -moz-binding: url(chrome://calendar/content/widgets/calendar-widgets.xml#view-tab);
+}
+
 calendar-list-tree {
    -moz-binding: url(chrome://calendar/content/widgets/calendar-list-tree.xml#calendar-list-tree);
 }
 
 calendar-list-tree[type="full"] {
    -moz-binding: url(chrome://calendar/content/widgets/calendar-list-tree.xml#full-calendar-list-tree);
 }
--- a/calendar/base/themes/common/widgets/calendar-widgets.css
+++ b/calendar/base/themes/common/widgets/calendar-widgets.css
@@ -65,16 +65,25 @@ checkbox.treenode-checkbox > .checkbox-l
 .view-navigation-button > .toolbarbutton-icon {
   margin: 0 !important;
 }
 
 .view-navigation-button > .toolbarbutton-text  {
   display: none;
 }
 
+.selected-text {
+    font-weight: bold;
+}
+
+.selected-text:not([selected="true"]),
+.unselected-text[selected="true"] {
+    visibility: hidden;
+}
+
 .categories-listbox {
     -moz-appearance: none;
     background-color: Menu;
     color: MenuText;
     margin: 0 0 4px 0;
     border: 0;
 }
 
--- a/calendar/base/themes/linux/calendar-views.css
+++ b/calendar/base/themes/linux/calendar-views.css
@@ -23,17 +23,16 @@
 
 tab[calview] {
     color: ButtonText;
     margin-bottom: 0;
 }
 
 tab[calview][selected="true"] {
     background-color: -moz-Field;
-    font-weight: bold;
 }
 
 tab[calview] > .tab-middle {
     margin-top: 3px;
     margin-bottom: 3px;
 }
 
 .navigation-bottombox {
--- a/calendar/base/themes/osx/calendar-views.css
+++ b/calendar/base/themes/osx/calendar-views.css
@@ -75,17 +75,16 @@ agenda-richlist-item[status="CANCELLED"]
 tab[calview] {
     color: #2e4e73;
     padding-top: 4px;
 }
 
 tab[calview][selected="true"] {
     background-color: #fff;
     color: inherit;
-    font-weight: bold;
 }
 
 tab[calview] > .tab-middle {
     padding: 0;
 }
 
 .view-header {
     margin-top: 3px;
--- a/calendar/base/themes/windows/calendar-views.css
+++ b/calendar/base/themes/windows/calendar-views.css
@@ -24,17 +24,16 @@
 }
 
 tab[calview] {
     color: ButtonText;
 }
 
 tab[calview][selected="true"] {
     background-color: -moz-Field;
-    font-weight: bold;
 }
 
 .navigation-inner-box > hbox {
     padding-top: 1px;
 }
 
 .navigation-bottombox {
     background-color: -moz-Field;