mirror of https://github.com/searxng/searxng.git
Merge pull request #776 from mrpaulblack/simple-ltr-vars
[simple theme] dont hardcode border radius
This commit is contained in:
commit
b972df255a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
* (C) Copyright Contributors to the searx project (2014 - 2021).
|
* (C) Copyright Contributors to the searx project (2014 - 2021).
|
||||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
* 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
|
* @license
|
||||||
* (C) Copyright Contributors to the SearXNG project.
|
* (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
|
@ -133,7 +133,7 @@
|
||||||
.ltr-padding-right(0) !important;
|
.ltr-padding-right(0) !important;
|
||||||
.ltr-border-right(none);
|
.ltr-border-right(none);
|
||||||
width: @search-width;
|
width: @search-width;
|
||||||
.ltr-rounded-left-corners();
|
.ltr-rounded-left-corners(10px);
|
||||||
}
|
}
|
||||||
|
|
||||||
#q::-ms-clear,
|
#q::-ms-clear,
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
|
|
||||||
#send_search {
|
#send_search {
|
||||||
.ltr-border-left(none);
|
.ltr-border-left(none);
|
||||||
.ltr-rounded-right-corners();
|
.ltr-rounded-right-corners(10px);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -42,11 +42,11 @@
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ltr-rounded-left-corners(@radius: 10px) {
|
.ltr-rounded-left-corners(@radius) {
|
||||||
border-radius: @radius 0 0 @radius;
|
border-radius: @radius 0 0 @radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ltr-rounded-right-corners(@radius: 10px) {
|
.ltr-rounded-right-corners(@radius) {
|
||||||
border-radius: 0 @radius @radius 0;
|
border-radius: 0 @radius @radius 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,11 +42,11 @@
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ltr-rounded-left-corners(@radius: 10px) {
|
.ltr-rounded-left-corners(@radius) {
|
||||||
border-radius: 0 @radius @radius 0;
|
border-radius: 0 @radius @radius 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ltr-rounded-right-corners(@radius: 10px) {
|
.ltr-rounded-right-corners(@radius) {
|
||||||
border-radius: @radius 0 0 @radius;
|
border-radius: @radius 0 0 @radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ a {
|
||||||
article[data-vim-selected] {
|
article[data-vim-selected] {
|
||||||
background: var(--color-result-vim-selected);
|
background: var(--color-result-vim-selected);
|
||||||
.ltr-border-left(0.2rem solid var(--color-result-vim-arrow));
|
.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] {
|
article.result-images[data-vim-selected] {
|
||||||
|
|
Loading…
Reference in New Issue