Files
Git-Manager-Gui/renderer/style.css
2026-03-24 21:38:23 +01:00

3704 lines
78 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:root {
/* Moderne Farbpalette */
--bg-primary: #07111f;
--bg-secondary: #0d1729;
--bg-tertiary: #13213a;
--surface: #182742;
--surface-hover: #203250;
--panel: rgba(15, 25, 44, 0.82);
--panel-strong: rgba(19, 33, 58, 0.94);
--panel-soft: rgba(18, 30, 50, 0.62);
--outline: rgba(151, 181, 255, 0.12);
--outline-strong: rgba(110, 188, 255, 0.28);
/* Akzentfarben */
--accent-primary: #58d5ff;
--accent-secondary: #5c87ff;
--accent-gradient: linear-gradient(135deg, #67e8f9 0%, #58a6ff 54%, #5c87ff 100%);
/* Textfarben */
--text-primary: #f5f8ff;
--text-secondary: #aebdd8;
--text-muted: #7083a4;
/* Status Farben */
--success: #22c55e;
--warning: #f59e0b;
--danger: #ef4444;
--info: #3b82f6;
/* Schatten und Effekte */
--shadow-sm: 0 10px 22px rgba(1, 6, 20, 0.16);
--shadow-md: 0 18px 36px rgba(1, 6, 20, 0.24);
--shadow-lg: 0 28px 56px rgba(1, 6, 20, 0.34);
--shadow-glow: 0 0 24px rgba(88, 213, 255, 0.18);
/* Übergänge */
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
/* Abstände */
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 12px;
--spacing-lg: 16px;
--spacing-xl: 24px;
--spacing-2xl: 32px;
/* Border Radius */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 18px;
--radius-xl: 24px;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* ===========================
TITELBALKEN-STREIFEN
=========================== */
#titlebar-strip {
height: 32px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 4px 0 12px;
background: linear-gradient(135deg, rgba(8, 14, 26, 0.98) 0%, rgba(10, 19, 34, 0.98) 100%);
border-bottom: 1px solid rgba(88, 213, 255, 0.14);
-webkit-app-region: drag;
user-select: none;
position: relative;
z-index: 200;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.24);
}
.titlebar-strip-brand {
display: flex;
align-items: center;
gap: 7px;
min-width: 0;
}
.titlebar-strip-icon {
width: 13px;
height: 13px;
object-fit: contain;
opacity: 0.80;
filter: drop-shadow(0 1px 3px rgba(88, 213, 255, 0.25));
flex-shrink: 0;
}
.titlebar-strip-title {
font-size: 11px;
font-weight: 700;
color: rgba(174, 189, 216, 0.68);
letter-spacing: 0.045em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#titlebar-strip .win-controls {
-webkit-app-region: no-drag;
margin-left: auto;
border-radius: 10px;
background: linear-gradient(180deg, rgba(16, 30, 52, 0.96) 0%, rgba(12, 22, 40, 0.98) 100%);
border-color: rgba(151, 181, 255, 0.18);
box-shadow: 0 6px 14px rgba(2, 8, 24, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
#titlebar-strip .win-btn {
width: 18px;
height: 18px;
border-radius: 5px;
}
/* ===========================
WINDOW CONTROLS
=========================== */
.win-controls {
display: inline-flex;
align-items: center;
gap: 1px;
padding: 2px;
border-radius: 8px;
background: linear-gradient(180deg, #0f1b30 0%, #0c1628 100%);
border: 1px solid rgba(151, 181, 255, 0.12);
box-shadow: 0 4px 10px rgba(2, 8, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
flex-shrink: 0;
-webkit-app-region: no-drag;
user-select: none;
}
.win-btn {
width: 20px;
height: 20px;
border-radius: 5px;
border: 1px solid transparent;
background: transparent;
color: #aebdd8;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 80ms ease;
flex-shrink: 0;
}
.win-btn svg {
display: block;
flex-shrink: 0;
}
.win-btn:hover {
color: #f5f8ff;
border-color: rgba(151, 181, 255, 0.18);
background: rgba(255, 255, 255, 0.08);
}
.win-btn--minimize:hover {
background: rgba(88, 213, 255, 0.14);
border-color: rgba(88, 213, 255, 0.28);
color: #58d5ff;
}
.win-btn--maximize:hover {
background: rgba(92, 135, 255, 0.14);
border-color: rgba(92, 135, 255, 0.28);
color: #5c87ff;
}
.win-btn--close:hover {
background: rgba(239, 68, 68, 0.18);
border-color: rgba(239, 68, 68, 0.36);
color: #ef4444;
}
.win-btn:active {
transform: scale(0.88);
}
#toolbar {
-webkit-app-region: no-drag;
}
#toolbar button,
#toolbar select,
#toolbar input,
#toolbar a,
#toolbar .platform-switch,
#toolbar .toolbar-status-wrap,
#toolbar .win-controls {
-webkit-app-region: no-drag;
}
body {
margin: 0;
background: var(--bg-primary);
color: var(--text-primary);
font-family: "Segoe UI Variable Text", "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
overflow: hidden;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#app {
height: 100vh;
display: flex;
flex-direction: column;
background:
radial-gradient(circle at top left, rgba(88, 213, 255, 0.12), transparent 26%),
radial-gradient(circle at top right, rgba(92, 135, 255, 0.16), transparent 34%),
radial-gradient(circle at bottom center, rgba(18, 127, 255, 0.10), transparent 36%),
var(--bg-primary);
position: relative;
border: 1px solid rgba(88, 213, 255, 0.14);
border-radius: 0;
overflow: hidden;
}
#app::before {
content: '';
position: fixed;
inset: 0;
pointer-events: none;
background:
linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 36px 36px;
mask-image: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 80%);
opacity: 0.35;
}
/* ===========================
TOOLBAR
=========================== */
#toolbar {
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px 14px 9px;
background: linear-gradient(135deg, rgba(10, 18, 34, 0.94) 0%, rgba(15, 28, 50, 0.92) 48%, rgba(10, 18, 34, 0.95) 100%);
border-bottom: 2px solid;
border-image: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) 1;
min-height: 78px;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
position: relative;
z-index: 100;
box-shadow: 0 16px 32px rgba(2, 8, 24, 0.32);
transition: all var(--transition-normal);
}
#toolbar::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(ellipse 80% 110% at 12% 0%, rgba(88, 213, 255, 0.14) 0%, transparent 56%), radial-gradient(ellipse 55% 90% at 85% 0%, rgba(92, 135, 255, 0.16) 0%, transparent 60%);
pointer-events: none;
border-radius: inherit;
}
#toolbar::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 1px;
background: var(--accent-gradient);
opacity: 0.3;
}
.tool-group {
display: flex;
gap: 8px;
align-items: center;
position: relative;
z-index: 1;
flex-wrap: wrap;
}
.toolbar-brand {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
position: relative;
z-index: 1;
}
.toolbar-brand-mark {
width: 34px;
height: 34px;
border-radius: 11px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 3px;
background: linear-gradient(135deg, rgba(103, 232, 249, 0.14) 0%, rgba(88, 166, 255, 0.14) 100%);
box-shadow: 0 10px 22px rgba(51, 146, 255, 0.18);
border: 1px solid rgba(103, 232, 249, 0.18);
}
.toolbar-brand-logo {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}
.toolbar-brand-copy {
display: flex;
flex-direction: column;
min-width: 0;
gap: 0;
}
.toolbar-kicker {
display: block;
font-size: 9px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: rgba(174, 189, 216, 0.56);
}
.toolbar-brand-copy strong {
font-size: 14px;
font-weight: 800;
line-height: 1.1;
color: #f6f8ff;
}
.toolbar-top-actions {
min-width: 0;
flex: 1;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
}
.tool-group:not(:last-child)::after {
content: none;
}
.toolbar-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
position: relative;
z-index: 1;
}
.toolbar-row--bottom {
align-items: center;
justify-content: flex-start;
padding-top: 0;
}
.tool-group--utility,
.tool-group--workspace,
.tool-group--repo {
padding: 0;
border-radius: 0;
background: transparent;
border: none;
box-shadow: none;
}
.tool-group--workspace,
.tool-group--repo {
gap: 8px;
}
.tool-group--quick-actions {
gap: 8px;
}
.tool-group--repo {
margin-left: auto;
}
.tool-group-title {
display: none;
}
.toolbar-status-wrap {
min-width: 0;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
max-width: 250px;
}
.status-dot {
width: 8px;
height: 8px;
flex: 0 0 auto;
border-radius: 999px;
background: #4ade80;
box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12), 0 0 12px rgba(74, 222, 128, 0.32);
}
/* ===========================
BUTTONS - VEREINHEITLICHT
=========================== */
#toolbar button,
#toolbar select {
background: linear-gradient(180deg, rgba(34, 48, 79, 0.92) 0%, rgba(25, 36, 63, 0.96) 100%);
color: var(--text-primary);
border: 1px solid var(--outline);
height: 32px;
min-width: 0;
padding: 0 12px;
border-radius: 10px;
cursor: pointer;
font-weight: 700;
font-size: 11px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
transition: all var(--transition-normal);
position: relative;
overflow: hidden;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 8px 18px rgba(2, 8, 24, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.platform-switch {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px;
border-radius: 11px;
background: linear-gradient(180deg, rgba(15, 27, 48, 0.98) 0%, rgba(12, 22, 40, 0.96) 100%);
border: 1px solid var(--outline);
box-shadow: 0 8px 18px rgba(2, 8, 24, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.platform-option {
min-width: 78px;
}
#toolbar .platform-option {
height: 26px;
padding: 0 12px;
border-radius: 8px;
border-color: transparent;
background: transparent;
box-shadow: none;
}
#toolbar .platform-option::before,
#toolbar .platform-option::after {
content: none;
}
#toolbar .platform-option:hover {
transform: none;
border-color: rgba(99, 230, 255, 0.18);
background: rgba(99, 230, 255, 0.08);
box-shadow: none;
}
#toolbar .platform-option.active {
color: #03131a;
background: linear-gradient(135deg, #67e8f9 0%, #58a6ff 100%);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
text-shadow: none;
}
#toolbar button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
transition: left var(--transition-slow);
z-index: 1;
}
#toolbar button::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
pointer-events: none;
}
#toolbar button:hover {
background: linear-gradient(135deg, rgba(56, 119, 235, 0.76) 0%, rgba(83, 132, 255, 0.62) 100%);
border-color: var(--accent-primary);
transform: translateY(-1px);
box-shadow: 0 6px 14px rgba(0, 212, 255, 0.14),
inset 0 1px 0 rgba(255, 255, 255, 0.15),
0 0 12px rgba(0, 212, 255, 0.1);
}
#toolbar button:hover::before {
left: 100%;
}
#toolbar button:active {
transform: translateY(0);
box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
#toolbar button:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2),
0 8px 24px rgba(0, 212, 255, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
#toolbar button.hidden {
display: none;
}
#toolbar select {
background: linear-gradient(180deg, rgba(15, 27, 48, 0.98) 0%, rgba(12, 22, 40, 0.96) 100%);
border: 1px solid var(--outline);
cursor: pointer;
padding: 0 12px;
min-width: 124px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
#toolbar select:hover {
border-color: var(--accent-primary);
background: linear-gradient(135deg, rgba(45, 45, 74, 0.9) 0%, rgba(54, 54, 86, 0.8) 100%);
box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}
#toolbar select option {
color: var(--text-primary);
background: #1b2140;
}
#toolbar select option:checked,
#toolbar select option:hover {
color: var(--text-primary);
background: #2d4ea4;
}
#toolbar select:focus {
outline: none;
border-color: var(--accent-primary);
box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15),
0 8px 24px rgba(0, 212, 255, 0.15);
}
/* ===========================
STATUS
=========================== */
.status {
color: #dbe5ff;
font-size: 11px;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: min(180px, 100%);
max-width: 100%;
padding: 7px 10px;
background: linear-gradient(180deg, rgba(18, 31, 56, 0.92) 0%, rgba(12, 23, 42, 0.96) 100%);
border-radius: 11px;
border: 1px solid rgba(88, 213, 255, 0.18);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
transition: all var(--transition-normal);
text-align: left;
}
.status:hover {
border-color: rgba(0, 212, 255, 0.4);
box-shadow: 0 6px 16px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
#btnSettings,
#btnBatchActions,
#btnOpenActivityLog,
#btnRetryQueueNow,
#btnBack {
min-width: 88px;
}
#btnOpenRepoActions,
#btnPush {
min-width: 92px;
}
#btnSelectFolder,
#btnLoadGiteaRepos,
#btnCommits,
#btnReleases {
min-width: 92px;
}
#toolbar .accent-btn {
color: #03131a;
border-color: rgba(103, 232, 249, 0.42);
background: linear-gradient(135deg, #67e8f9 0%, #58a6ff 50%, #5c87ff 100%);
text-shadow: none;
box-shadow: 0 14px 28px rgba(44, 184, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
#toolbar .accent-btn:hover {
background: linear-gradient(135deg, #a5f3fc 0%, #74b9ff 48%, #7c99ff 100%);
border-color: rgba(255, 255, 255, 0.55);
box-shadow: 0 18px 30px rgba(44, 184, 255, 0.34), 0 0 24px rgba(99, 230, 255, 0.18);
}
#toolbar button.secondary {
background: linear-gradient(135deg, rgba(28, 33, 56, 0.76) 0%, rgba(19, 24, 46, 0.92) 100%);
color: rgba(240, 240, 245, 0.82);
}
#btnRetryQueueNow {
border-color: rgba(245, 158, 11, 0.24);
}
#btnBack {
border-color: rgba(255, 255, 255, 0.08);
}
@media (max-width: 1180px) {
#toolbar {
min-height: unset;
}
.titlebar-strip-title {
max-width: 240px;
}
.toolbar-row {
flex-direction: column;
align-items: stretch;
}
.toolbar-top-actions {
justify-content: stretch;
flex-direction: column;
align-items: stretch;
}
.toolbar-brand-copy strong {
font-size: 18px;
}
.toolbar-status-wrap {
justify-content: stretch;
max-width: none;
}
.status {
width: 100%;
text-align: left;
}
}
@media (max-width: 760px) {
#titlebar-strip {
padding-left: 8px;
}
.titlebar-strip-title {
display: none;
}
}
/* ===========================
MAIN CONTENT
=========================== */
#main {
flex: 1;
min-height: 0;
min-width: 0;
padding: var(--spacing-xl);
overflow-y: auto;
overflow-x: hidden;
transition: background var(--transition-normal), border var(--transition-normal);
border-radius: 28px;
margin: 16px;
position: relative;
background: linear-gradient(180deg, rgba(10, 20, 36, 0.78) 0%, rgba(13, 23, 40, 0.62) 100%);
border: 1px solid rgba(140, 173, 255, 0.08);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 40px rgba(0,0,0,0.18);
}
#main::after {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
border-radius: inherit;
background: radial-gradient(circle at top right, rgba(88, 213, 255, 0.08), transparent 26%);
}
.content-area {
display: flex;
flex-direction: row;
flex: 1;
min-height: 0;
overflow: hidden;
}
.fav-history-sidebar {
width: 0;
flex-shrink: 0;
overflow: hidden;
opacity: 0;
transition: width 220ms cubic-bezier(0.4, 0, 0.2, 1),
opacity 180ms cubic-bezier(0.4, 0, 0.2, 1),
margin 220ms cubic-bezier(0.4, 0, 0.2, 1);
margin: 0;
align-self: stretch;
display: flex;
flex-direction: column;
}
.fav-history-sidebar.visible {
width: 220px;
opacity: 1;
margin: 16px 0 16px 16px;
}
.fav-history-sidebar-inner {
padding: 10px 8px;
border-radius: 14px;
border: 1px solid rgba(88, 213, 255, 0.18);
background: linear-gradient(180deg, rgba(8, 18, 35, 0.9) 0%, rgba(7, 15, 30, 0.94) 100%);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 24px rgba(0, 0, 0, 0.22);
overflow: hidden;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.fav-history-switch {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
margin-bottom: 10px;
}
.fav-history-tab {
height: 28px;
border-radius: 8px;
border: 1px solid rgba(151, 181, 255, 0.14);
background: rgba(255, 255, 255, 0.03);
color: rgba(174, 189, 216, 0.88);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.03em;
cursor: pointer;
transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.fav-history-tab:hover {
border-color: rgba(88, 213, 255, 0.34);
color: var(--text-primary);
}
.fav-history-tab.active {
color: #03131a;
border-color: rgba(103, 232, 249, 0.62);
background: linear-gradient(135deg, #67e8f9 0%, #58a6ff 100%);
}
.fav-history-list {
display: flex;
flex-direction: column;
gap: 6px;
max-height: calc(100vh - 270px);
overflow: auto;
padding-right: 2px;
}
.fav-history-list::-webkit-scrollbar {
width: 7px;
}
.fav-history-list::-webkit-scrollbar-thumb {
background: rgba(112, 131, 164, 0.4);
border-radius: 8px;
}
.fav-history-item {
display: flex;
flex-direction: column;
gap: 2px;
width: 100%;
text-align: left;
border: 1px solid rgba(151, 181, 255, 0.08);
border-radius: 9px;
background: rgba(16, 28, 48, 0.72);
color: var(--text-primary);
padding: 8px 9px;
cursor: pointer;
transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}
.fav-history-item:hover {
border-color: rgba(88, 213, 255, 0.34);
background: rgba(19, 34, 58, 0.88);
transform: translateY(-1px);
}
.fav-history-item-name {
font-size: 12px;
font-weight: 700;
line-height: 1.3;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fav-history-item-meta {
font-size: 10px;
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fav-history-empty {
margin-top: 8px;
padding: 10px;
border-radius: 9px;
border: 1px dashed rgba(151, 181, 255, 0.2);
color: var(--text-muted);
font-size: 11px;
text-align: center;
}
@media (max-width: 1180px) {
.fav-history-sidebar.visible {
width: 180px;
margin: 12px 0 12px 12px;
}
.fav-history-list {
max-height: 180px;
}
}
/* Global Drop Zone Indicator */
#main.drop-active {
background: rgba(88, 213, 255, 0.06);
border: 2px dashed var(--accent-primary);
}
#main.drop-active::before {
content: '📁 Dateien hier ablegen zum Hochladen';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 24px;
font-weight: 700;
color: var(--accent-primary);
background: var(--bg-secondary);
padding: var(--spacing-2xl) var(--spacing-2xl);
border-radius: var(--radius-lg);
border: 2px solid var(--accent-primary);
box-shadow: var(--shadow-glow);
pointer-events: none;
z-index: 999;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
50% {
transform: translate(-50%, -50%) scale(1.05);
opacity: 0.8;
}
}
/* Custom Scrollbar */
#main::-webkit-scrollbar {
width: 10px;
}
#main::-webkit-scrollbar-track {
background: var(--bg-primary);
}
#main::-webkit-scrollbar-thumb {
background: var(--surface);
border-radius: 5px;
border: 2px solid var(--bg-primary);
}
#main::-webkit-scrollbar-thumb:hover {
background: var(--surface-hover);
}
/* ===========================
EXPLORER GRID
=========================== */
.explorer-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 18px;
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 {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ===========================
ITEM CARDS
=========================== */
.item-card {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 22px 18px;
border-radius: 22px;
cursor: pointer;
transition: all var(--transition-normal);
border: 1px solid rgba(140, 173, 255, 0.10);
background: linear-gradient(180deg, rgba(20, 33, 56, 0.92) 0%, rgba(14, 25, 42, 0.96) 100%);
position: relative;
overflow: hidden;
box-shadow: 0 14px 30px rgba(2, 8, 24, 0.18);
}
.item-card::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 34%);
opacity: 1;
}
.item-card::after {
content: '';
position: absolute;
inset: auto 16px 0 16px;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(88,213,255,0.22), transparent);
}
.item-card:hover::before {
opacity: 1;
}
.item-card:hover {
background: linear-gradient(180deg, rgba(24, 40, 68, 0.96) 0%, rgba(16, 29, 50, 0.98) 100%);
border-color: rgba(88, 213, 255, 0.34);
transform: translateY(-6px) scale(1.015);
box-shadow: 0 24px 42px rgba(2, 8, 24, 0.28), 0 0 0 1px rgba(88, 213, 255, 0.12), var(--shadow-glow);
}
.item-card:active {
transform: translateY(-2px) scale(1.01);
}
.item-card.drag-target {
border-color: var(--success);
background: rgba(34, 197, 94, 0.1);
transform: scale(1.05);
box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}
/* Mehrfachauswahl */
.item-card.selected {
border-color: var(--accent-primary);
background: linear-gradient(180deg, rgba(19, 44, 72, 0.94) 0%, rgba(14, 32, 54, 0.98) 100%);
box-shadow: 0 0 0 1px rgba(88, 213, 255, 0.38), 0 18px 36px rgba(0, 0, 0, 0.22);
}
.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 {
font-size: 52px;
margin-bottom: 14px;
filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.24));
transition: transform var(--transition-normal);
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.item-card:hover .item-icon {
transform: translateY(-2px) scale(1.08) rotate(-4deg);
}
.item-name {
font-size: 13px;
font-weight: 700;
word-break: break-word;
color: var(--text-primary);
line-height: 1.4;
max-width: 100%;
transition: color var(--transition-fast);
}
.item-card:hover .item-name {
color: var(--accent-primary);
}
/* ===========================
MODALS
=========================== */
.modal {
position: fixed;
inset: 0;
background: rgba(3, 8, 20, 0.62);
backdrop-filter: blur(10px);
display: flex;
align-items: flex-start;
justify-content: center;
z-index: 1000;
animation: fadeIn var(--transition-normal) ease-out;
pointer-events: auto;
overflow-y: auto;
padding: 24px 0;
}
.modal .modalContent {
max-height: none;
margin: auto;
}
#settingsModal {
align-items: center;
padding: 20px;
}
/* Custom Scrollbar Modals */
.modal::-webkit-scrollbar {
width: 8px;
}
.modal::-webkit-scrollbar-track {
background: rgba(7, 17, 31, 0.6);
border-radius: 8px;
}
.modal::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, rgba(88, 213, 255, 0.28) 0%, rgba(92, 135, 255, 0.22) 100%);
border-radius: 8px;
border: 2px solid rgba(7, 17, 31, 0.6);
}
.modal::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, rgba(88, 213, 255, 0.52) 0%, rgba(92, 135, 255, 0.46) 100%);
}
.modal.hidden {
display: none !important;
pointer-events: none;
}
.hidden {
display: none !important;
}
.card {
background: linear-gradient(180deg, rgba(15, 25, 44, 0.96) 0%, rgba(11, 20, 35, 0.98) 100%);
padding: var(--spacing-2xl);
border-radius: var(--radius-xl);
width: 640px;
max-width: 92vw;
box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
border: 1px solid rgba(140, 173, 255, 0.14);
animation: slideUp var(--transition-normal) ease-out;
position: relative;
}
.card::before {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
border-radius: inherit;
background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 22%);
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.card h2 {
margin-bottom: var(--spacing-xl);
color: var(--text-primary);
font-size: 24px;
font-weight: 700;
background: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ===========================
FORM ELEMENTS
=========================== */
.input-group {
margin-bottom: 18px;
}
.input-group--wide {
margin-bottom: 0;
}
.input-group label {
display: block;
margin-bottom: var(--spacing-sm);
font-size: 13px;
font-weight: 600;
color: #c2d0ea;
text-transform: uppercase;
letter-spacing: 0.5px;
}
input,
select {
width: 100%;
padding: var(--spacing-md) var(--spacing-lg);
border-radius: var(--radius-md);
border: 1px solid var(--outline);
background: linear-gradient(180deg, rgba(19, 32, 54, 0.96) 0%, rgba(14, 25, 42, 0.98) 100%);
color: var(--text-primary);
font-size: 14px;
transition: all var(--transition-normal);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
textarea {
width: 100%;
min-height: 110px;
padding: var(--spacing-md) var(--spacing-lg);
border-radius: var(--radius-md);
border: 1px solid var(--outline);
background: linear-gradient(180deg, rgba(19, 32, 54, 0.96) 0%, rgba(14, 25, 42, 0.98) 100%);
color: var(--text-primary);
font-size: 14px;
resize: vertical;
transition: all var(--transition-normal);
}
input:focus,
select:focus,
textarea:focus {
outline: none;
border-color: var(--accent-primary);
background: linear-gradient(180deg, rgba(23, 40, 68, 0.98) 0%, rgba(17, 31, 52, 1) 100%);
box-shadow: 0 0 0 3px rgba(88, 213, 255, 0.12), 0 10px 24px rgba(0,0,0,0.12);
}
input::placeholder {
color: var(--text-muted);
}
/* Native Dropdown-Listen in Modals im Dark-Theme halten (Windows/Electron) */
#repoActionModal select,
#batchActionModal select,
#activityLogModal select {
appearance: auto;
color-scheme: dark;
}
#repoActionModal select option,
#batchActionModal select option,
#activityLogModal select option {
background: #1a2233;
color: var(--text-primary);
}
#repoActionModal select option:checked,
#batchActionModal select option:checked,
#activityLogModal select option:checked {
background: #2d4ea4;
color: #ffffff;
}
input[type="checkbox"] {
width: auto;
margin-right: var(--spacing-sm);
cursor: pointer;
accent-color: var(--accent-primary);
}
/* ===========================
MODAL BUTTONS - VEREINHEITLICHT
=========================== */
.modal-buttons {
display: flex;
gap: var(--spacing-md);
margin-top: var(--spacing-xl);
}
.modal-buttons button {
flex: 1;
height: 42px;
border-radius: var(--radius-md);
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: all var(--transition-normal);
border: 1px solid var(--outline);
background: linear-gradient(180deg, rgba(30, 45, 73, 0.9) 0%, rgba(20, 31, 52, 0.95) 100%);
color: var(--text-primary);
box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.modal-buttons button:hover {
background: linear-gradient(180deg, rgba(37, 57, 90, 0.94) 0%, rgba(26, 40, 66, 0.98) 100%);
border-color: var(--accent-primary);
transform: translateY(-1px);
box-shadow: var(--shadow-md);
}
.modal-buttons button:active {
transform: translateY(0);
}
.modal-buttons button.accent-btn {
background: linear-gradient(135deg, rgba(88, 213, 255, 0.24) 0%, rgba(92, 135, 255, 0.2) 100%);
border-color: var(--accent-primary);
color: var(--accent-primary);
font-weight: 700;
}
.modal-buttons button.accent-btn:hover {
background: linear-gradient(135deg, rgba(88, 213, 255, 0.38) 0%, rgba(92, 135, 255, 0.32) 100%);
box-shadow: 0 0 20px rgba(88, 213, 255, 0.22);
}
.modal-buttons button.secondary {
background: rgba(255, 255, 255, 0.05);
border-color: rgba(255, 255, 255, 0.2);
}
.modal-buttons button.secondary:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.3);
}
#btnTestGiteaConnection {
margin-top: 10px;
min-height: 40px;
border-radius: var(--radius-md);
padding: 0 14px;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.2px;
cursor: pointer;
border: 1px solid rgba(255, 255, 255, 0.16);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 212, 255, 0.08) 100%);
color: var(--text-primary);
transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}
#btnTestGiteaConnection:hover {
transform: translateY(-1px);
border-color: var(--accent-primary);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 212, 255, 0.14) 100%);
box-shadow: var(--shadow-md);
}
#btnTestGiteaConnection:active {
transform: translateY(0);
}
#btnTestGiteaConnection:focus-visible {
outline: none;
box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}
.settings-modal-content {
position: relative;
width: min(1080px, calc(100vw - 40px));
max-width: 1080px;
padding: 18px 20px;
}
.settings-watermark-btn {
position: absolute;
top: 10px;
right: 14px;
width: 28px;
height: 28px;
border: 1px solid rgba(88, 213, 255, 0.26);
border-radius: 999px;
background: linear-gradient(180deg, rgba(11, 23, 40, 0.94), rgba(9, 18, 31, 0.98));
color: #8fdcff;
font-size: 14px;
font-weight: 800;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
z-index: 6;
}
.settings-watermark-btn:hover {
transform: translateY(-1px);
border-color: rgba(88, 213, 255, 0.62);
color: #d6f3ff;
box-shadow: 0 8px 18px rgba(17, 124, 255, 0.24);
}
.settings-watermark-card {
position: absolute;
top: 44px;
right: 14px;
width: min(320px, calc(100vw - 90px));
padding: 12px 14px;
border-radius: var(--radius-md);
border: 1px solid rgba(120, 170, 255, 0.26);
background:
linear-gradient(180deg, rgba(15, 29, 50, 0.98), rgba(10, 19, 34, 0.99));
box-shadow: 0 20px 34px rgba(0, 0, 0, 0.34);
z-index: 5;
}
.settings-watermark-card h4 {
margin: 0 0 10px;
color: var(--text-primary);
font-size: 13px;
font-weight: 700;
}
.settings-watermark-row {
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
align-items: baseline;
gap: 8px;
padding: 3px 0;
font-size: 12px;
color: var(--text-secondary);
}
.settings-watermark-row span {
color: var(--text-muted);
}
.settings-watermark-row strong {
color: var(--text-primary);
font-weight: 600;
}
.settings-watermark-row a {
color: #8fdcff;
text-decoration: none;
}
.settings-watermark-row a:hover {
text-decoration: underline;
}
.settings-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
margin-bottom: 14px;
}
.settings-eyebrow {
display: inline-flex;
align-items: center;
min-height: 24px;
padding: 0 10px;
margin-bottom: 8px;
border-radius: 999px;
border: 1px solid rgba(88, 213, 255, 0.22);
background: rgba(88, 213, 255, 0.08);
color: var(--accent-primary);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.settings-header h2 {
margin-bottom: 4px;
}
.settings-subtitle {
max-width: 760px;
color: var(--text-secondary);
font-size: 13px;
line-height: 1.45;
}
.settings-layout {
display: grid;
grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
column-gap: 12px;
align-items: start;
}
.settings-column {
display: grid;
gap: 16px;
align-content: start;
}
.settings-panel {
position: relative;
padding: 14px;
overflow: hidden;
isolation: isolate;
border-radius: var(--radius-lg);
border: 1px solid rgba(143, 170, 229, 0.12);
background:
linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
linear-gradient(180deg, rgba(14, 24, 42, 0.92), rgba(10, 19, 33, 0.98));
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 22px rgba(0,0,0,0.16);
}
.settings-panel::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
background: linear-gradient(180deg, rgba(88, 213, 255, 0.06), transparent 30%);
}
.settings-panel > * {
position: relative;
z-index: 1;
}
.settings-panel-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
.settings-panel-header h3 {
margin: 0 0 4px;
color: var(--text-primary);
font-size: 16px;
font-weight: 700;
}
.settings-panel-header p {
margin: 0;
color: var(--text-secondary);
font-size: 11px;
line-height: 1.35;
}
.settings-fields-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-bottom: 10px;
}
.settings-connection-tools {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
margin-top: 8px;
}
.settings-toggle-list {
display: grid;
gap: 8px;
}
.settings-version-card {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: end;
}
.settings-version-field {
margin: 0;
}
.settings-readonly-input {
background: rgba(255,255,255,0.05);
color: var(--text-secondary);
cursor: default;
}
.settings-update-btn {
min-width: 210px;
height: 42px;
padding: 0 16px;
border-radius: var(--radius-md);
border: 1px solid rgba(88, 213, 255, 0.3);
background: linear-gradient(135deg, rgba(88, 213, 255, 0.94), rgba(92, 135, 255, 0.9));
color: #08111f;
font-size: 13px;
font-weight: 800;
letter-spacing: 0.01em;
cursor: pointer;
transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-normal);
box-shadow: 0 16px 28px rgba(24, 136, 255, 0.26);
}
.settings-update-btn:hover {
transform: translateY(-1px);
filter: brightness(1.04);
box-shadow: 0 20px 30px rgba(24, 136, 255, 0.32);
}
.settings-update-btn:active {
transform: translateY(0);
}
.settings-modal-actions {
margin-top: 12px;
}
.batch-textarea {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
line-height: 1.4;
}
.batch-inline-row {
display: grid;
grid-template-columns: 1fr auto;
gap: 10px;
}
.activity-toolbar {
display: flex;
gap: 10px;
align-items: center;
margin-bottom: 10px;
}
.activity-toolbar select {
width: 140px;
height: 36px;
padding: 0 10px;
border-radius: var(--radius-md);
border: 1px solid rgba(255, 255, 255, 0.18);
background: rgba(255, 255, 255, 0.06);
color: var(--text-primary);
font-size: 13px;
font-weight: 500;
cursor: pointer;
appearance: auto;
color-scheme: dark;
transition: background 0.15s, border-color 0.15s;
}
.activity-toolbar select:hover {
background: rgba(255, 255, 255, 0.10);
border-color: rgba(255, 255, 255, 0.28);
}
.activity-toolbar select:focus {
outline: none;
border-color: rgba(88, 213, 255, 0.5);
}
.activity-toolbar select option {
background: #1a1f2e;
color: var(--text-primary);
}
.activity-toolbar button {
height: 36px;
padding: 0 14px;
border-radius: var(--radius-md);
border: 1px solid rgba(255, 255, 255, 0.18);
background: rgba(255, 255, 255, 0.06);
color: var(--text-primary);
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: background 0.15s, border-color 0.15s;
white-space: nowrap;
}
.activity-toolbar button:hover {
background: rgba(255, 255, 255, 0.12);
border-color: rgba(255, 255, 255, 0.3);
}
.activity-queue-info {
color: var(--text-secondary);
font-size: 12px;
margin-bottom: 10px;
}
.activity-log-list {
max-height: 360px;
overflow-y: auto;
border: 1px solid var(--outline);
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.025);
padding: 10px;
display: flex;
flex-direction: column;
gap: 8px;
}
.activity-log-item {
padding: 9px 10px;
border-radius: 12px;
border-left: 3px solid rgba(255, 255, 255, 0.2);
background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}
.activity-log-item.info {
border-left-color: #00d4ff;
}
.activity-log-item.warning {
border-left-color: #f59e0b;
}
.activity-log-item.error {
border-left-color: #ef4444;
}
.activity-log-time {
color: var(--text-muted);
font-size: 11px;
margin-right: 6px;
}
.activity-log-level {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.4px;
margin-right: 6px;
}
.activity-log-message {
color: var(--text-primary);
font-size: 13px;
}
/* ===========================
CONTEXT MENU
=========================== */
.context-menu {
position: fixed;
background: linear-gradient(180deg, rgba(15, 25, 44, 0.98) 0%, rgba(11, 20, 35, 0.98) 100%);
border: 1px solid var(--outline);
padding: var(--spacing-sm);
border-radius: var(--radius-md);
z-index: 10000;
min-width: 200px;
box-shadow: 0 18px 38px rgba(0,0,0,0.28);
animation: fadeIn var(--transition-fast) ease-out;
}
.context-item {
padding: var(--spacing-md) var(--spacing-lg);
cursor: pointer;
color: var(--text-primary);
font-size: 13px;
font-weight: 500;
border-radius: var(--radius-sm);
transition: all var(--transition-fast);
display: flex;
align-items: center;
gap: var(--spacing-sm);
}
.context-item:hover {
background: var(--accent-gradient);
color: #000;
transform: translateX(4px);
}
.repo-search-top {
display: flex;
gap: 10px;
align-items: center;
}
.repo-search-input {
flex: 1;
}
.repo-search-clear {
min-width: 34px;
height: 34px;
padding: 0;
appearance: none;
border: 1px solid rgba(255, 255, 255, 0.16);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
color: var(--text-secondary);
font-size: 16px;
font-weight: 500;
line-height: 1;
cursor: pointer;
border-radius: var(--radius-md);
display: inline-flex;
align-items: center;
justify-content: center;
transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}
.repo-search-clear:hover {
border-color: rgba(88, 213, 255, 0.45);
background: linear-gradient(180deg, rgba(88, 213, 255, 0.18) 0%, rgba(88, 213, 255, 0.10) 100%);
color: #d9f7ff;
transform: translateY(-1px);
}
.repo-search-clear:active {
transform: translateY(0);
}
.repo-search-clear:focus {
outline: none;
}
.repo-search-clear:focus-visible {
border-color: rgba(88, 213, 255, 0.55);
box-shadow: 0 0 0 3px rgba(88, 213, 255, 0.2);
}
.repo-search-meta {
margin-top: 8px;
font-size: 12px;
color: var(--text-muted);
}
.activity-heatmap-card {
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: var(--radius-lg);
background:
radial-gradient(120% 180% at 90% -40%, rgba(88, 213, 255, 0.12), transparent 48%),
linear-gradient(180deg, rgba(20, 28, 42, 0.92), rgba(13, 18, 30, 0.94));
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
overflow: hidden;
}
.activity-heatmap-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 14px;
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.activity-heatmap-header strong {
font-size: 13px;
color: var(--text-primary);
letter-spacing: 0.02em;
}
.activity-heatmap-controls {
display: inline-flex;
align-items: center;
gap: 8px;
}
.activity-heatmap-range-chip {
min-height: 24px;
padding: 0 8px;
border-radius: 999px;
border: 1px solid rgba(130, 162, 218, 0.2);
background: rgba(17, 29, 49, 0.78);
color: var(--text-secondary);
font-size: 11px;
cursor: pointer;
transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.activity-heatmap-range-chip:hover {
border-color: rgba(88, 213, 255, 0.38);
color: #d9ecff;
}
.activity-heatmap-range-chip.active {
border-color: rgba(88, 213, 255, 0.55);
background: linear-gradient(180deg, rgba(38, 62, 97, 0.92), rgba(23, 39, 66, 0.98));
color: #f2f8ff;
}
.activity-heatmap-range-chip.static {
cursor: default;
pointer-events: none;
}
.activity-heatmap-toggle {
min-height: 28px;
padding: 0 10px;
font-size: 12px;
border-radius: 8px;
border: 1px solid rgba(130, 162, 218, 0.28);
background: linear-gradient(180deg, rgba(28, 41, 66, 0.96), rgba(18, 28, 48, 0.98));
color: #d2ddf2;
cursor: pointer;
transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 120ms ease;
appearance: none;
}
.activity-heatmap-toggle:hover {
border-color: rgba(88, 213, 255, 0.42);
background: linear-gradient(180deg, rgba(34, 52, 82, 0.96), rgba(20, 33, 57, 0.98));
color: #f2f7ff;
transform: translateY(-1px);
}
.activity-heatmap-toggle:focus {
outline: none;
}
.activity-heatmap-toggle:focus-visible {
border-color: rgba(88, 213, 255, 0.6);
box-shadow: 0 0 0 3px rgba(88, 213, 255, 0.2);
}
.activity-heatmap-body {
--hm-weeks: 53;
--hm-cell-size: 10px;
--hm-week-gap: 2px;
--hm-weekday-col: 22px;
--hm-grid-gap: 8px;
padding: 10px 12px 12px;
display: grid;
gap: 8px;
}
.activity-heatmap-card.collapsed .activity-heatmap-body {
display: none;
}
.confirm-modal .confirm-modal-content {
max-width: 460px;
border: 1px solid rgba(88, 213, 255, 0.22);
background:
linear-gradient(180deg, rgba(16, 29, 51, 0.96), rgba(10, 19, 34, 0.98));
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
}
.confirm-modal-title {
margin: 0;
font-size: 20px;
}
.confirm-modal-message {
margin: 10px 0 0;
color: var(--text-secondary);
line-height: 1.5;
}
.confirm-modal-buttons {
margin-top: 18px;
}
.confirm-modal-btn {
min-height: 40px;
border-radius: var(--radius-md);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.1px;
}
.confirm-modal-btn--primary {
border: 1px solid rgba(88, 213, 255, 0.34);
background: linear-gradient(135deg, rgba(88, 213, 255, 0.22), rgba(92, 135, 255, 0.2));
color: #b9f2ff;
}
.confirm-modal-btn--primary:hover {
border-color: rgba(88, 213, 255, 0.6);
background: linear-gradient(135deg, rgba(88, 213, 255, 0.34), rgba(92, 135, 255, 0.3));
}
.confirm-modal-btn--danger {
border: 1px solid rgba(239, 68, 68, 0.45);
background: linear-gradient(180deg, rgba(62, 22, 22, 0.92), rgba(42, 14, 14, 0.96));
color: #ffc1c1;
}
.confirm-modal-btn--danger:hover {
border-color: rgba(239, 68, 68, 0.72);
background: linear-gradient(180deg, rgba(82, 28, 28, 0.95), rgba(54, 18, 18, 0.98));
color: #ffe0e0;
}
.confirm-modal-btn--secondary {
border: 1px solid rgba(255, 255, 255, 0.24);
background: rgba(255, 255, 255, 0.06);
color: var(--text-primary);
}
.confirm-modal-btn--secondary:hover {
border-color: rgba(255, 255, 255, 0.4);
background: rgba(255, 255, 255, 0.12);
}
.activity-heatmap-months {
margin-left: calc(var(--hm-weekday-col) + var(--hm-grid-gap));
width: max-content;
display: grid;
grid-template-columns: repeat(var(--hm-weeks), var(--hm-cell-size));
column-gap: var(--hm-week-gap);
color: var(--text-muted);
font-size: 10px;
line-height: 1;
user-select: none;
}
.activity-heatmap-grid-wrap {
display: flex;
gap: var(--hm-grid-gap);
align-items: flex-start;
overflow-x: auto;
padding-bottom: 2px;
}
.activity-heatmap-weekdays {
width: var(--hm-weekday-col);
display: grid;
grid-template-rows: repeat(7, var(--hm-cell-size));
gap: var(--hm-week-gap);
color: var(--text-muted);
font-size: 9px;
line-height: 1;
user-select: none;
}
.activity-heatmap-grid {
display: grid;
grid-template-columns: repeat(var(--hm-weeks), var(--hm-cell-size));
column-gap: var(--hm-week-gap);
flex: 0 0 auto;
min-width: auto;
}
.activity-heatmap-week {
display: grid;
grid-template-rows: repeat(7, var(--hm-cell-size));
gap: var(--hm-week-gap);
}
.activity-heatmap-cell {
width: var(--hm-cell-size);
height: var(--hm-cell-size);
border-radius: 2px;
display: inline-block;
border: 1px solid rgba(255, 255, 255, 0.06);
box-sizing: border-box;
}
.activity-heatmap-cell.lv0 {
background: rgba(255, 255, 255, 0.06);
}
.activity-heatmap-cell.lv1 {
background: rgba(66, 192, 122, 0.35);
}
.activity-heatmap-cell.lv2 {
background: rgba(66, 192, 122, 0.58);
}
.activity-heatmap-cell.lv3 {
background: rgba(66, 192, 122, 0.78);
}
.activity-heatmap-cell.lv4 {
background: rgba(66, 192, 122, 0.98);
}
.activity-heatmap-cell.out {
opacity: 0.24;
}
.activity-heatmap-footer {
margin-top: 0;
display: flex;
justify-content: flex-start;
gap: 12px;
align-items: center;
flex-wrap: wrap;
color: var(--text-muted);
font-size: 10px;
}
.activity-heatmap-legend {
display: inline-flex;
align-items: center;
gap: 5px;
}
.activity-heatmap-legend .activity-heatmap-cell {
width: 10px;
height: 10px;
}
@media (max-width: 768px) {
.activity-heatmap-body {
--hm-cell-size: 9px;
--hm-week-gap: 2px;
--hm-grid-gap: 6px;
--hm-weekday-col: 20px;
padding: 8px;
}
.activity-heatmap-weekdays {
font-size: 9px;
}
.activity-heatmap-grid {
min-width: auto;
}
.activity-heatmap-cell {
border-radius: 1px;
}
}
/* ===========================
PROGRESS BAR (falls verwendet)
=========================== */
progress {
width: 100%;
height: 8px;
border: none;
border-radius: var(--radius-sm);
overflow: hidden;
background: var(--bg-tertiary);
}
progress::-webkit-progress-bar {
background: var(--bg-tertiary);
border-radius: var(--radius-sm);
}
progress::-webkit-progress-value {
background: var(--accent-gradient);
border-radius: var(--radius-sm);
transition: width var(--transition-normal);
}
progress::-moz-progress-bar {
background: var(--accent-gradient);
border-radius: var(--radius-sm);
}
/* ===========================
RESPONSIVE DESIGN
=========================== */
@media (max-width: 768px) {
#toolbar {
padding: 14px;
}
.tool-group {
width: 100%;
justify-content: flex-start;
}
.tool-group-title {
width: 100%;
justify-content: flex-start;
}
.toolbar-brand {
align-items: flex-start;
}
.toolbar-brand-mark {
width: 42px;
height: 42px;
}
.toolbar-status-wrap {
width: 100%;
}
.explorer-grid {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: var(--spacing-md);
}
.card {
width: 100%;
padding: var(--spacing-xl);
}
.status {
width: 100%;
max-width: 100%;
margin: 0;
}
}
/* ===========================
UTILITY CLASSES
=========================== */
.text-center {
text-align: center;
}
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
/* ===========================
RELEASE CARDS
=========================== */
.release-card {
background: linear-gradient(180deg, rgba(20, 33, 56, 0.94) 0%, rgba(14, 25, 42, 0.98) 100%);
border: 1px solid var(--outline);
border-radius: var(--radius-lg);
padding: var(--spacing-xl);
transition: all var(--transition-normal);
box-shadow: 0 14px 28px rgba(2,8,24,0.16);
}
.release-card:hover {
border-color: var(--outline-strong);
box-shadow: 0 20px 36px rgba(2,8,24,0.24);
}
.release-header {
display: flex;
gap: var(--spacing-md);
align-items: center;
margin-bottom: var(--spacing-md);
flex-wrap: wrap;
}
.release-tag {
background: var(--accent-gradient);
color: #000;
padding: 6px 16px;
border-radius: 20px;
font-weight: 700;
font-size: 14px;
display: inline-block;
}
.release-badge {
padding: 4px 12px;
border-radius: 12px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.release-badge.latest {
background: var(--success);
color: #000;
}
.release-badge.prerelease {
background: var(--warning);
color: #000;
}
.release-badge.draft {
background: rgba(255, 255, 255, 0.2);
color: var(--text-primary);
}
.release-title {
margin: 0 0 var(--spacing-md) 0;
color: var(--text-primary);
font-size: 20px;
font-weight: 700;
}
.release-body {
color: var(--text-secondary);
line-height: 1.8;
margin-bottom: var(--spacing-lg);
white-space: normal;
word-wrap: break-word;
overflow-wrap: break-word;
}
.release-body br {
display: block;
content: '';
margin: 0;
}
.release-body br + br {
margin-bottom: var(--spacing-md);
}
.release-body > p {
margin: var(--spacing-md) 0;
color: inherit;
}
.release-body > div {
margin: var(--spacing-md) 0;
text-align: left;
}
.release-body > div[align="center"] {
text-align: center;
margin: var(--spacing-lg) 0;
padding: var(--spacing-lg) 0;
}
.release-body > div[align="center"] h1,
.release-body > div[align="center"] h2,
.release-body > div[align="center"] h3,
.release-body > div[align="center"] h4 {
color: var(--text-primary);
margin: var(--spacing-md) 0;
font-weight: 700;
}
.release-body > div[align="center"] p {
margin: var(--spacing-sm) 0;
font-style: italic;
}
.release-body h1,
.release-body h2,
.release-body h3,
.release-body h4,
.release-body h5,
.release-body h6 {
color: var(--text-primary);
margin: var(--spacing-lg) 0 var(--spacing-md) 0;
font-weight: 700;
line-height: 1.4;
}
.release-body h1 { font-size: 28px; }
.release-body h2 { font-size: 24px; }
.release-body h3 { font-size: 20px; }
.release-body h4 { font-size: 18px; }
.release-body h5 { font-size: 16px; }
.release-body h6 { font-size: 14px; }
.release-body p {
margin: var(--spacing-md) 0;
color: inherit;
}
.release-body em,
.release-body i {
font-style: italic;
color: var(--accent-primary);
}
.release-body strong,
.release-body b {
color: var(--text-primary);
font-weight: 700;
}
.release-body ul,
.release-body ol {
margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-xl);
}
.release-body li {
margin: var(--spacing-sm) 0;
}
.release-body hr {
border: none;
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin: var(--spacing-lg) 0;
}
.release-body code {
background: rgba(255, 255, 255, 0.05);
color: var(--accent-primary);
padding: 2px 6px;
border-radius: 4px;
font-family: 'Courier New', monospace;
font-size: 13px;
}
.release-body pre {
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: var(--spacing-md);
border-radius: var(--radius-md);
overflow-x: auto;
margin: var(--spacing-md) 0;
}
.release-body blockquote {
border-left: 3px solid var(--accent-primary);
padding-left: var(--spacing-md);
margin: var(--spacing-md) 0;
color: var(--text-muted);
font-style: italic;
}
.release-assets {
margin-top: var(--spacing-lg);
padding-top: var(--spacing-lg);
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.release-assets-title {
font-weight: 600;
margin-bottom: var(--spacing-md);
color: var(--text-primary);
display: flex;
align-items: center;
gap: var(--spacing-sm);
}
.release-asset-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--spacing-md);
background: rgba(255, 255, 255, 0.04);
border-radius: var(--radius-sm);
margin-bottom: var(--spacing-sm);
transition: background var(--transition-fast);
}
.release-asset-item:hover {
background: rgba(255, 255, 255, 0.07);
}
.release-asset-info {
display: flex;
align-items: center;
gap: var(--spacing-md);
}
.release-asset-name {
color: var(--text-primary);
font-weight: 500;
}
.release-asset-size {
color: var(--text-muted);
font-size: 12px;
}
.release-asset-actions {
display: flex;
gap: var(--spacing-sm);
}
.release-meta {
display: flex;
gap: var(--spacing-xl);
margin-top: var(--spacing-lg);
padding-top: var(--spacing-lg);
border-top: 1px solid rgba(255, 255, 255, 0.05);
color: var(--text-muted);
font-size: 12px;
}
.release-actions {
display: flex;
gap: var(--spacing-md);
margin-top: var(--spacing-lg);
flex-wrap: wrap;
}
.btn-danger {
background: transparent !important;
color: var(--danger) !important;
border: 1px solid var(--danger) !important;
}
.btn-danger:hover {
background: var(--danger) !important;
color: #000 !important;
}
/* Release Modal spezifisches */
.release-modal textarea {
font-family: 'Courier New', monospace;
line-height: 1.5;
}
/* ===========================
COMMIT HISTORY & TIMELINE
=========================== */
.commit-card {
position: relative;
animation: slideInLeft 0.3s ease-out;
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.commit-content {
position: relative;
}
.commit-modal .card {
animation: slideUp 0.3s ease-out;
}
.commit-modal .diff-viewer::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.commit-modal .diff-viewer::-webkit-scrollbar-track {
background: #1e1e1e;
}
.commit-modal .diff-viewer::-webkit-scrollbar-thumb {
background: #3a3a3a;
border-radius: 4px;
}
.commit-modal .diff-viewer::-webkit-scrollbar-thumb:hover {
background: #4a4a4a;
}
/* Diff Syntax Highlighting */
.diff-viewer {
font-feature-settings: "liga" 0;
text-rendering: optimizeLegibility;
}
.diff-line-added {
background: rgba(78, 201, 176, 0.1);
color: #4ec9b0;
}
.diff-line-removed {
background: rgba(244, 135, 113, 0.1);
color: #f48771;
}
.diff-line-meta {
color: #c586c0;
font-weight: 600;
}
/* Commit Search Box */
#commitSearch {
transition: all var(--transition-normal);
}
#commitSearch:focus {
outline: none;
border-color: var(--accent-primary);
box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
/* Timeline Animation */
@keyframes pulse-dot {
0%, 100% {
box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
}
50% {
box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
}
}
.commit-card:first-child .commit-dot {
animation: pulse-dot 2s infinite;
}
/* ===========================
FILE EDITOR
=========================== */
.file-editor-card {
background: var(--bg-secondary);
border-radius: var(--radius-xl);
width: 60vw;
max-width: 900px;
height: 85vh;
max-height: 800px;
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
border: 1px solid rgba(0, 212, 255, 0.2);
animation: slideUp var(--transition-normal) ease-out;
overflow: hidden;
position: relative;
pointer-events: auto;
}
.file-editor-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--spacing-lg);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
background: linear-gradient(135deg, rgba(45, 45, 74, 0.8) 0%, rgba(36, 36, 56, 0.6) 100%);
gap: var(--spacing-md);
flex-shrink: 0;
}
.file-editor-title {
display: flex;
align-items: center;
gap: var(--spacing-md);
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
}
.file-editor-toolbar {
display: flex;
gap: var(--spacing-sm);
}
.editor-tool-btn {
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.1);
color: var(--text-secondary);
cursor: pointer;
padding: 6px 12px;
border-radius: var(--radius-md);
font-size: 14px;
transition: all var(--transition-fast);
display: flex;
align-items: center;
gap: 4px;
}
.editor-tool-btn:hover {
background: rgba(0, 212, 255, 0.1);
border-color: var(--accent-primary);
color: var(--accent-primary);
}
/* Tab Bar */
.file-editor-tabs {
display: flex;
gap: 2px;
padding: 8px 16px 0;
background: var(--bg-primary);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
overflow-x: auto;
flex-shrink: 0;
max-height: 50px;
align-items: flex-end;
}
.file-editor-tabs::-webkit-scrollbar {
height: 4px;
}
.file-editor-tabs::-webkit-scrollbar-thumb {
background: rgba(0, 212, 255, 0.3);
border-radius: 2px;
}
.editor-tab {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: rgba(45, 45, 74, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: var(--radius-md) var(--radius-md) 0 0;
color: var(--text-secondary);
font-size: 12px;
cursor: pointer;
transition: all var(--transition-fast);
white-space: nowrap;
min-width: 100px;
justify-content: space-between;
}
.editor-tab:hover {
background: rgba(45, 45, 74, 0.8);
border-color: rgba(0, 212, 255, 0.3);
}
.editor-tab.active {
background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(122, 81, 255, 0.15) 100%);
border-color: var(--accent-primary);
color: var(--accent-primary);
border-bottom-color: var(--bg-primary);
}
.editor-tab-name {
flex: 1;
display: flex;
align-items: center;
gap: 6px;
}
.editor-tab-dirty {
font-weight: bold;
color: #ff6b6b;
}
.editor-tab-close {
background: transparent;
border: none;
color: var(--text-secondary);
cursor: pointer;
padding: 0;
font-size: 14px;
opacity: 0.6;
transition: all var(--transition-fast);
display: flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
}
.editor-tab-close:hover {
opacity: 1;
color: #ff6b6b;
}
/* Search Bar */
.search-bar {
display: flex;
align-items: center;
gap: var(--spacing-md);
padding: var(--spacing-md) var(--spacing-lg);
background: rgba(45, 45, 74, 0.6);
border-bottom: 1px solid rgba(0, 212, 255, 0.2);
flex-shrink: 0;
animation: slideDown var(--transition-fast) ease-out;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.search-input {
padding: 6px 12px;
background: rgba(36, 36, 56, 0.8);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 12px;
min-width: 150px;
}
.search-input:focus {
outline: none;
border-color: var(--accent-primary);
box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.search-input::placeholder {
color: var(--text-muted);
}
.search-btn {
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.1);
color: var(--text-secondary);
cursor: pointer;
padding: 6px 10px;
border-radius: var(--radius-sm);
font-size: 12px;
transition: all var(--transition-fast);
}
.search-btn:hover {
background: rgba(0, 212, 255, 0.1);
border-color: var(--accent-primary);
color: var(--accent-primary);
}
.search-info {
font-size: 11px;
color: var(--text-muted);
min-width: 60px;
text-align: right;
}
/* Editor Container mit Line Numbers */
.file-editor-container {
display: flex;
flex: 1;
overflow: hidden;
position: relative;
}
.line-numbers {
background: rgba(36, 36, 56, 0.8);
border-right: 1px solid rgba(255, 255, 255, 0.1);
padding: var(--spacing-lg) 8px;
font-family: 'Courier New', 'Monaco', monospace;
font-size: 13px;
line-height: 1.6;
color: var(--text-muted);
text-align: right;
white-space: pre;
overflow: hidden;
flex-shrink: 0;
user-select: none;
width: 50px;
}
.file-editor-textarea {
flex: 1;
padding: var(--spacing-lg);
background: var(--bg-primary);
color: var(--text-primary);
border: none;
outline: none;
font-family: 'Courier New', 'Monaco', monospace;
font-size: 13px;
line-height: 1.6;
resize: none;
overflow: auto;
white-space: pre;
word-wrap: normal;
tab-size: 4;
-moz-tab-size: 4;
margin: 0;
}
.file-editor-textarea::placeholder {
color: var(--text-muted);
}
.file-editor-textarea::-webkit-scrollbar {
width: 10px;
}
.file-editor-textarea::-webkit-scrollbar-track {
background: var(--bg-secondary);
}
.file-editor-textarea::-webkit-scrollbar-thumb {
background: var(--surface);
border-radius: 5px;
}
.file-editor-textarea::-webkit-scrollbar-thumb:hover {
background: var(--surface-hover);
}
.file-editor-footer {
padding: var(--spacing-lg);
border-top: 1px solid rgba(255, 255, 255, 0.1);
background: linear-gradient(135deg, rgba(36, 36, 56, 0.8) 0%, rgba(26, 26, 46, 0.6) 100%);
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--spacing-lg);
flex-shrink: 0;
}
.file-editor-info {
display: flex;
gap: var(--spacing-xl);
flex: 1;
flex-wrap: wrap;
}
.file-path,
.file-stats,
.file-cursor {
font-size: 11px;
color: var(--text-secondary);
}
.file-cursor {
color: var(--accent-primary);
font-weight: 600;
}
.auto-save-status {
font-size: 11px;
color: #00d455;
font-weight: 600;
animation: fadeInOut 2s ease-in-out;
}
@keyframes fadeInOut {
0%, 100% {
opacity: 0;
}
50% {
opacity: 1;
}
}
.update-card {
max-width: 400px !important;
border: 1px solid var(--accent-primary);
box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}
.update-header {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 15px;
}
.update-icon { font-size: 2rem; }
.changelog-box {
background: var(--bg-primary);
padding: 10px;
border-radius: 8px;
margin: 15px 0;
max-height: 150px;
overflow-y: auto;
font-size: 0.9rem;
color: var(--text-secondary);
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: 10px 12px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--radius-md);
cursor: pointer;
transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
gap: 16px;
min-height: 58px;
}
.settings-toggle-row:hover {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.12);
transform: translateY(-1px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}
.settings-toggle-info {
display: flex;
flex-direction: column;
gap: 2px;
}
.settings-toggle-title {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
}
.settings-toggle-desc {
font-size: 11px;
color: var(--text-muted);
font-weight: 400;
text-transform: none;
letter-spacing: 0;
}
.settings-inline-hint {
font-size: 11px;
color: var(--text-muted);
line-height: 1.35;
}
.settings-inline-hint.error {
color: #fca5a5;
}
.settings-inline-hint.success {
color: #86efac;
}
.settings-inline-hint.warn {
color: #fcd34d;
}
.settings-health-box {
height: auto;
margin-top: 0;
padding: 10px 12px;
border-radius: var(--radius-md);
border: 1px solid rgba(255, 255, 255, 0.08);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}
.settings-health-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 6px 0;
border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
font-size: 12px;
}
.settings-health-row:last-child {
border-bottom: 0;
}
.settings-health-row strong {
color: var(--text-primary);
font-weight: 600;
text-align: right;
word-break: break-word;
transition: color 0.2s ease;
}
.settings-health-row strong.health-ok {
color: #86efac;
}
.settings-health-row strong.health-warn {
color: #fcd34d;
}
.settings-health-row strong.health-error {
color: #f87171;
}
@media (max-width: 1120px) {
.settings-modal-content {
width: min(940px, calc(100vw - 28px));
padding: 18px;
}
.settings-layout {
grid-template-columns: minmax(0, 1fr);
gap: 12px;
}
.settings-column {
gap: 12px;
}
}
@media (max-width: 760px) {
#settingsModal {
padding: 12px;
align-items: flex-start;
}
.settings-modal-content {
width: min(100vw - 24px, 100%);
padding: 16px;
}
.settings-fields-grid,
.settings-connection-tools,
.settings-version-card,
.modal-buttons {
grid-template-columns: minmax(0, 1fr);
}
.settings-update-btn,
#btnTestGiteaConnection {
width: 100%;
}
.settings-toggle-row {
align-items: flex-start;
}
}
/* 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;
}
/* ═══════════════════════════════════════════════════════════
✅ BACKUP MANAGEMENT MODAL - STYLES
═══════════════════════════════════════════════════════════ */
#backupManagementModal {
display: flex;
align-items: center;
justify-content: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 99999;
backdrop-filter: blur(4px);
}
#backupManagementModal.hidden {
display: none;
}
.backup-management-card {
background: var(--bg-secondary);
border: 1px solid rgba(88, 213, 255, 0.2);
border-radius: var(--radius-lg);
width: 90%;
max-width: 700px;
max-height: 85vh;
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
animation: slideUp 0.3s ease-out;
overflow: hidden;
}
.backup-modal-header {
padding: 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
justify-content: space-between;
align-items: center;
}
.backup-modal-header h2 {
font-size: 18px;
font-weight: 700;
margin: 0;
color: var(--text-primary);
}
.backup-modal-close {
background: transparent;
border: none;
color: var(--text-muted);
font-size: 20px;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
transition: all var(--transition-fast);
}
.backup-modal-close:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--accent-primary);
}
.backup-modal-body {
flex: 1;
overflow-y: auto;
padding: 20px;
display: flex;
flex-direction: column;
gap: 16px;
}
.backup-modal-body::-webkit-scrollbar {
width: 10px;
}
.backup-modal-body::-webkit-scrollbar-track {
background: rgba(9, 20, 39, 0.75);
border-left: 1px solid rgba(88, 213, 255, 0.12);
}
.backup-modal-body::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, rgba(88, 213, 255, 0.55), rgba(92, 135, 255, 0.55));
border-radius: 10px;
border: 2px solid rgba(9, 20, 39, 0.9);
}
.backup-modal-body::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, rgba(88, 213, 255, 0.8), rgba(92, 135, 255, 0.8));
}
/* Provider Selection */
.backup-provider-select {
display: flex;
flex-direction: column;
gap: 8px;
}
.backup-provider-select label {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--accent-primary);
}
#backupProviderSelect {
padding: 10px 12px;
background: var(--bg-tertiary);
border: 1px solid rgba(88, 213, 255, 0.25);
border-radius: var(--radius-md);
color: var(--text-primary);
font-size: 13px;
font-family: inherit;
cursor: pointer;
transition: all var(--transition-fast);
}
#backupProviderSelect:hover {
border-color: rgba(88, 213, 255, 0.4);
background: rgba(19, 33, 58, 0.8);
}
#backupProviderSelect:focus {
outline: none;
border-color: var(--accent-primary);
box-shadow: 0 0 0 3px rgba(88, 213, 255, 0.15);
background: rgba(19, 33, 58, 0.9);
}
#backupProviderSelect option {
background: var(--bg-secondary);
color: var(--text-primary);
padding: 8px;
}
/* Credentials Sections */
.backup-credentials-section {
display: none;
padding: 12px;
background: linear-gradient(135deg, rgba(88, 213, 255, 0.08) 0%, rgba(122, 81, 255, 0.05) 100%);
border: 1px solid rgba(88, 213, 255, 0.2);
border-radius: var(--radius-md);
gap: 12px;
flex-direction: column;
animation: slideDown 0.2s ease-out;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.backup-credentials-section.active {
display: flex;
}
.backup-credentials-section input,
.backup-credentials-section textarea,
.backup-credentials-section select {
padding: 9px 10px;
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 6px;
color: var(--text-primary);
font-size: 12px;
font-family: inherit;
transition: all var(--transition-fast);
}
.backup-credentials-section input::placeholder {
color: rgba(174, 189, 216, 0.35);
}
.backup-credentials-section input:focus,
.backup-credentials-section textarea:focus,
.backup-credentials-section select:focus {
outline: none;
border-color: var(--accent-primary);
box-shadow: 0 0 0 3px rgba(88, 213, 255, 0.12);
background: rgba(0, 0, 0, 0.4);
}
.backup-credentials-section select option {
background: var(--bg-secondary);
color: var(--text-primary);
}
.backup-input-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.backup-input-group label {
font-size: 11px;
font-weight: 600;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.3px;
}
/* Buttons */
.backup-modal-buttons {
display: flex;
gap: 8px;
flex-wrap: wrap;
justify-content: center;
padding: 16px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.backup-btn {
padding: 10px 16px;
border-radius: var(--radius-md);
border: none;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-fast);
min-width: 120px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
font-family: inherit;
}
.backup-btn-primary {
background: var(--accent-gradient);
color: #000;
box-shadow: 0 4px 12px rgba(88, 213, 255, 0.25);
}
.backup-btn-primary:hover {
box-shadow: 0 8px 20px rgba(88, 213, 255, 0.35);
transform: translateY(-2px);
}
.backup-btn-primary:active {
transform: translateY(0);
box-shadow: 0 2px 8px rgba(88, 213, 255, 0.25);
}
.backup-btn-secondary {
background: transparent;
border: 1.5px solid rgba(88, 213, 255, 0.35);
color: var(--text-primary);
transition: all var(--transition-fast);
}
.backup-btn-secondary:hover {
background: rgba(88, 213, 255, 0.12);
border-color: var(--accent-primary);
color: var(--accent-primary);
box-shadow: 0 4px 12px rgba(88, 213, 255, 0.15);
transform: translateY(-1px);
}
.backup-btn-secondary:active {
transform: translateY(0);
}
.backup-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none !important;
}
/* Backup List */
#backupListContainer {
background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.15) 100%);
border: 1px solid rgba(88, 213, 255, 0.15);
border-radius: var(--radius-md);
max-height: 250px;
overflow-y: auto;
min-height: 100px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.backup-list-item {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
padding: 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
transition: background var(--transition-fast);
width: 100%;
}
.backup-list-info {
flex: 1 1 auto;
min-width: 0;
}
.backup-list-name {
font-weight: 600;
margin-bottom: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.backup-list-meta {
color: var(--text-muted);
font-size: 12px;
}
.backup-list-actions {
flex: 0 0 auto;
display: flex;
gap: 8px;
align-items: center;
}
.backup-list-action {
appearance: none;
border-radius: 8px;
padding: 7px 12px;
font-size: 12px;
font-weight: 600;
border: 1px solid rgba(88, 213, 255, 0.28);
background: linear-gradient(180deg, rgba(20, 34, 58, 0.92), rgba(12, 24, 44, 0.92));
color: var(--text-primary);
cursor: pointer;
transition: all var(--transition-fast);
white-space: nowrap;
}
.backup-list-action:hover {
border-color: rgba(88, 213, 255, 0.6);
background: linear-gradient(180deg, rgba(30, 52, 86, 0.94), rgba(15, 30, 56, 0.94));
}
.backup-list-action--delete {
color: #ff9f9f;
border-color: rgba(239, 68, 68, 0.35);
}
.backup-list-action--delete:hover {
color: #ffd6d6;
border-color: rgba(239, 68, 68, 0.65);
background: linear-gradient(180deg, rgba(72, 24, 24, 0.88), rgba(48, 14, 14, 0.9));
}
@media (max-width: 760px) {
.backup-list-item {
flex-direction: column;
align-items: stretch;
}
.backup-list-actions {
width: 100%;
justify-content: flex-end;
flex-wrap: wrap;
}
.backup-list-action {
flex: 1 1 auto;
text-align: center;
min-width: 130px;
}
}
.backup-list-item:hover {
background: rgba(88, 213, 255, 0.1);
}
.backup-list-item:last-child {
border-bottom: none;
}
/* Scrollbar Styling */
#backupListContainer::-webkit-scrollbar {
width: 8px;
}
#backupListContainer::-webkit-scrollbar-track {
background: transparent;
}
#backupListContainer::-webkit-scrollbar-thumb {
background: rgba(88, 213, 255, 0.2);
border-radius: 4px;
}
#backupListContainer::-webkit-scrollbar-thumb:hover {
background: rgba(88, 213, 255, 0.4);
}