Merge pull request #55 from muan/touch-this
Add support for touch active
This commit is contained in:
commit
d4e2c286f1
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
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue