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
|
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 */
|
/* What's new */
|
||||||
|
|
||||||
#whats-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,
|
.header a,
|
||||||
#nav-bar #back {
|
#nav-bar #back {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
version-history.css
|
||||||
|
altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
|
||||||
|
|
||||||
|
Copyright (c) 2023 Foxster.
|
||||||
|
MIT License.
|
||||||
|
*/
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
padding-top: 8rem;
|
padding-top: 8rem;
|
||||||
}
|
}
|
||||||
@@ -58,24 +66,4 @@ a {
|
|||||||
position: relative;
|
position: relative;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
/* line-height: 1.5em; */
|
/* 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
|
// AppPermissionItem.js
|
||||||
// altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
|
// altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -32,14 +32,29 @@ main((json) => {
|
|||||||
const versionsContainer = document.getElementById("versions");
|
const versionsContainer = document.getElementById("versions");
|
||||||
if (app.versions) {
|
if (app.versions) {
|
||||||
app.versions.forEach((version, i) => {
|
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 {
|
} 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 => {
|
document.querySelectorAll(".version-description").forEach(element => {
|
||||||
console.log(MoreButton(tintColor));
|
|
||||||
if (element.scrollHeight > element.clientHeight)
|
if (element.scrollHeight > element.clientHeight)
|
||||||
element.insertAdjacentHTML("beforeend", MoreButton(tintColor));
|
element.insertAdjacentHTML("beforeend", MoreButton(tintColor));
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
news.html
|
version-history.html
|
||||||
altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
|
altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
|
||||||
|
|
||||||
Copyright (c) 2023 Foxster.
|
Copyright (c) 2023 Foxster.
|
||||||
@@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<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/style.css">
|
||||||
<link rel="stylesheet" href="css/version-history.css">
|
<link rel="stylesheet" href="css/version-history.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="loading">
|
<body class="loading">
|
||||||
<div id="loading">
|
<div id="loading">
|
||||||
<img src="img/loading.gif" alt="loading">
|
<img src="img/loading.gif" alt="loading">
|
||||||
@@ -29,5 +27,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<script src="js/versionHistory.js" type="module"></script>
|
<script src="js/versionHistory.js" type="module"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user