Added donate label

This commit is contained in:
nobody 2020-06-06 14:50:40 +02:00
parent 419d729406
commit 8a44398d36
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 16 additions and 2 deletions

View File

@ -19,7 +19,7 @@ header {
border-bottom: solid #d3d3d3 1px; border-bottom: solid #d3d3d3 1px;
display: flex; display: flex;
position: relative; position: relative;
padding: 8px; padding: 8px 15px 15px 4px;
} }
.panel { .panel {
@ -141,6 +141,14 @@ footer {
color: white; color: white;
} }
#label-donate {
cursor: pointer;
background-color: #f0f0f0;
color: #737373;
font-weight: 600;
margin: 0px 5px;
}
/** /**
* Icons * Icons
*/ */
@ -167,12 +175,17 @@ footer {
float: right; float: right;
font-size: 12px; font-size: 12px;
padding: 5px; padding: 5px;
display: flex;
} }
#donate-button:hover { #donate-button:hover #donate-button-svg {
transform: scale(1.3); transform: scale(1.3);
} }
#donate-button:hover #label-donate {
text-decoration: underline;
}
#donate-button-svg { #donate-button-svg {
background-size: cover; background-size: cover;
width: 15px; width: 15px;

View File

@ -28,6 +28,7 @@
<div class="heading">LocalCDN <sup id="version-label" class="label-version"></sup></div> <div class="heading">LocalCDN <sup id="version-label" class="label-version"></sup></div>
<div id="donate-button"> <div id="donate-button">
<p id="label-donate" data-i18n-content="labelDonate">Donate</p>
<div id="donate-button-svg"></div> <div id="donate-button-svg"></div>
</div> </div>