musescore-downloader/src/btn.css

83 lines
1.2 KiB
CSS
Raw Normal View History

2020-11-12 17:35:11 +00:00
div {
width: 422px;
right: 0;
margin: 0 18px 18px 0;
text-align: center;
2020-11-12 17:35:11 +00:00
align-items: center;
2021-05-19 05:59:10 +00:00
font-family: 'Inter', 'Helvetica neue', Helvetica, sans-serif;
2020-11-30 14:16:09 +00:00
position: absolute;
z-index: 9999;
2020-11-23 16:52:28 +00:00
background: #f6f6f6;
2020-11-30 14:16:09 +00:00
min-width: 230px;
/* pass the scroll event through the btns background */
pointer-events: none;
2020-11-12 17:35:11 +00:00
}
@media screen and (max-width: 950px) {
div {
width: auto !important;
}
}
2020-11-12 17:35:11 +00:00
button {
2021-05-19 05:59:10 +00:00
width: 178px !important;
min-width: 178px;
height: 40px;
2020-11-12 17:35:11 +00:00
color: #fff;
2021-05-19 05:59:10 +00:00
background: #2e68c0;
2020-11-12 17:35:11 +00:00
cursor: pointer;
pointer-events: auto;
2020-11-12 17:35:11 +00:00
2021-05-19 05:59:10 +00:00
margin-bottom: 8px;
margin-right: 8px;
2020-11-12 17:35:11 +00:00
padding: 4px 12px;
justify-content: start;
align-self: center;
font-size: 16px;
2021-05-19 05:59:10 +00:00
border-radius: 6px;
2020-11-12 17:35:11 +00:00
border: 0;
display: inline-flex;
position: relative;
font-family: inherit;
}
/* fix `View in LibreScore` button text overflow */
button:last-of-type {
width: unset !important;
}
2021-05-19 05:59:10 +00:00
button:hover {
background: #1a4f9f;
}
2021-05-19 06:10:28 +00:00
/* light theme btn */
button.light {
color: #2e68c0;
background: #e1effe;
}
button.light:hover {
background: #c3ddfd;
}
2020-11-12 17:35:11 +00:00
svg {
display: inline-block;
margin-right: 5px;
width: 20px;
height: 20px;
margin-top: auto;
margin-bottom: auto;
}
span {
margin-top: auto;
margin-bottom: auto;
}