summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/preferences.less
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-06-22 13:50:06 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-24 13:27:21 +0200
commit14b09c15c488d657fd2b3b9de4955f48b40f5fb2 (patch)
tree60ef4e92dc1be70699160064bb9198e0f8ac2c43 /searx/static/themes/simple/src/less/preferences.less
parentdfc5c3bc1520d8b4e48d972099c80198fa312847 (diff)
[fix] simple theme: use stylint to fix common lint errors
This fix was autogenerated by:: npx stylelint -f unix --fix 'searx/static/themes/simple/src/less/**/*.less' Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/src/less/preferences.less')
-rw-r--r--searx/static/themes/simple/src/less/preferences.less30
1 files changed, 16 insertions, 14 deletions
diff --git a/searx/static/themes/simple/src/less/preferences.less b/searx/static/themes/simple/src/less/preferences.less
index e1e88b51f..8b000c0e3 100644
--- a/searx/static/themes/simple/src/less/preferences.less
+++ b/searx/static/themes/simple/src/less/preferences.less
@@ -1,10 +1,10 @@
#main_preferences {
form {
- width: 100%;
+ width: 100%;
}
fieldset {
- margin: 8px;
+ margin: 8px;
border: none;
}
@@ -12,21 +12,21 @@
margin: 0;
padding: 5px 0 0 0;
display: block;
- float:left;
+ float: left;
width: 300px;
}
.value {
margin: 0;
padding: 0;
- float:left;
+ float: left;
width: 15em;
}
.description {
margin: 0;
padding: 5px 0 0 0;
- float:left;
+ float: left;
width: 50%;
color: darken(#dcdcdc, 30%);
font-size: 90%;
@@ -48,22 +48,25 @@
table.cookies {
width: auto;
- th, td {
+ th,
+ td {
text-align: left;
padding: 0.25em;
}
- th:first-child, td:first-child {
+ th:first-child,
+ td:first-child {
padding-right: 4em;
}
- &>tbody>tr:nth-child(even)>th,
- &>tbody>tr:nth-child(even)>td {
+ & > tbody > tr:nth-child(even) > th,
+ & > tbody > tr:nth-child(even) > td {
background-color: @color-settings-tr-hover;
}
}
- .name, .shortcut {
+ .name,
+ .shortcut {
text-align: left;
}
@@ -72,6 +75,7 @@
color: white;
border: 0 none;
.rounded-corners;
+
cursor: pointer;
display: inline-block;
margin: 2px 4px;
@@ -87,17 +91,15 @@
}
}
-
div.selectable_url {
pre {
width: 100%;
}
}
-
}
@media screen and (max-width: 75em) {
.preferences_back {
- clear: both;
- }
+ clear: both;
+ }
}