From c1e3b881ae1d13f273d24a4575e2f258da92d599 Mon Sep 17 00:00:00 2001 From: dkanada Date: Wed, 17 Feb 2021 12:07:42 +0900 Subject: [PATCH] update material icon style --- src/components/cardbuilder/card.css | 7 +------ src/controllers/dashboard/library.js | 4 ++-- src/controllers/dashboard/plugins/available/index.js | 4 +++- src/controllers/dashboard/plugins/installed/index.js | 6 ++++-- src/controllers/session/login/index.js | 4 ++-- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/components/cardbuilder/card.css b/src/components/cardbuilder/card.css index 77afe1b64..69a0e4e90 100644 --- a/src/components/cardbuilder/card.css +++ b/src/components/cardbuilder/card.css @@ -365,15 +365,10 @@ button::-moz-focus-inner { } .cardImageIcon { - font-size: 5em !important; + font-size: 5em; color: inherit; } -.cardImageIcon-small { - font-size: 3em !important; - margin-bottom: 0.1em; -} - .cardIndicators { right: 0.225em; top: 0.225em; diff --git a/src/controllers/dashboard/library.js b/src/controllers/dashboard/library.js index 7abb0d231..a0acb36ad 100644 --- a/src/controllers/dashboard/library.js +++ b/src/controllers/dashboard/library.js @@ -282,7 +282,7 @@ import cardBuilder from '../../components/cardbuilder/cardBuilder'; hasCardImageContainer = true; } else if (!virtualFolder.showNameWithIcon) { html += `
`; - html += ''; + html += ''; hasCardImageContainer = true; } @@ -295,7 +295,7 @@ import cardBuilder from '../../components/cardbuilder/cardBuilder'; if (!imgUrl && virtualFolder.showNameWithIcon) { html += '

'; - html += ''; + html += ''; if (virtualFolder.showNameWithIcon) { html += '
'; diff --git a/src/controllers/dashboard/plugins/available/index.js b/src/controllers/dashboard/plugins/available/index.js index 4c0486638..261f4d2c5 100644 --- a/src/controllers/dashboard/plugins/available/index.js +++ b/src/controllers/dashboard/plugins/available/index.js @@ -103,13 +103,15 @@ function getPluginHtml(plugin, options, installedPlugins) { html += '
'; html += '
'; html += '
'; - html += `
`; + html += `
`; html += ``; if (plugin.imageUrl) { html += ``; } else { + html += `
`; html += ''; + html += '
'; } html += '
'; diff --git a/src/controllers/dashboard/plugins/installed/index.js b/src/controllers/dashboard/plugins/installed/index.js index cc6435482..60360e084 100644 --- a/src/controllers/dashboard/plugins/installed/index.js +++ b/src/controllers/dashboard/plugins/installed/index.js @@ -62,9 +62,9 @@ function getPluginCardHtml(plugin, pluginConfigurationPages) { html += '
'; html += '
'; html += '
'; - html += `
`; + html += `'; diff --git a/src/controllers/session/login/index.js b/src/controllers/session/login/index.js index ef7e1e5c6..84596ce4c 100644 --- a/src/controllers/session/login/index.js +++ b/src/controllers/session/login/index.js @@ -166,9 +166,9 @@ import cardBuilder from '../../../components/cardbuilder/cardBuilder'; html += '
"; } else { - html += `
`; + html += `
`; html += ''; - html += `
`; + html += '
'; } html += '
';