Permalink
Browse files

Retina support for Mac OS

  • Loading branch information...
1 parent ca99c75 commit 72f564525af192447fc9d7c342dd71aed4089c5d @inbasic committed Jan 21, 2014
View
@@ -1,3 +1,4 @@
addon-sdk*
node_modules/
-test/
+test/
+.DS_Store
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.
@@ -1,25 +1,63 @@
#navigator-toolbox[iconsize="large"] #igmail-notifier:after,
#igmail-notifier:after {
font-family: sans-serif;
- line-height: 13px;
+ font-size: 8px;
+ line-height: 10px;
+ height: 10px;
+}
+#igmail-notifier:-moz-window-inactive:after {
+ background-color: #99B2E5;
}
#igmail-notifier[length="1"]:after,
#navigator-toolbox[iconsize="large"] #igmail-notifier[length="1"]:after {
- margin: 6px 0 0 -10px;
+ margin: 8px 0 0 -10px;
width: 10px;
}
#igmail-notifier[length="2"]:after,
#navigator-toolbox[iconsize="large"] #igmail-notifier[length="2"]:after {
- margin: 6px 0 0 -14px;
- width: 14px;
+ margin: 8px 0 0 -12px;
+ width: 12px;
}
#igmail-notifier[length="3"]:after,
#navigator-toolbox[iconsize="large"] #igmail-notifier[length="3"]:after {
- margin: 6px 0 0 -22px;
- width: 22px;
+ margin: 8px 0 0 -19px;
+ width: 19px;
}
#igmail-notifier[length="4"]:after,
#navigator-toolbox[iconsize="large"] #igmail-notifier[length="4"]:after{
- margin: 6px -1px 0 -25px;
- width: 26px;
+ margin: 8px -1px 0 -20px;
+ width: 21px;
+}
+
+/** Retina Display **/
+@media (min-resolution: 2dppx) {
+ #igmail-notifier,
+ #igmail-notifier[type="blue"] {
+ list-style-image: url('toolbar-32.png') !important;
+ -moz-image-region: rect(0, 96px, 32px, 64px);
+ }
+ #igmail-notifier[type="gray"] {
+ -moz-image-region: rect(0, 64px, 32px, 32px);
+ }
+ #igmail-notifier[type="red"] {
+ -moz-image-region: rect(0, 32px, 32px, 0);
+ }
+ #igmail-notifier[type="new"] {
+ -moz-image-region: rect(0, 128px, 32px, 96px);
+ }
+ #igmail-notifier[type="load0"] {
+ -moz-image-region: rect(0, 160px, 32px, 128px);
+ }
+ #igmail-notifier[type="load1"] {
+ -moz-image-region: rect(0, 192px, 32px, 160px);
+ }
+ #igmail-notifier[type="load2"] {
+ -moz-image-region: rect(0, 224px, 32px, 192px);
+ }
+ #igmail-notifier[type="load3"] {
+ -moz-image-region: rect(0, 256px, 32px, 2242px);
+ }
+ #igmail-notifier image {
+ width: 16px;
+ }
}
View
@@ -83,5 +83,4 @@
#alertTitleLabel[value="Gmail notifier"] + #alertTextLabel {
color: InfoText !important;
}
-}
-
+}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.

0 comments on commit 72f5645

Please sign in to comment.