tidy html

This commit is contained in:
Ruben van de Ven 2022-05-03 10:00:27 +02:00
parent da7c5700d6
commit de95c5afa0

View file

@ -93,14 +93,17 @@
} }
.controls button.paused, .controls button.playing{ .controls button.paused,
.controls button.playing {
position: absolute; position: absolute;
left: 100%; left: 100%;
width: 30px; width: 30px;
} }
.controls button.paused::before { .controls button.paused::before {
content: '⏵'; content: '⏵';
} }
.controls button.playing::before { .controls button.playing::before {
content: '⏸'; content: '⏸';
} }
@ -135,6 +138,7 @@
.tags li { .tags li {
display: block; display: block;
} }
.tags .subtags { .tags .subtags {
padding: 0; padding: 0;
font-size: 80%; font-size: 80%;
@ -142,6 +146,7 @@
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
} }
.tags .subtags .tag { .tags .subtags .tag {
padding: 2px; padding: 2px;
} }
@ -182,6 +187,7 @@
border: solid 2px #601be0; border: solid 2px #601be0;
} }
/* .noUi-handle:focus::before, .noUi-handle:focus::after{ /* .noUi-handle:focus::before, .noUi-handle:focus::after{
background: #601be0; background: #601be0;
} */ } */
@ -194,6 +200,7 @@
vertical-align: middle; vertical-align: middle;
border-radius: 5px; border-radius: 5px;
} }
.tags .subtags .tag span { .tags .subtags .tag span {
width: 10px; width: 10px;
height: 10px; height: 10px;
@ -247,6 +254,7 @@
.noUi-horizontal .noUi-touch-area { .noUi-horizontal .noUi-touch-area {
cursor: ew-resize; cursor: ew-resize;
} }
#interface .noUi-horizontal .noUi-tooltip { #interface .noUi-horizontal .noUi-tooltip {
/* tooltips go below the buttons */ /* tooltips go below the buttons */
bottom: auto; bottom: auto;
@ -258,21 +266,27 @@
background: black; background: black;
color: white; color: white;
position: relative; position: relative;
width: 100px; /* as wide as audio controls only */ width: 100px;
/* as wide as audio controls only */
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
left: -50px; left: -50px;
} }
.audioconfig:hover { .audioconfig:hover {
width: auto; width: auto;
left: 0px; left: 0px;
} }
.audioconfig select, .audioconfig input{
.audioconfig select,
.audioconfig input {
margin: 10px; margin: 10px;
} }
audio { audio {
vertical-align: middle; vertical-align: middle;
width: 100px; /* hides seek head */ width: 100px;
/* hides seek head */
} }
.playlist img { .playlist img {
@ -282,6 +296,7 @@
background: white; background: white;
display: block; display: block;
} }
.help { .help {
position: absolute; position: absolute;
right: 0; right: 0;
@ -294,12 +309,14 @@
flex-wrap: wrap; flex-wrap: wrap;
font-size: 8pt; font-size: 8pt;
} }
.help li { .help li {
display: inline-block; display: inline-block;
color: gray; color: gray;
margin-right: 10px; margin-right: 10px;
flex-grow: 1; flex-grow: 1;
} }
.help .key { .help .key {
padding: 5px; padding: 5px;
background-color: aliceblue; background-color: aliceblue;
@ -307,13 +324,14 @@
color: black; color: black;
border-radius: 4px; border-radius: 4px;
} }
#interface:not(.selected-annotation) .help .esc1 { #interface:not(.selected-annotation) .help .esc1 {
display: none; display: none;
} }
#interface.selected-annotation .help .esc2 { #interface.selected-annotation .help .esc2 {
display: none; display: none;
} }
</style> </style>
<link rel="stylesheet" href="assets/nouislider-15.5.0.css"> <link rel="stylesheet" href="assets/nouislider-15.5.0.css">
<link rel="stylesheet" href="core.css"> <link rel="stylesheet" href="core.css">
@ -324,12 +342,14 @@
<ul class="help"> <ul class="help">
<li><span class='key'>Space</span> play/pause</li> <li><span class='key'>Space</span> play/pause</li>
<li><span class='key'>Shift</span> + <span class='key'>&RightArrow;</span> Skip 1s</li> <li><span class='key'>Shift</span> + <span class='key'>&RightArrow;</span> Skip 1s</li>
<li><span class='key'>Shift</span> + <span class='key'>Ctrl</span> + <span class='key'>&RightArrow;</span> Skip 10s</li> <li><span class='key'>Shift</span> + <span class='key'>Ctrl</span> + <span class='key'>&RightArrow;</span>
Skip 10s</li>
<li><span class='key'>i / o</span> set in/out-point</li> <li><span class='key'>i / o</span> set in/out-point</li>
<li><span class='key'>Shift</span> + <span class='key'>i / o</span> Jump to in/out-point</li> <li><span class='key'>Shift</span> + <span class='key'>i / o</span> Jump to in/out-point</li>
<li><span class='key'>&LeftArrow; / &RightArrow;</span> Shift selected point 1s</li> <li><span class='key'>&LeftArrow; / &RightArrow;</span> Shift selected point 1s</li>
<li><span class='key'>PgUp/Dwn</span> Shift selected point 10s</li> <li><span class='key'>PgUp/Dwn</span> Shift selected point 10s</li>
<li class="esc"><span class='key'>Esc</span> <span class='esc1'>Deselect annotation</span><span class="esc2">reset in & out-points</span></li> <li class="esc"><span class='key'>Esc</span> <span class='esc1'>Deselect annotation</span><span
class="esc2">reset in & out-points</span></li>
</ul> </ul>
</div> </div>
<script src="assets/nouislider-15.5.0.js"></script> <script src="assets/nouislider-15.5.0.js"></script>