Fix topbar buttons in Firefox in save mode when css filter active

(closes #4348)
This commit is contained in:
Bryan Housel
2017-09-22 22:43:32 -04:00
parent 8d50e748a7
commit f42cb77d99
+16
View File
@@ -56,6 +56,22 @@ body {
transition-duration: 200ms;
}
/* Firefox has its own ideas about fixed positioning when a css filter is active - #4348 */
/* https://stackoverflow.com/questions/37949942/firefox-position-bug-by-parent-with-filter */
@-moz-document url-prefix() {
#content > #bar {
width: 100vw;
}
#content.inactive > #bar > .spacer.col4 {
width: 0px;
}
#content.active > #bar > .spacer.col4 {
width: 33.3333%;
transition-duration: 200ms;
transition-timing-function: step-end;
}
}
#defs {
/* Can't be display: none or the clippaths are ignored. */
position: absolute;