mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +00:00
Moved temporary global styles out of base view template and into custom.css file to be properly included to asset generation.
This commit is contained in:
parent
78b88c8e0e
commit
fcdbc45de7
@ -44,4 +44,16 @@ table td {
|
||||
|
||||
.search-input {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar .image { padding-top: 0.7em; }
|
||||
.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.records > div.dataTables_wrapper > div.row:first-of-type { margin: 0 0.5em 0 0.5em; }
|
||||
div.records > div.dataTables_wrapper > div.row:last-of-type { margin: 0.4em 0.5em 0.4em 0.5em; }
|
||||
div.records > div.dataTables_wrapper table.dataTable { margin: 0 !important; }
|
@ -18,18 +18,6 @@
|
||||
{% if SETTING.get('custom_css') %}
|
||||
<link rel="stylesheet" href="/static/custom/{{ SETTING.get('custom_css') }}">
|
||||
{% endif %}
|
||||
<style>
|
||||
.sidebar .image { padding-top: 0.7em; }
|
||||
.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.records > div.dataTables_wrapper > div.row:first-of-type { margin: 0 0.5em 0 0.5em; }
|
||||
div.records > div.dataTables_wrapper > div.row:last-of-type { margin: 0.4em 0.5em 0.4em 0.5em; }
|
||||
div.records > div.dataTables_wrapper table.dataTable { margin: 0 !important; }
|
||||
</style>
|
||||
{% block head_styles %}{% endblock %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user