Skip to content

Commit e181381

Browse files
committed
chore: Changed menu separator widths, b=(no-bug), c=common
1 parent 68191d2 commit e181381

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
diff --git a/toolkit/themes/shared/menulist-shared.css b/toolkit/themes/shared/menulist-shared.css
2-
index 5dd5549674570170a694afbd9ea4526e52e3192a..187fcb57183df6a0ab3701ab79c46d86c5e984b3 100644
2+
index 5dd5549674570170a694afbd9ea4526e52e3192a..a24ded413065ce1493e8622c5777c5b5bdac128e 100644
33
--- a/toolkit/themes/shared/menulist-shared.css
44
+++ b/toolkit/themes/shared/menulist-shared.css
5-
@@ -14,7 +14,8 @@
5+
@@ -14,7 +14,7 @@
66

77
:host(:not([native])) {
88
appearance: none;
99
- background-color: var(--button-background-color);
10-
+ background-color: var(--zen-colors-tertiary, ButtonFace);
11-
+ border: 1px solid var(--input-border-color, ThreeDShadow);
10+
+ background-color: light-dark(rgba(0,0,0,.1), rgba(255,255,255,.1));
1211
color: var(--button-text-color);
1312
border-radius: 4px;
1413
padding-block: 4px;

src/zen/common/styles/zen-popup.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ panel {
263263
--arrowpanel-menuitem-padding-inline: 15px;
264264
}
265265

266+
toolbarseparator {
267+
padding-inline: 0 !important;
268+
}
269+
266270
toolbarseparator,
267271
menuseparator {
268272
border-width: var(--zen-panel-separator-width);
@@ -391,7 +395,7 @@ menuseparator {
391395
& button {
392396
color-scheme: dark;
393397
width: min-content;
394-
padding: 0 12px !important;
398+
padding: 0 10px !important;
395399
min-width: unset !important;
396400
margin: 0px !important;
397401
border-radius: calc(var(--zen-native-inner-radius) + 2px) !important;

src/zen/common/styles/zen-theme.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@
197197
--toolbar-field-background-color: var(--zen-colors-input-bg) !important;
198198
--arrowpanel-background: var(--zen-dialog-background) !important;
199199

200+
--panel-separator-color: color-mix(in srgb, currentColor 15%, transparent) !important;
201+
200202
--zen-big-shadow: 0 0 9.73px 0px light-dark(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25));
201203
--zen-active-tab-scale: 0.98;
202204

0 commit comments

Comments
 (0)