Update from Git Manager GUI
This commit is contained in:
@@ -54,6 +54,28 @@
|
|||||||
<input id="giteaURL" type="text" placeholder="https://gitea.example.com">
|
<input id="giteaURL" type="text" placeholder="https://gitea.example.com">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="input-group" style="margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);">
|
||||||
|
<label style="margin-bottom: 12px;">Übersicht</label>
|
||||||
|
<div style="display: flex; flex-direction: column; gap: 10px;">
|
||||||
|
<label style="display: flex; align-items: center; gap: 10px; cursor: pointer; text-transform: none; letter-spacing: normal; font-weight: normal;">
|
||||||
|
<input type="checkbox" id="settingFavorites" checked>
|
||||||
|
<span>⭐ Favoriten-Bereich anzeigen</span>
|
||||||
|
</label>
|
||||||
|
<label style="display: flex; align-items: center; gap: 10px; cursor: pointer; text-transform: none; letter-spacing: normal; font-weight: normal;">
|
||||||
|
<input type="checkbox" id="settingRecent" checked>
|
||||||
|
<span>🕐 Zuletzt geöffnet anzeigen</span>
|
||||||
|
</label>
|
||||||
|
<label style="display: flex; align-items: center; gap: 10px; cursor: pointer; text-transform: none; letter-spacing: normal; font-weight: normal;">
|
||||||
|
<input type="checkbox" id="settingCompact">
|
||||||
|
<span>⊞ Kompakt-Modus (kleinere Karten)</span>
|
||||||
|
</label>
|
||||||
|
<label style="display: flex; align-items: center; gap: 10px; cursor: pointer; text-transform: none; letter-spacing: normal; font-weight: normal;">
|
||||||
|
<input type="checkbox" id="settingColoredIcons" checked>
|
||||||
|
<span>🎨 Farbige Datei-Icons</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="input-group" style="margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);">
|
<div class="input-group" style="margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);">
|
||||||
<label>App Version</label>
|
<label>App Version</label>
|
||||||
<div style="display: flex; gap: 12px; align-items: center;">
|
<div style="display: flex; gap: 12px; align-items: center;">
|
||||||
|
|||||||
1502
renderer/renderer.js
1502
renderer/renderer.js
File diff suppressed because it is too large
Load Diff
@@ -326,6 +326,29 @@ body {
|
|||||||
animation: fadeIn var(--transition-slow) ease-out;
|
animation: fadeIn var(--transition-slow) ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ── Kompakt-Modus ── */
|
||||||
|
body.compact-mode .explorer-grid {
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
|
||||||
|
gap: var(--spacing-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
body.compact-mode .item-card {
|
||||||
|
padding: 10px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.compact-mode .item-icon {
|
||||||
|
font-size: 32px;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.compact-mode .item-name {
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.compact-mode .item-card:hover {
|
||||||
|
transform: translateY(-2px) scale(1.01);
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes fadeIn {
|
@keyframes fadeIn {
|
||||||
from {
|
from {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@@ -389,11 +412,32 @@ body {
|
|||||||
box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
|
box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Mehrfachauswahl */
|
||||||
|
.item-card.selected {
|
||||||
|
border-color: var(--accent-primary);
|
||||||
|
background: rgba(0, 212, 255, 0.12);
|
||||||
|
box-shadow: 0 0 0 2px var(--accent-primary), 0 0 20px rgba(0, 212, 255, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-card.selected .item-name {
|
||||||
|
color: var(--accent-primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Commit Quick Buttons */
|
||||||
|
.commit-quick-btn:hover {
|
||||||
|
border-color: var(--accent-primary) !important;
|
||||||
|
color: var(--accent-primary) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.item-icon {
|
.item-icon {
|
||||||
font-size: 56px;
|
font-size: 56px;
|
||||||
margin-bottom: var(--spacing-md);
|
margin-bottom: var(--spacing-md);
|
||||||
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
|
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
|
||||||
transition: transform var(--transition-normal);
|
transition: transform var(--transition-normal);
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-card:hover .item-icon {
|
.item-card:hover .item-icon {
|
||||||
@@ -1411,3 +1455,289 @@ progress::-moz-progress-bar {
|
|||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
border: 1px solid rgba(255,255,255,0.05);
|
border: 1px solid rgba(255,255,255,0.05);
|
||||||
}
|
}
|
||||||
|
/* =============================================
|
||||||
|
FAVORITEN & ZULETZT GEÖFFNET — Styles
|
||||||
|
============================================= */
|
||||||
|
|
||||||
|
/* Sektions-Überschrift */
|
||||||
|
.fav-section-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 7px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 1.5px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-section-header--toggle {
|
||||||
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
padding: 3px 6px 3px 2px;
|
||||||
|
margin-left: -2px;
|
||||||
|
transition: background var(--transition-fast), color var(--transition-fast);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-section-header--toggle:hover {
|
||||||
|
background: rgba(255, 255, 255, 0.06);
|
||||||
|
color: var(--text-primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-collapse-arrow {
|
||||||
|
margin-left: auto;
|
||||||
|
font-size: 9px;
|
||||||
|
opacity: 0.5;
|
||||||
|
transition: opacity var(--transition-fast);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-section-header--toggle:hover .fav-collapse-arrow {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-section-icon {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Reihe der Chips */
|
||||||
|
.fav-chips-row {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Trennlinie nach den Sektionen */
|
||||||
|
.fav-divider {
|
||||||
|
height: 1px;
|
||||||
|
background: rgba(255, 255, 255, 0.07);
|
||||||
|
margin: 4px 0 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Einzelner Chip */
|
||||||
|
.fav-chip {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 7px;
|
||||||
|
padding: 7px 13px 7px 10px;
|
||||||
|
background: var(--bg-tertiary);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
|
border-radius: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: border-color var(--transition-fast),
|
||||||
|
background var(--transition-fast),
|
||||||
|
transform var(--transition-fast),
|
||||||
|
box-shadow var(--transition-fast);
|
||||||
|
max-width: 260px;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-chip:hover {
|
||||||
|
border-color: var(--accent-primary);
|
||||||
|
background: rgba(0, 212, 255, 0.06);
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 4px 12px rgba(0, 212, 255, 0.12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-chip--star:hover {
|
||||||
|
border-color: #f59e0b;
|
||||||
|
background: rgba(245, 158, 11, 0.06);
|
||||||
|
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-chip-icon {
|
||||||
|
font-size: 13px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-chip-label {
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--text-primary);
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
max-width: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-chip-time {
|
||||||
|
font-size: 11px;
|
||||||
|
color: var(--text-muted);
|
||||||
|
white-space: nowrap;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stern-Button auf Repo-Karten */
|
||||||
|
.fav-star-btn {
|
||||||
|
position: absolute;
|
||||||
|
top: 6px;
|
||||||
|
right: 6px;
|
||||||
|
background: transparent;
|
||||||
|
border: none;
|
||||||
|
font-size: 15px;
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity var(--transition-fast), transform var(--transition-fast);
|
||||||
|
z-index: 5;
|
||||||
|
line-height: 1;
|
||||||
|
padding: 4px;
|
||||||
|
border-radius: 50%;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-card:hover .fav-star-btn {
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-star-btn:hover,
|
||||||
|
.fav-star-btn.active {
|
||||||
|
opacity: 1;
|
||||||
|
transform: scale(1.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-star-btn.active {
|
||||||
|
color: #f59e0b;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* =============================================
|
||||||
|
SETTINGS — Toggle-Switch Styles
|
||||||
|
============================================= */
|
||||||
|
|
||||||
|
.settings-toggle-row {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 12px 16px;
|
||||||
|
background: rgba(255, 255, 255, 0.03);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
margin-bottom: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background var(--transition-fast), border-color var(--transition-fast);
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-toggle-row:hover {
|
||||||
|
background: rgba(255, 255, 255, 0.06);
|
||||||
|
border-color: rgba(255, 255, 255, 0.12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-toggle-info {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-toggle-title {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--text-primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-toggle-desc {
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-weight: 400;
|
||||||
|
text-transform: none;
|
||||||
|
letter-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Toggle-Switch */
|
||||||
|
.toggle-switch {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 44px;
|
||||||
|
height: 24px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggle-switch input {
|
||||||
|
opacity: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggle-track {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: rgba(255, 255, 255, 0.15);
|
||||||
|
border-radius: 24px;
|
||||||
|
transition: background var(--transition-normal);
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggle-track::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
left: 3px;
|
||||||
|
top: 3px;
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 50%;
|
||||||
|
transition: transform var(--transition-normal);
|
||||||
|
box-shadow: 0 1px 4px rgba(0,0,0,0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggle-switch input:checked + .toggle-track {
|
||||||
|
background: var(--accent-primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggle-switch input:checked + .toggle-track::before {
|
||||||
|
transform: translateX(20px);
|
||||||
|
}
|
||||||
|
/* ===========================
|
||||||
|
FARBIGE DATEI-ICONS
|
||||||
|
=========================== */
|
||||||
|
|
||||||
|
.file-type-badge {
|
||||||
|
position: absolute;
|
||||||
|
bottom: -4px;
|
||||||
|
right: -6px;
|
||||||
|
font-size: 9px;
|
||||||
|
font-weight: 800;
|
||||||
|
padding: 1px 4px;
|
||||||
|
border-radius: 4px;
|
||||||
|
letter-spacing: 0.3px;
|
||||||
|
line-height: 14px;
|
||||||
|
pointer-events: none;
|
||||||
|
white-space: nowrap;
|
||||||
|
box-shadow: 0 1px 4px rgba(0,0,0,0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
body.compact-mode .file-type-badge {
|
||||||
|
font-size: 8px;
|
||||||
|
padding: 1px 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===========================
|
||||||
|
REPO-GRÖSSE BADGE
|
||||||
|
=========================== */
|
||||||
|
.repo-size-badge {
|
||||||
|
font-size: 10px;
|
||||||
|
color: var(--text-muted);
|
||||||
|
margin-top: 4px;
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===========================
|
||||||
|
FAVORITEN DRAG-REORDER
|
||||||
|
=========================== */
|
||||||
|
.fav-chip--dragging {
|
||||||
|
opacity: 0.4;
|
||||||
|
transform: scale(0.95);
|
||||||
|
cursor: grabbing !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-chip--drop-target {
|
||||||
|
border-color: var(--accent-primary) !important;
|
||||||
|
background: rgba(0, 212, 255, 0.12) !important;
|
||||||
|
transform: translateY(-3px);
|
||||||
|
box-shadow: 0 4px 16px rgba(0, 212, 255, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fav-chip[draggable="true"] {
|
||||||
|
cursor: grab;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user