Move inline CSS to layout.css

This commit is contained in:
Alexandre Iooss 2022-03-11 18:22:29 +01:00
parent 5973612776
commit 3a0e08f3f5
6 changed files with 58 additions and 50 deletions

View file

@ -7,27 +7,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% load i18n crispy_forms_tags %}
{% block title %}{% trans "Upload" %}{% endblock %}
{% block extracss %}
<style>
.upload-drop-zone {
height: 10em;
line-height: 10em;
border-width: 2px;
color: #a3a3a3;
border-style: dashed;
border-color: #a3a3a3;
border-radius: 0.5em;
text-align: center;
margin-bottom: 0.5em;
}
.upload-drop-zone.drop {
color: #222;
border-color: #222;
background-color: rgba(163, 163, 163, 0.274);
}
</style>
{% endblock %}
{% block extrajs %}
<script>
// When user drags files, register them in the file field