|
1 | 1 | /* ==UserStyle== |
2 | | -@name steamtradematcher.com - Dark Mode |
| 2 | +@name steamtradematcher.com - Dark Mode [Customizable] |
3 | 3 | @namespace typpi.online |
4 | | -@version 1.2.1 |
| 4 | +@version 1.3.1 |
5 | 5 | @description Darker mode for Steam Trade Matcher |
6 | 6 | @author Nick2bad4u |
7 | 7 | @license UnLicense |
8 | 8 | @homepageURL https://github.com/Nick2bad4u/UserStyles |
9 | 9 | @supportURL https://github.com/Nick2bad4u/UserStyles/issues |
| 10 | +
|
| 11 | +@var color background-color "Background Color" #000000 |
| 12 | +@var color text-color "Text Color" #ffffff |
| 13 | +@var color card-body-background "Card Body Background" #000000 |
| 14 | +@var color card-header-background "Card Header Background" #5BA32B61 |
| 15 | +@var color text-light-color "Text Light Color" #F8F9FA |
| 16 | +@var color icon-color "Icon Color" #5BA32BB8 |
10 | 17 | ==/UserStyle== */ |
11 | | -@-moz-document domain("steamtradematcher.com") { |
| 18 | +@-moz-document domain("steamtradematcher.com") |
| 19 | +{ |
12 | 20 | html, |
13 | 21 | .m-3, |
14 | 22 | .inside, |
15 | 23 | .bg-white, |
16 | 24 | body, |
17 | 25 | .bg-dark, |
18 | | - :root { |
19 | | - background: #000000 !important; |
20 | | - background-color: #000000 !important; |
21 | | - color: #ffffff !important; |
| 26 | + :root, |
| 27 | + #filterToolbar > div |
| 28 | + { |
| 29 | + background: var(--background-color) !important; |
| 30 | + background-color: var(--background-color) !important; |
| 31 | + color: var(--text-color) !important; |
| 32 | + } |
| 33 | + |
| 34 | + .card-body |
| 35 | + { |
| 36 | + background: var(--card-body-background) !important; |
| 37 | + background-color: var(--card-body-background) !important; |
| 38 | + } |
| 39 | + |
| 40 | + .card-header |
| 41 | + { |
| 42 | + background: var(--card-header-background) !important; |
| 43 | + background-color: var(--card-header-background) !important; |
| 44 | + } |
| 45 | + |
| 46 | + .fw-light, |
| 47 | + .big-title .inside span, |
| 48 | + .text-nowrap, |
| 49 | + .navbar-nav .nav-link.active, |
| 50 | + .navbar-nav .show > .nav-link, |
| 51 | + .dropdown-item, |
| 52 | + .text-light, |
| 53 | + #filterToolbar > div |
| 54 | + { |
| 55 | + color: var(--text-light-color) !important; |
| 56 | + } |
| 57 | + |
| 58 | + .fa-classic, .fa-regular, .fa-solid, .far, .fas |
| 59 | + { |
| 60 | + color: var(--icon-color) !important; |
22 | 61 | } |
23 | 62 |
|
24 | 63 | *, |
25 | | - :root { |
| 64 | + :root |
| 65 | + { |
26 | 66 | --bs-blue: #375a7f !important; |
27 | 67 | --bs-indigo: #6610f2 !important; |
28 | 68 | --bs-purple: #6f42c1 !important; |
|
68 | 108 | --bs-black-rgb: 0, 0, 0 !important; |
69 | 109 | --bs-body-color-rgb: 255, 255, 255 !important; |
70 | 110 | --bs-body-bg-rgb: 34, 34, 34 !important; |
71 | | - --bs-font-sans-serif: lato, -apple-system, |
72 | | - blinkmacsystemfont, 'Segoe UI', roboto, |
73 | | - 'Helvetica Neue', arial, sans-serif, |
74 | | - 'Apple Color Emoji', 'Segoe UI Emoji', |
75 | | - 'Segoe UI Symbol' !important; |
76 | | - --bs-font-monospace: sfmono-regular, menlo, monaco, |
77 | | - consolas, 'Liberation Mono', 'Courier New', monospace !important; |
78 | | - --bs-gradient: linear-gradient( |
79 | | - 180deg, |
80 | | - hsl(0deg 0% 100% / 15%), |
81 | | - hsl(0deg 0% 100% / 0%) |
82 | | - ) !important; |
83 | | - --bs-body-font-family: var( |
84 | | - --bs-font-sans-serif |
85 | | - ) !important; |
| 111 | + --bs-font-sans-serif: lato, -apple-system, blinkmacsystemfont, 'Segoe UI', |
| 112 | + roboto, 'Helvetica Neue', arial, sans-serif, |
| 113 | + 'Apple Color Emoji', 'Segoe UI Emoji', |
| 114 | + 'Segoe UI Symbol' !important; |
| 115 | + --bs-font-monospace: sfmono-regular, menlo, monaco, consolas, |
| 116 | + 'Liberation Mono', 'Courier New', monospace !important; |
| 117 | + --bs-gradient: linear-gradient( 180deg, |
| 118 | + hsl(0deg 0% 100% / 15%), |
| 119 | + hsl(0deg 0% 100% / 0%)) !important; |
| 120 | + --bs-body-font-family: var( --bs-font-sans-serif) !important; |
86 | 121 | --bs-body-font-size: 1rem !important; |
87 | 122 | --bs-body-font-weight: 400 !important; |
88 | 123 | --bs-body-line-height: 1.5 !important; |
|
91 | 126 | --bs-border-width: 1px !important; |
92 | 127 | --bs-border-style: solid !important; |
93 | 128 | --bs-border-color: #dee2e6 !important; |
94 | | - --bs-border-color-translucent: rgb( |
95 | | - 0 0 0 / 17.5% |
96 | | - ) !important; |
| 129 | + --bs-border-color-translucent: rgb( 0 0 0 / 17.5%) !important; |
97 | 130 | --bs-border-radius: 0.375rem !important; |
98 | 131 | --bs-border-radius-sm: 0.25rem !important; |
99 | 132 | --bs-border-radius-lg: 0.5rem !important; |
|
119 | 152 | --gpStoreDarkGrey: #2a475e !important; |
120 | 153 | --gpStoreDarkerGrey: #1b2838 !important; |
121 | 154 | --gpStoreDarkestGrey: #000f18 !important; |
122 | | - --gpGradient-StoreBackground: linear-gradient( |
123 | | - 180deg, |
124 | | - var(--gpStoreDarkGrey) 0%, |
125 | | - var(--gpStoreDarkerGrey) 80% |
126 | | - ) !important; |
127 | | - --gpGradient-LibraryBackground: radial-gradient( |
128 | | - farthest-corner at 40px 40px, |
129 | | - #3d4450 0%, |
130 | | - #23262e 80% |
131 | | - ) !important; |
| 155 | + --gpGradient-StoreBackground: linear-gradient( 180deg, |
| 156 | + var(--gpStoreDarkGrey) 0%, |
| 157 | + var(--gpStoreDarkerGrey) 80%) !important; |
| 158 | + --gpGradient-LibraryBackground: radial-gradient( farthest-corner at 40px 40px, |
| 159 | + #3d4450 0%, |
| 160 | + #23262e 80%) !important; |
132 | 161 | --gpColor-Blue: #1a9fff !important; |
133 | 162 | --gpColor-BlueHi: #00bbff !important; |
134 | 163 | --gpColor-Green: #5ba32b !important; |
|
165 | 194 | --gpSidePanelWidth: 340px !important; |
166 | 195 | --gpGiftingPanelWidth: 280px !important; |
167 | 196 | --gpCommunityRightPanelWidth: 320px !important; |
168 | | - --gpVerticalResponsivePadding-Small: calc( |
169 | | - (100vw - 854px) / 60 |
170 | | - ) !important; |
171 | | - --gpVerticalResponsivePadding-Medium: calc( |
172 | | - (100vw - 854px) / 20 |
173 | | - ) !important; |
174 | | - --gpVerticalResponsivePadding-Large: calc( |
175 | | - (100vw - 854px) / 12 |
176 | | - ) !important; |
| 197 | + --gpVerticalResponsivePadding-Small: calc( (100vw - 854px) / 60) !important; |
| 198 | + --gpVerticalResponsivePadding-Medium: calc( (100vw - 854px) / 20) !important; |
| 199 | + --gpVerticalResponsivePadding-Large: calc( (100vw - 854px) / 12) !important; |
177 | 200 | --screen-width: 100vw !important; |
178 | | - --gpWidth-6colcap: calc( |
179 | | - ( |
180 | | - var(--screen-width) - (5 * var(--gpSpace-Gap)) - |
181 | | - (2 * var(--gpSpace-Gutter)) |
182 | | - ) / |
183 | | - 6 |
184 | | - ) !important; |
185 | | - --gpWidth-5colcap: calc( |
186 | | - ( |
187 | | - var(--screen-width) - (4 * var(--gpSpace-Gap)) - |
188 | | - (2 * var(--gpSpace-Gutter)) |
189 | | - ) / |
190 | | - 5 |
191 | | - ) !important; |
192 | | - --gpWidth-4colcap: calc( |
193 | | - ( |
194 | | - var(--screen-width) - (3 * var(--gpSpace-Gap)) - |
195 | | - (2 * var(--gpSpace-Gutter)) |
196 | | - ) / |
197 | | - 4 |
198 | | - ) !important; |
199 | | - --gpWidth-3colcap: calc( |
200 | | - ( |
201 | | - var(--screen-width) - (2 * var(--gpSpace-Gap)) - |
202 | | - (2 * var(--gpSpace-Gutter)) |
203 | | - ) / |
204 | | - 3 |
205 | | - ) !important; |
206 | | - --gpWidth-2colcap: calc( |
207 | | - ( |
208 | | - var(--screen-width) - (1 * var(--gpSpace-Gap)) - |
209 | | - (2 * var(--gpSpace-Gutter)) |
210 | | - ) / |
211 | | - 2 |
212 | | - ) !important; |
213 | | - --gpWidth-1colcap: calc( |
214 | | - (var(--screen-width) - (2 * var(--gpSpace-Gutter))) |
215 | | - ) !important; |
| 201 | + --gpWidth-6colcap: calc( ( var(--screen-width) - (5 * var(--gpSpace-Gap)) - (2 * var(--gpSpace-Gutter))) / 6) !important; |
| 202 | + --gpWidth-5colcap: calc( ( var(--screen-width) - (4 * var(--gpSpace-Gap)) - (2 * var(--gpSpace-Gutter))) / 5) !important; |
| 203 | + --gpWidth-4colcap: calc( ( var(--screen-width) - (3 * var(--gpSpace-Gap)) - (2 * var(--gpSpace-Gutter))) / 4) !important; |
| 204 | + --gpWidth-3colcap: calc( ( var(--screen-width) - (2 * var(--gpSpace-Gap)) - (2 * var(--gpSpace-Gutter))) / 3) !important; |
| 205 | + --gpWidth-2colcap: calc( ( var(--screen-width) - (1 * var(--gpSpace-Gap)) - (2 * var(--gpSpace-Gutter))) / 2) !important; |
| 206 | + --gpWidth-1colcap: calc( (var(--screen-width) - (2 * var(--gpSpace-Gutter)))) !important; |
216 | 207 | --gpStoreMenuHeight: 58px !important; |
217 | 208 | --gpShadow-Small: 0 2px 2px 0 #0000003d !important; |
218 | 209 | --gpShadow-Medium: 0 3px 6px 0 #0000003d !important; |
219 | 210 | --gpShadow-Large: 0 12px 16px 0 #0000003d !important; |
220 | 211 | --gpShadow-XLarge: 0 24px 32px 0 #0000003d !important; |
221 | | - --gpText-HeadingLarge: normal 700 26px/1.4 'Motiva Sans', |
222 | | - arial, sans-serif !important; |
223 | | - --gpText-HeadingMedium: normal 700 22px/1.4 |
224 | | - 'Motiva Sans', |
225 | | - arial, sans-serif !important; |
226 | | - --gpText-HeadingSmall: normal 700 18px/1.4 'Motiva Sans', |
227 | | - arial, sans-serif !important; |
228 | | - --gpText-BodyLarge: normal 400 16px/1.4 'Motiva Sans', |
229 | | - arial, sans-serif !important; |
230 | | - --gpText-BodyMedium: normal 400 14px/1.4 'Motiva Sans', |
231 | | - arial, sans-serif !important; |
232 | | - --gpText-BodySmall: normal 400 12px/1.4 'Motiva Sans', |
233 | | - arial, sans-serif !important; |
| 212 | + --gpText-HeadingLarge: normal 700 26px/1.4 'Motiva Sans', arial, sans-serif !important; |
| 213 | + --gpText-HeadingMedium: normal 700 22px/1.4 'Motiva Sans', arial, sans-serif !important; |
| 214 | + --gpText-HeadingSmall: normal 700 18px/1.4 'Motiva Sans', arial, sans-serif !important; |
| 215 | + --gpText-BodyLarge: normal 400 16px/1.4 'Motiva Sans', arial, sans-serif !important; |
| 216 | + --gpText-BodyMedium: normal 400 14px/1.4 'Motiva Sans', arial, sans-serif !important; |
| 217 | + --gpText-BodySmall: normal 400 12px/1.4 'Motiva Sans', arial, sans-serif !important; |
234 | 218 | } |
235 | 219 | } |
0 commit comments