Browse Source

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.
tags/v1.21.0-rc0
delvh 8 months ago
parent
commit
2590707122
No account linked to committer's email address
3 changed files with 5 additions and 141 deletions
  1. 4
    4
      web_src/css/base.css
  2. 0
    135
      web_src/fomantic/build/semantic.css
  3. 1
    2
      web_src/fomantic/semantic.json

+ 4
- 4
web_src/css/base.css 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);
}

+ 0
- 135
web_src/fomantic/build/semantic.css 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
*******************************/

+ 1
- 2
web_src/fomantic/semantic.json View File

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

Loading…
Cancel
Save