Merge pull request #55 from muan/touch-this

Add support for touch active
This commit is contained in:
Jordan Scales 2020-04-24 10:29:52 -04:00 committed by GitHub
commit d4e2c286f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -18,7 +18,7 @@
<link rel="stylesheet" href="docs.css"></style>
<link rel="stylesheet" href="vs.css"></style>
</head>
<body>
<body ontouchstart>
<aside>
<ul class="tree-view">
<li><a href="#intro">Intro</a></li>

View file

@ -18,7 +18,7 @@
<link rel="stylesheet" href="docs.css"></style>
<link rel="stylesheet" href="vs.css"></style>
</head>
<body>
<body ontouchstart>
<aside>
<ul class="tree-view">
<li><a href="#intro">Intro</a></li>

View file

@ -133,6 +133,12 @@ button:not(:disabled):active {
box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
}
@media (not(hover)) {
button:not(:disabled):hover {
box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
}
}
button:focus {
outline: 1px dotted #000000;
outline-offset: -4px;