From 1becb5e138acd6d0fb61b30fbd7bfc0ef1c9166d Mon Sep 17 00:00:00 2001 From: MrPaulBlack Date: Sat, 13 Nov 2021 00:51:26 +0100 Subject: [PATCH 1/2] [simple theme] minor css fixes * remove hover effect from vim help modal * remove bold font weight from active item in prefenreces tab bar * remove margin from answer box to unify with rest of result page --- searx/static/themes/simple/src/less/style.less | 2 +- searx/static/themes/simple/src/less/toolkit.less | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 0d57772e1..b93317fa3 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -445,7 +445,7 @@ article[data-vim-selected].category-social { border: 1px solid var(--color-answer-border); background: var(--color-answer-background); padding: @result-padding; - margin: 1rem @results-tablet-offset; + margin: 1rem 0; margin-top: 0; color: var(--color-answer-font); .rounded-corners; diff --git a/searx/static/themes/simple/src/less/toolkit.less b/searx/static/themes/simple/src/less/toolkit.less index faed6ea9f..f11275576 100644 --- a/searx/static/themes/simple/src/less/toolkit.less +++ b/searx/static/themes/simple/src/less/toolkit.less @@ -157,7 +157,7 @@ div.selectable_url { vertical-align: text-top; &:hover { - background: transparent; + background: transparent !important; } } @@ -267,7 +267,6 @@ div.selectable_url { border-bottom: 2px solid var(--color-categories-item-border-selected); background: var(--color-categories-item-selected); color: var(--color-categories-item-selected-font); - font-weight: bold; letter-spacing: -0.1px; } From 303cea3437bf6d9ef01ab44966e22bf74bce7444 Mon Sep 17 00:00:00 2001 From: MrPaulBlack Date: Sat, 13 Nov 2021 00:52:34 +0100 Subject: [PATCH 2/2] [build] /static --- .../static/themes/simple/css/searxng-rtl.css | 9 ++++----- .../themes/simple/css/searxng-rtl.min.css | Bin 53963 -> 53973 bytes .../themes/simple/css/searxng-rtl.min.css.map | Bin 23685 -> 23675 bytes searx/static/themes/simple/css/searxng.css | 9 ++++----- .../static/themes/simple/css/searxng.min.css | Bin 53924 -> 53934 bytes .../themes/simple/css/searxng.min.css.map | Bin 23629 -> 23619 bytes 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/searx/static/themes/simple/css/searxng-rtl.css b/searx/static/themes/simple/css/searxng-rtl.css index b10390a7b..71b0c2ff5 100644 --- a/searx/static/themes/simple/css/searxng-rtl.css +++ b/searx/static/themes/simple/css/searxng-rtl.css @@ -1468,7 +1468,7 @@ div.selectable_url pre { vertical-align: text-top; } .dialog-error tr:hover { - background: transparent; + background: transparent !important; } .dialog-error td { padding: 0 1em 0 0; @@ -1519,7 +1519,7 @@ div.selectable_url pre { vertical-align: text-top; } .dialog-warning tr:hover { - background: transparent; + background: transparent !important; } .dialog-warning td { padding: 0 1em 0 0; @@ -1574,7 +1574,7 @@ div.selectable_url pre { vertical-align: text-top; } .dialog-modal tr:hover { - background: transparent; + background: transparent !important; } .dialog-modal td { padding: 0 1em 0 0; @@ -1644,7 +1644,6 @@ div.selectable_url pre { border-bottom: 2px solid var(--color-categories-item-border-selected); background: var(--color-categories-item-selected); color: var(--color-categories-item-selected-font); - font-weight: bold; letter-spacing: -0.1px; } .tabs > section:last-of-type { @@ -2961,7 +2960,7 @@ article[data-vim-selected].category-social { border: 1px solid var(--color-answer-border); background: var(--color-answer-background); padding: 1rem; - margin: 1rem 0.5rem; + margin: 1rem 0; margin-top: 0; color: var(--color-answer-font); -webkit-border-radius: 10px; diff --git a/searx/static/themes/simple/css/searxng-rtl.min.css b/searx/static/themes/simple/css/searxng-rtl.min.css index d96637665353668d1748fc080864a55beeef9414..f677c618fd1e35f373db83fe06aedc1f4c4ac251 100644 GIT binary patch delta 69 zcmX@Tl=!Xa41>; E0MNf1W&i*H delta 56 zcmcb*l=<{h<_%X|Hs5nGWZo?4;mf?az`LJ?KP^A6M7KOOGd-ik%G|(U^FROUB33=q MqSV~YRfnPl0GFs1W&i*H diff --git a/searx/static/themes/simple/css/searxng-rtl.min.css.map b/searx/static/themes/simple/css/searxng-rtl.min.css.map index 91a086e0cc36f4093fbfa26906aa4cf7aba083d7..a44c38ba7ed691f749f61d94a1ea5a4866a6d46d 100644 GIT binary patch delta 82 zcmZqO$@qH*ZEDx*F5wiJCpk%sG)6lNUzIF}dV! kcF+}IW;C4~XrREDzPZStg^AI0^LHa1MMl@nDj|s+0J(G<00000 delta 93 zcmeypgRyldZEDx*8K_q@$ywj;Euu section:last-of-type { @@ -2961,7 +2960,7 @@ article[data-vim-selected].category-social { border: 1px solid var(--color-answer-border); background: var(--color-answer-background); padding: 1rem; - margin: 1rem 0.5rem; + margin: 1rem 0; margin-top: 0; color: var(--color-answer-font); -webkit-border-radius: 10px; diff --git a/searx/static/themes/simple/css/searxng.min.css b/searx/static/themes/simple/css/searxng.min.css index 6ad32d984304a6c50e07ce557fc90ba4f31e7ce2..1a3b0737fd4f2b33a11cad59ba758b842ebdd79a 100644 GIT binary patch delta 69 zcmZ3olzH7!<_%X|xD+#U3-XIf67xznUvV*HM&`46_@eNGy!%-;fAp^^Vl>!XaL7ae E0K4EC@c;k- delta 56 zcmZ3tlzGWg<_%X|Hs5nGWZo?4;mf?az`LJ?KP^A6M7KOOGd-ik%G|(U^FROUB33=q MqSV~YRfkLj0EWL6@c;k- diff --git a/searx/static/themes/simple/css/searxng.min.css.map b/searx/static/themes/simple/css/searxng.min.css.map index 90f34007c1778d9391b97e06fdb855440958b492..e66f38f10404712f321f713761774bab5728959c 100644 GIT binary patch delta 90 zcmV-g0Hy!UxB&W3vkkApvc(BP|dE0ySlmu}&TWL}#;AFoXgDHM80>EFl3!vj&NwW(lUjhkP zK|w(*NkKzFvuP=f0|ahaXhM@QOC174Z?hRK5CZ}?Ws@*V9s)#Zvr9090s%L(&@wC` K0Zp_0Q$`4qwI3`1