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.
This commit is contained in:
delvh 2023-08-30 12:37:17 +02:00 committed by GitHub
parent 5315153059
commit 2590707122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 141 deletions

View File

@ -1175,6 +1175,10 @@ img.ui.avatar,
color: var(--color-gold) !important;
}
.text.small {
font-size: 0.75em;
}
/* FIXME: this is a serious pollution, do not use this for "float: left" anymore */
.ui.left:not(.action) {
float: left;
@ -1257,10 +1261,6 @@ img.ui.avatar,
text-align: right !important;
}
.ui .text.small {
font-size: 0.75em;
}
.ui .text.normal {
font-weight: var(--font-weight-normal);
}

View File

@ -19371,139 +19371,4 @@ input::selection {
/*******************************
Site Overrides
*******************************/
/*!
* # Fomantic-UI - Text
* http://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* https://github.com/fomantic/Fomantic-UI/blob/master/LICENSE.md
*
*/
/*******************************
Text
*******************************/
span.ui.text {
line-height: 1;
}
span.ui.primary.text {
color: #2185D0;
}
span.ui.secondary.text {
color: #1B1C1D;
}
span.ui.red.text {
color: #DB2828;
}
span.ui.orange.text {
color: #F2711C;
}
span.ui.yellow.text {
color: #FBBD08;
}
span.ui.olive.text {
color: #B5CC18;
}
span.ui.green.text {
color: #21BA45;
}
span.ui.teal.text {
color: #00B5AD;
}
span.ui.blue.text {
color: #2185D0;
}
span.ui.violet.text {
color: #6435C9;
}
span.ui.purple.text {
color: #A333C8;
}
span.ui.pink.text {
color: #E03997;
}
span.ui.brown.text {
color: #A5673F;
}
span.ui.grey.text {
color: #767676;
}
span.ui.black.text {
color: #1B1C1D;
}
span.ui.error.text {
color: #DB2828;
}
span.ui.info.text {
color: #31CCEC;
}
span.ui.success.text {
color: #21BA45;
}
span.ui.warning.text {
color: #F2C037;
}
span.ui.disabled.text {
opacity: var(--opacity-disabled);
}
/* Sizes */
span.ui.medium.text {
font-size: 1em;
}
span.ui.mini.text {
font-size: 0.4em;
}
span.ui.tiny.text {
font-size: 0.5em;
}
span.ui.small.text {
font-size: 0.75em;
}
span.ui.large.text {
font-size: 1.5em;
}
span.ui.big.text {
font-size: 2em;
}
span.ui.huge.text {
font-size: 4em;
}
span.ui.massive.text {
font-size: 8em;
}
/*******************************
Theme Overrides
*******************************/

View File

@ -40,7 +40,6 @@
"segment",
"site",
"tab",
"table",
"text"
"table"
]
}