mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Show outlines when navigating with a keyboard but not with touch or a mouse
This commit is contained in:
parent
8ba8a0e810
commit
f51e4afbb7
3 changed files with 13 additions and 3 deletions
|
@ -16,6 +16,7 @@
|
||||||
"SpinKit": "~1.2.5",
|
"SpinKit": "~1.2.5",
|
||||||
"jQuery.stickyFooter": "https://github.com/miWebb/jQuery.stickyFooter.git#~1.2.3",
|
"jQuery.stickyFooter": "https://github.com/miWebb/jQuery.stickyFooter.git#~1.2.3",
|
||||||
"bootstrap-sass": "^3.3.7",
|
"bootstrap-sass": "^3.3.7",
|
||||||
"list.js": "^1.3.0"
|
"list.js": "^1.3.0",
|
||||||
|
"what-input": "^4.0.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@ const jsPublic = [
|
||||||
const jsPublicLibs = [
|
const jsPublicLibs = [
|
||||||
"bower_components/jquery/dist/jquery.js",
|
"bower_components/jquery/dist/jquery.js",
|
||||||
"bower_components/bootstrap-sass/assets/javascripts/bootstrap.js",
|
"bower_components/bootstrap-sass/assets/javascripts/bootstrap.js",
|
||||||
|
"bower_components/what-input/dist/what-input.js",
|
||||||
"bower_components/jQuery.stickyFooter/assets/js/jquery.stickyfooter.js"
|
"bower_components/jQuery.stickyFooter/assets/js/jquery.stickyfooter.js"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
12
resources/assets/sass/app.scss
vendored
12
resources/assets/sass/app.scss
vendored
|
@ -13,8 +13,16 @@
|
||||||
// Main Website Styles
|
// Main Website Styles
|
||||||
//
|
//
|
||||||
|
|
||||||
* {
|
[data-whatinput="initial"], [data-whatinput="keyboard"] {
|
||||||
outline: none !important;
|
:focus {
|
||||||
|
outline: 1px dotted $c-base;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-whatinput="mouse"], [data-whatinput="touch"] {
|
||||||
|
:focus {
|
||||||
|
outline: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
|
Loading…
Reference in a new issue