Skip to content

Commit

Permalink
4.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris-t2 committed Dec 15, 2022
1 parent 522650b commit 7bb84ff
Show file tree
Hide file tree
Showing 16 changed files with 197 additions and 85 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,69 +3,7 @@
/****************************************************************************************/


/***************************************************************/
/* localize bookmarks menu button label on bookmarks toolbar ***/
/***************************************************************/

/* show default button label ***********************************/
#PersonalToolbar #bookmarks-menu-button .toolbarbutton-text {
display: block !important;
}

/* Create Fx56-like button label for supported locales *********/
#PersonalToolbar #bookmarks-menu-button:is([label="Bookmarks Menu"],[label="Lesezeichen-Menü"],[label="Menu des marque-pages"],[label="Menú de marcadores"],[label="Menu de marcadores"],[label="Menu segnalibri"],[label="Меню закладок"]) .toolbarbutton-text {
display: none !important;
}

#PersonalToolbar #bookmarks-menu-button:is([label="Bookmarks Menu"],[label="Lesezeichen-Menü"],[label="Menu des marque-pages"],[label="Menú de marcadores"],[label="Menu de marcadores"],[label="Menu segnalibri"],[label="Меню закладок"])::after {
visibility: visible !important;
display: block !important;
}

/* English: 'Bookmarks' ****************************************/
#PersonalToolbar #bookmarks-menu-button[label="Bookmarks Menu"]::after {
content: "Bookmarks" !important;
}
#PersonalToolbar #bookmarks-menu-button[label="Bookmarks Menu"] #BMB_bookmarksPopup {
margin-inline-start: -40px !important;
}

/* German: 'Lesezeichen' */
#PersonalToolbar #bookmarks-menu-button[label="Lesezeichen-Menü"]::after {
content: "Lesezeichen" !important;
}
#PersonalToolbar #bookmarks-menu-button[label="Lesezeichen-Menü"] #BMB_bookmarksPopup {
margin-inline-start: -42px !important;
}

/* French: 'Marque-pages' */
#PersonalToolbar #bookmarks-menu-button[label="Menu des marque-pages"]::after {
content: "Marque-pages" !important;
}
#PersonalToolbar #bookmarks-menu-button[label="Menu des marque-pages"] #BMB_bookmarksPopup {
margin-inline-start: -50px !important;
}

/* Spanish/Portuguese: 'Marcadores' */
#PersonalToolbar #bookmarks-menu-button:is([label="Menú de marcadores"],[label="Menu de marcadores"])::after {
content: "Marcadores" !important;
}
#PersonalToolbar #bookmarks-menu-button:is([label="Menú de marcadores"],[label="Menu de marcadores"]) #BMB_bookmarksPopup {
margin-inline-start: -42px !important;
}

/* Italian: 'Segnalibri' */
#PersonalToolbar #bookmarks-menu-button[label="Menu segnalibri"]::after {
content: "Segnalibri" !important;
}
#PersonalToolbar #bookmarks-menu-button[label="Menu segnalibri"] #BMB_bookmarksPopup {
margin-inline-start: -37px !important;
}

/* Russian: 'Закладки' */
#PersonalToolbar #bookmarks-menu-button[label="Меню закладок"]::after {
content: "Закладки" !important;
}
#PersonalToolbar #bookmarks-menu-button[label="Меню закладок"] #BMB_bookmarksPopup {
margin-inline-start: -37px !important;
display: flex !important;
}
5 changes: 3 additions & 2 deletions classic/css/tabs/classic_squared_tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@

/* Fx65+ fixes */
#main-window[sizemode="maximized"][tabsintitlebar] #TabsToolbar {
margin-top: -1px !important;
margin-top: -3px !important;
}

#main-window #navigator-toolbox #titlebar #TabsToolbar > .toolbar-items {
Expand Down Expand Up @@ -571,7 +571,8 @@
}

