mirror of
https://github.com/gmemstr/sliproad.git
synced 2024-09-20 00:21:15 +01:00
Minor tweaks.
This commit is contained in:
parent
06dd0f6dec
commit
9cd45faf1e
|
@ -12,7 +12,6 @@ Yellow #F2E307
|
||||||
--dark-blue: #081226;
|
--dark-blue: #081226;
|
||||||
--yellow: #F2E307;
|
--yellow: #F2E307;
|
||||||
--pink: #F06DF2;
|
--pink: #F06DF2;
|
||||||
--desktop-width: 1170px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body, h1 a {
|
body, h1 a {
|
||||||
|
@ -45,7 +44,7 @@ h1 a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: background-color 0.5s;
|
transition: background-color 0.5s;
|
||||||
background-color: var(--blue);
|
background-color: var(--dark-blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
|
|
|
@ -44,8 +44,8 @@ function getFileListing(provider, path = "") {
|
||||||
|
|
||||||
<div class="files list">
|
<div class="files list">
|
||||||
${onlyfiles.map(file =>
|
${onlyfiles.map(file =>
|
||||||
`<div class="item"><a class="file" href="/api/files/${provider}${path}/${file.Name}">
|
`<div class="item"><a class="file" href="/api/files/${provider}${path}/${file.Name}" target="__blank">
|
||||||
<span><img src="/icons/file.svg"/>${file.Name}</span>
|
<span>${file.Name}</span>
|
||||||
</a><button onclick="deleteFile('${provider}', '${path === "" ? '' : path}', '${file.Name}')"><img src="/icons/trash.svg"/></button></div>
|
</a><button onclick="deleteFile('${provider}', '${path === "" ? '' : path}', '${file.Name}')"><img src="/icons/trash.svg"/></button></div>
|
||||||
`
|
`
|
||||||
).join('')}
|
).join('')}
|
||||||
|
|
Loading…
Reference in a new issue