Skip to content

Commit

Permalink
prettier outline for buttons, and only shown when tabbing is active.
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe committed Apr 24, 2019
1 parent 9333426 commit 5436478
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
position: relative;
}

.umb-button__button:focus {
outline: none;
.tabbing-active &:after {
content: '';
position: absolute;
z-index: 10000;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 3px;
box-shadow: 0 0 2px @blueMid, inset 0 0 2px 1px @blueMid;
}
}

.umb-button__content {
opacity: 1;
transition: opacity 0.25s ease;
Expand Down Expand Up @@ -133,4 +148,4 @@
.umb-button--block {
display: block;
width: 100%;
}
}

0 comments on commit 5436478

Please sign in to comment.