diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-01-18 07:56:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-18 07:56:03 +0100 |
| commit | b972df255a76e043522c9e4f44cbbcaa6b34df41 (patch) | |
| tree | 23cd2357bdf870c98a4ef2619ea47b5305830d87 /searx/static/themes/simple/src | |
| parent | a94ab32b923c64dcb6b9192dbc7f922244db3041 (diff) | |
| parent | 6c1a64d4b381416dd25154ace2ed658a3871c777 (diff) | |
Merge pull request #776 from mrpaulblack/simple-ltr-vars
[simple theme] dont hardcode border radius
Diffstat (limited to 'searx/static/themes/simple/src')
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] { |