Bläddra i källkod

Persist existing styles

main
Ashton Charbonneau 1 år sedan
förälder
incheckning
8ea5095b23

+ 7
- 12
README.md Visa fil

@@ -6,28 +6,23 @@
6 6
 	- <https://www.i-dont-care-about-cookies.eu/abp/>
7 7
 	- <https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt>
8 8
 	- <https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt>
9
-	- <https://letsblock.it/filters>
10
-- [Multi-Account Containers](https://addons.mozilla.org/firefox/addon/multi-account-containers/)
9
+	- Custom: <https://letsblock.it/filters>
10
+- [Multi-Account Containers](https://addons.mozilla.org/firefox/addon/multi-account-containers/) with [Temporary Containers](https://addons.mozilla.org/firefox/addon/temporary-containers/)
11 11
 - [Skip Redirect](https://addons.mozilla.org/firefox/addon/skip-redirect/)
12 12
 - [Hover Zoom+](https://addons.mozilla.org/firefox/addon/hover-zoom-plus/)
13 13
 - [Vimium C](https://addons.mozilla.org/firefox/addon/vimium-c/)
14
-- [Sponsorblock](https://addons.mozilla.org/firefox/addon/sponsorblock/)
15
-- [DeArrow](https://addons.mozilla.org/firefox/addon/dearrow/)
16 14
 - [KeePassXC-Browser](https://addons.mozilla.org/firefox/addon/keepassxc-browser/)
17
-- [RES](https://addons.mozilla.org/firefox/addon/reddit-enhancement-suite/)
18
-- [Torrent Control](https://addons.mozilla.org/en-CA/firefox/addon/torrent-control/)
19
-- [Temporary Containers](https://addons.mozilla.org/firefox/addon/temporary-containers/)
15
+- [Bypass Paywalls Clean](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean)
16
+- YouTube: [Sponsorblock](https://addons.mozilla.org/firefox/addon/sponsorblock/) and [DeArrow](https://addons.mozilla.org/firefox/addon/dearrow/)
17
+- Reddit: [RES](https://addons.mozilla.org/firefox/addon/reddit-enhancement-suite/)
18
+- [Torrent Control](https://addons.mozilla.org/en-CA/firefox/addon/torrent-control/) (replace)
20 19
 - multifoxContainer
21
-- Link Status Redux
22 20
 - Redirector
23 21
 - Open in Unloaded Tab
24 22
 - Auto Plain Text Links
25 23
 - BackTrack Tab History
24
+- Link Status Redux
26 25
 - PrivateTab
27
-- Dorando keyconfig (disable/change shortcuts; may be other options)
28
-- Enter Selects (improved URL autocomplete; may be other options)
29
-- StyloaiX (replace with userContent.css)
30
-- [Bypass Paywalls Clean](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean)
31 26
 
32 27
 ## Profiles / Containers
33 28
 

+ 39
- 1
chrome/userChrome.css Visa fil

@@ -1,2 +1,40 @@
1
-/* Remove fullscreen animation */
1
+/* Remove fullscreen transition animation */
2 2
 #navigator-toolbox[fullscreenShouldAnimate] { transition: none !important; }
3
+
4
+/* Set favorites icon color to default */
5
+#urlbar #page-action-buttons #star-button[starred] { fill: currentColor !important; }
6
+
7
+/* Enable page action button */
8
+#urlbar #page-action-buttons #pageActionButton { visibility: unset !important; }
9
+
10
+/* Hide reader view button when not active */
11
+#urlbar #page-action-buttons #reader-mode-button:not([readeractive="true"]) { display: none; }
12
+
13
+/* Set reader view button color to default */
14
+#urlbar #page-action-buttons #reader-mode-button[readeractive] > .urlbar-icon { fill: currentColor !important; }
15
+
16
+/* Hide Hover Zoom+ button */
17
+#urlbar #page-action-buttons #pageAction-urlbar-_92e6fe1c-6e1d-44e1-8bc6-d309e59406af_ { display: none; }
18
+
19
+/* Hide Multi-Account Containers button */
20
+#urlbar #page-action-buttons #pageAction-urlbar-_testpilot-containers { display: none; }
21
+
22
+/* Hide RES button */
23
+#urlbar #page-action-buttons #pageAction-urlbar-jid1-xufzosoflzsoxg_jetpack { display: none; }
24
+
25
+/* Hide default multifoxContainer label */
26
+#urlbar #page-action-buttons #userContext-label[value="Default"] { display: none; }
27
+
28
+/* Set multifoxContainer button color to default */
29
+#urlbar #page-action-buttons #userContext-label[value="Default"] + #userContext-indicator,
30
+#mainPopupSet menuitem.identity-icon-fingerprint[label="Default"] .menu-iconic-icon { fill: currentColor; }
31
+
32
+/* Shrink bookmark separators */
33
+#PlacesToolbarItems > toolbarseparator::before {
34
+	filter: opacity(0.3);
35
+	height: 80%;
36
+	margin: auto;
37
+}
38
+
39
+/* Set User Scripts icon to grayscale */
40
+#appMenu-popup #appMenu-multiView #appMenu-userChromeJS-button .toolbarbutton-icon { filter: contrast(10) grayscale(1) invert(); }

+ 0
- 0
chrome/userChrome.js Visa fil


+ 103
- 0
chrome/userContent.css Visa fil

@@ -0,0 +1,103 @@
1
+
2
+/* Hacker News */
3
+@-moz-document domain("news.ycombinator.com") {
4
+	body,
5
+	[bgcolor="#f6f6ef"],
6
+	[bgcolor="#ff6600"],
7
+	textarea,
8
+	form[action="comment"] input {
9
+		background-color: hsl(218deg 14% 18%) !important;
10
+	}
11
+
12
+	.votearrow {
13
+		filter: contrast(0%) invert() brightness(125%) !important;
14
+		mix-blend-mode: soft-light !important;
15
+	}
16
+
17
+	img[src="y18.gif"] {
18
+		filter: grayscale(1) brightness(60%) !important;
19
+		mix-blend-mode: soft-light !important;
20
+		margin-right: 8px !important;
21
+	}
22
+
23
+	form[action="comment"] input,
24
+	form[action="comment"] textarea {
25
+		border-color: currentColor !important;
26
+		outline: none !important;
27
+	}
28
+
29
+	[action="//hn.algolia.com/"],
30
+	.pagetop .hnname {
31
+		display: none !important;
32
+	}
33
+
34
+	.subtext, .subtext a:link, .subtext a:visited,
35
+	.comhead a:link,
36
+	.rank,
37
+		form[action="comment"] input {
38
+		color: hsl(218deg 14% 33%) !important;
39
+	}
40
+
41
+	a:link, a:visited,
42
+	.pagetop a:visited,
43
+	.toptext,
44
+		form[action="comment"] textarea {
45
+		color: hsl(218deg 14% 43%) !important;
46
+	}
47
+
48
+	.c00, .c00 a:link, .c00 a:visited { color: hsl(218deg 14% 56%) !important; }
49
+	.c5a, .c5a a:link, .c5a a:visited { color: hsl(218deg 14% 43%) !important; }
50
+	.c73, .c73 a:link, .c73 a:visited { color: hsl(218deg 14% 39%) !important; }
51
+	.c82, .c82 a:link, .c82 a:visited { color: hsl(218deg 14% 37%) !important; }
52
+	.c88, .c88 a:link, .c88 a:visited { color: hsl(218deg 14% 37%) !important; }
53
+	.c9c, .c9c a:link, .c9c a:visited { color: hsl(218deg 14% 34%) !important; }
54
+	.cae, .cae a:link, .cae a:visited { color: hsl(218deg 14% 31%) !important; }
55
+	.cbe, .cbe a:link, .cbe a:visited { color: hsl(218deg 14% 28%) !important; }
56
+	.cce, .cce a:link, .cce a:visited { color: hsl(218deg 14% 26%) !important; }
57
+	.cdd, .cdd a:link, .cdd a:visited, .comment { color: hsl(218deg 14% 24%) !important; }
58
+}
59
+
60
+/* Algolia: Hacker News */
61
+@-moz-document domain("hn.algolia.com") { 
62
+	body,
63
+	.SearchFilters,
64
+	.SearchHeader_search,
65
+	.SearchHeader .SearchInput,
66
+	.SearchResults,
67
+	.Pagination {
68
+		background-color: hsl(218deg 14% 18%) !important;
69
+	}
70
+
71
+	.Story_title a {
72
+		color: hsl(218deg 14% 43%) !important;
73
+	}
74
+
75
+	li.Pagination_item-current button {
76
+		color: hsl(218deg 14% 46%) !important;
77
+		border-color: hsl(218deg 14% 36%) !important;
78
+	}
79
+
80
+	.SearchFilters_filters label,
81
+	.Pagination_item button {
82
+		border-color: hsl(218deg 14% 27%) !important;
83
+	}
84
+
85
+	.SearchHeader .SearchIcon,
86
+	.Footer, .Footer a,
87
+	.SearchInput::placeholder,
88
+	.Pagination_item button,
89
+	.SearchHeader_settings a,
90
+	.SearchFilters,
91
+	.Dropdown_label,
92
+	.Story_title .Story_link,
93
+	.Story_meta, .Story_meta a,
94
+	.Story_comment {
95
+		color: hsl(218deg 14% 33%) !important;
96
+	}
97
+
98
+	.SearchHeader_label,
99
+	.SearchHeader_logo,
100
+	.PoweredBy img {
101
+		display: none !important;
102
+	}
103
+}

+ 0
- 24
styles/action-buttons-restyle.css Visa fil

@@ -1,24 +0,0 @@
1
-/* Enable Page Action Button */
2
-#urlbar #page-action-buttons #pageActionButton { visibility: unset; }
3
-
4
-/* Hide Hover Zoom+ button */
5
-#urlbar #page-action-buttons #pageAction-urlbar-_92e6fe1c-6e1d-44e1-8bc6-d309e59406af_ { display: none; }
6
-
7
-/* Hide Multi-Account Containers button */
8
-#urlbar #page-action-buttons #pageAction-urlbar-_testpilot-containers { display: none; }
9
-
10
-/* Hide RES button */
11
-#urlbar #page-action-buttons #pageAction-urlbar-jid1-xufzosoflzsoxg_jetpack { display: none; }
12
-
13
-/* Hide reader view button when not active */
14
-#urlbar #page-action-buttons #reader-mode-button:not([readeractive="true"]) { display: none; }
15
-
16
-/* Hide default multifoxContainer label */
17
-#urlbar #page-action-buttons #userContext-label[value="Default"] { display: none; }
18
-
19
-/* Set multifoxContainer button color to default */
20
-#urlbar #page-action-buttons #userContext-label[value="Default"] + #userContext-indicator,
21
-#mainPopupSet menuitem.identity-icon-fingerprint[label="Default"] .menu-iconic-icon { fill: currentColor; }
22
-
23
-/* Set favorites icon color to default */
24
-#urlbar #page-action-buttons #star-button[starred] { fill: currentColor; }

+ 0
- 5
styles/bookmark-separator-shrink.css Visa fil

@@ -1,5 +0,0 @@
1
-#PlacesToolbarItems > toolbarseparator::before {
2
-  filter: opacity(0.3);
3
-  height: 80%;
4
-  margin: auto;
5
-}

+ 0
- 43
styles/hacker-news-algolia.css Visa fil

@@ -1,43 +0,0 @@
1
-@-moz-document domain("hn.algolia.com") { 
2
-  body,
3
-  .SearchFilters,
4
-  .SearchHeader_search,
5
-  .SearchHeader .SearchInput,
6
-  .SearchResults,
7
-  .Pagination {
8
-    background-color: hsl(218deg 14% 18%);
9
-  }
10
-  
11
-  .Story_title a {
12
-    color: hsl(218deg 14% 43%);
13
-  }
14
-  
15
-  li.Pagination_item-current button {
16
-    color: hsl(218deg 14% 46%);
17
-    border-color: hsl(218deg 14% 36%);
18
-  }
19
-
20
-  .SearchFilters_filters label,
21
-  .Pagination_item button {
22
-    border-color: hsl(218deg 14% 27%);
23
-  }
24
-
25
-  .SearchHeader .SearchIcon,
26
-  .Footer, .Footer a,
27
-  .SearchInput::placeholder,
28
-  .Pagination_item button,
29
-  .SearchHeader_settings a,
30
-  .SearchFilters,
31
-  .Dropdown_label,
32
-  .Story_title .Story_link,
33
-  .Story_meta, .Story_meta a,
34
-  .Story_comment {
35
-    color: hsl(218deg 14% 33%);
36
-  }
37
-
38
-  .SearchHeader_label,
39
-  .SearchHeader_logo,
40
-  .PoweredBy img {
41
-    display: none;
42
-  }
43
-}

+ 0
- 56
styles/hacker-news.css Visa fil

@@ -1,56 +0,0 @@
1
-@-moz-document domain("news.ycombinator.com") {
2
-  body,
3
-  [bgcolor="#f6f6ef"],
4
-  [bgcolor="#ff6600"],
5
-  textarea,
6
-  form[action="comment"] input {
7
-    background-color: hsl(218deg 14% 18%);
8
-  }
9
-  
10
-  .votearrow {
11
-    filter: contrast(0%) invert() brightness(125%);
12
-    mix-blend-mode: soft-light;
13
-  }
14
-  
15
-  img[src="y18.gif"] {
16
-    filter: grayscale(1) brightness(60%);
17
-    mix-blend-mode: soft-light;
18
-    margin-right: 8px;
19
-  }
20
-
21
-  form[action="comment"] input,
22
-  form[action="comment"] textarea {
23
-    border-color: currentColor;
24
-    outline: none;
25
-  }
26
-  
27
-  [action="//hn.algolia.com/"],
28
-  .pagetop .hnname {
29
-    display: none;
30
-  }
31
-  
32
-  .subtext, .subtext a:link, .subtext a:visited,
33
-  .comhead a:link,
34
-  .rank,
35
-  form[action="comment"] input {
36
-    color: hsl(218deg 14% 33%);
37
-  }
38
-  
39
-  a:link, a:visited,
40
-  .pagetop a:visited,
41
-  .toptext,
42
-  form[action="comment"] textarea {
43
-    color: hsl(218deg 14% 43%);
44
-  }
45
-  
46
-  .c00, .c00 a:link, .c00 a:visited { color: hsl(218deg 14% 56%); }
47
-  .c5a, .c5a a:link, .c5a a:visited { color: hsl(218deg 14% 43%); }
48
-  .c73, .c73 a:link, .c73 a:visited { color: hsl(218deg 14% 39%); }
49
-  .c82, .c82 a:link, .c82 a:visited { color: hsl(218deg 14% 37%); }
50
-  .c88, .c88 a:link, .c88 a:visited { color: hsl(218deg 14% 37%); }
51
-  .c9c, .c9c a:link, .c9c a:visited { color: hsl(218deg 14% 34%); }
52
-  .cae, .cae a:link, .cae a:visited { color: hsl(218deg 14% 31%); }
53
-  .cbe, .cbe a:link, .cbe a:visited { color: hsl(218deg 14% 28%); }
54
-  .cce, .cce a:link, .cce a:visited { color: hsl(218deg 14% 26%); }
55
-  .cdd, .cdd a:link, .cdd a:visited, .comment { color: hsl(218deg 14% 24%); }
56
-}

+ 0
- 8
styles/menu-item-restyle.css Visa fil

@@ -1,8 +0,0 @@
1
-/* Invert Norwell icon */
2
-#widget-overflow #widget-overflow-fixed-list #norwell-button .toolbarbutton-icon { filter: invert(); }
3
-
4
-/* Set StyloaiX icon to grayscale */
5
-#widget-overflow #widget-overflow-fixed-list #styloaix-button { filter: grayscale(1); }
6
-
7
-/* Set User Scripts icon to grayscale */
8
-#appMenu-popup #appMenu-multiView #appMenu-userChromeJS-button .toolbarbutton-icon { filter: contrast(10) grayscale(1) invert(); }

Laddar…
Avbryt
Spara