Skip to content

Commit ea10e65

Browse files
authored
Merge pull request #73 from ishid4/main
Firefox 128 update
2 parents a8223b5 + a008732 commit ea10e65

File tree

4 files changed

+43
-3
lines changed

4 files changed

+43
-3
lines changed

global/browser.css

+5
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@
111111
}
112112
}
113113

114+
/* Apply rounded corners to the browser content. */
115+
#appcontent .browserStack browser {
116+
border-radius: var(--uc-tweak-rounded-corners-radius) !important;
117+
}
118+
114119
/* Prevent status panel corners and shadow from appearing outside the browser. */
115120
#statuspanel {
116121
overflow: hidden;

global/colors.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33

44
/* default colours (light & dark) */
55
:root:not(:-moz-lwtheme),
6+
:root:not([lwtheme]),
67
/* `--newtab-background-color-secondary used` to differentiate between a dark
78
* private window and private window with the 'Dark' theme enabled.
89
* May not be the most reliable method, but works for now up to FF 123. */
910
:root[privatebrowsingmode="temporary"]:where([style*="--lwt-accent-color: rgb(28, 27, 34)"]:not([style*="--newtab-background-color-secondary: rgb(66, 65, 77)"])) {
1011
/* Toolbars */
11-
--lwt-accent-color: light-dark(#cecece, #1C1C1C) !important;
12-
--lwt-accent-color-inactive: light-dark(#e8e8e8, #2e2e2e) !important;
12+
--lwt-accent-color: light-dark(rgb(240, 240, 244), rgb(28, 27, 34)) !important;
13+
--lwt-accent-color-inactive: light-dark(rgb(235, 235, 239), rgb(31, 30, 37)) !important;
1314
--lwt-text-color: light-dark(#000, #FFF) !important;
1415
--lwt-text-color-inactive: light-dark(#3A3A3A, #CBCBCB) !important;
1516
--tab-selected-textcolor: light-dark(#000, #fff) !important;

toolbar/urlbar.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@
6565

6666
#urlbar #urlbar-input {text-align: center !important}
6767
#urlbar-background {background: transparent !important;}
68-
#urlbar[focused] > #urlbar-background {background: var(--arrowpanel-background) !important;}
68+
69+
#nav-bar[urlbar-exceeds-toolbar-bounds="true"] #urlbar-background {background: var(--arrowpanel-background) !important;}
70+
#urlbar[focused=""] > #urlbar-background {background: var(--arrowpanel-background) !important;}
6971

7072
/* URL bar suggestions container. */
7173
.urlbarView {

tweaks/sidebar.css

+32
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,39 @@
121121
min-width: var(--uc-sidebar-hover-width) !important;
122122
transition-delay: 0ms !important;
123123
opacity: 100% !important;
124+
border-radius: 0 !important;
124125
}
126+
127+
/* Show bottom right rounded corner when hovering sidebar */
128+
#sidebar-box:hover::before {
129+
content: "";
130+
position: absolute;
131+
background-color: transparent;
132+
133+
bottom: 10px;
134+
left: var(--uc-sidebar-hover-width);
135+
136+
height: 15px;
137+
width: 65px;
138+
border-bottom-left-radius: var(--uc-tweak-rounded-corners-radius);
139+
box-shadow: -5px 0 0 0 var(--lwt-accent-color);
140+
}
141+
142+
/* Show top right rounded corner when hovering sidebar */
143+
#sidebar-box:hover::after {
144+
content: "";
145+
position: absolute;
146+
background-color: transparent;
147+
148+
top: 0px;
149+
left: var(--uc-sidebar-hover-width);
150+
151+
height: 15px;
152+
width: 65px;
153+
border-top-left-radius: var(--uc-tweak-rounded-corners-radius);
154+
box-shadow: -5px 0 0 0 var(--lwt-accent-color);
155+
}
156+
125157
#sidebar-box:hover {
126158
opacity: 100% !important;
127159
}

0 commit comments

Comments
 (0)