/* Fx 105+ - remove Firefox-view-button from tabs toolbar */
:root:not([privatebrowsingmode=temporary]):not([firefoxviewhidden]) :is(#firefox-view-button, #wrapper-firefox-view-button) + #tabbrowser-tabs {
:root:not([privatebrowsingmode=temporary]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
:root[privatebrowsingmode=temporary] :is(toolbarbutton:not(#firefox-view-button), toolbarpaletteitem:not(#wrapper-firefox-view-button)) + #tabbrowser-tabs {
border-inline-start: 0px solid color-mix(in srgb, currentColor 25%, transparent) !important;
}

Expand Down
5 changes: 3 additions & 2 deletions classic/css/tabs/classic_squared_tabs_australized.css
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@

/* Fx65+ fixes */
#main-window[sizemode="maximized"][tabsintitlebar] #TabsToolbar {
margin-top: -1px !important;
margin-top: -3px !important;
}

#main-window #navigator-toolbox #titlebar #TabsToolbar > .toolbar-items {
Expand Down Expand Up @@ -565,7 +565,8 @@
}

/* Fx 105+ - remove Firefox-view-button from tabs toolbar */
:root:not([privatebrowsingmode=temporary]):not([firefoxviewhidden]) :is(#firefox-view-button, #wrapper-firefox-view-button) + #tabbrowser-tabs {
:root:not([privatebrowsingmode=temporary]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
:root[privatebrowsingmode=temporary] :is(toolbarbutton:not(#firefox-view-button), toolbarpaletteitem:not(#wrapper-firefox-view-button)) + #tabbrowser-tabs {
border-inline-start: 0px solid color-mix(in srgb, currentColor 25%, transparent) !important;
}

Expand Down
5 changes: 3 additions & 2 deletions classic/css/tabs/default_tabs_photon.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@
}

/* Fx 105+ - remove Firefox-view-button from tabs toolbar */
:root:not([privatebrowsingmode=temporary]):not([firefoxviewhidden]) :is(#firefox-view-button, #wrapper-firefox-view-button) + #tabbrowser-tabs {
:root:not([privatebrowsingmode=temporary]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
:root[privatebrowsingmode=temporary] :is(toolbarbutton:not(#firefox-view-button), toolbarpaletteitem:not(#wrapper-firefox-view-button)) + #tabbrowser-tabs {
border-inline-start: 0px solid color-mix(in srgb, currentColor 25%, transparent) !important;
}

Expand All @@ -169,7 +170,7 @@
display: none !important;
}

/* Fx 106+*/
/* Fx 106+*/
#private-browsing-indicator-with-label {
display: none !important;
}
7 changes: 7 additions & 0 deletions classic/css/tabs/tab_close_hidden.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
/****************************************************************************************/


:root{
--tab-label-mask-size: 0 !important;
}

#TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]) .tab-close-button {
visibility: hidden !important;
opacity: 0 !important;
min-width: 0.5px !important;
width: 0.5px !important;
max-width: 0.5px !important;
padding-inline-start: unset !important;
margin-inline-end: unset !important;
padding: 0px !important;
}
13 changes: 12 additions & 1 deletion classic/css/tabs/tabs_below_navigation_toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,18 @@
width: 100vw;
}

/* Fx 106+*/
/* Fx 105+ */
:root:not([privatebrowsingmode=temporary]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
:root[privatebrowsingmode=temporary] :is(toolbarbutton:not(#firefox-view-button), toolbarpaletteitem:not(#wrapper-firefox-view-button)) + #tabbrowser-tabs {
border-inline-start: 0px solid color-mix(in srgb, currentColor 25%, transparent) !important;
}

:root:not([privatebrowsingmode=temporary]):not([firefoxviewhidden]) :is(#firefox-view-button, #wrapper-firefox-view-button) + #tabbrowser-tabs:not([overflow="true"]) {
padding-inline-start: 0 !important;
margin-inline-start: 0 !important;
}

/* Fx 106+ */
#private-browsing-indicator-with-label {
display: none !important;
}
19 changes: 19 additions & 0 deletions classic/css/tabs/tabs_below_navigation_toolbar_alt.css
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,22 @@ toolbar:not(#TabsToolbar):not(#toolbar-menubar):not(#nav-bar):not(:-moz-lwtheme)
margin-top: 18px !important;
}
}

/* Linux */
@media (-moz-platform: linux) {
/* set to '0', if no menubar is used */
#main-window:not([tabsintitlebar]):not([sizemode="fullscreen"]) #nav-bar {
margin-top: 26px !important;
}
}

/* Fx 105+ */
:root:not([privatebrowsingmode=temporary]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
:root[privatebrowsingmode=temporary] :is(toolbarbutton:not(#firefox-view-button), toolbarpaletteitem:not(#wrapper-firefox-view-button)) + #tabbrowser-tabs {
border-inline-start: 0px solid color-mix(in srgb, currentColor 25%, transparent) !important;
}

:root:not([privatebrowsingmode=temporary]):not([firefoxviewhidden]) :is(#firefox-view-button, #wrapper-firefox-view-button) + #tabbrowser-tabs:not([overflow="true"]) {
padding-inline-start: 0 !important;
margin-inline-start: 0 !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@
margin-top: 0px !important;
}
}

/* Linux */
@media (-moz-platform: linux) {
/* set to '0', if no menubar is used */
#main-window:not([tabsintitlebar]):not([sizemode="fullscreen"]) #nav-bar {
margin-top: 26px !important;
}
}
14 changes: 13 additions & 1 deletion classic/css/tabs/tabs_below_navigation_toolbar_macOS.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}

