feat: `View in LibreScore` btn light color
This commit is contained in:
parent
88fdfff054
commit
5d1639dddf
|
@ -52,12 +52,18 @@ button {
|
||||||
/* fix `View in LibreScore` button text overflow */
|
/* fix `View in LibreScore` button text overflow */
|
||||||
button:last-of-type {
|
button:last-of-type {
|
||||||
width: unset !important;
|
width: unset !important;
|
||||||
|
color: #2e68c0;
|
||||||
|
background: #e1effe;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
background: #1a4f9f;
|
background: #1a4f9f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button:last-of-type:hover {
|
||||||
|
background: #c3ddfd;
|
||||||
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
|
@ -34,7 +34,7 @@ const buildDownloadBtn = (icon: ICON) => {
|
||||||
svg.setAttribute('viewBox', '0 0 24 24')
|
svg.setAttribute('viewBox', '0 0 24 24')
|
||||||
const svgPath = document.createElementNS('http://www.w3.org/2000/svg', 'path')
|
const svgPath = document.createElementNS('http://www.w3.org/2000/svg', 'path')
|
||||||
svgPath.setAttribute('d', icon)
|
svgPath.setAttribute('d', icon)
|
||||||
svgPath.setAttribute('fill', '#fff')
|
svgPath.setAttribute('fill', icon === ICON.DOWNLOAD ? '#fff' : '#2e68c0')
|
||||||
svg.append(svgPath)
|
svg.append(svgPath)
|
||||||
|
|
||||||
const textNode = document.createElement('span')
|
const textNode = document.createElement('span')
|
||||||
|
|
Loading…
Reference in New Issue