Merge pull request #776 from mrpaulblack/simple-ltr-vars

[simple theme] dont hardcode border radius
This commit is contained in:
Alexandre Flament 2022-01-18 07:56:03 +01:00 committed by GitHub
commit b972df255a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 13 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -4,7 +4,7 @@
* (C) Copyright Contributors to the searx project (2014 - 2021).
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
window.searxng=function(t){"use strict";t.getElementsByTagName("html")[0].className="js";var e=t.currentScript||(e=t.getElementsByTagName("script"))[e.length-1];return{autocompleter:"true"===e.getAttribute("data-autocompleter"),method:e.getAttribute("data-method"),translations:JSON.parse(e.getAttribute("data-translations"))}}(document),
window.searxng=function(t){"use strict";t.getElementsByTagName("html")[0].className="js";var e,e=t.currentScript||(e=t.getElementsByTagName("script"))[e.length-1];return{autocompleter:"true"===e.getAttribute("data-autocompleter"),method:e.getAttribute("data-method"),translations:JSON.parse(e.getAttribute("data-translations"))}}(document),
/**
* @license
* (C) Copyright Contributors to the SearXNG project.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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;

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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] {