summaryrefslogtreecommitdiffstats
path: root/browser/extensions/pocket/skin/shared/pocket.css
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /browser/extensions/pocket/skin/shared/pocket.css
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'browser/extensions/pocket/skin/shared/pocket.css')
-rw-r--r--browser/extensions/pocket/skin/shared/pocket.css79
1 files changed, 79 insertions, 0 deletions
diff --git a/browser/extensions/pocket/skin/shared/pocket.css b/browser/extensions/pocket/skin/shared/pocket.css
new file mode 100644
index 000000000..ec46e1890
--- /dev/null
+++ b/browser/extensions/pocket/skin/shared/pocket.css
@@ -0,0 +1,79 @@
+/* Bug 1164419 - increase Pocket panel size to accomidate wider Russian text. */
+panelmultiview[mainViewId=PanelUI-pocketView] > .panel-viewcontainer > .panel-viewstack > .panel-mainview:not([panelid="PanelUI-popup"]) {
+ max-width: 33em; /* standaloneSubviewWidth + 3 */
+}
+
+.cui-widget-panel[viewId="PanelUI-pocketView"] > .panel-arrowcontainer > .panel-arrowcontent {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+
+#PanelUI-pocketView > .panel-subview-body,
+#PanelUI-pocketView {
+ overflow: visible;
+}
+
+#pocket-button {
+ list-style-image: url("chrome://pocket/skin/Toolbar.png");
+ -moz-image-region: rect(0, 18px, 18px, 0);
+}
+
+toolbar[brighttext] #pocket-button {
+ list-style-image: url(chrome://pocket/skin/Toolbar-inverted.png);
+}
+
+@media not all and (min-resolution: 1.1dppx) {
+ #pocket-button[cui-areatype="menu-panel"],
+ toolbarpaletteitem[place="palette"] > #pocket-button {
+ list-style-image: url(chrome://pocket/skin/menuPanel.png);
+ -moz-image-region: rect(0, 32px, 32px, 0);
+ }
+
+ #pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 32px, 64px, 0);
+ }
+}
+
+@media (min-resolution: 1.1dppx) {
+ #pocket-button[cui-areatype="menu-panel"],
+ toolbarpaletteitem[place="palette"] > #pocket-button {
+ list-style-image: url(chrome://pocket/skin/menuPanel@2x.png);
+ -moz-image-region: rect(0px, 64px, 64px, 0);
+ }
+
+ #pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(64px, 64px, 128px, 0);
+ }
+}
+
+#pocket-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 18px, 18px, 0);
+}
+
+#pocket-button[cui-areatype="toolbar"][open] {
+ -moz-image-region: rect(18px, 18px, 36px, 0);
+}
+
+@media (min-resolution: 1.1dppx) {
+ #pocket-button {
+ list-style-image: url("chrome://pocket/skin/Toolbar@2x.png");
+ }
+
+ toolbar[brighttext] #pocket-button {
+ list-style-image: url("chrome://pocket/skin/Toolbar-inverted@2x.png");
+ }
+
+ #pocket-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 36px, 36px, 0px);
+ }
+
+ #pocket-button[cui-areatype="toolbar"][open] {
+ -moz-image-region: rect(36px, 36px, 72px, 0px);
+ }
+}
+
+#panelMenu_pocket,
+#menu_pocket,
+#BMB_pocket {
+ list-style-image: url("chrome://pocket/content/panels/img/pocketmenuitem16.png");
+}