This commit is contained in:
Joseph Cheung 2023-02-26 08:59:50 +08:00
parent 1dcd512d21
commit c93eaf39c5
10 changed files with 11 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -145,7 +145,7 @@ module.exports = function (grunt) {
svgo: ['--config', 'svg4web.svgo.js']
},
files: {
'<%= _templates %>/simple/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg',
'<%= _templates %>/magi/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg',
'img/logo.svg': '<%= _brand %>/logo.svg',
'img/img_load_error.svg': '<%= _brand %>/img_load_error.svg'
}
@ -192,7 +192,7 @@ module.exports = function (grunt) {
'heart-outline': 'node_modules/ionicons/dist/svg/heart-outline.svg',
'information-circle-outline': 'src/svg/information-circle-outline.svg',
},
dest: '../../../templates/simple/icons.html',
dest: '../../../templates/magi/icons.html',
},
},
});
@ -229,7 +229,7 @@ module.exports = function (grunt) {
grunt.log.error(err);
}
}
const template = `{# this file was generated by searx/static/themes/simple/gruntfile.js #}
const template = `{# this file was generated by searx/static/themes/magi/gruntfile.js #}
{%- set icons = {
<% for (const iconName in icons) { %> '<%- iconName %>':'<%- icons[iconName] %>',
<% } %>

View file

@ -425,7 +425,7 @@ input.checkbox-onoff[type="checkbox"] {
/* check mark
reversed-checkbox displays unchecked checkedboxes as checked, and vice versa.
see https://github.com/searxng/searxng/blob/3408d061aab9abc6168fec9bbc6deab71b236dac/searx/templates/simple/preferences.html#L313
see https://github.com/searxng/searxng/blob/3408d061aab9abc6168fec9bbc6deab71b236dac/searx/templates/magi/preferences.html#L313
*/
input.checkbox-onoff[type="checkbox"],
.reversed-checkbox input.checkbox-onoff[type="checkbox"]:checked {