Browse Source

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

[simple theme] dont hardcode border radius
Alexandre Flament 3 years ago
parent
commit
b972df255a

File diff suppressed because it is too large
+ 0 - 0
searx/static/themes/oscar/css/logicodev-dark.min.css.map


File diff suppressed because it is too large
+ 0 - 0
searx/static/themes/oscar/css/logicodev.min.css.map


+ 1 - 1
searx/static/themes/oscar/js/searxng.min.js

@@ -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 it is too large
+ 0 - 0
searx/static/themes/oscar/js/searxng.min.js.map


File diff suppressed because it is too large
+ 0 - 0
searx/static/themes/simple/css/searxng-rtl.min.css.map


File diff suppressed because it is too large
+ 0 - 0
searx/static/themes/simple/css/searxng.min.css.map


+ 2 - 2
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;

+ 2 - 2
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;
 }
 

+ 2 - 2
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;
 }
 

+ 1 - 1
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] {

Some files were not shown because too many files changed in this diff