Skip to content

Commit

Permalink
3.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris-t2 committed Dec 24, 2020
1 parent 18ccc1e commit d79b586
Show file tree
Hide file tree
Showing 15 changed files with 194 additions and 21 deletions.
27 changes: 27 additions & 0 deletions classic/css/aboutaddons/addonlists_badges_old_size.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Firefox Quantum userChrome.css tweaks ************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


@-moz-document url-prefix(chrome://mozapps/content/extensions/extensions.xul), url-prefix(about:addons),url-prefix(chrome://mozapps/content/extensions/aboutaddons.html) {

.addon-badge {
width: 16px !important;
height: 16px !important;
background-size: 16px !important;
border-radius: 8px !important;
}

.addon-badge-recommended {
background-size: 10px !important;
background-radius: 8px !important;
}

.addon-badge-line {
border: none !important;
}

.addon-badge-verified {
background-size: 10px !important;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
@-moz-document url-prefix(chrome://mozapps/content/extensions/aboutaddons.html) {

:root{
--in-content-page-background: linear-gradient(to bottom right, #edf6ff,#dbeaf9,#edf6ff,#dbeaf9) !important;
--in-content-page-background: #edf6ff !important;
}

body > div#main {
background: linear-gradient(to bottom right, #edf6ff,#dbeaf9,#edf6ff,#dbeaf9) !important;
background: #edf6ff !important;
}

.sticky-container {
background: #dbeaf9 !important;
background: #edf6ff !important;
}
}
9 changes: 7 additions & 2 deletions classic/css/appbutton/appbutton_popup_more_icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/

::root {
--chevron-icon: url("chrome://browser/skin/chevron.svg");
}

#appMenu-open-file-button {
-moz-context-properties: fill;
list-style-image: url("chrome://browser/skin/open.svg");
Expand All @@ -14,7 +18,7 @@

#appMenu-more-button {
-moz-context-properties: fill;
list-style-image: url("chrome://browser/skin/chevron.svg");
list-style-image: var(--chevron-icon,url("chrome://global/skin/icons/chevron.svg"));
}

#appMenu-developer-button {
Expand All @@ -26,7 +30,8 @@
padding-inline-start: 8px !important;
}

#main-window:-moz-lwtheme:-moz-lwtheme-brighttext :-moz-any(#appMenu-open-file-button,#appMenu-save-file-button,#appMenu-more-button,#appMenu-developer-button) {
#main-window:not([lwt-popup-brighttext]):-moz-lwtheme:-moz-lwtheme-brighttext :-moz-any(#appMenu-open-file-button,#appMenu-save-file-button,#appMenu-more-button,#appMenu-developer-button),
[lwt-popup-brighttext] :-moz-any(#appMenu-open-file-button,#appMenu-save-file-button,#appMenu-more-button,#appMenu-developer-button) {
fill: currentColor !important;
}

Expand Down
8 changes: 7 additions & 1 deletion classic/css/buttons/icons_custom_icons_sizes.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ toolbar:not(#nav-bar) :-moz-any(#panic-button,#pocket-button):not([open]) .toolb
}

#main-window:not([uidensity=compact]) #back-button .toolbarbutton-icon {
padding: 7px !important;
padding: 8px !important;
}

#forward-button {
Expand Down Expand Up @@ -173,4 +173,10 @@ toolbar:not(#nav-bar) :-moz-any(#panic-button,#pocket-button):not([open]) .toolb
/* fix icon glitch */
#downloads-button:not(:-moz-any([attention],[progress])) #downloads-indicator-icon {
background-image: unset !important;
}


/* fix nav-bars overflow menu icon size */
#main-window #widget-overflow-fixed-list toolbarbutton .toolbarbutton-icon {
width: 18px !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

