diff --git a/website/web/static/generic.css b/website/web/static/generic.css index f228bd92..69b9a5b2 100644 --- a/website/web/static/generic.css +++ b/website/web/static/generic.css @@ -26,3 +26,22 @@ color: #fff; transform: translateY(-7px); } + +/* CSS collapse thing */ +[data-toggle="collapse"].collapsed .if-not-collapsed { + display: none; +} + +[data-toggle="collapse"]:not(.collapsed) .if-collapsed { + display: none; +} + +/* Ressource preview */ +img.ressource_preview{ + width:100%; + height:100%; + max-width:150px; + max-height:150px; + min-width:10px; + min-height:10px; +} diff --git a/website/web/static/tree.css b/website/web/static/tree.css index 8b9fee68..d9751f1d 100644 --- a/website/web/static/tree.css +++ b/website/web/static/tree.css @@ -217,13 +217,6 @@ table td p { margin: 0; } -[data-toggle="collapse"].collapsed .if-not-collapsed { - display: none; - } -[data-toggle="collapse"]:not(.collapsed) .if-collapsed { - display: none; -} - #screenshot_thumbnail { scroll-margin: 50px; } diff --git a/website/web/templates/macros.html b/website/web/templates/macros.html index 192ab2c1..7b890110 100644 --- a/website/web/templates/macros.html +++ b/website/web/templates/macros.html @@ -124,7 +124,7 @@ @@ -164,6 +164,7 @@ {% if total_captures > 0 %}

The same file was seen in {{ total_captures }} other captures. +