Bug 1278125 - Add inactive styles for inactive windows on OS X 10.10+. r=Fallen a=Fallen
authorRichard Marti <richard.marti@gmail.com>
Sun, 05 Jun 2016 20:23:17 +0200
changeset 27222 23a754b54e5ebfbb6268b3cb698d3c6617abd1ba
parent 27221 f60ef4087aa831c4c530940ac10c52d550326f6f
child 27223 e83bc0a253317b614d939f75daff91232e3859e6
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFallen, Fallen
bugs1278125
Bug 1278125 - Add inactive styles for inactive windows on OS X 10.10+. r=Fallen a=Fallen
calendar/base/themes/osx/calendar-task-view.css
calendar/base/themes/osx/calendar-unifinder.css
calendar/base/themes/osx/calendar-views.css
--- a/calendar/base/themes/osx/calendar-task-view.css
+++ b/calendar/base/themes/osx/calendar-task-view.css
@@ -35,16 +35,27 @@
     margin-bottom: 0;
 }
 
 #task-actions-toolbar {
     min-width: 50px !important;
     min-height: 14px !important;
 }
 
+@media (-moz-mac-yosemite-theme) {
+    #task-addition-box:-moz-window-inactive {
+        border-bottom-color: hsl(0, 0%, 85%);
+        background: -moz-mac-chrome-inactive;
+    }
+
+    #calendar-task-details-container:-moz-window-inactive {
+        background-color: -moz-mac-chrome-inactive;
+    }
+}
+
 @media not all and (-moz-mac-yosemite-theme) {
   #task-actions-category {
     list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#category);
   }
 
   #task-actions-markcompleted {
     list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#complete);
   }
--- a/calendar/base/themes/osx/calendar-unifinder.css
+++ b/calendar/base/themes/osx/calendar-unifinder.css
@@ -15,8 +15,15 @@
     border-right-color: transparent;
     border-left-color: transparent;
     background-color: transparent;
 }
 
 .unifinder-closebutton > .toolbarbutton-text {
     display: none;
 }
+
+@media (-moz-mac-yosemite-theme) {
+    #unifinder-searchBox:-moz-window-inactive {
+        border-bottom-color: hsl(0, 0%, 85%);
+        background: -moz-mac-chrome-inactive;
+    }
+}
--- a/calendar/base/themes/osx/calendar-views.css
+++ b/calendar/base/themes/osx/calendar-views.css
@@ -131,8 +131,22 @@ tab[calview] > .tab-middle {
 .today-navigation-button {
     margin-top: 2px;
     margin-bottom: 0px;
 }
 
 .view-navigation-button > .toolbarbutton-icon {
     margin: 1px;
 }
+
+@media (-moz-mac-yosemite-theme) {
+    #calendar-nav-control:-moz-window-inactive {
+        background: -moz-mac-chrome-inactive;
+    }
+
+    .navigation-inner-box:-moz-window-inactive {
+        border-bottom-color: hsl(0, 0%, 85%);
+    }
+
+    tab[calview]:not([selected="true"]):-moz-window-inactive {
+        background-color: #EAEAEA;
+    }
+}