1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 19:00:10 +01:00

[stylelint] simple theme: fix some errors reported by stylelint

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-06-22 14:15:47 +02:00
parent 14b09c15c4
commit 0b7d03c694
4 changed files with 16 additions and 29 deletions

View File

@ -38,11 +38,8 @@
@color-a-font: @color-base; @color-a-font: @color-base;
@color-a-font-hover: @color-base; @color-a-font-hover: @color-base;
/// Start-Screen /// Start-Screen
/// Search-Input /// Search-Input
@color-search-border: @color-base; @color-search-border: @color-base;
@ -75,7 +72,6 @@
@color-categories-item-border-unselected: #E8E7E6; @color-categories-item-border-unselected: #E8E7E6;
@color-categories-item-border-unselected-hover: @color-base; @color-categories-item-border-unselected-hover: @color-base;
/// Results /// Results
@color-suggestions-button-background: @color-base; @color-suggestions-button-background: @color-base;
@ -108,7 +104,6 @@
@color-result-search-url-border: #888; @color-result-search-url-border: #888;
@color-result-search-url-font: #444; @color-result-search-url-font: #444;
/// Settings /// Settings
@color-settings-fieldset: @color-base; @color-settings-fieldset: @color-base;

View File

@ -54,11 +54,6 @@
} }
} }
#q::-ms-clear,
#q::-webkit-search-cancel-button {
display: none;
}
#q, #q,
#send_search { #send_search {
display: block !important; display: block !important;
@ -84,6 +79,11 @@
width: @search-width; width: @search-width;
} }
#q::-ms-clear,
#q::-webkit-search-cancel-button {
display: none;
}
#send_search { #send_search {
border-left: none; border-left: none;
width: 2.2em; width: 2.2em;
@ -110,8 +110,8 @@
clear: both; clear: both;
.checkbox_container { .checkbox_container {
margin-top: 2px;
margin: auto; margin: auto;
margin-top: 2px;
} }
} }
@ -246,7 +246,7 @@
opacity: 0; opacity: 0;
transition: opacity 1s ease; transition: opacity 1s ease;
font-size: 0.8em; font-size: 0.8em;
text-position: center; text-align: center;
background: white; background: white;
} }

View File

@ -16,13 +16,6 @@
@import "toolkit.less"; @import "toolkit.less";
@import "autocomplete.less"; @import "autocomplete.less";
// ion-icon
.ion-icon-big {
.ion-icon;
font-size: 149%;
}
// for index.html template // for index.html template
@import "index.less"; @import "index.less";
@ -32,6 +25,13 @@
// Search-Field // Search-Field
@import "search.less"; @import "search.less";
// ion-icon
.ion-icon-big {
.ion-icon;
font-size: 149%;
}
// Main LESS-Code // Main LESS-Code
html { html {
font-family: arial, sans-serif; font-family: arial, sans-serif;
@ -54,13 +54,6 @@ main {
// position: absolute; // position: absolute;
} }
footer {
// position:absolute;
bottom: 0;
width: 100%;
height: 50px;
}
#main_preferences, #main_preferences,
#main_about, #main_about,
#main_stats { #main_stats {
@ -711,7 +704,7 @@ article.result-images[data-vim-selected]::before {
#linkto_preferences { #linkto_preferences {
display: none; display: none;
postion: fixed !important; position: fixed !important;
top: 100px; top: 100px;
right: 0; right: 0;
} }

View File

@ -105,7 +105,6 @@ div.selectable_url {
padding: 4px; padding: 4px;
color: @color-result-search-url-font; color: @color-result-search-url-font;
width: 100%; width: 100%;
display: block;
margin: 0.1em; margin: 0.1em;
overflow: hidden; overflow: hidden;
height: 1.2em; height: 1.2em;
@ -130,7 +129,7 @@ div.selectable_url {
position: absolute; position: absolute;
top: 0.5em; top: 0.5em;
left: 0.5em; left: 0.5em;
font-family: "ion"; font-family: "ion"; // stylelint-disable font-family-no-missing-generic-family-keyword
font-size: 1.5em; font-size: 1.5em;
} }