mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-15 20:12:58 +00:00
gh-13140: Fixed some items not respecting reduce motion (gh-13141)
This commit is contained in:
@@ -35,7 +35,7 @@ Zen is a firefox-based browser with the aim of pushing your productivity to a ne
|
||||
### Firefox Versions
|
||||
|
||||
- [`Release`](https://zen-browser.app/download) - Is currently built using Firefox version `149.0.2`! 🚀
|
||||
- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 149.0`!
|
||||
- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 149.0.2`!
|
||||
|
||||
### Contributing
|
||||
|
||||
|
||||
@@ -432,6 +432,9 @@ window.gZenUIManager = {
|
||||
},
|
||||
|
||||
onUrlbarSearchModeChanged(event) {
|
||||
if (gReduceMotion) {
|
||||
return;
|
||||
}
|
||||
const { searchMode } = event.detail;
|
||||
const input = gURLBar;
|
||||
if (gURLBar.hasAttribute("breakout-extend") && !this._animatingSearchMode) {
|
||||
|
||||
@@ -233,6 +233,7 @@
|
||||
--zen-primary-color: rgb(11, 10, 11) !important;
|
||||
/* Make sure its in sync with getToolbarColor */
|
||||
--toolbox-textcolor: rgba(255, 255, 255, 0.8) !important;
|
||||
--toolbar-color-scheme: dark !important;
|
||||
}
|
||||
|
||||
&[zen-unsynced-window='true'] {
|
||||
|
||||
@@ -309,13 +309,16 @@
|
||||
/* mark: workspace element */
|
||||
zen-workspace {
|
||||
flex-direction: column;
|
||||
transition: padding-top 0.1s;
|
||||
width: calc(100% + var(--zen-toolbox-padding) * 2);
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
color: var(--toolbox-textcolor);
|
||||
|
||||
@media not (prefers-reduced-motion: reduce) {
|
||||
transition: padding-top 0.1s;
|
||||
}
|
||||
|
||||
:root:not([zen-sidebar-expanded='true']) & {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -130,10 +130,14 @@
|
||||
height: 22px;
|
||||
border: none;
|
||||
width: 100%;
|
||||
transition:
|
||||
height 0.08s ease-in-out,
|
||||
padding 0.08s ease-in-out,
|
||||
opacity 0.06s ease-in-out;
|
||||
|
||||
@media not (prefers-reduced-motion: reduce) {
|
||||
transition:
|
||||
height 0.08s ease-in-out,
|
||||
padding 0.08s ease-in-out,
|
||||
opacity 0.06s ease-in-out;
|
||||
}
|
||||
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
|
||||
Reference in New Issue
Block a user