Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various minor improvements to the visualization #89

Merged
merged 11 commits into from
Sep 5, 2024
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
Loading