summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src
diff options
context:
space:
mode:
authormrpaulblack <paul@paulgo.io>2022-01-17 22:35:02 +0100
committermrpaulblack <paul@paulgo.io>2022-01-17 22:35:02 +0100
commit7a0f5e6b1992b475d6ab9df1ba4f663090e39a8e (patch)
tree8e068f6760fb098db907cd95ef6651411cf79944 /searx/static/themes/simple/src
parent96ab5e57ff92aba4ab0fedeb4e5fbfa09e9fc2e2 (diff)
downloadsearxng-7a0f5e6b1992b475d6ab9df1ba4f663090e39a8e.tar.gz
searxng-7a0f5e6b1992b475d6ab9df1ba4f663090e39a8e.zip
[simple theme] dynamic border radius in CSS
Diffstat (limited to 'searx/static/themes/simple/src')
-rw-r--r--searx/static/themes/simple/src/less/search.less4
-rw-r--r--searx/static/themes/simple/src/less/style-ltr.less4
-rw-r--r--searx/static/themes/simple/src/less/style-rtl.less4
-rw-r--r--searx/static/themes/simple/src/less/style.less2
4 files changed, 7 insertions, 7 deletions
diff --git a/searx/static/themes/simple/src/less/search.less b/searx/static/themes/simple/src/less/search.less
index 282a0980b..ba5745c79 100644
--- a/searx/static/themes/simple/src/less/search.less
+++ b/searx/static/themes/simple/src/less/search.less
@@ -133,7 +133,7 @@
.ltr-padding-right(0) !important;
.ltr-border-right(none);
width: @search-width;
- .ltr-rounded-left-corners();
+ .ltr-rounded-left-corners(10px);
}
#q::-ms-clear,
@@ -143,7 +143,7 @@
#send_search {
.ltr-border-left(none);
- .ltr-rounded-right-corners();
+ .ltr-rounded-right-corners(10px);
&:hover {
cursor: pointer;
diff --git a/searx/static/themes/simple/src/less/style-ltr.less b/searx/static/themes/simple/src/less/style-ltr.less
index c20d65bbf..4810d771a 100644
--- a/searx/static/themes/simple/src/less/style-ltr.less
+++ b/searx/static/themes/simple/src/less/style-ltr.less
@@ -42,11 +42,11 @@
text-align: right;
}
-.ltr-rounded-left-corners(@radius: 10px) {
+.ltr-rounded-left-corners(@radius) {
border-radius: @radius 0 0 @radius;
}
-.ltr-rounded-right-corners(@radius: 10px) {
+.ltr-rounded-right-corners(@radius) {
border-radius: 0 @radius @radius 0;
}
diff --git a/searx/static/themes/simple/src/less/style-rtl.less b/searx/static/themes/simple/src/less/style-rtl.less
index 92eda0c10..6d3e9f525 100644
--- a/searx/static/themes/simple/src/less/style-rtl.less
+++ b/searx/static/themes/simple/src/less/style-rtl.less
@@ -42,11 +42,11 @@
text-align: left;
}
-.ltr-rounded-left-corners(@radius: 10px) {
+.ltr-rounded-left-corners(@radius) {
border-radius: 0 @radius @radius 0;
}
-.ltr-rounded-right-corners(@radius: 10px) {
+.ltr-rounded-right-corners(@radius) {
border-radius: @radius 0 0 @radius;
}
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less
index babe886e8..657e0d3ac 100644
--- a/searx/static/themes/simple/src/less/style.less
+++ b/searx/static/themes/simple/src/less/style.less
@@ -141,7 +141,7 @@ a {
article[data-vim-selected] {
background: var(--color-result-vim-selected);
.ltr-border-left(0.2rem solid var(--color-result-vim-arrow));
- .ltr-rounded-right-corners();
+ .ltr-rounded-right-corners(10px);
}
article.result-images[data-vim-selected] {