:-moz-any(.browserContainer,#viewSource) :-moz-any(findbar,#FindToolbar) .findbar-closebutton {
position: absolute !important;
display:block !important;
display: block !important;
margin-top: -26px !important;
margin-bottom: 8px !important;
-moz-margin-start: 4px !important;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Firefox Quantum userChrome.css tweaks ************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


:-moz-any(.browserContainer,#viewSource) :-moz-any(findbar,#FindToolbar) .findbar-closebutton {
-moz-box-ordinal-group: 0 !important;
position: absolute !important;
}

:-moz-any(.browserContainer,#viewSource) :-moz-any(findbar,#FindToolbar) .findbar-container {
padding-inline-start: 20px !important;
margin-inline-start: -20px !important;
}
:-moz-any(.browserContainer,#viewSource) :-moz-any(findbar,#FindToolbar) {
overflow: hidden !important;
}
68 changes: 68 additions & 0 deletions classic/css/generalui/findbar_on_top_fx84.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/* Firefox Quantum userChrome.css tweaks ************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


:-moz-any(.browserContainer, #viewSource) .findbar-container :-moz-any(spacer, .findbar-find-fast[anonid="match-case-status"]) {
visibility: collapse;
}

:-moz-any(.browserContainer, #viewSource) .findbar-closebutton {
padding: 0 !important;
margin: 0 !important;
-moz-margin-end: 2px !important;
}

:-moz-any(.browserContainer, #viewSource) .findbar-closebutton .toolbarbutton-icon{
width: 16px !important;
height: 16px !important;
}
:-moz-any(.browserContainer, #viewSource) .findbar-textbox {
font-size: 14px !important;
}

:-moz-any(.browserContainer,#viewSource) :-moz-any(findbar,#FindToolbar) {
-moz-box-ordinal-group: 0;
position: fixed !important;
display: inherit !important;
margin-top: -1px !important;
box-shadow: unset !important;
border: 1px solid #e1e1e2 !important;
border-top: 0px solid transparent !important;
border-radius: 0 0 3px 3px;
transition-property: margin-top, opacity, visibility !important;
background-image: unset !important;
z-index: 1000000 !important;
}

#main-window:-moz-lwtheme :-moz-any(.browserContainer,#viewSource) :-moz-any(findbar,#FindToolbar) {
-moz-appearance: none !important;
border: 1px solid var(--tabs-border-color) !important;
border-top: 0px solid transparent !important;
}

#main-window:-moz-lwtheme :-moz-any(.browserContainer,#viewSource) :-moz-any(findbar,#FindToolbar) .findbar-container {
-moz-appearance: none !important;
background-image: linear-gradient(to bottom, var(--toolbar-bgcolor),var(--toolbar-bgcolor)) !important;
-moz-margin-end: -18px !important;
-moz-padding-end: 18px !important;
}


:-moz-any(.browserContainer, #viewSource) :-moz-any(.findbar-find-status,.found-matches) {
-moz-margin-start: 4px !important;
-moz-margin-end: 4px !important;
font-weight: bold !important;
}
:-moz-any(.browserContainer, #viewSource) .findbar-find-status {
font-style: italic !important;
}
#main-window:not(:-moz-lwtheme-brighttext) :-moz-any(.browserContainer, #viewSource) .findbar-find-status {
color: red !important;
}
#main-window:not(:-moz-lwtheme-brighttext) :-moz-any(.browserContainer, #viewSource) .found-matches {
color: green !important;
}
#main-window:-moz-lwtheme-brighttext :-moz-any(.browserContainer, #viewSource) :-moz-any(.findbar-find-status,.found-matches) {
color: white !important;
}
22 changes: 22 additions & 0 deletions classic/css/generalui/notification_old_size.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* Firefox Quantum userChrome.css tweaks ************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


notification {
height: 16px !important;
font-size: 1em !important;
}
.messageImage {
width: 16px !important;
height: 16px !important;
}
.messageCloseButton > .toolbarbutton-icon {
margin-inline-end: 12px !important;
padding: 0px !important;
width: 20px !important; /*DEFAULT: 20px in close-icon.css*/
height: 20px !important; /*DEFAULT: 20px in close-icon.css*/
}
.notification-button {
height: 16px !important;
}
3 changes: 2 additions & 1 deletion classic/css/generalui/popup_menupopup_with_scrollbars.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ link[href$="global.css"] ~ .menupopup-scrollbutton {
}

