-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5337 from umbraco/v8/feature/ui-prettier-focus-ou…
…tlines Created umb-outline to make it easy to apply pretty focus outline for elements.
- Loading branch information
Showing
5 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/Umbraco.Web.UI.Client/src/less/application/umb-outline.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.umb-outline { | ||
&: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; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
} | ||
|
||
a, a:hover { | ||
outline: none; | ||
text-decoration: none; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters