diff --git a/website/web/static/generic.css b/website/web/static/generic.css new file mode 100644 index 00000000..f228bd92 --- /dev/null +++ b/website/web/static/generic.css @@ -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); +} diff --git a/website/web/static/tree.css b/website/web/static/tree.css index 2cbd1612..8b9fee68 100644 --- a/website/web/static/tree.css +++ b/website/web/static/tree.css @@ -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); -} diff --git a/website/web/templates/main.html b/website/web/templates/main.html index c437cd7e..e7076188 100644 --- a/website/web/templates/main.html +++ b/website/web/templates/main.html @@ -10,8 +10,9 @@ {% block styles %} {{ bootstrap.load_css() }} - + {% endblock %} + {% block title %}{% endblock%} {% block card %}{% endblock %} diff --git a/website/web/templates/tree.html b/website/web/templates/tree.html index 60c3d5c4..57a621ec 100644 --- a/website/web/templates/tree.html +++ b/website/web/templates/tree.html @@ -99,9 +99,15 @@ $.get("{{ url_for('trigger_modules', tree_uuid=tree_uuid) }}") {% endif%} - {% endblock %} + +{% block styles %} + {{ super() }} + +{% endblock %} + + {% block content %} {{super()}}