Files
notifications-admin/app/assets/stylesheets/components/letter.scss
Chris Hill-Scott d1cd74daa8 Update utils with to make letters unclickable
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/159

Means:
- renaming a bunch of things
- removing any CSS that targeted the link, and making it target the
  containing element too
2017-05-03 12:20:45 +01:00

42 lines
693 B
SCSS

$iso-paper-ratio: 141.42135624%;
@keyframes ellipsis {
to {
width: 1.25em;
}
}
.letter {
padding: $iso-paper-ratio 0 0 0;
margin: 0 0 $gutter 0;
position: relative;
background: $panel-colour;
&:before {
position: absolute;
top: 10%;
left: 50%;
margin-left: -0.5em;
font-size: 96px;
color: $white;
overflow: hidden;
display: block;
vertical-align: bottom;
animation: ellipsis steps(4,end) 1.3s infinite;
content: "\2026"; // ellipsis
width: 0px;
}
img {
display: block;
width: 100%;
background: $white;
box-shadow: inset 0 0 0 1px $border-colour;
position: absolute;
top: 0;
left: 0;
}
}