Skip to content

Commit

Permalink
Merge pull request #89 from fgnt/viz-search
Browse files Browse the repository at this point in the history
Various minor improvements to the visualization
  • Loading branch information
thequilo authored Sep 5, 2024
2 parents 68b7870 + 142293c commit 146b947
Show file tree
Hide file tree
Showing 5 changed files with 261 additions and 78 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ example_files/viz
!example_files/*.seglst.json

# Created by pyodide
.pyodide-xbuildenv
.pyodide-xbuildenv*

# Downloaded by the md_eval wrapper
meeteval/der/md-eval-22.pl
Expand Down Expand Up @@ -159,4 +159,4 @@ cython_debug/
.idea/

# Some random folder
junit/
junit/
32 changes: 32 additions & 0 deletions meeteval/viz/visualize.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ code {
flex-wrap: wrap;
}

audio.info-value {
height: 1.5em;
}

.legend-element {
margin: 0 3px 0 3px;
padding: 0 0px 0 0;
Expand All @@ -129,6 +133,7 @@ code {
display: inline-block;
width: 10px;
height: 10px;
border: 1px solid #aaa;
}

.legend-label {
Expand Down Expand Up @@ -164,6 +169,21 @@ i, .icon {
margin-right: 0px;
}

/* Make copy button same height as text in the details preview and hide any fancy formatting.
This prevents the view from jumping when a segment is selected*/
.info-value .copybutton {
height: 1em;
padding: 0 5px;
margin: 0;
border: none;
}

.info-value .copybutton i {
margin-right: 0px;
height: 1em;
font-size: .75em;
}

/* Plot elements */
.plot {
position: relative;
Expand Down Expand Up @@ -440,6 +460,18 @@ wer table */
touch-action: manipulation;
}

.search-bar button:disabled {
background-color: #ccc;
color: #666;
cursor: default;
}

/* Make italic and gray*/
.search-bar .match-number {
/* font-style: italic; */
color: gray;
}

.clickable {
cursor: pointer;
text-decoration: underline;
Expand Down
Loading

0 comments on commit 146b947

Please sign in to comment.