fix: Move flashed messages around

pull/203/head
Raphaël Vinot 2021-05-11 10:52:55 -07:00
parent f5258a9904
commit 986e581f5d
4 changed files with 38 additions and 30 deletions

View File

@ -0,0 +1,28 @@
/* Capture button */
.new-capture-button {
width: 300px;
height: 60px;
font-size: 25px;
letter-spacing: 2.5px;
font-weight: 500;
color: #ffffff;
background-color: #0000ff;
border: 10px;
border-radius: 50px;
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
transition: all 0.3s ease 0s;
cursor: pointer;
outline: none;
padding-right: 15px;
padding-left: 15px;
padding-bottom: 20px;
padding-top: 15px;
}
.new-capture-button:hover {
background-color: #007070;
box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);
color: #fff;
transform: translateY(-7px);
}

View File

@ -16,7 +16,7 @@
.flashed-messages {
position: fixed;
top: 150px;
bottom: 5px;
text-align: center;
}
@ -243,30 +243,3 @@ table td p {
.arrow-left {
transform: rotate(270deg);
}
.new-capture-button {
width: 300px;
height: 60px;
font-size: 25px;
letter-spacing: 2.5px;
font-weight: 500;
color: #ffffff;
background-color: #0000ff;
border: 10px;
border-radius: 50px;
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
transition: all 0.3s ease 0s;
cursor: pointer;
outline: none;
padding-right: 15px;
padding-left: 15px;
padding-bottom: 20px;
padding-top: 15px;
}
.new-capture-button:hover {
background-color: #007070;
box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);
color: #fff;
transform: translateY(-7px);
}

View File

@ -10,8 +10,9 @@
{% block styles %}
<!-- Bootstrap CSS -->
{{ bootstrap.load_css() }}
<link rel="stylesheet" href="{{ url_for('static', filename='tree.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='generic.css') }}">
{% endblock %}
<title>{% block title %}{% endblock%}</title>
{% block card %}{% endblock %}

View File

@ -99,9 +99,15 @@
$.get("{{ url_for('trigger_modules', tree_uuid=tree_uuid) }}")
</script>
{% endif%}
{% endblock %}
{% block styles %}
{{ super() }}
<link rel="stylesheet" href="{{ url_for('static', filename='tree.css') }}">
{% endblock %}
{% block content %}
{{super()}}