Skip to content

Commit e784226

Browse files
committed
Icons, immersive-navbar logic
+ Added an icon to the ask AI entry of the tab context menu * uc.winui.immersive-navbar + uc.winui.rounded-corners should no longer apply when the browser is in fullscreen
1 parent 6c1a08e commit e784226

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

chrome/userChrome.css

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,10 @@ menuitem[command="placesCmd_sortBy:name"] .menu-text::after {
10031003
height: 16px;
10041004
}
10051005

1006+
#context_askChat {
1007+
--menu-image: url(../icons/sparkle.svg) !important;
1008+
}
1009+
10061010
/* =========================================== */
10071011

10081012
/* Active tab with semibold text */
@@ -1934,9 +1938,10 @@ menuseparator {
19341938
opacity: .6 !important;
19351939
}
19361940

1937-
/*menuitem[disabled="true"] label {
1938-
color: var(--textDisabled) !important;
1939-
}*/
1941+
/* Extension entries */
1942+
.menu-icon[srcset] {
1943+
margin-right: 12px !important;
1944+
}
19401945

19411946
/* Change profile button in settings menu */
19421947
appMenu-empty-profiles-button {
@@ -7096,12 +7101,14 @@ button
70967101
margin-bottom: 0px !important;
70977102
}
70987103

7099-
#nav-bar {
7100-
margin-inline: 5px !important;
7101-
height: 48px !important;
7102-
}
7103-
#PersonalToolbar {
7104-
margin-inline: 5px !important;
7104+
:root:not([inDOMFullscreen="true"]):not([sizemode="fullscreen"]):not([chromehidden*="toolbar"]):not([chromehidden*="menubar"]) {
7105+
#nav-bar {
7106+
margin-inline: 5px !important;
7107+
height: 48px !important;
7108+
}
7109+
#PersonalToolbar {
7110+
margin-inline: 5px !important;
7111+
}
71057112
}
71067113

71077114
/* Animated refresh icon */
@@ -7200,7 +7207,7 @@ button
72007207
}
72017208

72027209
/* === Tabbox container === */
7203-
:root:has(#sidebar-main[hidden=""]) {
7210+
:root:not([inDOMFullscreen="true"]):not([sizemode="fullscreen"]):not([chromehidden*="toolbar"]):not([chromehidden*="menubar"]):has(#sidebar-main[hidden=""]) {
72047211
tabbox#tabbrowser-tabbox {
72057212
margin: 0 5px 5px 5px !important;
72067213
border-radius: 0 0 5px 5px !important;

0 commit comments

Comments
 (0)