Browse Source

Updated Lightbird style

Exalm 7 years ago
parent
commit
b35cf2703f
2 changed files with 61 additions and 0 deletions
  1. 3 0
      theme/chrome.manifest
  2. 58 0
      theme/extensions/calendar/messenger-toolbar.css

+ 3 - 0
theme/chrome.manifest

@@ -72,6 +72,9 @@ style	chrome://lightbird/content/sunbird/calendar.xul	chrome://gnomerunner-calen
 style	chrome://lightbird/content/tasksOverlay.xul		chrome://gnomerunner-calendar/skin/lightbird.css
 style	chrome://lightbird/content/sunbird/calendar.xul	chrome://gnomerunner-calendar/skin/calendar-unifinder.css
 
+style	chrome://lightbird/content/messengerOverlay.xul	chrome://gnomerunner-calendar/skin/messenger-toolbar.css
+style	chrome://global/content/customizeToolbar.xul	chrome://gnomerunner-calendar/skin/messenger-toolbar.css
+
 style	chrome://lightbird/content/messengerOverlay.xul	chrome://gnomerunner-calendar/skin/lightbird-menus.css
 style	chrome://lightbird/content/sunbird/calendar.xul	chrome://gnomerunner-calendar/skin/lightbird-menus.css
 

+ 58 - 0
theme/extensions/calendar/messenger-toolbar.css

@@ -0,0 +1,58 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+@import url("chrome://icons/skin/icon-theme-default.css");
+
+#extractEventButton,
+#extractTaskButton {
+  -moz-image-region: auto !important;
+}
+
+/*--------------------------------------------------------------------
+ *   new event button
+ *-------------------------------------------------------------------*/
+
+#extractEventButton {
+  list-style-image: var(--icon-appointment-new-24);
+}
+
+#extractEventButton[disabled="true"] {
+  list-style-image: var(--icon-appointment-new-24-dis);
+}
+
+/*--------------------------------------------------------------------
+ *   new event button - small
+ *-------------------------------------------------------------------*/
+
+toolbar[iconsize="small"] #extractEventButton {
+  list-style-image: var(--icon-appointment-new-16);
+}
+
+toolbar[iconsize="small"] #extractEventButton[disabled="true"] {
+  list-style-image: var(--icon-appointment-new-16-dis);
+}
+
+/*--------------------------------------------------------------------
+ *   New Task button
+ *-------------------------------------------------------------------*/
+
+#extractTaskButton {
+  list-style-image: var(--icon-stock_task-24);
+}
+
+#extractTaskButton[disabled="true"] {
+  list-style-image: var(--icon-stock_task-24-dis);
+}
+
+/*--------------------------------------------------------------------
+ *   New Task button - small
+ *-------------------------------------------------------------------*/
+
+toolbar[iconsize="small"] #extractTaskButton {
+  list-style-image: var(--icon-stock_task-16);
+}
+
+toolbar[iconsize="small"] #extractTaskButton[disabled="true"] {
+  list-style-image: var(--icon-stock_task-16-dis);
+}