From 2474104d63fcbb5ca5c9b88296c46413a6013cd2 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 14 Jul 2015 20:40:33 +0200 Subject: [PATCH] Changed the opacity of dashboard icons to keep numbers readable on small screens --- .../static/pretixcontrol/less/main.less | 3 + .../templates/pretixcontrol/event/index.html | 170 +++++++++--------- 2 files changed, 88 insertions(+), 85 deletions(-) diff --git a/src/pretix/control/static/pretixcontrol/less/main.less b/src/pretix/control/static/pretixcontrol/less/main.less index 9b54c49c2..8a9bde220 100644 --- a/src/pretix/control/static/pretixcontrol/less/main.less +++ b/src/pretix/control/static/pretixcontrol/less/main.less @@ -72,6 +72,9 @@ nav.navbar { -ms-transform: rotateX(180deg); /* IE 9 */ -webkit-transform: rotateX(180deg); /* Safari and Chrome */ } +.dashboard-panels .panel-heading .fa { + opacity: 0.5; +} @media (max-width: @screen-sm-max) { .navbar-nav { margin-left: 0; diff --git a/src/pretix/control/templates/pretixcontrol/event/index.html b/src/pretix/control/templates/pretixcontrol/event/index.html index 1f157c444..b1e40e8e0 100644 --- a/src/pretix/control/templates/pretixcontrol/event/index.html +++ b/src/pretix/control/templates/pretixcontrol/event/index.html @@ -3,94 +3,94 @@ {% block title %}{{ request.event.name }}{% endblock %} {% block content %}

{{ request.event.name }}

-
-
-
-
-
-
- -
-
-
{{ tickets_sold }}
-
{% trans "Tickets sold" %}
-
-
+
+
+
+
+
+
+ +
+
+
{{ tickets_sold }}
+
{% trans "Tickets sold" %}
- - -
-
-
-
-
-
- -
-
-
{{ tickets_total }}
-
{% trans "Total items ordered" %}
-
-
-
- - - + + -
- -
-
-
-
-
- -
-
-
{{ products_active }}
-
{% trans "Active Products" %}
-
-
-
- - - -
-
+
+
+
+
+
+
+
+ +
+
+
{{ tickets_total }}
+
{% trans "Total items ordered" %}
+
+
+
+ + + +
+
+
+
+
+
+
+ +
+
+
{{ tickets_revenue }}
+
{% trans "Total Revenue" %}
+
+
+
+ + + +
+
+
+
+
+
+
+ +
+
+
{{ products_active }}
+
{% trans "Active Products" %}
+
+
+
+ + + +
+
+
{% endblock %}