loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove fomantic `text` module (#26777)

Corollary to #26775:
All selectors I found that are actually used and not necessarily present
in the current code have been copied to `web_src/css/base.css`.
Everything else should be a clean removal.

authored by

delvh and committed by
GitHub
25907071 53151530

+5 -141
+4 -4
web_src/css/base.css
··· 1175 1175 color: var(--color-gold) !important; 1176 1176 } 1177 1177 1178 + .text.small { 1179 + font-size: 0.75em; 1180 + } 1181 + 1178 1182 /* FIXME: this is a serious pollution, do not use this for "float: left" anymore */ 1179 1183 .ui.left:not(.action) { 1180 1184 float: left; ··· 1255 1259 1256 1260 .ui .text.right { 1257 1261 text-align: right !important; 1258 - } 1259 - 1260 - .ui .text.small { 1261 - font-size: 0.75em; 1262 1262 } 1263 1263 1264 1264 .ui .text.normal {
-135
web_src/fomantic/build/semantic.css
··· 19371 19371 19372 19372 /******************************* 19373 19373 Site Overrides 19374 - *******************************/ 19375 - /*! 19376 - * # Fomantic-UI - Text 19377 - * http://github.com/fomantic/Fomantic-UI/ 19378 - * 19379 - * 19380 - * Released under the MIT license 19381 - * https://github.com/fomantic/Fomantic-UI/blob/master/LICENSE.md 19382 - * 19383 - */ 19384 - 19385 - /******************************* 19386 - Text 19387 - *******************************/ 19388 - 19389 - span.ui.text { 19390 - line-height: 1; 19391 - } 19392 - 19393 - span.ui.primary.text { 19394 - color: #2185D0; 19395 - } 19396 - 19397 - span.ui.secondary.text { 19398 - color: #1B1C1D; 19399 - } 19400 - 19401 - span.ui.red.text { 19402 - color: #DB2828; 19403 - } 19404 - 19405 - span.ui.orange.text { 19406 - color: #F2711C; 19407 - } 19408 - 19409 - span.ui.yellow.text { 19410 - color: #FBBD08; 19411 - } 19412 - 19413 - span.ui.olive.text { 19414 - color: #B5CC18; 19415 - } 19416 - 19417 - span.ui.green.text { 19418 - color: #21BA45; 19419 - } 19420 - 19421 - span.ui.teal.text { 19422 - color: #00B5AD; 19423 - } 19424 - 19425 - span.ui.blue.text { 19426 - color: #2185D0; 19427 - } 19428 - 19429 - span.ui.violet.text { 19430 - color: #6435C9; 19431 - } 19432 - 19433 - span.ui.purple.text { 19434 - color: #A333C8; 19435 - } 19436 - 19437 - span.ui.pink.text { 19438 - color: #E03997; 19439 - } 19440 - 19441 - span.ui.brown.text { 19442 - color: #A5673F; 19443 - } 19444 - 19445 - span.ui.grey.text { 19446 - color: #767676; 19447 - } 19448 - 19449 - span.ui.black.text { 19450 - color: #1B1C1D; 19451 - } 19452 - 19453 - span.ui.error.text { 19454 - color: #DB2828; 19455 - } 19456 - 19457 - span.ui.info.text { 19458 - color: #31CCEC; 19459 - } 19460 - 19461 - span.ui.success.text { 19462 - color: #21BA45; 19463 - } 19464 - 19465 - span.ui.warning.text { 19466 - color: #F2C037; 19467 - } 19468 - 19469 - span.ui.disabled.text { 19470 - opacity: var(--opacity-disabled); 19471 - } 19472 - 19473 - /* Sizes */ 19474 - 19475 - span.ui.medium.text { 19476 - font-size: 1em; 19477 - } 19478 - 19479 - span.ui.mini.text { 19480 - font-size: 0.4em; 19481 - } 19482 - 19483 - span.ui.tiny.text { 19484 - font-size: 0.5em; 19485 - } 19486 - 19487 - span.ui.small.text { 19488 - font-size: 0.75em; 19489 - } 19490 - 19491 - span.ui.large.text { 19492 - font-size: 1.5em; 19493 - } 19494 - 19495 - span.ui.big.text { 19496 - font-size: 2em; 19497 - } 19498 - 19499 - span.ui.huge.text { 19500 - font-size: 4em; 19501 - } 19502 - 19503 - span.ui.massive.text { 19504 - font-size: 8em; 19505 - } 19506 - 19507 - /******************************* 19508 - Theme Overrides 19509 19374 *******************************/
+1 -2
web_src/fomantic/semantic.json
··· 40 40 "segment", 41 41 "site", 42 42 "tab", 43 - "table", 44 - "text" 43 + "table" 45 44 ] 46 45 }