forked from ZenBrowserMirrors/zen-desktop
fix: update CSS media queries for Linux and remove unused border color variable
This commit is contained in:
parent
1e678008a2
commit
6a14f85d22
4 changed files with 24 additions and 24 deletions
|
@ -7,7 +7,7 @@ panel[type='arrow'][animate='open'] {
|
||||||
@media (-moz-platform: macos) {
|
@media (-moz-platform: macos) {
|
||||||
animation: zen-jello-animation-macos 0.4s ease-out;
|
animation: zen-jello-animation-macos 0.4s ease-out;
|
||||||
}
|
}
|
||||||
@media not (-moz-platform: macos) {
|
@media (-moz-platform: linux) {
|
||||||
&::part(content) {
|
&::part(content) {
|
||||||
animation: zen-jello-animation 0.35s ease;
|
animation: zen-jello-animation 0.35s ease;
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,6 @@
|
||||||
--in-content-primary-button-border-color: transparent !important;
|
--in-content-primary-button-border-color: transparent !important;
|
||||||
--in-content-primary-button-border-hover: transparent !important;
|
--in-content-primary-button-border-hover: transparent !important;
|
||||||
--in-content-primary-button-border-active: var(--zen-colors-border) !important;
|
--in-content-primary-button-border-active: var(--zen-colors-border) !important;
|
||||||
--in-content-box-border-color: var(--zen-colors-border) !important;
|
|
||||||
|
|
||||||
--in-content-accent-color: var(--zen-colors-primary) !important;
|
--in-content-accent-color: var(--zen-colors-primary) !important;
|
||||||
--in-content-accent-color-active: currentColor !important;
|
--in-content-accent-color-active: currentColor !important;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml
|
diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml
|
||||||
index 85974462e5ce2b7dbf85bd5c79f09b3db5c25915..428a245cdf58d959256aa3c975687f31aed16b05 100644
|
index 85974462e5ce2b7dbf85bd5c79f09b3db5c25915..f914f5c0f29be4149be15265bb6571ae92fb23cc 100644
|
||||||
--- a/modules/libpref/init/StaticPrefList.yaml
|
--- a/modules/libpref/init/StaticPrefList.yaml
|
||||||
+++ b/modules/libpref/init/StaticPrefList.yaml
|
+++ b/modules/libpref/init/StaticPrefList.yaml
|
||||||
@@ -18462,13 +18462,13 @@
|
@@ -18462,13 +18462,13 @@
|
||||||
|
@ -18,30 +18,11 @@ index 85974462e5ce2b7dbf85bd5c79f09b3db5c25915..428a245cdf58d959256aa3c975687f31
|
||||||
mirror: always
|
mirror: always
|
||||||
|
|
||||||
# Whether we expand the client area into the taskbar hidden edge on maximized
|
# Whether we expand the client area into the taskbar hidden edge on maximized
|
||||||
@@ -18594,6 +18594,26 @@
|
@@ -18594,6 +18594,7 @@
|
||||||
mirror: always
|
mirror: always
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
+# Dummy pref to always generate StaticPrefs_zen.h in every OS
|
+#include zen-static-prefs.inc
|
||||||
+- name: zen.browser.is-cool
|
|
||||||
+ type: bool
|
|
||||||
+ value: true
|
|
||||||
+ mirror: never
|
|
||||||
+
|
|
||||||
+#ifdef XP_MACOSX
|
|
||||||
+- name: zen.widget.macos.window-material
|
|
||||||
+ type: uint32_t
|
|
||||||
+ value: 1
|
|
||||||
+ mirror: always
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#ifdef XP_WIN
|
|
||||||
+- name: zen.widget.windows.acrylic
|
|
||||||
+ type: bool
|
|
||||||
+ value: true
|
|
||||||
+ mirror: once
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
# Prefs starting with "zoom."
|
# Prefs starting with "zoom."
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|
20
src/modules/libpref/init/zen-static-prefs.inc
Normal file
20
src/modules/libpref/init/zen-static-prefs.inc
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
|
||||||
|
# Dummy pref to always generate StaticPrefs_zen.h in every OS
|
||||||
|
- name: zen.browser.is-cool
|
||||||
|
type: bool
|
||||||
|
value: true
|
||||||
|
mirror: never
|
||||||
|
|
||||||
|
#ifdef XP_MACOSX
|
||||||
|
- name: zen.widget.macos.window-material
|
||||||
|
type: uint32_t
|
||||||
|
value: 1
|
||||||
|
mirror: always
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef XP_WIN
|
||||||
|
- name: zen.widget.windows.acrylic
|
||||||
|
type: bool
|
||||||
|
value: true
|
||||||
|
mirror: always
|
||||||
|
#endif
|
Loading…
Add table
Add a link
Reference in a new issue