mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 11:03:32 +00:00
Clean up clean up everybody everywhere
This commit is contained in:
23
css/app.css
23
css/app.css
@@ -88,29 +88,6 @@ a {
|
||||
word-wrap: break-word
|
||||
}
|
||||
|
||||
#more button {
|
||||
min-width: 0 !important;
|
||||
margin-left: 2px !important;
|
||||
padding: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
text-transform: none;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
background: unset;
|
||||
color: var(--accent-color);
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
padding-left: 36px;
|
||||
background: linear-gradient(to right, transparent, var(--color-bg) 35%);
|
||||
}
|
||||
|
||||
#more:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* What's new */
|
||||
|
||||
#whats-new,
|
||||
|
||||
@@ -394,6 +394,30 @@ a>button {
|
||||
}
|
||||
}
|
||||
|
||||
#more button {
|
||||
min-width: 0 !important;
|
||||
margin-left: 2px !important;
|
||||
padding: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
text-transform: none;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
background: unset;
|
||||
color: var(--accent-color);
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
padding-left: 36px;
|
||||
background: linear-gradient(to right, transparent, var(--color-bg) 35%);
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
#more:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.header a,
|
||||
#nav-bar #back {
|
||||
display: flex;
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
/*
|
||||
version-history.css
|
||||
altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
|
||||
|
||||
Copyright (c) 2023 Foxster.
|
||||
MIT License.
|
||||
*/
|
||||
|
||||
#main {
|
||||
padding-top: 8rem;
|
||||
}
|
||||
@@ -59,23 +67,3 @@ a {
|
||||
word-wrap: break-word;
|
||||
/* line-height: 1.5em; */
|
||||
}
|
||||
|
||||
#more button {
|
||||
min-width: 0 !important;
|
||||
margin-left: 2px !important;
|
||||
padding: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
text-transform: none;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
background: unset;
|
||||
color: var(--accent-color);
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
padding-left: 36px;
|
||||
background: linear-gradient(to right, transparent, var(--color-bg) 35%);
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//
|
||||
// AppPermissionItem.js
|
||||
// altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
|
||||
//
|
||||
|
||||
@@ -32,14 +32,29 @@ main((json) => {
|
||||
const versionsContainer = document.getElementById("versions");
|
||||
if (app.versions) {
|
||||
app.versions.forEach((version, i) => {
|
||||
versionsContainer.insertAdjacentHTML("beforeend", VersionHistoryItem(version.version, formatVersionDate(version.date), formatString(version.localizedDescription), version.downloadURL, i))
|
||||
versionsContainer.insertAdjacentHTML("beforeend",
|
||||
VersionHistoryItem(
|
||||
version.version,
|
||||
formatVersionDate(version.date),
|
||||
formatString(version.localizedDescription),
|
||||
version.downloadURL,
|
||||
i
|
||||
)
|
||||
);
|
||||
});
|
||||
} else {
|
||||
versionsContainer.insertAdjacentHTML("beforeend", VersionHistoryItem(app.version, formatVersionDate(app.versionDate), formatString(app.versionDescription), app.downloadURL, 0))
|
||||
versionsContainer.insertAdjacentHTML("beforeend",
|
||||
VersionHistoryItem(
|
||||
app.version,
|
||||
formatVersionDate(app.versionDate),
|
||||
formatString(app.versionDescription),
|
||||
app.downloadURL,
|
||||
0
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
document.querySelectorAll(".version-description").forEach(element => {
|
||||
console.log(MoreButton(tintColor));
|
||||
if (element.scrollHeight > element.clientHeight)
|
||||
element.insertAdjacentHTML("beforeend", MoreButton(tintColor));
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
news.html
|
||||
version-history.html
|
||||
altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
|
||||
|
||||
Copyright (c) 2023 Foxster.
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
@@ -16,7 +15,6 @@
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<link rel="stylesheet" href="css/version-history.css">
|
||||
</head>
|
||||
|
||||
<body class="loading">
|
||||
<div id="loading">
|
||||
<img src="img/loading.gif" alt="loading">
|
||||
@@ -29,5 +27,4 @@
|
||||
</div>
|
||||
<script src="js/versionHistory.js" type="module"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user