Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Floorp #43

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 19 additions & 42 deletions userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/* Background Color */

@media (prefers-color-scheme: dark) {
#nav-bar,
#navigator-toolbox,
#sidebar-box,
#tabbrowser-tabbox,
Expand All @@ -24,6 +25,7 @@ tab.tabbrowser-tab *{

}
@media (prefers-color-scheme: light) {
#nav-bar,
#navigator-toolbox,
#sidebar-box,
#tabbrowser-tabbox,
Expand All @@ -37,20 +39,7 @@ tab.tabbrowser-tab *{
}
}

@media (prefers-color-scheme: dark) {
#navigator-toolbox {
background: #1a1a1a !important;
}
}

@media (prefers-color-scheme: light) {
#navigator-toolbox {
background: #e6e6e6 !important;
}
}

#PersonalToolbar,
#nav-bar {
#PersonalToolbar {
background: transparent !important;
}

Expand Down Expand Up @@ -78,13 +67,6 @@ tab.tabbrowser-tab *{
var(--firefoxcss-top-bar-border-bottom-color) !important;
}

/*------------------------------------------------*/
/* Remove the all tab and new tab button */
#alltabs-button,
#tabs-newtab-button {
display: none !important;
}

/*------------------------------------------------*/
/* Remove the 3 dots from Alt Key */

Expand Down Expand Up @@ -428,18 +410,6 @@ toolbar:not([customizing]) > #nav-bar-customization-target {
}
}

/* Fix for Firefox 123 */
#nav-bar:not([tabs-hidden="true"])
{
position: static !important;;
}

#nav-bar-customization-target,
#PanelUI-button {
position: relative !important;
z-index: 3 !important;
}

/*------------------------------------------------*/
/* Make active tab to hidden tab */

Expand Down Expand Up @@ -1119,35 +1089,41 @@ tab,
/* Browser Border */

@media (prefers-color-scheme: dark) {
#main-window:not([sizemode="fullscreen"]) #appcontent browser {
#main-window:not([sizemode="fullscreen"]) #appcontent .browserStack {
border-radius: 15px !important;
margin: 15px 15px 15px 15px !important;
border: 3px solid rgba(0, 0, 0, 0);
transition: border 0.3s ease;
box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
clip-path: circle(80%) !important;
}

#main-window:not([sizemode="fullscreen"]) #appcontent browser:hover {
#main-window:not([sizemode="fullscreen"]) #appcontent .browserStack:hover {
border: 3px solid rgba(204, 204, 204, 0.6);
box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
}

.browserContainer {
border: none !important;
}
}

@media (prefers-color-scheme: light) {
#main-window:not([sizemode="fullscreen"]) #appcontent browser {
#main-window:not([sizemode="fullscreen"]) #appcontent .browserStack {
border-radius: 15px !important;
margin: 15px 15px 15px 15px !important;
border: 3px solid rgba(51, 51, 51, 0.1);
transition: border 0.3s ease;
box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
clip-path: circle(80%) !important;
}

#main-window:not([sizemode="fullscreen"]) #appcontent browser:hover {
#main-window:not([sizemode="fullscreen"]) #appcontent .browserStack:hover {
border: 3px solid rgba(51, 51, 51, 0.6);
box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
}

.browserContainer {
border: none !important;
}
}

/*============================================================================================*/
Expand Down Expand Up @@ -1192,6 +1168,7 @@ tab,
text-align: center !important;
}




/* Hide Menu Bar (fix for navbar cutting off) */
#menubar-items {
display: none !important;
}