From 2590707122aac20c53b554dc5695396ef35fbea4 Mon Sep 17 00:00:00 2001 From: delvh Date: Wed, 30 Aug 2023 12:37:17 +0200 Subject: [PATCH] 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. --- web_src/css/base.css | 8 +- web_src/fomantic/build/semantic.css | 135 ---------------------------- web_src/fomantic/semantic.json | 3 +- 3 files changed, 5 insertions(+), 141 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index c0176cc437..43fb2c9c75 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -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); } diff --git a/web_src/fomantic/build/semantic.css b/web_src/fomantic/build/semantic.css index cddc3f5ee9..ad3f13bb58 100644 --- a/web_src/fomantic/build/semantic.css +++ b/web_src/fomantic/build/semantic.css @@ -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 *******************************/ \ No newline at end of file diff --git a/web_src/fomantic/semantic.json b/web_src/fomantic/semantic.json index eeb67f6097..43d0b412b3 100644 --- a/web_src/fomantic/semantic.json +++ b/web_src/fomantic/semantic.json @@ -40,7 +40,6 @@ "segment", "site", "tab", - "table", - "text" + "table" ] }