Update from Git Manager GUI
This commit is contained in:
@@ -789,9 +789,11 @@ body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
max-height: calc(100vh - 270px);
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding-right: 2px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.fav-history-list::-webkit-scrollbar {
|
||||
@@ -857,10 +859,6 @@ body {
|
||||
width: 180px;
|
||||
margin: 12px 0 12px 12px;
|
||||
}
|
||||
|
||||
.fav-history-list {
|
||||
max-height: 180px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Global Drop Zone Indicator */
|
||||
@@ -1047,6 +1045,14 @@ body.compact-mode .item-card:hover {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.repo-avatar-img {
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
border-radius: 10px;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.item-card:hover .item-icon {
|
||||
transform: translateY(-2px) scale(1.08) rotate(-4deg);
|
||||
}
|
||||
@@ -1065,6 +1071,16 @@ body.compact-mode .item-card:hover {
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.item-submeta {
|
||||
margin-top: 4px;
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ===========================
|
||||
MODALS
|
||||
=========================== */
|
||||
@@ -1310,8 +1326,9 @@ input[type="checkbox"] {
|
||||
border-color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
#btnTestGiteaConnection {
|
||||
margin-top: 10px;
|
||||
#btnTestGiteaConnection,
|
||||
#btnTestGithubConnection {
|
||||
margin-top: 0;
|
||||
min-height: 40px;
|
||||
border-radius: var(--radius-md);
|
||||
padding: 0 14px;
|
||||
@@ -1325,18 +1342,21 @@ input[type="checkbox"] {
|
||||
transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
|
||||
}
|
||||
|
||||
#btnTestGiteaConnection:hover {
|
||||
#btnTestGiteaConnection:hover,
|
||||
#btnTestGithubConnection: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 {
|
||||
#btnTestGiteaConnection:active,
|
||||
#btnTestGithubConnection:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
#btnTestGiteaConnection:focus-visible {
|
||||
#btnTestGiteaConnection:focus-visible,
|
||||
#btnTestGithubConnection:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
|
||||
}
|
||||
@@ -1432,6 +1452,81 @@ input[type="checkbox"] {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.settings-header-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
/* Avatar-Upload-Button */
|
||||
.settings-avatar-upload-btn {
|
||||
display: block;
|
||||
margin-top: 6px;
|
||||
padding: 4px 10px;
|
||||
font-size: 11px;
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid rgba(88, 213, 255, 0.3);
|
||||
background: rgba(88, 213, 255, 0.08);
|
||||
color: var(--accent-primary);
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition: background 0.15s, border-color 0.15s;
|
||||
}
|
||||
.settings-avatar-upload-btn:hover:not(:disabled) {
|
||||
background: rgba(88, 213, 255, 0.18);
|
||||
border-color: rgba(88, 213, 255, 0.6);
|
||||
}
|
||||
.settings-avatar-upload-btn:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: wait;
|
||||
}
|
||||
|
||||
/* Avatar-Picker */
|
||||
.settings-avatar-wrap {
|
||||
position: relative;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
flex-shrink: 0;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
border: 2px solid rgba(88, 213, 255, 0.35);
|
||||
background: rgba(88, 213, 255, 0.08);
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
.settings-avatar-wrap:hover {
|
||||
border-color: rgba(88, 213, 255, 0.7);
|
||||
}
|
||||
.settings-avatar-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
.settings-avatar-placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 32px;
|
||||
line-height: 1;
|
||||
}
|
||||
.settings-avatar-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.55);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 18px;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
.settings-avatar-wrap:hover .settings-avatar-overlay {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.settings-eyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -1530,6 +1625,66 @@ input[type="checkbox"] {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.settings-credentials-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.settings-auth-card {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
min-height: 252px;
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
|
||||
}
|
||||
|
||||
.settings-auth-card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.settings-auth-card-header button {
|
||||
min-width: 170px;
|
||||
}
|
||||
|
||||
.settings-auth-card-header h4 {
|
||||
margin: 0;
|
||||
color: #c8d8f2;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.settings-auth-input {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.settings-auth-card .settings-inline-hint {
|
||||
min-height: 34px;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.settings-auth-spacer {
|
||||
min-height: 78px;
|
||||
border: 1px dashed rgba(255, 255, 255, 0.1);
|
||||
border-radius: var(--radius-md);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--text-muted);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
padding: 8px;
|
||||
background: rgba(255, 255, 255, 0.01);
|
||||
}
|
||||
|
||||
.settings-connection-tools {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
@@ -1776,6 +1931,56 @@ input[type="checkbox"] {
|
||||
transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
|
||||
}
|
||||
|
||||
.repo-owner-tabs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.repo-owner-tab {
|
||||
appearance: none;
|
||||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
color: var(--text-secondary);
|
||||
border-radius: 999px;
|
||||
min-height: 32px;
|
||||
padding: 0 12px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.repo-owner-tab span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.repo-owner-tab:hover {
|
||||
border-color: rgba(88, 213, 255, 0.45);
|
||||
color: #d9f7ff;
|
||||
}
|
||||
|
||||
.repo-owner-tab.active {
|
||||
border-color: rgba(88, 213, 255, 0.65);
|
||||
background: linear-gradient(135deg, rgba(88, 213, 255, 0.2), rgba(92, 135, 255, 0.18));
|
||||
color: #ecf8ff;
|
||||
}
|
||||
|
||||
.repo-owner-tab.active span {
|
||||
background: rgba(88, 213, 255, 0.22);
|
||||
color: #dff6ff;
|
||||
}
|
||||
|
||||
.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%);
|
||||
@@ -1959,6 +2164,97 @@ input[type="checkbox"] {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.tags-editor-selected {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
min-height: 38px;
|
||||
padding: 8px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 10px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.tags-editor-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.tags-editor-input {
|
||||
width: 100%;
|
||||
min-height: 38px;
|
||||
padding: 0 12px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||
background: rgba(10, 18, 30, 0.95);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.tags-editor-add-btn {
|
||||
min-height: 38px;
|
||||
white-space: nowrap;
|
||||
padding: 0 14px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid rgba(88, 213, 255, 0.36);
|
||||
background: linear-gradient(135deg, rgba(88, 213, 255, 0.24), rgba(92, 135, 255, 0.22));
|
||||
color: #c8f5ff;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tags-editor-add-btn:hover {
|
||||
border-color: rgba(88, 213, 255, 0.62);
|
||||
background: linear-gradient(135deg, rgba(88, 213, 255, 0.34), rgba(92, 135, 255, 0.31));
|
||||
}
|
||||
|
||||
.tags-editor-suggestions {
|
||||
margin-top: 8px;
|
||||
max-height: 170px;
|
||||
overflow: auto;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 10px;
|
||||
background: rgba(10, 18, 30, 0.95);
|
||||
}
|
||||
|
||||
.tags-editor-suggestion-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
padding: 9px 12px;
|
||||
border: 0;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||
background: transparent;
|
||||
color: var(--text-primary);
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.tags-editor-suggestion-item:hover {
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
}
|
||||
|
||||
.tags-editor-suggestions::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.tags-editor-suggestions::-webkit-scrollbar-track {
|
||||
background: rgba(6, 12, 22, 0.85);
|
||||
border-left: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.tags-editor-suggestions::-webkit-scrollbar-thumb {
|
||||
background: linear-gradient(180deg, rgba(88, 213, 255, 0.45), rgba(92, 135, 255, 0.45));
|
||||
border-radius: 999px;
|
||||
border: 2px solid rgba(6, 12, 22, 0.9);
|
||||
}
|
||||
|
||||
.tags-editor-suggestions::-webkit-scrollbar-thumb:hover {
|
||||
background: linear-gradient(180deg, rgba(88, 213, 255, 0.68), rgba(92, 135, 255, 0.68));
|
||||
}
|
||||
|
||||
.activity-heatmap-months {
|
||||
margin-left: calc(var(--hm-weekday-col) + var(--hm-grid-gap));
|
||||
width: max-content;
|
||||
@@ -3165,6 +3461,14 @@ progress::-moz-progress-bar {
|
||||
.settings-column {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.settings-credentials-grid {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.settings-auth-card {
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
@@ -3179,6 +3483,7 @@ progress::-moz-progress-bar {
|
||||
}
|
||||
|
||||
.settings-fields-grid,
|
||||
.settings-credentials-grid,
|
||||
.settings-connection-tools,
|
||||
.settings-version-card,
|
||||
.modal-buttons {
|
||||
@@ -3186,7 +3491,8 @@ progress::-moz-progress-bar {
|
||||
}
|
||||
|
||||
.settings-update-btn,
|
||||
#btnTestGiteaConnection {
|
||||
#btnTestGiteaConnection,
|
||||
#btnTestGithubConnection {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -3292,413 +3598,4 @@ body.compact-mode .file-type-badge {
|
||||
|
||||
.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);
|
||||
}
|
||||
Reference in New Issue
Block a user