From ec28e76ff5178f56f6ceda1d05685853eab5414b Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Sun, 19 Feb 2023 11:39:56 -0500 Subject: [PATCH] Moved global styles to base view template until permanently merged into global CSS file. --- powerdnsadmin/templates/base.html | 6 ++++++ powerdnsadmin/templates/dashboard.html | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/powerdnsadmin/templates/base.html b/powerdnsadmin/templates/base.html index a95737c..f11cf78 100644 --- a/powerdnsadmin/templates/base.html +++ b/powerdnsadmin/templates/base.html @@ -23,6 +23,12 @@ .sidebar .info { color: #fff; } .sidebar .info p { margin: 0; } .sidebar .info a { font-size: 0.8em; } + /* Global Styles */ + table.records thead th, table.records tbody td { text-align: center; vertical-align: middle; } + table.records thead th:last-of-type { width: 50px; } + div.table-responsive > div.dataTables_wrapper > div.row:first-of-type { margin: 0 0.5em 0 0.5em; } + div.table-responsive > div.dataTables_wrapper > div.row:last-of-type { margin: 0.4em 0.5em 0.4em 0.5em; } + div.table-responsive > div.dataTables_wrapper table.dataTable { margin: 0 !important; } {% block head_styles %}{% endblock %} {% endblock %} diff --git a/powerdnsadmin/templates/dashboard.html b/powerdnsadmin/templates/dashboard.html index f0b1a87..addca66 100755 --- a/powerdnsadmin/templates/dashboard.html +++ b/powerdnsadmin/templates/dashboard.html @@ -238,12 +238,6 @@ {% block head_styles %}