mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-11-01 14:48:28 +00:00
firefox: shuffle the files
This commit is contained in:
parent
90b0906311
commit
87406749cc
6 changed files with 6 additions and 0 deletions
|
|
@ -1,6 +1,12 @@
|
|||
# Firefox
|
||||
|
||||
## userChrome
|
||||
|
||||
1. Set `toolkit.legacyUserProfileCustomizations.stylesheets` to `true` with `about:config`
|
||||
1. Locate profile with `about:profiles`
|
||||
1. Copy `firefox/userChrome.css` to `{Root Directory}/chrome/userChrome.css`
|
||||
1. Customize interface
|
||||
|
||||
## userStyles
|
||||
|
||||
Styles can be applied using the [CSS Override extension](https://github.com/swcolegrove/css-override-web-extension).
|
||||
|
|
|
|||
|
|
@ -0,0 +1,62 @@
|
|||
{
|
||||
"__ConfigsMigration__userValeusSameToDefaultAreCleared": true,
|
||||
"animation": false,
|
||||
"autoAttachOnAnyOtherTrigger": 0,
|
||||
"autoAttachOnContextNewTabCommand": 6,
|
||||
"autoAttachOnNewTabButtonAccelClick": 6,
|
||||
"autoAttachOnNewTabButtonMiddleClick": 6,
|
||||
"autoAttachOnNewTabCommand": 0,
|
||||
"autoAttachOnOpenedFromExternal": 0,
|
||||
"autoAttachOnOpenedWithOwner": 6,
|
||||
"autoAttachSameSiteOrphan": 0,
|
||||
"autoGroupNewTabsFromPinned": false,
|
||||
"chunkedUserStyleRules0": "OnJvb3QgewogIC0tdGFiLXNpemU6IDIuM2VtOwogIC0tdGFiLWhpZ2hsaWdodGVyLXNpemU6IDRweDsKfQoKLyogTm8gbmV3IHRhYiBidXR0b24gKi8KLm5ld3RhYi1idXR0b24gewogIGRpc3BsYXk6IG5vbmU7Cn0KLm5ld3RhYi1idXR0b246OmFmdGVyIHsKICBkaXNwbGF5OiBub25lOwp9CgovKiBDb3VudGVyIHR1bm5pbmcgKi8KLmNvdW50ZXIgewogIGZvbnQtd2VpZ2h0OiBib2xkOwp9Ci5jb3VudGVyOjpiZWZvcmUgewogIGNvbnRlbnQ6ICcnOwp9Ci5jb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sYWJlbCB7CiAgbWFyZ2luLWxlZnQ6IDAuNGVtOwogIGxpbmUtaGVpZ2h0OiB2YXIoLS10YWItc2l6ZSk7Cn0KCi50YWIgLmNsb3NlYm94IHsKICBtYXJnaW4tbGVmdDogMC4yZW07CiAgbWFyZ2luLXJpZ2h0OiAwLjFlbTsKfQoKdGFiLWl0ZW0gdGFiLWZhdmljb24sCnRhYi1pdGVtIHRhYi1mYXZpY29uICogewogIHZlcnRpY2FsLWFsaWduOiB0b3A7Cn0KCi5oaWdobGlnaHRlcjo6YmVmb3JlIHsKICBtYXJnaW4tdG9wOiAwcHg7CiAgbWFyZ2luLWJvdHRvbTogMHB4Owp9",
|
||||
"closeParentBehaviorMode": 1,
|
||||
"configsVersion": 33,
|
||||
"context_sendTreeToDevice": true,
|
||||
"faviconizePinnedTabs": false,
|
||||
"inheritContextualIdentityToSameSiteOrphanMode": 0,
|
||||
"insertNewChildAt": 0,
|
||||
"insertNewTabFromPinnedTabAt": 1,
|
||||
"labelOverflowStyle": "crop",
|
||||
"lastSelectedSubPanelProviderId": "@tst-search",
|
||||
"notifiedFeaturesVersion": 9,
|
||||
"optionsExpandedSections": [
|
||||
"section-appearance",
|
||||
"section-newTabWithOwner",
|
||||
"section-newTab",
|
||||
"section-treeBehavior",
|
||||
"section-advanced",
|
||||
"section-debug"
|
||||
],
|
||||
"parentTabOperationBehaviorMode": 1,
|
||||
"scrollLines": 5,
|
||||
"shiftTabsForScrollbarDistance": "0.0em",
|
||||
"showAutoGroupOptionHint": false,
|
||||
"showExpertOptions": true,
|
||||
"showNewTabActionSelector": false,
|
||||
"sidebarPosition": 1,
|
||||
"sidebarPositionRighsideNotificationShown": true,
|
||||
"sidebarScrollbarPosition": 2,
|
||||
"sidebarWidthInWindow": {
|
||||
"1": 314,
|
||||
"257": 0,
|
||||
"1425": 314
|
||||
},
|
||||
"simulateSVGContextFill": false,
|
||||
"style": "none",
|
||||
"syncDevices": {
|
||||
"device-1679911263898-61773": {
|
||||
"id": "device-1679911263898-61773",
|
||||
"name": "Firefox on Linux",
|
||||
"icon": "device-desktop",
|
||||
"timestamp": 1756424972587
|
||||
}
|
||||
},
|
||||
"treeDoubleClickBehavior": 1,
|
||||
"useCachedTree": false,
|
||||
"userStyleRules": "",
|
||||
"userStyleRulesFieldHeight": "484px",
|
||||
"warnOnCloseTabs": false,
|
||||
"warnOnCloseTabsByClosebox": false
|
||||
}
|
||||
94
firefox/treestyletab/treestyletab.css
Normal file
94
firefox/treestyletab/treestyletab.css
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
:root {
|
||||
--tab-size: 2.3em;
|
||||
--tab-highlighter-size: 4px;
|
||||
}
|
||||
|
||||
/* No new tab button */
|
||||
.newtab-button {
|
||||
display: none;
|
||||
}
|
||||
.newtab-button::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Counter tunning */
|
||||
.counter {
|
||||
font-weight: bold;
|
||||
}
|
||||
.counter::before {
|
||||
content: '';
|
||||
}
|
||||
.counter::after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
/* Put scrollbar rightside */
|
||||
:root.left #tabbar { direction: ltr; }
|
||||
|
||||
/* Scrollbar width */
|
||||
#pinned-tabs-container, #normal-tabs-container {
|
||||
scrollbar-width: unset;
|
||||
}
|
||||
|
||||
/* Common background */
|
||||
#background {
|
||||
background: -moz-dialog;
|
||||
}
|
||||
|
||||
/* Pined tabs container */
|
||||
#pinned-tabs-container {
|
||||
border-bottom: 1px solid rgb(173, 173, 173);
|
||||
transition: none;
|
||||
}
|
||||
|
||||
/* Tabs */
|
||||
|
||||
tab-item,
|
||||
tab-item-substance {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
tab-item-substance {
|
||||
padding: 0.3em;
|
||||
border: 1px solid rgb(173, 173, 173);
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.tab, .tab.pinned {
|
||||
height: var(--tab-size);
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
.tab .label {
|
||||
margin-left: 0.4em;
|
||||
line-height: var(--tab-size);
|
||||
}
|
||||
|
||||
.tab .closebox {
|
||||
margin-left: 0.2em;
|
||||
margin-right: 0.1em;
|
||||
}
|
||||
|
||||
tab-item tab-favicon,
|
||||
tab-item tab-favicon * {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.highlighter::before {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.tab:hover > tab-item-substance,
|
||||
.tab.active > tab-item-substance {
|
||||
background: var(--face-highlight-more-lighter);
|
||||
}
|
||||
|
||||
.tab.active > tab-item-substance {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tab.active .highlighter {
|
||||
width: 5px;
|
||||
background: var(--tab-highlighted-glow);
|
||||
}
|
||||
37
firefox/userStyles/lemmy.css
Normal file
37
firefox/userStyles/lemmy.css
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* Turn off border radius. */
|
||||
*,
|
||||
.rounded {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
/* Filter section */
|
||||
.btn-check {
|
||||
position: unset;
|
||||
pointer-events: auto;
|
||||
opacity: 0;
|
||||
margin-left: -13px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
/* Some air for post text. */
|
||||
#postContent {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.post-listing {
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
/* Tuning for https://lemmy.cafe */
|
||||
#navbar {
|
||||
margin-block-start: 16px;
|
||||
}
|
||||
|
||||
#tagline {
|
||||
display: none;
|
||||
margin-block-end: 32px;
|
||||
}
|
||||
|
||||
.post-listings {
|
||||
margin-block-start: 48px;
|
||||
}
|
||||
83
firefox/userStyles/zulip.css
Normal file
83
firefox/userStyles/zulip.css
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
/* Turn off colors for stream icons. */
|
||||
.stream-privacy {
|
||||
color: #7f807f !important;
|
||||
}
|
||||
|
||||
/* Turn off border radius. */
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
/* Turn off border-radius for the compose stream selector. */
|
||||
.compose_table #compose-recipient.compose-recipient-direct-selected #compose_select_recipient_widget {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
/* Background color for compose block. */
|
||||
#compose-content {
|
||||
background-color: #efebeb !important;
|
||||
}
|
||||
|
||||
/* Background color for send button. */
|
||||
#message-send-controls-container {
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
/* Recent conversations hover item. */
|
||||
.recent_view_container #recent_view_table tr:hover {
|
||||
background-color: hsl(0, 0%, 85%) !important;
|
||||
}
|
||||
|
||||
/* Add border to avatars in recent conversations. */
|
||||
.recent_view_participant_avatar {
|
||||
outline: 2px solid #e0e0e0;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
/* Color for stream names and topics in recent conversations. */
|
||||
.table.table-responsive a {
|
||||
color: #212121 !important;
|
||||
}
|
||||
|
||||
/* Color for focus indicator. */
|
||||
.recent_view_container #recent_view_table .recent_view_focusable:focus-within {
|
||||
box-shadow: 0 3px 0 #212121 !important;
|
||||
}
|
||||
|
||||
/* Color for sidebar active item. */
|
||||
li.active-filter, li.active-sub-filter {
|
||||
background-color: hsl(0, 0%, 85%) !important;
|
||||
}
|
||||
|
||||
/* Color for sidebar hovered item. */
|
||||
.bottom_left_row:not(.active-sub-filter):hover, .top_left_row:not(.active-sub-filter):hover {
|
||||
background-color: hsl(0, 0%, 85%) !important;
|
||||
}
|
||||
|
||||
/* Hide "Subscribe to more streams". */
|
||||
#subscribe-to-more-streams > a {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* Dim logo. */
|
||||
#realm-logo {
|
||||
filter: grayscale(1);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
/* Hide toolbar buttons. */
|
||||
#help-menu,
|
||||
#searchbox_form,
|
||||
#userlist-toggle,
|
||||
#settings-dropdown {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
#help-menu:hover,
|
||||
#searchbox_form:hover,
|
||||
#searchbox_form:focus-within,
|
||||
#userlist-toggle:hover,
|
||||
#settings-dropdown:hover {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
67
firefox/vimium/vimium-options.json
Normal file
67
firefox/vimium/vimium-options.json
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
"waitForEnterForFilteredHints": false,
|
||||
"keyMappings": "# Insert your preferred key mappings here.\nmap [ goPrevious\nmap ] goNext\n\nmap J nextTab\nmap K previousTab",
|
||||
"linkHintCharacters": "sadfjklervmuigh",
|
||||
"ignoreKeyboardLayout": true,
|
||||
"smoothScroll": false,
|
||||
"settingsVersion": "2.2.1",
|
||||
"userDefinedLinkHintCss": "/* click flash */\ndiv.vimiumFlash,\ndiv.vimium-flash {\n box-shadow: none;\n outline: 3px solid rgba(0, 0, 0, 0.5);\n outline-offset: 4px;\n}\n\n/* linkhint boxes */\n#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {\n background: #fff;\n border-radius: 0;\n border: 2px solid #000;\n color: black;\n font-weight: bold;\n font-size: 12px;\n}\n\ndiv > .vimiumHintMarker {\n background: #fff;\n border-radius: 0;\n border: 2px solid #000;\n}\n\n/* linkhint text */\ndiv > .vimiumHintMarker span {\n color: black;\n font-weight: bold;\n font-size: 12px;\n}\n\n.vimiumReset,\ndiv.vimiumReset,\nspan.vimiumReset,\ntable.vimiumReset,\na.vimiumReset,\na:visited.vimiumReset,\na:link.vimiumReset,\na:hover.vimiumReset,\ntd.vimiumReset,\ntr.vimiumReset {\n font-family: sans-serif;\n}\n\n\n#vomnibar {\n border-radius: 0;\n border: 0;\n box-shadow: 0 2px 16px rgba(0,0,0,0.3);\n color: #2d2d2d;\n left: 50%;\n margin-left: -320px;\n max-width: 640px;\n top: 18px;\n}\n\n#vomnibar .vomnibarSearchArea {\n background: #F9FAF9;\n border: 0;\n border-radius: 0;\n padding: 0;\n}\n\n#vomnibar input {\n border-radius: 0;\n border: 0;\n box-shadow: none;\n font-size: 24px;\n height: initial;\n padding: 16px 24px;\n}\n\n#vomnibar ul {\n background: inherit;\n border-radius: 0;\n padding: 0;\n margin: 0;\n}\n\n#vomnibar li {\n border: 0;\n color: #2d2d2d;\n display: flex;\n line-height: 1;\n}\n\n#vomnibar li .vomnibarTopHalf,\n#vomnibar li .vomnibarBottomHalf {\n font-size: 13px;\n margin: 0;\n padding: 0;\n}\n\n#vomnibar li .vomnibarTopHalf {\n display: flex;\n flex: 0 0 67%;\n margin-right: 16px;\n}\n\n#vomnibar li .vomnibarBottomHalf {\n flex: 0 0 33%;\n overflow: hidden;\n text-overflow: ellipsis;\n color: transparent;\n}\n\n#vomnibar li .vomnibarSource.vomnibarNoInsertText,\n#vomnibar li .vomnibarSource.vomnibarInsertText {\n display: none;\n}\n\n#vomnibar li .vomnibarSource,\n#vomnibar li .vomnibarUrl {\n color: #979797;\n}\n\n#vomnibar li .vomnibarSource {\n display: block;\n flex-shrink: 0;\n font-size: 13px;\n line-height: 1.6;\n margin-right: 12px;\n text-transform: uppercase;\n}\n\n#vomnibar li .vomnibarTitle,\n#vomnibar li .vomnibarUrl {\n line-height: 1.6;\n}\n\n#vomnibar li .vomnibarTitle {\n color: #2d2d2d;\n display: block;\n margin: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n#vomnibar li .vomnibarMatch {\n color: inherit;\n}\n\n#vomnibar li.vomnibarSelected {\n background: #222222;\n}\n\n#vomnibar li.vomnibarSelected .vomnibarSource,\n#vomnibar li.vomnibarSelected .vomnibarUrl {\n color: #ebebeb;\n}\n\n#vomnibar li.vomnibarSelected .vomnibarTitle {\n color: #f4f4f4;\n}\n\n#vomnibar li.vomnibarSelected .vomnibarMatch {\n color: inherit;\n}\n\ndiv.vimiumHUD {\n border-radius: 0;\n box-shadow: unset;\n left: unset;\n right: 0;\n}",
|
||||
"exclusionRules": [
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://chriskempson.com/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://config.qmk.fm/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://zty.pe/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://monkeytype.com/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://monkeytype.com/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://hh.gbdev.io/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://v6p9d9t4.ssl.hwcdn.net/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://docs.google.com/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://html.itch.zone/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "j, k, i, u, >, r, d, t",
|
||||
"pattern": "https?://chat.constr.dev/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://drummyfish.gitlab.io/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://babus-games.itch.io/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://archive.org/*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https?://leetcode.com/*"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue