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

Adding a sample config for mac-os #68

Open
wants to merge 1 commit 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
124 changes: 123 additions & 1 deletion themes/mac-os/userChrome.css
Original file line number Diff line number Diff line change
@@ -1 +1,123 @@
/* Not Disponible Yet */
#appcontent
> #tabbrowser-tabbox
> #tabbrowser-tabpanels
> .deck-selected
> .browserContainer
> .browserStack
> browser {
border-radius: 10px !important;
margin: 10px !important;
}

.browserStack {
background: #3b3f52;
}

.browserContainer {
background-color: var(
--lwt-accent-color-inactive,
var(--lwt-accent-color)
) !important;
background-image: var(--lwt-header-image), var(--lwt-additional-images) !important;
background-repeat: no-repeat, var(--lwt-background-tiling) !important;
background-position:
right top,
var(--lwt-background-alignment) !important;
}

#titlebar {
display: none !important;
}

.titlebar-buttonbox-container {
display: none !important;
}

#forward-button,
#back-button,
#reload-button {
display: none !important;
}

#sidebar-button {
margin-left: 10px !important;
}

/* Invisible hover area to trigger the top bar */
#navigator-toolbox::before {
content: "";
position: fixed;
top: 0;
right: 0;
width: calc(100% - 310px);
/* width: 100%; */
height: 10px; /* Adjust this height to control the hover area */
z-index: 2;
background-color: transparent; /* Ensure the hover area is transparent */
}

#navigator-toolbox:not(:hover) {
--is-bar-visible: hidden;
opacity: 0 !important;
height: 0; /* Ensure this is zero */
transition:
height 200ms ease-in-out,
opacity 175ms ease-in-out;
}

#navigator-toolbox {
position: fixed;
z-index: 1;
height: 0; /* Ensure this is zero initially */
overflow: var(--is-bar-visible);
right: 0;
top: 0;
width: 100% !important;
background-color: transparent !important;
}

/* Trigger the top bar on hover */
#navigator-toolbox:hover {
height: 40px;
opacity: 1 !important;
transition:
opacity 175ms ease-in-out,
height 200ms ease-in-out;
}

#navigator-toolbox:focus-within {
height: 40px;
opacity: 1 !important;
transition:
opacity 175ms ease-in-out,
height 200ms ease-in-out;
--is-bar-visible: visible;
}

#nav-bar {
background-color: #3b3f52 !important;
}

#urlbar-background {
background-color: #323446 !important;
}

toolbarbutton[open="true"] {
--is-bar-visible: visible !important;
}

#sidebar-header {
display: none;
}

#sidebar-box {
min-width: 300px !important;
max-width: 300px !important;
border-right: none !important;
}

#sidebar-splitter {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
}