зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1243806 fix linux hidpi, r=gijs
This commit is contained in:
Родитель
49d82ec114
Коммит
6cb9ebeb48
|
@ -39,6 +39,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-resolution: 1.1dppx) {
|
@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:hover:active:not([disabled="true"]):not([cui-areatype="menu-panel"]) {
|
#pocket-button:hover:active:not([disabled="true"]):not([cui-areatype="menu-panel"]) {
|
||||||
-moz-image-region: rect(36px, 36px, 72px, 0);
|
-moz-image-region: rect(36px, 36px, 72px, 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,14 +35,6 @@ toolbar[brighttext] #pocket-button {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-resolution: 1.1dppx) {
|
@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="menu-panel"],
|
#pocket-button[cui-areatype="menu-panel"],
|
||||||
toolbarpaletteitem[place="palette"] > #pocket-button {
|
toolbarpaletteitem[place="palette"] > #pocket-button {
|
||||||
list-style-image: url(chrome://pocket/skin/menuPanel@2x.png);
|
list-style-image: url(chrome://pocket/skin/menuPanel@2x.png);
|
||||||
|
|
|
@ -16,6 +16,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-resolution: 1.1dppx) {
|
@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"] {
|
#pocket-button[cui-areatype="toolbar"] {
|
||||||
-moz-image-region: rect(0, 36px, 36px, 0px);
|
-moz-image-region: rect(0, 36px, 36px, 0px);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче