Skip to content

Commit

Permalink
use hi-res icon all the time
Browse files Browse the repository at this point in the history
  • Loading branch information
117649 committed Nov 30, 2022
1 parent fa2170c commit 0509197
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 295 deletions.
23 changes: 4 additions & 19 deletions chrome/skin/common/TabView.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,16 @@
/* tabview toolbar button */

.tabGroups-icon {
list-style-image: url(chrome://tabgroups-os/skin/Toolbar.png);
list-style-image: url(chrome://tabgroups-os/skin/Toolbar@2x.png);
}

toolbar[brighttext] #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/Toolbar-inverted.png);
list-style-image: url(chrome://tabgroups-os/skin/Toolbar-inverted@2x.png);
}

#tabGroups-tabview-button[cui-areatype="menu-panel"],
#tabGroups-tabview-button[cui-areatype="panel"],
toolbarpaletteitem[place="palette"] > #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/menuPanel.png);
}

@media (min-resolution: 1.1dppx) {
.tabGroups-icon {
list-style-image: url(chrome://tabgroups-os/skin/[email protected]);
}

toolbar[brighttext] #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/[email protected]);
}

#tabGroups-tabview-button[cui-areatype="menu-panel"],
toolbarpaletteitem[place="palette"] > #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/[email protected]);
}
list-style-image: url(chrome://tabgroups-os/skin/[email protected]);
}

#tabGroups-tabview-button[showGroupTitle][cui-areatype="toolbar"] > .toolbarbutton-text {
Expand Down
42 changes: 5 additions & 37 deletions chrome/skin/common/compatibilityFix/FTDeepDark-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,23 @@
@-moz-document url("chrome://browser/content/browser.xhtml") {
.tabGroups-quickaccess-panel-footer > toolbarbutton.tabGroups-quickaccess-panel-manage,
#tabGroups-tabview-button {
list-style-image: url("chrome://tabgroups-os/skin/Toolbar-inverted.png");
/* -moz-image-region: rect(0, 648px, 18px, 630px); */
}
@media (min-resolution: 1.25dppx) {
.tabGroups-quickaccess-panel-footer > toolbarbutton.tabGroups-quickaccess-panel-manage,
#tabGroups-tabview-button {
list-style-image: url("chrome://tabgroups-os/skin/[email protected]");
}
list-style-image: url("chrome://tabgroups-os/skin/[email protected]");
}

toolbar[brighttext] #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/Toolbar-inverted.png);
}
@media (min-resolution: 1.25dppx) {
toolbar[brighttext] #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/[email protected]);
}
list-style-image: url(chrome://tabgroups-os/skin/[email protected]);
}

#tabGroups-tabview-button[cui-areatype="menu-panel"],
#tabGroups-tabview-button[cui-areatype="panel"],
toolbarpaletteitem[place="palette"] > #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/menuPanel.png);
-moz-image-region: rect(0px, 608px, 32px, 576px);
}
@media (min-resolution: 1.25dppx) {
#tabGroups-tabview-button[cui-areatype="menu-panel"],
toolbarpaletteitem[place="palette"] > #tabGroups-tabview-button {
list-style-image: url(chrome://tabgroups-os/skin/[email protected]);
}
list-style-image: url(chrome://tabgroups-os/skin/[email protected]);
}

#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #tabGroups-tabview-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #tabGroups-tabview-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
position: relative;
z-index: 1;
list-style-image: url("chrome://tabgroups-os/skin/Toolbar-inverted.png");
}
@media (min-resolution: 1.25dppx) {
#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #tabGroups-tabview-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #tabGroups-tabview-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
list-style-image: url("chrome://tabgroups-os/skin/[email protected]");
}
list-style-image: url("chrome://tabgroups-os/skin/[email protected]");
}

@media (-moz-windows-glass) {
Expand All @@ -73,13 +48,6 @@
}
}

@-moz-document url-prefix("about:tabgroups") {
#categories .category image { list-style-image: url("chrome://tabgroups/skin/[email protected]"); }
#categories .category[value="paneTabGroups"] image { -moz-image-region: rect(0px 96px 48px 48px); }
#categories .category[value="paneHowTo"] image { -moz-image-region: rect(0px 144px 48px 96px); }
#categories .category[value="paneSession"] image { -moz-image-region: rect(0px 192px 48px 144px); }
}

@-moz-document url("chrome://tabgroups/content/tabview.xhtml") {
body {
font: message-box;
Expand Down
18 changes: 5 additions & 13 deletions chrome/skin/common/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,11 @@
* 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/. */

#categories .category image { list-style-image: url("chrome://tabgroups/skin/panes.png"); }
#categories .category[value="paneAbout"] image { -moz-image-region: rect(0px 24px 24px 0px); }
#categories .category[value="paneTabGroups"] image { -moz-image-region: rect(0px 48px 24px 24px); }
#categories .category[value="paneHowTo"] image { -moz-image-region: rect(0px 72px 24px 48px); }
#categories .category[value="paneSession"] image { -moz-image-region: rect(0px 96px 24px 72px); }

@media (min-resolution: 1.1dppx) {
#categories .category image { list-style-image: url("chrome://tabgroups/skin/[email protected]"); }
#categories .category[value="paneAbout"] image { -moz-image-region: rect(0px 48px 48px 0px); }
#categories .category[value="paneTabGroups"] image { -moz-image-region: rect(0px 96px 48px 48px); }
#categories .category[value="paneHowTo"] image { -moz-image-region: rect(0px 144px 48px 96px); }
#categories .category[value="paneSession"] image { -moz-image-region: rect(0px 192px 48px 144px); }
}
#categories .category image { list-style-image: url("chrome://tabgroups/skin/[email protected]"); }
#categories .category[value="paneAbout"] image { -moz-image-region: rect(0px 48px 48px 0px); }
#categories .category[value="paneTabGroups"] image { -moz-image-region: rect(0px 96px 48px 48px); }
#categories .category[value="paneHowTo"] image { -moz-image-region: rect(0px 144px 48px 96px); }
#categories .category[value="paneSession"] image { -moz-image-region: rect(0px 192px 48px 144px); }

#paneTabGroups-shortcut label.stretch {
-moz-margin-end: 1.5em !important;
Expand Down
16 changes: 2 additions & 14 deletions chrome/skin/common/quickAccess.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@
}

.tabGroups-quickaccess .loading {
background-image: url("chrome://global/skin/icons/loading.png");
}

@media (min-resolution: 1.1dppx) {
.tabGroups-quickaccess .loading {
background-image: url("chrome://global/skin/icons/[email protected]");
}
background-image: url("chrome://global/skin/icons/[email protected]");
}

.quickaccess-contents toolbarbutton,
Expand Down Expand Up @@ -181,12 +175,6 @@
}

.tabGroups-quickaccess-panel-settings {
list-style-image: url("chrome://tabgroups/skin/settings.png");
}

@media (min-resolution: 1.1dppx) {
.tabGroups-quickaccess-panel-settings {
list-style-image: url("chrome://tabgroups/skin/[email protected]");
}
list-style-image: url("chrome://tabgroups/skin/[email protected]");
}

Loading

0 comments on commit 0509197

Please sign in to comment.