Improve metadata layout

Improve link states
This commit is contained in:
2018-12-15 19:41:33 +00:00
parent 7632b4058e
commit 0abe53e3aa
9 changed files with 100 additions and 105 deletions

View File

@@ -51,23 +51,11 @@
.comment-respond__cancel a,
.comment-respond__cancel a:visited {
position: relative;
color: var(--color-light-blue);
transition: box-shadow var(--transition-md) ease-out;
}
.comment-respond__cancel a:after {
background-color: var(--color-light-blue);
bottom: -1px;
content: '';
left: 0;
height: 2px;
opacity: 0;
position: absolute;
right: 0;
transition: opacity var(--transition-md) ease-out;
}
.comment-respond__cancel a:focus:after,
.comment-respond__cancel a:hover:after {
opacity: 1;
.comment-respond__cancel a:focus,
.comment-respond__cancel a:hover {
box-shadow: var(--link-focus);
}