fix right click opening first link on firefox desktop

This commit is contained in:
ksyasuda 2021-11-12 00:16:33 -08:00
parent f594313fb4
commit af5a99b143
2 changed files with 41 additions and 37 deletions

View File

@ -1,5 +1,4 @@
:root { :root {
/* Minimal Functional Fox variables*/ /* Minimal Functional Fox variables*/
--mff-bg: #292f36; --mff-bg: #292f36;
--mff-icon-color: #e0fbfc; --mff-icon-color: #e0fbfc;
@ -94,17 +93,16 @@ hbox.tab-content .tab-icon-image {
} }
/* Show the favicon for tabs that are pinned */ /* Show the favicon for tabs that are pinned */
hbox.tab-content[pinned=true] .tab-icon-image { hbox.tab-content[pinned="true"] .tab-icon-image {
display: initial !important; display: initial !important;
} }
hbox.tab-content[pinned=true] .tab-text { hbox.tab-content[pinned="true"] .tab-text {
display: none !important; display: none !important;
} }
#tabbrowser-tabs { #tabbrowser-tabs {
--tab-loading-fill: #033433 !important; --tab-loading-fill: #033433 !important;
} }
.tab-label-container:not([textoverflow]) { .tab-label-container:not([textoverflow]) {
@ -166,7 +164,6 @@ width: 50% !important;
} }
.urlbar-icon { .urlbar-icon {
color: var(--mff-icon-color) !important; color: var(--mff-icon-color) !important;
} }
.toolbarbutton-icon { .toolbarbutton-icon {
@ -188,14 +185,16 @@ width: 50% !important;
color: orange !important; color: orange !important;
} }
.urlbarView-url, .search-panel-one-offs-container { .urlbarView-url,
.search-panel-one-offs-container {
color: var(--mff-urlbar-results-url-color) !important; color: var(--mff-urlbar-results-url-color) !important;
font-family: var(--mff-urlbar-font-family); font-family: var(--mff-urlbar-font-family);
font-weight: var(--mff-urlbar-results-font-weight); font-weight: var(--mff-urlbar-results-font-weight);
font-size: var(--mff-urlbar-font-size) !important; font-size: var(--mff-urlbar-font-size) !important;
} }
.urlbarView-favicon, .urlbarView-type-icon { .urlbarView-favicon,
.urlbarView-type-icon {
display: none !important; display: none !important;
} }
@ -207,7 +206,8 @@ width: 50% !important;
text-align: center !important; text-align: center !important;
} }
#tracking-protection-icon-container, #identity-box { #tracking-protection-icon-container,
#identity-box {
display: none; display: none;
} }
@ -229,10 +229,11 @@ toolbar {
} }
#urlbar-background { #urlbar-background {
opacity: .98 !important; opacity: 0.98 !important;
} }
#navigator-toolbox, toolbaritem { #navigator-toolbox,
toolbaritem {
border: none !important; border: none !important;
} }
@ -263,7 +264,7 @@ tab.tabbrowser-tab {
} }
tab.tabbrowser-tab:hover { tab.tabbrowser-tab:hover {
box-shadow: 0 1px 4px rgba(0,0,0,.05); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
} }
image#star-button { image#star-button {
@ -281,14 +282,13 @@ toolbar#nav-bar {
#urlbar { #urlbar {
max-width: 70% !important; max-width: 70% !important;
margin: 0 15% !important; margin: 0 15% !important;
/* position: unset!important; */; /* position: unset!important; */
} }
#urlbar-input:focus { #urlbar-input:focus {
color: var(--mff-urlbar-focused-color) !important; color: var(--mff-urlbar-focused-color) !important;
} }
.megabar[breakout-extend="true"]:not([open="true"]) > #urlbar-background { .megabar[breakout-extend="true"]:not([open="true"]) > #urlbar-background {
box-shadow: none !important; box-shadow: none !important;
background-color: transparent !important; background-color: transparent !important;
@ -298,7 +298,6 @@ toolbarbutton {
box-shadow: none !important; box-shadow: none !important;
} }
/* /*
___ ___ ___ ___ ___ _ ___ ___ ___ ___ ___ ___ _ ___
/ __|_ _| \| __| _ ) /_\ | _ \ / __|_ _| \| __| _ ) /_\ | _ \
@ -306,7 +305,8 @@ toolbarbutton {
|___/___|___/|___|___/_/ \_\_|_\ |___/___|___/|___|___/_/ \_\_|_\
*/ */
.close-icon, .urlbar-icon { .close-icon,
.urlbar-icon {
fill: var(--mff-icon-color) !important; fill: var(--mff-icon-color) !important;
} }
@ -335,7 +335,6 @@ image#sidebar-icon {
display: none; display: none;
} }
/* /*
_ ___ ___ _____ _____ _ _ _ ___ _ _ ___ ___ _____ _____ _ _ _ ___ _
/_\ | _ \ _ \/ _ \ \ / / _ \/_\ | \| | __| | /_\ | _ \ _ \/ _ \ \ / / _ \/_\ | \| | __| |
@ -351,3 +350,7 @@ image#sidebar-icon {
toolbarseparator { toolbarseparator {
display: none; display: none;
} }
#contentAreaContextMenu {
margin-left: 4px;
}

View File

@ -1,6 +1,6 @@
[module/network-desktop] [module/network-desktop]
type = internal/network type = internal/network
interface = wlo1 interface = wlan0
interval = 3.0 interval = 3.0
udspeed-minwidth = 1 udspeed-minwidth = 1
accumulate-stats = true accumulate-stats = true
@ -18,8 +18,9 @@ label-disconnected = 睊 not connected
format-connected-padding = 1 format-connected-padding = 1
label-connected-background = ${color.shade4} label-connected-background = ${color.shade4}
label-disconnected-background = ${color.shade4} label-disconnected-background = ${color.shade4}
label-connected-foreground = #A8D385 label-connected-foreground = #98be65
label-disconnected-foreground = #F85522 label-disconnected-foreground = #ff6c6b
; label-disconnected-foreground = #F85522
# label-disconnected-padding = 2 # label-disconnected-padding = 2
format-disconnected-padding = 1 format-disconnected-padding = 1
@ -31,12 +32,12 @@ ramp-signal-3 = 😊
ramp-signal-4 = 😃 ramp-signal-4 = 😃
ramp-signal-5 = 😈 ramp-signal-5 = 😈
ramp-signal-5-foreground = #A8D385 ramp-signal-5-foreground = #98be65
ramp-signal-4-foreground = #A8D385 ramp-signal-4-foreground = #98be65
ramp-signal-3-foreground = #E1D20D ramp-signal-3-foreground = #ecbe7b
ramp-signal-2-foreground = #E1D20D ramp-signal-2-foreground = #ecbe7b
ramp-signal-1-foreground = #F85522 ramp-signal-1-foreground = #ff6c6b
ramp-signal-0-foreground = #F85522 ramp-signal-0-foreground = #ff6c6b
; Only applies if <animation-packetloss> is used ; Only applies if <animation-packetloss> is used
#animation-packetloss-0 = ⚠ #animation-packetloss-0 = ⚠
#animation-packetloss-0-foreground = #ffa64c #animation-packetloss-0-foreground = #ffa64c