feat: match the new design
This commit is contained in:
parent
893c64edda
commit
88fdfff054
20
src/btn.css
20
src/btn.css
|
@ -5,7 +5,7 @@ div {
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-family: 'Open Sans', 'Roboto', 'Helvetica neue', Helvetica, sans-serif;
|
font-family: 'Inter', 'Helvetica neue', Helvetica, sans-serif;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
background: #f6f6f6;
|
background: #f6f6f6;
|
||||||
|
@ -22,25 +22,25 @@ div {
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
width: 205px !important;
|
width: 178px !important;
|
||||||
min-width: 205px;
|
min-width: 178px;
|
||||||
height: 38px;
|
height: 40px;
|
||||||
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #1f74bd;
|
background: #2e68c0;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
|
|
||||||
margin-bottom: 4px;
|
margin-bottom: 8px;
|
||||||
margin-right: 4px;
|
margin-right: 8px;
|
||||||
padding: 4px 12px;
|
padding: 4px 12px;
|
||||||
|
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
border-radius: 2px;
|
border-radius: 6px;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
@ -54,6 +54,10 @@ button:last-of-type {
|
||||||
width: unset !important;
|
width: unset !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background: #1a4f9f;
|
||||||
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
|
@ -38,7 +38,7 @@ const main = (): void => {
|
||||||
})
|
})
|
||||||
|
|
||||||
btnList.add({
|
btnList.add({
|
||||||
name: i18n('DOWNLOAD')('MusicXML'),
|
name: i18n('DOWNLOAD')('MXL'),
|
||||||
action: BtnAction.mscoreWindow(scoreinfo, async (w, score) => {
|
action: BtnAction.mscoreWindow(scoreinfo, async (w, score) => {
|
||||||
const mxl = await score.saveMxl()
|
const mxl = await score.saveMxl()
|
||||||
const data = new Blob([mxl])
|
const data = new Blob([mxl])
|
||||||
|
|
Loading…
Reference in New Issue