Skip to content

Commit

Permalink
Merge pull request #5330 from umbraco/v8/feature/ui-umb-button-nicer-…
Browse files Browse the repository at this point in the history
…outline

V8: prettier outline for buttons, and only shown when tabbing is active.
  • Loading branch information
Warren Buckley authored Apr 26, 2019
2 parents 4230ad2 + 5436478 commit 1753ddb
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 1753ddb

Please sign in to comment.