mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
backups: Split CSS styling into a separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
b09e252731
commit
001923312b
25
plinth/modules/backups/static/backups.css
Normal file
25
plinth/modules/backups/static/backups.css
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
.mount-error,
|
||||||
|
.mount-success,
|
||||||
|
.encrypted {
|
||||||
|
padding: 0 0.3125rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mount-error {
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mount-success {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.encrypted {
|
||||||
|
color: green;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inline-block {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
@ -4,25 +4,11 @@
|
|||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load static %}
|
||||||
|
|
||||||
{% block page_head %}
|
{% block page_head %}
|
||||||
<style type="text/css">
|
<link type="text/css" rel="stylesheet"
|
||||||
.mount-error, .mount-success, .encrypted {
|
href="{% static 'backups/backups.css' %}"/>
|
||||||
padding: 0 0.3125rem;
|
|
||||||
}
|
|
||||||
.mount-error {
|
|
||||||
color: orange;
|
|
||||||
}
|
|
||||||
.mount-success {
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
.encrypted {
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
.inline-block {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block configuration %}
|
{% block configuration %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user