Skip to content

Commit

Permalink
fixed #220 Back button compatibility with dark themes (win and linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
traxium committed Aug 13, 2017
1 parent 75d173b commit 8728433
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 32 deletions.
10 changes: 6 additions & 4 deletions modules/NavBarHeight/linux/tt-navbar-24.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* 271 */

/* Use smaller back button icon */
#back-button {
-moz-image-region: rect(0, 54px, 18px, 36px);
}

/* 369 */

Expand Down Expand Up @@ -90,5 +87,10 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* fix for #220 (Firefox 55 - back button missing) */

#back-button {
list-style-image: url(chrome://tabtree/skin/Toolbar.png);
list-style-image: url(chrome://browser/skin/back.svg);
}

#back-button > .toolbarbutton-icon {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
10 changes: 6 additions & 4 deletions modules/NavBarHeight/linux/tt-navbar-26.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* 271 */

/* Use smaller back button icon */
#back-button {
-moz-image-region: rect(0, 54px, 18px, 36px);
}

/* 369 */

Expand Down Expand Up @@ -79,5 +76,10 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* fix for #220 (Firefox 55 - back button missing) */

#back-button {
list-style-image: url(chrome://tabtree/skin/Toolbar.png);
list-style-image: url(chrome://browser/skin/back.svg);
}

#back-button > .toolbarbutton-icon {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
10 changes: 6 additions & 4 deletions modules/NavBarHeight/linux/tt-navbar-28.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* 271 */

/* Use smaller back button icon */
#back-button {
-moz-image-region: rect(0, 54px, 18px, 36px);
}

/* 369 */

Expand Down Expand Up @@ -79,5 +76,10 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* fix for #220 (Firefox 55 - back button missing) */

#back-button {
list-style-image: url(chrome://tabtree/skin/Toolbar.png);
list-style-image: url(chrome://browser/skin/back.svg);
}

#back-button > .toolbarbutton-icon {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
10 changes: 6 additions & 4 deletions modules/NavBarHeight/linux/tt-navbar-30.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* 271 */

/* Use smaller back button icon */
#back-button {
-moz-image-region: rect(0, 54px, 18px, 36px);
}

/* 369 */

Expand Down Expand Up @@ -58,5 +55,10 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* fix for #220 (Firefox 55 - back button missing) */

#back-button {
list-style-image: url(chrome://tabtree/skin/Toolbar.png);
list-style-image: url(chrome://browser/skin/back.svg);
}

#back-button > .toolbarbutton-icon {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
10 changes: 6 additions & 4 deletions modules/NavBarHeight/windows/tt-navbar-24.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* 271 */

/* Use smaller back button icon */
#back-button {
-moz-image-region: rect(0, 54px, 18px, 36px);
}

/* 378 */

Expand Down Expand Up @@ -100,5 +97,10 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* fix for #220 (Firefox 55 - back button missing) */

#back-button {
list-style-image: url(chrome://tabtree/skin/Toolbar.png);
list-style-image: url(chrome://browser/skin/back.svg);
}

#back-button > .toolbarbutton-icon {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
10 changes: 6 additions & 4 deletions modules/NavBarHeight/windows/tt-navbar-26.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* 271 */

/* Use smaller back button icon */
#back-button {
-moz-image-region: rect(0, 54px, 18px, 36px);
}

/* 378 */

Expand Down Expand Up @@ -80,5 +77,10 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* fix for #220 (Firefox 55 - back button missing) */

#back-button {
list-style-image: url(chrome://tabtree/skin/Toolbar.png);
list-style-image: url(chrome://browser/skin/back.svg);
}

#back-button > .toolbarbutton-icon {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
10 changes: 6 additions & 4 deletions modules/NavBarHeight/windows/tt-navbar-28.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* 271 */

/* Use smaller back button icon */
#back-button {
-moz-image-region: rect(0, 54px, 18px, 36px);
}

/* 378 */

Expand Down Expand Up @@ -73,5 +70,10 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* fix for #220 (Firefox 55 - back button missing) */

#back-button {
list-style-image: url(chrome://tabtree/skin/Toolbar.png);
list-style-image: url(chrome://browser/skin/back.svg);
}

#back-button > .toolbarbutton-icon {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
10 changes: 6 additions & 4 deletions modules/NavBarHeight/windows/tt-navbar-30.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* 271 */

/* Use smaller back button icon */
#back-button {
-moz-image-region: rect(0, 54px, 18px, 36px);
}

/* 378 */

Expand Down Expand Up @@ -73,5 +70,10 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
/* fix for #220 (Firefox 55 - back button missing) */

#back-button {
list-style-image: url(chrome://tabtree/skin/Toolbar.png);
list-style-image: url(chrome://browser/skin/back.svg);
}

#back-button > .toolbarbutton-icon {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
Binary file removed skin/Toolbar.png
Binary file not shown.

0 comments on commit 8728433

Please sign in to comment.