/* Fx76+ */
link[href$="arrowscrollbox.css"] ~ scrollbox[orient="vertical"] {
link[href$="arrowscrollbox.css"] ~ scrollbox[orient="vertical"], /* Fx76-80 */
link[href$="arrowscrollbox.css"] ~ .scrollbox-clip scrollbox[orient="vertical"] { /* Fx81+ */
overflow-y: auto !important;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


/* hide visit and search items*/
:-moz-any(#urlbar,.megabar) .urlbarView-row:-moz-any([type=search],[type=remotetab],[type=switchtab]),
:-moz-any(#urlbar,.megabar) .urlbarView-row:-moz-any([type=search],[type=remotetab],[type=switchtab],[type=dynamic]),
:-moz-any(#urlbar,.megabar) .urlbarView-row:not([has-url="true"]) {
display: none !important;
}
Expand Down
10 changes: 7 additions & 3 deletions classic/css/tabs/tabs_below_navigation_toolbar_fx65_v2.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
#main-window[tabsintitlebar][sizemode="fullscreen"] * #TabsToolbar {
-moz-padding-start: 0px !important;
}
/* tweaks for fullscreen mode */

#main-window[tabsintitlebar][sizemode="fullscreen"]:not([inDOMFullscreen="true"]) .titlebar-buttonbox-container,
#main-window[tabsintitlebar][sizemode="fullscreen"] #toolbar-menubar[autohide="true"] ~ #TabsToolbar .titlebar-buttonbox-container,
#main-window[tabsintitlebar][sizemode="fullscreen"] #navigator-toolbox #PanelUI-button,
Expand Down Expand Up @@ -229,10 +229,10 @@
/* show window caption buttons in fullscreen mode */
#main-window:not([inDOMFullscreen="true"])[sizemode="fullscreen"] #TabsToolbar #window-controls {
position: absolute !important;
display: block !important;
display: flex !important;
top: 0 !important;
right: 0 !important;
margin-top: -32px !important;
/*margin-top: -32px !important;*/
z-index: 1000 !important;
}

Expand All @@ -257,6 +257,10 @@
color: white !important;
fill: white !important;
}

#main-window:not([inDOMFullscreen="true"])[sizemode="fullscreen"] #nav-bar {
-moz-padding-end: 40px !important;
}

}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Firefox Quantum userChrome.css tweaks ************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox > #PersonalToolbar {
bottom: 27px !important;
}

#main-window:not([chromehidden*="toolbar"]) :-moz-any(.browserContainer,#viewSource) :-moz-any(findbar,#FindToolbar){
margin-bottom: 27px !important;
}
2 changes: 1 addition & 1 deletion classic/css/toolbars/bookmarks_toolbar_fixed_width.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
#PersonalToolbar .bookmark-item{
width:130px;
max-width:130px;
}
}
26 changes: 18 additions & 8 deletions classic/userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/************************************************************************************************/
/* Custom CSS for Firefox 60+ (pre-configured for Firefox 75+) **********************************/
/* version 3.1.7 ********************************************************************************/
/* version 3.1.8 ********************************************************************************/
/************************************************************************************************/

/*************************************************************************************************
Expand Down Expand Up @@ -365,7 +365,6 @@
/* - TABS BELOW MAIN CONTENT (tabs on bottom) - EXPERIMENTAL ************************************/
/* [!] SUPPORT THREAD: https://github.com/aris-t2/customcssforfx/issues/33 **********************/
/* [!] not compatible to 'tabs toolbar - multiple tab lines' option *****************************/
/* [!] not compatible to 'toolbars - add-on bar (simulated add-on bar)' option ******************/
/* - Fx 60-64 ***********************************************************************************/
/* @import "./css/tabs/tabs_below_main_content.css"; /**/
/* - Fx 65-67 - Windows/Linux *******************************************************************/
Expand Down Expand Up @@ -414,10 +413,9 @@
/* @import "./css/tabs/tabs_multiple_lines_fx81.css"; /**/ /* Fx 81+ */
/* @import "./css/tabs/tabs_multiple_lines_fx81_force_newtab_button_visibility.css"; /**/ /* Fx 81+ */

/* TAB TITLE IN FIREFOX TITLEBAR (Windows only) *************************************************/
/* TAB TITLE IN FIREFOX TITLEBAR (Windows & Firefox 60-72 only) *********************************/
/* [!] some internal pages only show default browser title **************************************/
/* [!] might not always work correctly **********************************************************/
/* [!] Firefox 60-72 ****************************************************************************/
/* @import "./css/tabs/tab_title_in_firefox_titlebar.css"; /**/
/* @import "./css/tabs/tab_title_in_firefox_titlebar_fx65.css"; /**/
/* @import "./css/tabs/tab_title_in_firefox_titlebar_centered.css"; /**/
Expand Down Expand Up @@ -499,6 +497,7 @@
/* @import "./css/generalui/flex_space_on_navbar_replace_with_separator.css"; /**/
/* @import "./css/generalui/statusbar_color.css"; /**/
/* @import "./css/generalui/classic_drop_indicator.css"; /**/
/* @import "./css/generalui/notification_old_size.css"; /**/

/* overflow menu - [only use one at a time] *****************************************************/
/* @import "./css/generalui/overflow_menu_remove_text.css"; /**/
Expand All @@ -519,16 +518,24 @@
/* @import "./css/generalui/sidebar_appearance_lwtheme_bright.css"; /**/
/* @import "./css/generalui/sidebar_appearance_lwtheme_dark.css"; /**/

/* findbar **************************************************************************************/

/* FINDBAR **************************************************************************************/
/* @import "./css/generalui/findbar_compact.css"; /**/

