Skip to content

Commit

Permalink
3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris-t2 committed May 29, 2021
1 parent 839a6bc commit b368cf8
Show file tree
Hide file tree
Showing 25 changed files with 291 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,12 @@ addon-card > .addon.card :-moz-any(addon-options, plugin-options) {
margin-top: -9px;
margin-inline-end: -5px;
}

/*
addon-card panel-list {
margin-top: unset !important;
right: unset !important;
float: unset !important;
}
}*/

#main > div[current-view="detail"] addon-details > .tab-group {
display: block !important;
Expand All @@ -268,6 +268,7 @@ addon-card panel-list {
right: 0 !important;
}


/* small image */ /*
addon-list[type="theme"] .card-heading-image {
width: 200px !important;
Expand All @@ -294,5 +295,9 @@ addon-list[type="theme"] addon-card panel-list {
margin-inline-end: 6px !important;
}

addon-page-options panel-item-separator {
width: 100%;
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
#addons-page {
background: linear-gradient(to bottom right, #edf6ff,#dbeaf9,#edf6ff,#dbeaf9) !important;
}
}


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

:root{
--in-content-page-background: #edf6ff !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,14 @@

/* checkbox and radio items */
checkbox .checkbox-check {
-moz-appearance: checkbox !important;
-moz-appearance: unset !important;
box-shadow: unset !important;
padding: unset !important;
margin: unset !important;
}

radio .radio-check {
-moz-appearance: radio !important;
-moz-appearance: unset !important;
box-shadow: unset !important;
padding: unset !important;
margin: unset !important;
Expand Down Expand Up @@ -431,14 +431,14 @@

/* checkbox / radios */
*[subdialog="true"] checkbox .checkbox-check {
-moz-appearance: checkbox !important;
-moz-appearance: unset !important;
box-shadow: unset !important;
padding: unset !important;
margin: unset !important;
}

*[subdialog="true"] radio .radio-check {
-moz-appearance: radio !important;
-moz-appearance: unset !important;
box-shadow: unset !important;
padding: unset !important;
margin: unset !important;
Expand Down
7 changes: 7 additions & 0 deletions classic/css/appbutton/appbutton_in_titlebar_fx74.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@
padding-right: 0px !important;
}


@media (-moz-proton) {
#main-window[tabsintitlebar] #PanelUI-button {
margin-inline-start: 0px !important;
}
}

#main-window[tabsintitlebar][sizemode="maximized"] #PanelUI-button {
-moz-margin-start: 0px !important;
}
Expand Down
10 changes: 10 additions & 0 deletions classic/css/buttons/button_padding_proton.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* Firefox Quantum userChrome.css tweaks ************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


@media (-moz-proton) {
:root {
--toolbarbutton-inner-padding: 6px !important;
}
}
9 changes: 8 additions & 1 deletion classic/css/generalui/close_icon_firefox3.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,11 @@
box-shadow: unset !important;
padding: 0px !important;
margin: 0px !important;
}
}


#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
width: 20px !important;
height: 20px !important;
background: unset !important;
}
7 changes: 7 additions & 0 deletions classic/css/generalui/close_icon_gchrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@
padding: 0px !important;
margin: 0px !important;
}


#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
width: 20px !important;
height: 20px !important;
background: unset !important;
}
7 changes: 7 additions & 0 deletions classic/css/generalui/close_icon_red.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,11 @@
box-shadow: unset !important;
padding: 0px !important;
margin: 0px !important;
}


#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
width: 20px !important;
height: 20px !important;
background: unset !important;
}
8 changes: 7 additions & 1 deletion classic/css/generalui/close_icon_windows10.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,10 @@
box-shadow: unset !important;
padding: 0px !important;
margin: 0px !important;
}
}

#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
width: 20px !important;
height: 20px !important;
background: unset !important;
}
9 changes: 8 additions & 1 deletion classic/css/generalui/close_icon_windows10red.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,11 @@
box-shadow: unset !important;
padding: 0px !important;
margin: 0px !important;
}
}


#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
width: 20px !important;
height: 20px !important;
background: unset !important;
}
4 changes: 4 additions & 0 deletions classic/css/generalui/close_icon_windows10redv2.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@
box-shadow: unset !important;
padding: 0px !important;
margin: 0px !important;
}

#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
background: unset !important;
}
7 changes: 7 additions & 0 deletions classic/css/generalui/close_icon_windows7.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@
padding: 0px !important;
margin: 0px !important;
}


#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
width: 20px !important;
height: 20px !important;
background: unset !important;
}
6 changes: 6 additions & 0 deletions classic/css/generalui/close_icon_windows7inverted.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@
padding: 0px !important;
margin: 0px !important;
}