#tabbrowser-tabs {
width: 100vw;
width: 100%;
}

#navigator-toolbox {
Expand Down Expand Up @@ -131,6 +131,18 @@
width: 100vw;
}

/* Fx 105+ */
:root:not([privatebrowsingmode=temporary]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
:root[privatebrowsingmode=temporary] :is(toolbarbutton:not(#firefox-view-button), toolbarpaletteitem:not(#wrapper-firefox-view-button)) + #tabbrowser-tabs {
border-inline-start: 0px solid color-mix(in srgb, currentColor 25%, transparent) !important;
}

:root:not([privatebrowsingmode=temporary]):not([firefoxviewhidden]) :is(#firefox-view-button, #wrapper-firefox-view-button) + #tabbrowser-tabs:not([overflow="true"]) {
padding-inline-start: 0 !important;
margin-inline-start: 0 !important;
}


/* Fx 106+*/
#private-browsing-indicator-with-label {
display: none !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/* move bookmarks to empty space below navigation toolbar, if on navigation toolbar */
#main-window:not([customizing="true"]) #nav-bar[currentset*="personal-bookmarks"]:not([currentset*="personal-bookmarks-"]) #personal-bookmarks {
position: absolute !important;
display: block !important;
display: flex !important;
bottom: 1px !important;
min-width: 0 !important;
width: auto !important;
Expand Down Expand Up @@ -66,7 +66,7 @@
padding-inline-start: 2px !important;
padding-inline-end: 2px !important;
border-top: 1px solid var(--toolbox-border-bottom-color) !important;
z-index: 1000 !important;
z-index: 1 !important;
}
#navigator-toolbox > #PersonalToolbar:-moz-lwtheme {
background-repeat: no-repeat !important;
Expand Down
44 changes: 40 additions & 4 deletions classic/css/toolbars/addonbar_status_in_addonbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,42 @@
}

#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox > #PersonalToolbar {
z-index: unset !important;
/*z-index: unset !important;*/
border-top: 1px solid var(--toolbox-border-bottom-color) !important;
box-shadow: inset 0px 1px 1px rgba(50, 50, 50, 0.75) !important;

}

#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox #PersonalToolbar:-moz-lwtheme:not(#TabsToolbar):not(#toolbar-menubar):not(#nav-bar),
#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox #PersonalToolbar:not(:-moz-lwtheme):not(#TabsToolbar):not(#toolbar-menubar):not(#nav-bar) {
background: transparent !important;
}

#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox #PersonalToolbar:not(:-moz-lwtheme):not(#TabsToolbar):not(#toolbar-menubar):not(#nav-bar) > * {
appearance: none !important;
background: var(--general_toolbar_color_toolbars, inherit) !important;
padding: 0 !important;
margin: 0 !important;
margin-top: 1px !important;
}

