Remove css invert since we are using svg filters for now
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
630d5db2cd
commit
b96278f855
|
@ -14,11 +14,6 @@
|
||||||
.searchbox input[type="search"] {
|
.searchbox input[type="search"] {
|
||||||
background: transparent url('../../../core/img/actions/search.svg') no-repeat 6px center;
|
background: transparent url('../../../core/img/actions/search.svg') no-repeat 6px center;
|
||||||
}
|
}
|
||||||
#appmenu li a img {
|
|
||||||
-webkit-filter: invert(1);
|
|
||||||
filter: invert(1);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.BasicImage(invert='1');
|
|
||||||
}
|
|
||||||
#contactsmenu .icon-contacts {
|
#contactsmenu .icon-contacts {
|
||||||
background-image: url('../../../core/img/places/contacts-dark.svg');
|
background-image: url('../../../core/img/places/contacts-dark.svg');
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,8 +68,8 @@
|
||||||
<?php if ($entry['active']): ?> class="active"<?php endif; ?>>
|
<?php if ($entry['active']): ?> class="active"<?php endif; ?>>
|
||||||
<?php if ($_['themingInvertMenu']) { ?>
|
<?php if ($_['themingInvertMenu']) { ?>
|
||||||
<svg width="20" height="20" viewBox="0 0 20 20">
|
<svg width="20" height="20" viewBox="0 0 20 20">
|
||||||
<defs><filter id="invert-<?php p($entry['id']); ?>"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0" /></filter></defs>
|
<defs><filter id="invertMenuMain-<?php p($entry['id']); ?>"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0" /></filter></defs>
|
||||||
<image x="0" y="0" width="20" height="20" preserveAspectRatio="xMinYMin meet" filter="url(#invert-<?php p($entry['id']); ?>)" xlink:href="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>" class="app-icon" /></svg>
|
<image x="0" y="0" width="20" height="20" preserveAspectRatio="xMinYMin meet" filter="url(#invertMenuMain-<?php p($entry['id']); ?>)" xlink:href="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>" class="app-icon" /></svg>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<img src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>"
|
<img src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>"
|
||||||
class="app-icon" alt="<?php p($entry['name']); ?>" />
|
class="app-icon" alt="<?php p($entry['name']); ?>" />
|
||||||
|
@ -100,8 +100,8 @@
|
||||||
<a href="<?php print_unescaped($entry['href']); ?>" tabindex="3"
|
<a href="<?php print_unescaped($entry['href']); ?>" tabindex="3"
|
||||||
<?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
|
<?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
|
||||||
<svg width="16" height="16" viewBox="0 0 16 16">
|
<svg width="16" height="16" viewBox="0 0 16 16">
|
||||||
<defs><filter id="invert-<?php p($entry['id']); ?>"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs>
|
<defs><filter id="invertMenuMore-<?php p($entry['id']); ?>"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs>
|
||||||
<image x="0" y="0" width="16" height="16" preserveAspectRatio="xMinYMin meet" filter="url(#invert-<?php p($entry['id']); ?>)" xlink:href="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>" class="app-icon"></image>
|
<image x="0" y="0" width="16" height="16" preserveAspectRatio="xMinYMin meet" filter="url(#invertMenuMore-<?php p($entry['id']); ?>)" xlink:href="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>" class="app-icon"></image>
|
||||||
</svg>
|
</svg>
|
||||||
<div class="icon-loading-small-dark" style="display:none;"></div>
|
<div class="icon-loading-small-dark" style="display:none;"></div>
|
||||||
<span><?php p($entry['name']); ?></span>
|
<span><?php p($entry['name']); ?></span>
|
||||||
|
|
Loading…
Reference in New Issue