#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
width: 20px !important;
height: 20px !important;
background: unset !important;
}
7 changes: 7 additions & 0 deletions classic/css/generalui/close_icon_windows7v2.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@
padding: 0px !important;
margin: 0px !important;
}


#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
width: 20px !important;
height: 20px !important;
background: unset !important;
}
41 changes: 37 additions & 4 deletions classic/css/generalui/context_bfrsb_labels_with_icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,26 @@

#context-navigation{
-moz-box-orient: vertical !important;
-moz-appearance:none !important;
background:unset !important;
-moz-appearance: none !important;
background: unset !important;
}

:-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) image {
width: 16px !important;
height: 16px !important;
-moz-margin-start: 4px !important;
-moz-margin-end: 12px !important;
}

@media not (-moz-proton) {

:-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) image {
margin-top: unset !important;
margin-bottom: unset !important;
padding-top: unset !important;
padding-bottom: unset !important;
-moz-margin-start: 4px !important;
-moz-margin-end: 12px !important;
}

}

@media (min-resolution: 120dpi) {
Expand Down Expand Up @@ -72,3 +79,29 @@
-moz-margin-end: 3px !important;
}
}}}


@media (-moz-proton) {

#context-navigation:not([hidden]) {
flex-direction: column !important;
--menuitem-min-width: unset !important;
min-width: unset !important;
padding-bottom: 0px !important;
}

:-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) image {
-moz-margin-start: 0px !important;
-moz-margin-end: 0px !important;
}

:-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) {
padding-top: 6px !important;
padding-bottom: 6px !important;
}

:-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage):after {
-moz-margin-start: -12px !important;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@

:-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) image {
opacity: 0 !important;
/*display: none !important;*/
}
22 changes: 21 additions & 1 deletion classic/css/locationbar/megabar_border_roundness.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,24 @@
#urlbar[focused="true"][open] #urlbar-input-container {
border-bottom-left-radius: 0px !important;
border-bottom-right-radius: 0px !important;
}
}



#urlbar[open="true"] #urlbar-background,
#urlbar[open="true"],
#urlbar[open="true"] #urlbar-input-container {
border-radius: calc(var(--megabar_border_roundness) / 1.5) !important;
}

#urlbar[focused="true"]:not([usertyping="true"]) .urlbarView,
#urlbar .search-one-offs,
#urlbar .search-one-offs .search-panel-header,
#urlbar .search-one-offs .search-panel-one-offs-container {
border-bottom-left-radius: calc(var(--megabar_border_roundness) / 1.5) !important;
border-bottom-right-radius: calc(var(--megabar_border_roundness) / 1.5) !important;
}

#urlbar .search-one-offs .search-setting-button-compact {
border-bottom-right-radius: calc(var(--megabar_border_roundness) / 1.5) !important;
}
38 changes: 37 additions & 1 deletion classic/css/locationbar/megabar_expanding_breakout_disabled.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,40 @@
/* remove 'border' between urlbar and results */
.urlbarView-body-inner {
border-top: 0px !important;
}
}



@media (-moz-proton) {


/* Megabar: disable breakout / expanding onto toolbar *********************************************/
#urlbar[breakout][breakout-extend] {
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
left: 0px !important;
width: calc(100% - 0px) !important;
}

#urlbar[breakout][breakout-extend] > #urlbar-background {
animation-name: unset !important;
}

#urlbar[breakout][breakout-extend] > #urlbar-input-container {
height: var(--urlbar-height) !important;
padding-block: unset !important;
padding-inline: 1px !important;
}

/* disable result item roundness */
#urlbar[breakout] .urlbarView-row-inner {
border-radius: 0px !important;
}

/* disable 'breakout' animation */
#urlbar[breakout] {
animation: unset !important;
duration: unset !important;
}


}
23 changes: 22 additions & 1 deletion classic/css/tabs/classic_squared_tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -413,4 +413,25 @@
#main-window[sizemode="maximized"] .titlebar-buttonbox-container {
-moz-margin-end: -2px !important;
}
}
}

/* Proton compatibility */
@media (-moz-proton) {

#main-window {
--tab-min-height: 8px !important;
}

.tabbrowser-tab:not([pinned]) .tab-content .close-icon,
:root[uidensity=touch] .tabbrowser-tab:not([pinned]) .tab-content .close-icon {
width: 18px !important;
height: 18px !important;
padding: 2px !important;
-moz-margin-end: -6px !important;
}

.tabbrowser-tab {
padding-inline: unset !important;
}

}
Loading

0 comments on commit b368cf8

Please sign in to comment.