From f78cfed41a8e6a18b89287abcc75991c72dc15da Mon Sep 17 00:00:00 2001 From: eli Date: Tue, 19 Oct 2021 20:33:01 +0100 Subject: [PATCH] [TWIG][CSS] Template refactoring, classes and their respective CSS is now more consistent. CSS variables are back. --- components/Left/templates/left/view.html.twig | 16 +- .../Right/templates/right/view.html.twig | 6 +- plugins/Poll/templates/poll/newpoll.html.twig | 2 +- .../Poll/templates/poll/respondpoll.html.twig | 2 +- .../Poll/templates/poll/showpoll.html.twig | 2 +- public/assets/default_theme/css/base.css | 636 ++++++++++-------- public/assets/default_theme/css/colors.css | 447 ++++-------- .../assets/default_theme/css/pages/feeds.css | 213 ++++-- public/components/Left/assets/css/view.css | 27 +- public/components/Right/assets/css/view.css | 16 +- templates/base.html.twig | 12 +- templates/cards/attachments/show.html.twig | 2 +- templates/note/reply.html.twig | 2 +- 13 files changed, 708 insertions(+), 675 deletions(-) diff --git a/components/Left/templates/left/view.html.twig b/components/Left/templates/left/view.html.twig index bcdad88f4c..afca56c7e9 100644 --- a/components/Left/templates/left/view.html.twig +++ b/components/Left/templates/left/view.html.twig @@ -1,22 +1,24 @@ {% block leftpanel %} -
- - + + +
+ {% endif %} {{ block("timeline", "cards/navigation/view.html.twig") }} {{ block("footer", "cards/navigation/view.html.twig") }} -
+ {% endblock leftpanel %} diff --git a/components/Right/templates/right/view.html.twig b/components/Right/templates/right/view.html.twig index ea2f1323b4..1fe397b326 100644 --- a/components/Right/templates/right/view.html.twig +++ b/components/Right/templates/right/view.html.twig @@ -1,8 +1,8 @@ {% block rightpanel %} -
- - + + +