Merge pull request #1965 from alphagov/checkered-logos

Put checkered background behind email branding
This commit is contained in:
Chris Hill-Scott
2018-03-19 14:11:36 +00:00
committed by GitHub
2 changed files with 12 additions and 1 deletions

View File

@@ -230,3 +230,14 @@ details .arrow {
.heading-inline {
display: inline-block;
}
.branding-radio {
img {
background: linear-gradient(45deg, rgba(0, 0, 0, 0.3) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 0), linear-gradient(45deg, rgba(0, 0, 0, 0.3) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 0), $white;
background-repeat: repeat, repeat;
background-position: 0px 0, 5px 5px;
background-size: 10px 10px, 10px 10px;
}
}

View File

@@ -98,7 +98,7 @@
{% endif %}
</legend>
{% for value, option, checked in field.iter_choices() %}
<div class="multiple-choice">
<div class="multiple-choice branding-radio">
<input
type="radio"
name="{{ field.name }}"