/* FINDBAR - FIREFOX 60-83 **********************************************************************/
/* @import "./css/generalui/findbar_on_top.css"; /**/
/* @import "./css/generalui/findbar_show_full_quickfindbar.css"; /**/
/* @import "./css/generalui/findbar_on_top_fade_out_on_hover.css"; /**/
/* @import "./css/generalui/findbar_compact.css"; /**/
/* findbar - close icon position - [only use one at a time] *************************************/
/* @import "./css/generalui/findbar_on_top_close_at_findbars_start.css"; /**/
/* @import "./css/generalui/findbar_compact_on_top_close_at_findbars_start.css"; /**/
/* @import "./css/generalui/findbar_on_bottom_close_at_findbars_start.css"; /**/

/* FINDBAR FIREFOX 84+ **************************************************************************/
/* @import "./css/generalui/findbar_on_top_fx84.css"; /**/
/* @import "./css/generalui/findbar_on_top_close_at_findbars_start_fx84.css"; /**/


/* page context menu items: 'back', 'forward', 'reload', 'stop', 'bookmarks' ********************/
/* @import "./css/generalui/context_bfrsb_icons_colorized.css"; /**/
/* menuitem labels - [only use one at a time] ***************************************************/
Expand Down Expand Up @@ -595,11 +602,11 @@
/* ADDON BAR - simulate add-on bar by moving bookmarks toolbar to the bottom ********************/
/* [!] move 'Bookmarks Toolbar Items' to navigation bar to get a top toolbar with bookmarks *****/
/* [!] not compatible to 'bookmarks toolbar - multiple lines' option ****************************/
/* [!] not compatible to 'tabs toolbar - below main content' option *****************************/
/* [!] not compatible to 'bookmarks toolbar autohide' option ************************************/
/* [!] SUPPORT THREAD: https://github.com/aris-t2/customcssforfx/issues/73 **********************/
/* @import "./css/toolbars/addonbar_move_bookmarks_toolbar_to_bottom.css"; /**/ /* <--- EXPERIMENTAL */
/* @import "./css/toolbars/addonbar_move_bookmarks_toolbar_to_bottom_fx72.css"; /**/ /* <--- EXPERIMENTAL */
/* @import "./css/toolbars/addonbar_move_bookmarks_toolbar_to_bottom_tabs_on_bottom_compatibility.css"; /**/ /* <--- EXPERIMENTAL */
/* @import "./css/toolbars/addonbar_content_on_the_right.css"; /**/ /* <--- EXPERIMENTAL */
/* @import "./css/toolbars/addonbar_status_in_addonbar.css"; /**/ /* <--- EXPERIMENTAL */
/* @import "./css/toolbars/addonbar_fullscreen_autohide.css"; /**/ /* <--- EXPERIMENTAL */
Expand Down Expand Up @@ -668,10 +675,12 @@
/* LOCATION BAR / MEGABAR - Settings for both 'about:config > browser.urlbar.update1' cases *****/
/************************************************************************************************/

/* remove color formatting of the url: about:config > browser.urlbar.formatting.enabled > false */

/* @import "./css/locationbar/compact_mode_reduce_fontsize.css"; /**/

/* identity box / page identity button **********************************************************/
/* @import "./css/locationbar/identitybox_replace_i_icon_with_globe.css"; /**/ /* replaces search glass in Fx70+ */
/* @import "./css/locationbar/identitybox_replace_i_icon_with_globe.css"; /**/ /* replaces search glass in Fx70+ */ /* Fx 60-83 only */
@import "./css/locationbar/identitybox_colors.css"; /**/
/* @import "./css/locationbar/identitybox_labels_hidden.css"; /**/

Expand Down Expand Up @@ -734,6 +743,7 @@
/* @import "./css/locationbar/ac_popup_megabar_result_separator.css"; /**/


/* DO NOT USE OLD LOCATION BAR SETTINGS ON CURRENT FIREFOX VERSIONS - Firefox 77+ ***************/
/* [!] Location bar settings below will stop working in Firefox 77+. Use megabar settings! [!] **/
/************************************************************************************************/
/* LOCATION BAR - settings for 'legacy location bar / urlbar popup' (not megabar popup) *********/
Expand Down
1 change: 1 addition & 0 deletions classic/userContent.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
/* @import "./css/aboutaddons/addons_manager_alternative_appearance_compact_categories_fx68.css"; /**/

/* other settings *******************************************************************************/
/* @import "./css/aboutaddons/addonlists_badges_old_size.css"; /**/
/* @import "./css/aboutaddons/addonlists_hide_recommended_icon_fx68.css"; /**/
/* @import "./css/aboutaddons/addonlists_hide_allowed_in_private_windows_icon_fx68.css"; /**/

Expand Down

0 comments on commit d79b586

Please sign in to comment.