diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-06-25 09:02:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-25 09:02:35 +0200 |
| commit | c91603dae9d89c10b67b58c5c52385b75e89379c (patch) | |
| tree | c9cff6b6376def4849810299984b3796c88794b2 /searx/static/themes/simple/src/less/preferences.less | |
| parent | e73a96b5f9c55e3b6eb6b95515b18d46308ee1c1 (diff) | |
| parent | a3f58a3a3d099cf6c5dfd533f76d97623146e079 (diff) | |
Merge pull request #168 from return42/stylelint
Lint the less files of the simple theme
Diffstat (limited to 'searx/static/themes/simple/src/less/preferences.less')
| -rw-r--r-- | searx/static/themes/simple/src/less/preferences.less | 30 |
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; + } } |