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,6 +1,5 @@
:root { :root {
/* Minimal Functional Fox variables*/
/* Minimal Functional Fox variables*/
--mff-bg: #292f36; --mff-bg: #292f36;
--mff-icon-color: #e0fbfc; --mff-icon-color: #e0fbfc;
--mff-nav-toolbar-padding: 8px; --mff-nav-toolbar-padding: 8px;
@ -78,7 +77,7 @@
} }
.tab-close-button { .tab-close-button {
display: none !important; display: none !important;
} }
.tab-text { .tab-text {
@ -94,24 +93,23 @@ 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]) {
display: flex; display: flex;
overflow: hidden; overflow: hidden;
justify-content: center; justify-content: center;
width: 50% !important; width: 50% !important;
max-width: 50% !important; max-width: 50% !important;
min-width: 50% !important; min-width: 50% !important;
} }
@ -162,15 +160,14 @@ width: 50% !important;
} }
.toolbarbutton-text { .toolbarbutton-text {
color: var(--mff-icon-color) !important; color: var(--mff-icon-color) !important;
} }
.urlbar-icon { .urlbar-icon {
color: var(--mff-icon-color) !important; color: var(--mff-icon-color) !important;
} }
.toolbarbutton-icon { .toolbarbutton-icon {
/* filter: drop-shadow(0 0 0.75rem crimson); */ /* filter: drop-shadow(0 0 0.75rem crimson); */
} }
#urlbar-results { #urlbar-results {
@ -180,22 +177,24 @@ width: 50% !important;
color: var(--mff-urlbar-results-color) !important; color: var(--mff-urlbar-results-color) !important;
} }
.urlbarView-row[type="bookmark"] > span{ .urlbarView-row[type="bookmark"] > span {
color: green !important; color: green !important;
} }
.urlbarView-row[type="switchtab"] > span{ .urlbarView-row[type="switchtab"] > span {
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;
} }
@ -203,15 +202,16 @@ width: 50% !important;
font-size: var(--mff-urlbar-font-size) !important; font-size: var(--mff-urlbar-font-size) !important;
color: var(--mff-urlbar-color) !important; color: var(--mff-urlbar-color) !important;
font-family: var(--mff-urlbar-font-family) !important; font-family: var(--mff-urlbar-font-family) !important;
font-weight: var(--mff-urlbar-font-weight)!important; font-weight: var(--mff-urlbar-font-weight) !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;
} }
#back-button > .toolbarbutton-icon{ #back-button > .toolbarbutton-icon {
--backbutton-background: transparent !important; --backbutton-background: transparent !important;
border: none !important; border: none !important;
} }
@ -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;
} }
@ -315,7 +315,7 @@ toolbarbutton {
} }
#sidebar-switcher-target { #sidebar-switcher-target {
/* color: white !important; */ /* color: white !important; */
} }
#sidebar-box { #sidebar-box {
@ -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