mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Improve style of metadata
This commit is contained in:
parent
e19e55104d
commit
a847b51f26
2 changed files with 17 additions and 12 deletions
17
src/App.css
17
src/App.css
|
|
@ -139,7 +139,7 @@ body.overlay-open .overlay {
|
|||
}
|
||||
|
||||
#close-modal {
|
||||
color: white;
|
||||
color: #a7a394;
|
||||
position: fixed;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
|
|
@ -149,14 +149,19 @@ body.overlay-open .overlay {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
#focused-skin .metadata {
|
||||
text-align: center;
|
||||
.metadata {
|
||||
position: absolute;
|
||||
margin: 10px;
|
||||
color: white;
|
||||
color: #a7a394;
|
||||
line-height: 25px;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
bottom: 0;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#focused-skin .metadata a {
|
||||
color: white;
|
||||
.metadata a {
|
||||
color: #a7a394;
|
||||
}
|
||||
|
||||
#focused-skin {
|
||||
|
|
|
|||
|
|
@ -140,12 +140,12 @@ class FocusedSkin extends React.Component {
|
|||
/>
|
||||
)}
|
||||
</div>
|
||||
<div className="metadata">
|
||||
<div className="file-name">
|
||||
{Utils.filenameFromHash(this.props.hash)}
|
||||
</div>
|
||||
<a href={Utils.skinUrlFromHash(this.props.hash)}>Download</a>
|
||||
</div>
|
||||
</div>
|
||||
<div className="metadata">
|
||||
{Utils.filenameFromHash(this.props.hash)}
|
||||
{" ["}
|
||||
<a href={Utils.skinUrlFromHash(this.props.hash)}>Download</a>
|
||||
{"]"}
|
||||
</div>
|
||||
</React.Fragment>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue