[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-hover: @color-base;
/// Start-Screen
/// Search-Input
@color-search-border: @color-base;
@ -75,7 +72,6 @@
@color-categories-item-border-unselected: #E8E7E6;
@color-categories-item-border-unselected-hover: @color-base;
/// Results
@color-suggestions-button-background: @color-base;
@ -108,7 +104,6 @@
@color-result-search-url-border: #888;
@color-result-search-url-font: #444;
/// Settings
@color-settings-fieldset: @color-base;

View file

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

View file

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

View file

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