Style tweaks

Enable dashboard widget icon shadows. Make block button text
shadow more pronounced.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-07-16 16:18:36 -04:00
parent ec4644b5c9
commit 917ec55ada
2 changed files with 5 additions and 11 deletions

View File

@@ -98,14 +98,10 @@ hr {
min-height: 120px;
padding-bottom: 1px;
padding-top: 20px;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
white-space: normal;
}
.btn-block .fa {
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.radio ul li {
list-style-type:none;
}
@@ -115,14 +111,10 @@ a i {
}
.dashboard-widget {
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
border: 1px solid black;
}
.dashboard-widget .panel-heading i {
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.dashboard-widget-icon {
font-size: 200%;
}

View File

@@ -1,5 +1,7 @@
{% load i18n %}
{% load appearance_tags %}
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 match-height">
<div class="panel panel-secondary dashboard-widget">
<div class="panel-heading">
@@ -9,7 +11,7 @@
<i class="dashboard-widget-icon {{ icon }}"></i>
{% elif icon_class %}
<div class="dashboard-widget-icon">
{{ icon_class.render }}
{% appearance_icon_render icon_class enable_shadow=True %}
</div>
{% endif %}
</div>