-
Notifications
You must be signed in to change notification settings - Fork 343
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 #8 from ezenzen/css_squad_branch_zenzen_II
General Variables- and Accessibility-Fixes 2.2_focus-mixin
- Loading branch information
Showing
8 changed files
with
69 additions
and
108 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.il-link{ | ||
.il-tab-focus(); | ||
.il-focus(); | ||
} | ||
|
||
|
||
|
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
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
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,23 @@ | ||
// In order not to manually overwrite the focus in all places, the following bootstrap focus mixin is overwritten ilias/libs/bower/bower_components/bootstrap/less/mixins/tab-focus.less. | ||
|
||
.tab-focus() { | ||
// WebKit-specific. Other browsers will keep their default outline style. | ||
// (Initially tried to also force default via `outline: initial`, | ||
// but that seems to erroneously remove the outline in Firefox altogether.) | ||
outline: none; | ||
outline-offset: 0px; | ||
&:focus-visible { | ||
outline: @il-focus-outline; | ||
} | ||
} | ||
|
||
.il-focus(){ | ||
&:focus-visible{ | ||
outline: @il-focus-outline; | ||
outline-offset: 0px; | ||
} | ||
|
||
&:active,&.engaged{ | ||
outline: none; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.