mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05:00
Thin the borders around the letter preview
1px borders match the keylines that we use on email template previews.
This commit is contained in:
@@ -13,15 +13,15 @@ $iso-paper-ratio: 70.710678118%;
|
||||
display: block;
|
||||
z-index: 10;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
top: 1px;
|
||||
left: 5px;
|
||||
height: 0;
|
||||
padding: $iso-paper-ratio 0 0 0;
|
||||
width: 100%;
|
||||
background: $highlight-colour;
|
||||
transform-origin: left bottom;
|
||||
transform: scale(1, 0.99);
|
||||
box-shadow: inset 0 0 0 2px $panel-colour;
|
||||
transform: scale(1, 0.985);
|
||||
box-shadow: inset 0 0 0 1px $border-colour;
|
||||
transition: all 0.2s $transition-easing;
|
||||
}
|
||||
|
||||
@@ -31,11 +31,11 @@ $iso-paper-ratio: 70.710678118%;
|
||||
position: absolute;
|
||||
bottom: -3px;
|
||||
right: -5px;
|
||||
width: 5px;
|
||||
height: 6px;
|
||||
width: 4px;
|
||||
height: 7px;
|
||||
background: $white;
|
||||
transform: rotate(45deg);
|
||||
box-shadow: inset 2px 0 0 0 $panel-colour;
|
||||
box-shadow: inset 1px 0 0 0 $border-colour;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@@ -43,7 +43,7 @@ $iso-paper-ratio: 70.710678118%;
|
||||
&:after {
|
||||
transform: skew(-1.3deg, 0deg) scale(1, 0.96);
|
||||
transition: all 0.1s $transition-easing;
|
||||
background: mix($white, $highlight-colour);
|
||||
background: mix($highlight-colour, $white);
|
||||
}
|
||||
|
||||
&:before {
|
||||
@@ -61,7 +61,7 @@ $iso-paper-ratio: 70.710678118%;
|
||||
padding: $iso-paper-ratio 0 0 0;
|
||||
position: relative;
|
||||
z-index: 20;
|
||||
box-shadow: 0 2px 0 0 $panel-colour;
|
||||
box-shadow: 0 1px 0 0 $border-colour;
|
||||
|
||||
&:focus {
|
||||
|
||||
@@ -80,7 +80,7 @@ $iso-paper-ratio: 70.710678118%;
|
||||
display: block;
|
||||
width: 100%;
|
||||
background: $white;
|
||||
box-shadow: inset 0 0 0 2px $panel-colour;
|
||||
box-shadow: inset 0 0 0 1px $border-colour;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
Reference in New Issue
Block a user