Skip to content

Commit 55275b2

Browse files
committed
Small adjustments to compact mode and the URL bar background
1 parent 188a6ea commit 55275b2

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

Diff for: src/browser/base/content/zen-styles/zen-compact-mode.css

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
top: calc(var(--zen-element-separation) / 2);
5858
height: calc(100% - var(--zen-element-separation));
5959
}
60+
61+
& #zen-sidebar-top-buttons {
62+
margin: 0 0 calc(var(--zen-toolbox-padding) / 2) 0;
63+
}
6064
}
6165

6266
&:not([zen-right-side='true']) #nav-bar {

Diff for: src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
}
110110

111111
& #zen-sidebar-top-buttons {
112-
margin: var(--zen-element-separation) 0 var(--zen-toolbox-padding) 0;
112+
margin: var(--zen-element-separation) 0 calc(var(--zen-toolbox-padding) / 2) 0;
113113
}
114114

115115
& #PanelUI-menu-button {

Diff for: src/browser/base/content/zen-styles/zen-urlbar.css

+10
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@
4444
outline-color: none !important;
4545
}
4646

47+
#urlbar:not([breakout-extend='true']) {
48+
& #urlbar-background {
49+
transition: background-color 0.15s ease;
50+
}
51+
52+
&:hover #urlbar-background {
53+
background-color: light-dark(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.2)) !important;
54+
}
55+
}
56+
4757
#identity-box.chromeUI:not([pageproxystate='invalid']) {
4858
& #identity-icon-box {
4959
background: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1)) !important;

0 commit comments

Comments
 (0)