diff --git a/common/static/lib/css/collection.css b/common/static/lib/css/collection.css index 97b09040..c9524c16 100644 --- a/common/static/lib/css/collection.css +++ b/common/static/lib/css/collection.css @@ -114,17 +114,17 @@ div.jsoneditor-menu { @keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} -} +} @keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} -} +} @keyframes zoomIn { 0% {transform: scale(0.9);} 100% {transform: scale(1);} -} +} @keyframes zoomOut { 0% {transform: scale(1);} @@ -159,3 +159,25 @@ div.jsoneditor-menu { #modal li, #modal ul, #modal label { display: inline; } + +.donut { + margin-left: 20%; + width: 60%; + aspect-ratio : 1 / 1; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; +} +.donut .hole { + width: 80%; + aspect-ratio : 1 / 1; + border-radius: 50%; + background: #f7f7f7; + display: table; +} +.donut .text { + display: table-cell; + vertical-align: middle; + text-align: center; +} diff --git a/common/templates/partial/_sidebar.html b/common/templates/partial/_sidebar.html index be94ec4a..7a878d8b 100644 --- a/common/templates/partial/_sidebar.html +++ b/common/templates/partial/_sidebar.html @@ -5,6 +5,7 @@ {% load oauth_token %} {% load truncate %} {% load thumb %} +{% load collection %}