dist files for v1.4.0 built
This commit is contained in:
4
dist/bookmarklet-payload.js
vendored
4
dist/bookmarklet-payload.js
vendored
File diff suppressed because one or more lines are too long
2
dist/bookmarklet.txt
vendored
2
dist/bookmarklet.txt
vendored
File diff suppressed because one or more lines are too long
2
dist/install.html
vendored
2
dist/install.html
vendored
File diff suppressed because one or more lines are too long
42
dist/kantine-standalone.html
vendored
42
dist/kantine-standalone.html
vendored
@@ -606,32 +606,17 @@ body {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.history-item-status-badge {
|
||||
font-size: 0.7rem;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
.history-item-status {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.status-active {
|
||||
background: rgba(34, 197, 94, 0.1);
|
||||
color: #16a34a;
|
||||
border: 1px solid rgba(34, 197, 94, 0.2);
|
||||
}
|
||||
|
||||
.status-completed {
|
||||
background: rgba(100, 116, 139, 0.1);
|
||||
color: var(--text-secondary);
|
||||
border: 1px solid rgba(100, 116, 139, 0.2);
|
||||
}
|
||||
|
||||
.status-cancelled {
|
||||
background: rgba(239, 68, 68, 0.1);
|
||||
color: var(--error-color);
|
||||
border: 1px solid rgba(239, 68, 68, 0.2);
|
||||
.history-item-cancelled {
|
||||
opacity: 0.5;
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
.history-item-price-cancelled {
|
||||
@@ -2641,15 +2626,15 @@ body {
|
||||
|
||||
let statusBadge = '';
|
||||
if (item.state === 9) {
|
||||
statusBadge = '<span class="history-item-status-badge status-cancelled">Storniert</span>';
|
||||
statusBadge = '<span class="history-item-status">Storniert</span>';
|
||||
} else if (item.state === 8) {
|
||||
statusBadge = '<span class="history-item-status-badge status-completed">Abgeschlossen</span>';
|
||||
statusBadge = '<span class="history-item-status">Abgeschlossen</span>';
|
||||
} else {
|
||||
statusBadge = '<span class="history-item-status-badge status-active">Offen</span>';
|
||||
statusBadge = '<span class="history-item-status">Übertragen</span>';
|
||||
}
|
||||
|
||||
html += `
|
||||
<div class="history-item">
|
||||
<div class="history-item ${item.state === 9 ? 'history-item-cancelled' : ''}">
|
||||
<div style="font-size: 0.85rem; color: var(--text-secondary);">${dayStr}</div>
|
||||
<div class="history-item-details">
|
||||
<span class="history-item-name">${escapeHtml(item.name)}</span>
|
||||
@@ -2684,13 +2669,6 @@ body {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Open the first month of the first year automatically
|
||||
const firstMonth = content.querySelector('.history-month-group');
|
||||
if (firstMonth) {
|
||||
firstMonth.classList.add('open');
|
||||
firstMonth.querySelector('.history-month-header').setAttribute('aria-expanded', 'true');
|
||||
}
|
||||
}
|
||||
|
||||
// === Place Order ===
|
||||
|
||||
15
kantine.js
15
kantine.js
@@ -700,15 +700,15 @@
|
||||
|
||||
let statusBadge = '';
|
||||
if (item.state === 9) {
|
||||
statusBadge = '<span class="history-item-status-badge status-cancelled">Storniert</span>';
|
||||
statusBadge = '<span class="history-item-status">Storniert</span>';
|
||||
} else if (item.state === 8) {
|
||||
statusBadge = '<span class="history-item-status-badge status-completed">Abgeschlossen</span>';
|
||||
statusBadge = '<span class="history-item-status">Abgeschlossen</span>';
|
||||
} else {
|
||||
statusBadge = '<span class="history-item-status-badge status-active">Offen</span>';
|
||||
statusBadge = '<span class="history-item-status">Übertragen</span>';
|
||||
}
|
||||
|
||||
html += `
|
||||
<div class="history-item">
|
||||
<div class="history-item ${item.state === 9 ? 'history-item-cancelled' : ''}">
|
||||
<div style="font-size: 0.85rem; color: var(--text-secondary);">${dayStr}</div>
|
||||
<div class="history-item-details">
|
||||
<span class="history-item-name">${escapeHtml(item.name)}</span>
|
||||
@@ -743,13 +743,6 @@
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Open the first month of the first year automatically
|
||||
const firstMonth = content.querySelector('.history-month-group');
|
||||
if (firstMonth) {
|
||||
firstMonth.classList.add('open');
|
||||
firstMonth.querySelector('.history-month-header').setAttribute('aria-expanded', 'true');
|
||||
}
|
||||
}
|
||||
|
||||
// === Place Order ===
|
||||
|
||||
27
style.css
27
style.css
@@ -595,32 +595,17 @@ body {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.history-item-status-badge {
|
||||
font-size: 0.7rem;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
.history-item-status {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.status-active {
|
||||
background: rgba(34, 197, 94, 0.1);
|
||||
color: #16a34a;
|
||||
border: 1px solid rgba(34, 197, 94, 0.2);
|
||||
}
|
||||
|
||||
.status-completed {
|
||||
background: rgba(100, 116, 139, 0.1);
|
||||
color: var(--text-secondary);
|
||||
border: 1px solid rgba(100, 116, 139, 0.2);
|
||||
}
|
||||
|
||||
.status-cancelled {
|
||||
background: rgba(239, 68, 68, 0.1);
|
||||
color: var(--error-color);
|
||||
border: 1px solid rgba(239, 68, 68, 0.2);
|
||||
.history-item-cancelled {
|
||||
opacity: 0.5;
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
.history-item-price-cancelled {
|
||||
|
||||
Reference in New Issue
Block a user