From 13f254c0448c370d014622cc8fea31e704c7c36a Mon Sep 17 00:00:00 2001 From: Olimpia Magliulo <olimpiam@intern-ikts-MacBook-Air.local> Date: Tue, 14 Nov 2017 15:50:39 +0100 Subject: [PATCH] Apply purecss to auth_status --- templates/_table.twig | 2 +- templates/auth_status.twig | 4 +++- www/assets/css/src/default.css | 7 ++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/templates/_table.twig b/templates/_table.twig index 51ff32cc6..3053f066c 100644 --- a/templates/_table.twig +++ b/templates/_table.twig @@ -1,5 +1,5 @@ -<table id="table_with_attributes" class="attributes" summary="attribute overview"> +<table id="table_with_attributes" class="attributes pure-table pure-table-striped pure-table-attributes" summary="attribute overview"> {% for name, values in items %} <tr class="{{ cycle(['odd', 'even'], loop.index0) }}"> diff --git a/templates/auth_status.twig b/templates/auth_status.twig index 029b16536..9a5f89b1c 100644 --- a/templates/auth_status.twig +++ b/templates/auth_status.twig @@ -71,6 +71,8 @@ {% endif %} {% if logouturl %} - <a href="{{ logouturl }}">{{ 'Logout'|trans }}</a> + <div class="center"> + <a class="pure-button pure-button-primary" href="{{ logouturl }}">{{ 'Logout'|trans }}</a> + </div> {% endif %} {% endblock %} diff --git a/www/assets/css/src/default.css b/www/assets/css/src/default.css index 8887cdbef..aff46ef57 100644 --- a/www/assets/css/src/default.css +++ b/www/assets/css/src/default.css @@ -129,7 +129,12 @@ div .item{ /* *********************************************************** TABLES ************************************************************ */ - +.pure-table-attributes{ + width:100%; +} +table.attributes ul{ + padding: inherit; +} /* *********************************************************** MEDIA QUERIES ************************************************************ */ -- GitLab