feat: match the new design

This commit is contained in:
Xmader 2021-05-19 01:59:10 -04:00
parent 893c64edda
commit 88fdfff054
No known key found for this signature in database
GPG key ID: A20B97FB9EB730E4
2 changed files with 13 additions and 9 deletions

View file

@ -5,7 +5,7 @@ div {
text-align: center;
align-items: center;
font-family: 'Open Sans', 'Roboto', 'Helvetica neue', Helvetica, sans-serif;
font-family: 'Inter', 'Helvetica neue', Helvetica, sans-serif;
position: absolute;
z-index: 9999;
background: #f6f6f6;
@ -22,25 +22,25 @@ div {
}
button {
width: 205px !important;
min-width: 205px;
height: 38px;
width: 178px !important;
min-width: 178px;
height: 40px;
color: #fff;
background: #1f74bd;
background: #2e68c0;
cursor: pointer;
pointer-events: auto;
margin-bottom: 4px;
margin-right: 4px;
margin-bottom: 8px;
margin-right: 8px;
padding: 4px 12px;
justify-content: start;
align-self: center;
font-size: 16px;
border-radius: 2px;
border-radius: 6px;
border: 0;
display: inline-flex;
@ -54,6 +54,10 @@ button:last-of-type {
width: unset !important;
}
button:hover {
background: #1a4f9f;
}
svg {
display: inline-block;
margin-right: 5px;

View file

@ -38,7 +38,7 @@ const main = (): void => {
})
btnList.add({
name: i18n('DOWNLOAD')('MusicXML'),
name: i18n('DOWNLOAD')('MXL'),
action: BtnAction.mscoreWindow(scoreinfo, async (w, score) => {
const mxl = await score.saveMxl()
const data = new Blob([mxl])