diff options
| author | MrPaulBlack <paul@paulgo.io> | 2021-11-13 10:42:07 +0100 |
|---|---|---|
| committer | MrPaulBlack <paul@paulgo.io> | 2021-11-13 10:42:07 +0100 |
| commit | 566dfe33307e33e4cb54dc6eae17fb373a09684e (patch) | |
| tree | 606e48f0b83a833fbad7aa166bd5a0858fbd4090 /searx/static/themes/simple/src/less/style.less | |
| parent | 8877512e20edf86221b1de66808e2ab284770844 (diff) | |
[simple theme] update to ion icons 5 and drop webfont
* update from ionicons-npm to ionicons ver.5
* drop the webfont built by grunt for icons
* built icons.html template for inlining icons with jinja2 into html
* update icon to use mostly the outline version
* add icons to categories and do not display them on mobile to save space
* remove all legacy ion icon font files from simple theme
* icons.html is added in this commit since make statc.build.restore requires git to know the file already
* cleanup error-dialog
Diffstat (limited to 'searx/static/themes/simple/src/less/style.less')
| -rw-r--r-- | searx/static/themes/simple/src/less/style.less | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index b93317fa3..a26c57db1 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -10,7 +10,6 @@ @import "../../__common__/less/stats.less"; @import "../../__common__/less/result_templates.less"; @import (inline) "../../node_modules/normalize.css/normalize.css"; -@import "../generated/ion.less"; @import "definitions.less"; @import "mixins.less"; @import "code.less"; @@ -28,10 +27,23 @@ @import "search.less"; // ion-icon -.ion-icon-big { +.ion-icon { + display: inline-block; + vertical-align: bottom; + line-height: 1; + text-decoration: inherit; +} + +.ion-icon-small { + width: 1rem; + height: 1rem; .ion-icon; +} - font-size: 149%; +.ion-icon-big { + width: 1.5rem; + height: 1.5rem; + .ion-icon; } // Main LESS-Code @@ -530,7 +542,7 @@ article[data-vim-selected].category-social { #linkto_preferences { position: absolute; right: 10px; - top: 2rem; + top: 2.2rem; padding: 0; border: 0; display: block; |