mirror of
https://gitlab.com/vyla-entertainment/documentation.git
synced 2026-11-14 22:47:26 -05:00
tweaked UI a bit
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
backdrop-filter: blur(10px) saturate(1.2);
|
||||
-webkit-backdrop-filter: blur(10px) saturate(1.2);
|
||||
background: var(--bg-card);
|
||||
width: 50%;
|
||||
width: 25%;
|
||||
min-width: 650px;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
@@ -234,6 +235,7 @@ footer#site-footer {
|
||||
width: 100%;
|
||||
border-top: 1px solid var(--footer-border);
|
||||
padding-top: 28px;
|
||||
padding-left: 7px;
|
||||
}
|
||||
|
||||
.footer-socials {
|
||||
@@ -817,6 +819,7 @@ body.is-home #mobile-bar {
|
||||
#header-container {
|
||||
width: 100%;
|
||||
border-radius: 0px;
|
||||
min-width: 0;
|
||||
top: max(0px, env(safe-area-inset-top));
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ function fetchContributors(project) {
|
||||
.catch(function () { return []; });
|
||||
}
|
||||
|
||||
|
||||
function renderContributors() {
|
||||
var box = document.getElementById("contributors");
|
||||
if (!box) return;
|
||||
@@ -54,7 +55,18 @@ function renderContributors() {
|
||||
if (!name || name.toLowerCase() === "devin bot") return;
|
||||
|
||||
var key = name.toLowerCase();
|
||||
if (!totals[key]) totals[key] = { name: name, commits: 0 };
|
||||
|
||||
if (["devin", "mesmerize", "alwaysmesmerizingyou"].includes(key)) {
|
||||
key = "alwaysmesmerizingyou";
|
||||
}
|
||||
|
||||
if (!totals[key]) {
|
||||
totals[key] = {
|
||||
name: key,
|
||||
commits: 0
|
||||
};
|
||||
}
|
||||
|
||||
totals[key].commits += Number(c.commits) || 0;
|
||||
});
|
||||
|
||||
|
||||
@@ -22,6 +22,16 @@ var GLASS_TARGETS = [
|
||||
displace: 0,
|
||||
backgroundOpacity: 0.08
|
||||
}
|
||||
},
|
||||
{
|
||||
selector: ".feature-box",
|
||||
options: {
|
||||
distortionScale: -220,
|
||||
displace: 0,
|
||||
backgroundOpacity: 0.12,
|
||||
saturation: 1.3,
|
||||
cornerRadius: 30
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
@@ -57,7 +67,7 @@ function initGlassSurface(el, opts) {
|
||||
var rect = el.getBoundingClientRect();
|
||||
var w = Math.round(rect.width) || 160;
|
||||
var h = Math.round(rect.height) || 40;
|
||||
var r = Math.round(h / 2);
|
||||
var r = opts.cornerRadius !== undefined ? opts.cornerRadius : Math.round(h / 2);
|
||||
var edge = Math.min(w, h) * (borderWidth * 0.5);
|
||||
|
||||
var mapSvg = '<svg width="' + w + '" height="' + h + '" viewBox="0 0 ' + w + ' ' + h + '" xmlns="http://www.w3.org/2000/svg">' +
|
||||
|
||||
@@ -1238,7 +1238,7 @@ function initGlassSurface(el, opts) {
|
||||
var rect = el.getBoundingClientRect();
|
||||
var w = Math.round(rect.width) || 160;
|
||||
var h = Math.round(rect.height) || 44;
|
||||
var r = Math.round(h / 2);
|
||||
var r = opts.cornerRadius !== undefined ? opts.cornerRadius : Math.round(h / 2);
|
||||
var edge = Math.min(w, h) * (borderWidth * 0.5);
|
||||
|
||||
var mapSvg = '<svg width="' + w + '" height="' + h + '" viewBox="0 0 ' + w + ' ' + h + '" xmlns="http://www.w3.org/2000/svg">' +
|
||||
@@ -1802,13 +1802,15 @@ function initContribSheet() {
|
||||
var overlay = document.createElement("div");
|
||||
overlay.className = "sheet-overlay";
|
||||
overlay.innerHTML =
|
||||
|
||||
'<div class="sheet-backdrop"></div>' +
|
||||
'<div class="sheet-panel">' +
|
||||
'<div class="sheet-handle-bar"><div class="sheet-handle"></div></div>' +
|
||||
'<h3 class="sheet-title">Help Add & Fix SDK Sources</h3>' +
|
||||
'<p class="sheet-desc">Streaming endpoints and scrapers constantly break as CDNs evolve. We are actively looking for contributors to help repair broken providers, add new video sources, and implement direct download scrapers.</p>' +
|
||||
'<h3 class="sheet-title">Source Removal Requests</h3>' +
|
||||
'<p class="sheet-desc">If your source is listed here, I sincerely apologize. I understand that its inclusion may be costing you a lot of money, and that was never my intention. Please contact me as soon as possible, and I\'ll remove it ASAP.</p>' +
|
||||
'<p class="sheet-desc">This is a small hobby project that I built for learning and personal interest, not for profit. I genuinely want to respect the wishes of source owners and will address any removal requests as quickly as I can.</p>' +
|
||||
'<div class="sheet-actions">' +
|
||||
'<a href="/sdk/vyla-sdk/contributing" class="sheet-btn-primary">View Guide</a>' +
|
||||
'<a href="https://discord.com/users/1354418847586848909" class="sheet-btn-primary">Contact Me</a>' +
|
||||
'<button type="button" class="sheet-btn-never">Don\'t show again</button>' +
|
||||
'</div>' +
|
||||
'</div>';
|
||||
|
||||
Reference in New Issue
Block a user