From 0090318f81b23e9dea7e7570e561285ef490b3ca Mon Sep 17 00:00:00 2001 From: delvh Date: Tue, 29 Aug 2023 00:40:44 +0200 Subject: [PATCH 1/4] Remove fomantic `text` module --- web_src/css/base.css | 8 ++ web_src/fomantic/build/semantic.css | 139 ---------------------------- web_src/fomantic/semantic.json | 3 +- 3 files changed, 9 insertions(+), 141 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 1a88823cb10cd..a327b24a8d777 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1175,6 +1175,14 @@ img.ui.avatar, color: var(--color-gold) !important; } +.text.disabled { + opacity: var(--opacity-disabled); +} + +.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; diff --git a/web_src/fomantic/build/semantic.css b/web_src/fomantic/build/semantic.css index c2003ab2de904..d72189c9bc3d0 100644 --- a/web_src/fomantic/build/semantic.css +++ b/web_src/fomantic/build/semantic.css @@ -19893,142 +19893,3 @@ input::selection { .ui.massive.table { font-size: 1.71428571rem; } - -/******************************* - 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 79aec9493f8ef..86e990d0ac433 100644 --- a/web_src/fomantic/semantic.json +++ b/web_src/fomantic/semantic.json @@ -41,7 +41,6 @@ "segment", "site", "tab", - "table", - "text" + "table" ] } From 83eb0be18a3415da65dc6f876d6396876dc1c6c5 Mon Sep 17 00:00:00 2001 From: delvh Date: Tue, 29 Aug 2023 00:46:51 +0200 Subject: [PATCH 2/4] I accidentally removed too much --- web_src/fomantic/build/semantic.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web_src/fomantic/build/semantic.css b/web_src/fomantic/build/semantic.css index d72189c9bc3d0..722a979b03f13 100644 --- a/web_src/fomantic/build/semantic.css +++ b/web_src/fomantic/build/semantic.css @@ -19893,3 +19893,7 @@ input::selection { .ui.massive.table { font-size: 1.71428571rem; } + +/******************************* + Site Overrides +*******************************/ From 4f9d55eaba8cf3c7fa066a068ea3abe7ce4b9ee9 Mon Sep 17 00:00:00 2001 From: delvh Date: Tue, 29 Aug 2023 09:34:27 +0200 Subject: [PATCH 3/4] Run `make fomantic` and remove duplicate selector as per @wxiaoguang --- web_src/css/base.css | 4 ---- web_src/fomantic/build/semantic.css | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index a327b24a8d777..ddd2c6f97557b 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1265,10 +1265,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 722a979b03f13..888554fd4be52 100644 --- a/web_src/fomantic/build/semantic.css +++ b/web_src/fomantic/build/semantic.css @@ -19896,4 +19896,4 @@ input::selection { /******************************* Site Overrides -*******************************/ +*******************************/ \ No newline at end of file From 309a76b17d890d28e4c528154980ed2c57624442 Mon Sep 17 00:00:00 2001 From: delvh Date: Tue, 29 Aug 2023 09:39:22 +0200 Subject: [PATCH 4/4] Remove unused selector --- web_src/css/base.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index ddd2c6f97557b..032c12fd13767 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1175,10 +1175,6 @@ img.ui.avatar, color: var(--color-gold) !important; } -.text.disabled { - opacity: var(--opacity-disabled); -} - .text.small { font-size: 0.75em; }