diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-09-13 08:39:23 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-09-13 08:39:23 +0300 |
commit | 703ed9402e4aada544ec94e789021df86575ad15 (patch) | |
tree | d77f915e831f8c40f441f953adcf916e799fc903 /plugins/CoreHome | |
parent | a1dbbfb7eae94378312b18a5cee2cfb0de6f637a (diff) |
Update shown logo in the app (#14860)
* start changing the logo
* update logo
* improve position of logo
* position link instead of logo
* seems margin is not allowed, try using padding
* fix some tests
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r-- | plugins/CoreHome/stylesheets/layout.less | 2 | ||||
-rw-r--r-- | plugins/CoreHome/templates/_htmlEmailHeader.twig | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CoreHome/stylesheets/layout.less b/plugins/CoreHome/stylesheets/layout.less index 10bad8ede7..25136cf8ea 100644 --- a/plugins/CoreHome/stylesheets/layout.less +++ b/plugins/CoreHome/stylesheets/layout.less @@ -7,7 +7,7 @@ nav { background-color: @theme-color-header-background !important; .brand-logo { - font-size: 28px; + font-size: 30px; } .activateLeftMenu { diff --git a/plugins/CoreHome/templates/_htmlEmailHeader.twig b/plugins/CoreHome/templates/_htmlEmailHeader.twig index b992ee0dea..330f76d1b4 100644 --- a/plugins/CoreHome/templates/_htmlEmailHeader.twig +++ b/plugins/CoreHome/templates/_htmlEmailHeader.twig @@ -13,11 +13,11 @@ <table style="width:100%; background-color: {{ themeStyles.colorHeaderBackground|e('html_attr') }}; color: {{ themeStyles.colorHeaderText|e('html_attr') }}; padding:10px 0; margin: 0 0 25px 0; height:64px;"> <tr> <td> - <a style="{{ fontStyle|raw }}; font-size:16px;padding:0 15px;color: {{ themeStyles.colorHeaderText|e('html_attr') }};height: 22px;display: inline-block;vertical-align: inherit;" rel="noreferrer noopener" target="_blank" href="{{ piwikUrl }}"> + <a style="{{ fontStyle|raw }}; font-size:16px;padding:0 15px;{% if not isCustomLogo or not logoHeader %}padding-bottom: 8px;{% endif %}color: {{ themeStyles.colorHeaderText|e('html_attr') }};height: 22px;display: inline-block;vertical-align: inherit;" rel="noreferrer noopener" target="_blank" href="{{ piwikUrl }}"> {% if isCustomLogo and logoHeader %} <img src="{{ logoHeader }}" height="20px" width="auto" /> {% else %} - <img src="{{ piwikUrl }}/plugins/Morpheus/images/logo-email.png" height="20px" width="auto" alt="{{ emailStyles.brandNameLong|e('html_attr') }}" /> + <img src="{{ piwikUrl }}/plugins/Morpheus/images/logo-email.png" height="30px" width="auto" alt="{{ emailStyles.brandNameLong|e('html_attr') }}" /> {% endif %} </a> </td> |