{% extends "base.html.twig" %} {% block localstyle %} #main { padding: 0px; display:none; margin-bottom:200px; } {% if app.session.get("appthumbfilter")=="1" %} .cssfilter { filter: grayscale({{app.session.get("appthumbfiltergrayscale")}}%) opacity({{app.session.get("appthumbfilteropacity")}}%) sepia({{app.session.get("appthumbfiltersepia")}}%); transition: -webkit-filter 0.1s; } .cssfilter:hover { filter: unset; -webkit-filter: unset; -moz-filter: unset; -o-filter: unset; -ms-filter: unset; -webkit-transition: -webkit-filter 0.1s; transition: -webkit-filter 0.1s; } {% endif %} {% for category in categorys|sort((a, b) => a.order <=> b.order) %} {% if category.usecategoryconfig and category.appthumbfilter %} .cssfilter-{{category.id}} { filter: grayscale({{category.appthumbfiltergrayscale}}%) opacity({{category.appthumbfilteropacity}}%) sepia({{category.appthumbfiltersepia}}%); transition: -webkit-filter 0.1s; } .cssfilter-{{category.id}}:hover { filter: unset; -webkit-filter: unset; -moz-filter: unset; -o-filter: unset; -ms-filter: unset; -webkit-transition: -webkit-filter 0.1s; transition: -webkit-filter 0.1s; } {% endif %} {% endfor %} {% endblock %} {% block body %}