#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox #PersonalToolbar:not(#TabsToolbar):not(#toolbar-menubar):not(#nav-bar):-moz-lwtheme > * {
appearance: none !important;
background: var(--lwt-accent-color) !important;
padding: 0 !important;
margin: 0 !important;
margin-top: 1px !important;
}

.browserContainer :is(statuspanel,#statuspanel) {
display: flex !important;
position: fixed !important;
bottom: 2px !important;
z-index: 1001 !important;
position: absolute !important;
bottom: 0px !important;
z-index: 1 !important;
visibility: visible !important;
opacity: 1.0 !important;
border: 0 !important;
box-shadow: none !important;
}

.browserContainer :is(statuspanel,#statuspanel):-moz-locale-dir(ltr) {
Expand All @@ -37,6 +63,14 @@
width: var(--status-width) !important;
max-width: var(--status-width) !important;
color: black !important;
border-top: 0px solid var(--toolbox-border-bottom-color) !important;
background: var(--general_toolbar_color_toolbars, inherit) !important;
padding: 5px 0px !important;
margin: 0 2px !important;
}

.browserContainer :is(statuspanel,#statuspanel) :is(#statuspanel-label,.statuspanel-label):-moz-lwtheme {
background: var(--lwt-accent-color) !important;
}

.browserContainer :is(statuspanel,#statuspanel):-moz-lwtheme-brighttext :is(#statuspanel-label,.statuspanel-label) {
Expand All @@ -51,10 +85,12 @@

/* add space for status text on add-on bar */
#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox > #PersonalToolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
/*margin-left: var(--status-width) !important;*/
padding-left: var(--status-width) !important;
}

#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox > #PersonalToolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):-moz-locale-dir(rtl) {
/*margin-right: var(--status-width) !important;*/
padding-right: var(--status-width) !important;
}

Expand Down
72 changes: 72 additions & 0 deletions classic/css/toolbars/addonbar_status_in_addonbar102.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


:root {
--status-width: 400px;
}

#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox > #PersonalToolbar {
z-index: unset !important;
border-top: 1px solid var(--toolbox-border-bottom-color) !important;
box-shadow: inset 0px 1px 1px rgba(50, 50, 50, 0.75) !important;
}

.browserContainer :is(statuspanel,#statuspanel) {
display: flex !important;
position: fixed !important;
bottom: 2px !important;
z-index: 1001 !important;
}

.browserContainer :is(statuspanel,#statuspanel):-moz-locale-dir(ltr) {
left: 0px;
}
.browserContainer :is(statuspanel,#statuspanel):-moz-locale-dir(rtl) {
right: 0px;
}

.browserContainer :is(statuspanel,#statuspanel) :is(#statuspanel-label,.statuspanel-label) {
appearance: none !important;
background: none !important;
border: 0 !important;
box-shadow: none !important;
pointer-events: none !important;
min-width: var(--status-width) !important;
width: var(--status-width) !important;
max-width: var(--status-width) !important;
color: black !important;
}

.browserContainer :is(statuspanel,#statuspanel):-moz-lwtheme-brighttext :is(#statuspanel-label,.statuspanel-label) {
color: white !important;
}

@media (-moz-content-prefers-color-scheme: dark) {
.browserContainer :is(statuspanel,#statuspanel):-moz-lwtheme :is(#statuspanel-label,.statuspanel-label) {
color: white !important;
}
}

/* add space for status text on add-on bar */
#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox > #PersonalToolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
padding-left: var(--status-width) !important;
}

#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox > #PersonalToolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):-moz-locale-dir(rtl) {
padding-right: var(--status-width) !important;
}

#statuspanel[mirror] {
inset-inline-start: unset !important;
inset-inline-end: unset !important;
}

#statuspanel[mirror] > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(ltr) {
margin-left: 0px !important;
}

#statuspanel[mirror] > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(rtl) {
margin-right: 0px !important;
}
Loading

0 comments on commit 7bb84ff

Please sign in to comment.