From 8d596a55abf8e0075920f8b71c37b7146ba0d211 Mon Sep 17 00:00:00 2001 From: Davide Bongiovanni Date: Sun, 2 Dec 2018 15:09:52 +0100 Subject: [PATCH] Added view meal history button --- static/style.css | 17 +++++++++++++++++ templates/meal_list.html | 1 + 2 files changed, 18 insertions(+) diff --git a/static/style.css b/static/style.css index a9a2753..8888913 100644 --- a/static/style.css +++ b/static/style.css @@ -120,6 +120,23 @@ h2 { margin: 16px 20px; } +.floating-round-button { + display: flex; + align-items: center; + justify-content: center; + color: white; + background-color: #EE7500; + cursor: pointer; + width: 80px; + height: 80px; + border-radius: 40px; + font-size: 42px; + position: fixed; + -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5); + -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5); + box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5); +} + .user-card { display: flex; position: absolute; diff --git a/templates/meal_list.html b/templates/meal_list.html index 46517b2..d52e91c 100644 --- a/templates/meal_list.html +++ b/templates/meal_list.html @@ -67,6 +67,7 @@ {% endif %} +
\ No newline at end of file