From 1a06f6038bba489e03e34e367344aae29308016c Mon Sep 17 00:00:00 2001 From: Richard Marti Date: Sun, 5 Jun 2016 20:23:17 +0200 Subject: [PATCH] Bug 1278125 - Add inactive styles for inactive windows on OS X 10.10+. r=Fallen --- calendar/base/themes/osx/calendar-task-view.css | 11 +++++++++++ calendar/base/themes/osx/calendar-unifinder.css | 7 +++++++ calendar/base/themes/osx/calendar-views.css | 14 ++++++++++++++ 3 files changed, 32 insertions(+) diff --git a/calendar/base/themes/osx/calendar-task-view.css b/calendar/base/themes/osx/calendar-task-view.css index 903b9a4ccb..b9072d097a 100644 --- a/calendar/base/themes/osx/calendar-task-view.css +++ b/calendar/base/themes/osx/calendar-task-view.css @@ -40,6 +40,17 @@ 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); diff --git a/calendar/base/themes/osx/calendar-unifinder.css b/calendar/base/themes/osx/calendar-unifinder.css index e70779398f..c71d05bc0c 100644 --- a/calendar/base/themes/osx/calendar-unifinder.css +++ b/calendar/base/themes/osx/calendar-unifinder.css @@ -20,3 +20,10 @@ .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; + } +} diff --git a/calendar/base/themes/osx/calendar-views.css b/calendar/base/themes/osx/calendar-views.css index bec904b2ec..d98dc12c07 100644 --- a/calendar/base/themes/osx/calendar-views.css +++ b/calendar/base/themes/osx/calendar-views.css @@ -136,3 +136,17 @@ tab[calview] > .tab-middle { .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; + } +}