2017-03-10 17:08:26 +00:00
|
|
|
$iso-paper-ratio: 141.42135624%;
|
2016-11-10 14:31:25 +00:00
|
|
|
|
2017-03-16 17:09:46 +00:00
|
|
|
@keyframes ellipsis {
|
|
|
|
|
to {
|
|
|
|
|
width: 1.25em;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-08 13:08:53 +00:00
|
|
|
.letter {
|
2016-11-28 11:01:39 +00:00
|
|
|
|
2017-04-28 16:04:52 +01:00
|
|
|
padding: $iso-paper-ratio 0 0 0;
|
2016-12-28 10:18:41 +00:00
|
|
|
margin: 0 0 $gutter 0;
|
|
|
|
|
position: relative;
|
2017-03-13 09:38:29 +00:00
|
|
|
background: $panel-colour;
|
2016-11-28 11:01:39 +00:00
|
|
|
|
2017-03-16 17:09:46 +00:00
|
|
|
&: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;
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-06 15:50:56 +00:00
|
|
|
&:after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
box-shadow: inset 0 0 0 1px $border-colour;
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-10 11:21:43 +01:00
|
|
|
&-postage {
|
|
|
|
|
|
|
|
|
|
$art-width: 97.83;
|
|
|
|
|
$art-height: 82.27;
|
|
|
|
|
$fold-height: 124px;
|
|
|
|
|
$envelope-colour: #C4B186;
|
|
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
width: $fold-height * ($art-width / $art-height);
|
|
|
|
|
height: $fold-height;
|
|
|
|
|
margin: 0;
|
|
|
|
|
background-color: mix($envelope-colour, $grey-1);
|
|
|
|
|
background-size: auto $fold-height;
|
|
|
|
|
background-position: right 0;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-origin: border-box;
|
|
|
|
|
text-indent: -1000em;
|
|
|
|
|
border-bottom: 1px solid $border-colour;
|
|
|
|
|
border-left: 1px solid $border-colour;
|
|
|
|
|
box-shadow: 0 2px 0 0 rgba($border-colour, 0.2);
|
|
|
|
|
|
|
|
|
|
&-first {
|
|
|
|
|
background-image: file-url('envelope-1st-class.svg');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-second {
|
|
|
|
|
background-image: file-url('envelope-2nd-class.svg');
|
|
|
|
|
}
|
|
|
|
|
|
2019-02-07 15:59:31 +00:00
|
|
|
.letter-sent &:hover {
|
|
|
|
|
background-color: transparent;
|
2019-02-08 16:44:37 +00:00
|
|
|
border-color: transparent;
|
2019-02-07 15:59:31 +00:00
|
|
|
box-shadow: none;
|
|
|
|
|
background-image: file-url('envelope-fold.svg');
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-10 11:21:43 +01:00
|
|
|
}
|
|
|
|
|
|
2016-11-28 11:01:39 +00:00
|
|
|
img {
|
|
|
|
|
display: block;
|
2016-12-28 10:18:41 +00:00
|
|
|
width: 100%;
|
|
|
|
|
background: $white;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
2016-11-28 11:01:39 +00:00
|
|
|
}
|
|
|
|
|
|
2016-11-08 13:08:53 +00:00
|
|
|
}
|