chore(ui): normalise text size and spacing (#1656)
This commit is contained in:
@@ -23,18 +23,18 @@
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
padding: 1.75rem;
|
||||
padding: 1.5313rem;
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 0 0 10px 10px;
|
||||
box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 1rem;
|
||||
gap: 1rem;
|
||||
padding: 0.875rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,29 +48,29 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.625rem 0.875rem;
|
||||
padding: 0.5469rem 0.7656rem;
|
||||
background: var(--overlay-background);
|
||||
border-radius: 6px;
|
||||
|
||||
.section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.9rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: 0.7875rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
|
||||
i {
|
||||
color: var(--primary-color);
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 0.5rem 0.625rem;
|
||||
padding: 0.4375rem 0.5469rem;
|
||||
|
||||
.section-title {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -84,19 +84,19 @@
|
||||
.selection-fields {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
padding: 0 0.75rem 1rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0 0.6563rem 0.875rem;
|
||||
|
||||
.field-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.field-label {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
padding-left: 0.25rem;
|
||||
padding-left: 0.2188rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -118,7 +118,7 @@
|
||||
}
|
||||
|
||||
.p-fileupload-content {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
background: transparent;
|
||||
border: none;
|
||||
transition: background-color 0.3s ease;
|
||||
@@ -147,26 +147,26 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 1rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0.875rem;
|
||||
width: 100%;
|
||||
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.upload-hint {
|
||||
color: var(--text-secondary-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 0.75rem;
|
||||
gap: 0.5rem;
|
||||
padding: 0.6563rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.action-buttons {
|
||||
width: 100%;
|
||||
@@ -178,7 +178,7 @@
|
||||
}
|
||||
|
||||
.upload-hint {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -187,25 +187,25 @@
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
padding: 0.625rem 0.875rem;
|
||||
margin-bottom: 0.5rem;
|
||||
padding: 0.5469rem 0.7656rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
|
||||
.progress-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: 0.85rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
font-size: 0.7438rem;
|
||||
|
||||
.progress-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
|
||||
i {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
@@ -248,12 +248,12 @@
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.4375rem 0.6563rem;
|
||||
|
||||
.progress-row {
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.8rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: 0.7rem;
|
||||
|
||||
.progress-bytes {
|
||||
margin-left: 0;
|
||||
@@ -265,15 +265,15 @@
|
||||
.file-list-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
padding-right: 0.25rem;
|
||||
gap: 0.4375rem;
|
||||
padding-right: 0.2188rem;
|
||||
|
||||
.file-item-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 0.25rem 0.75rem;
|
||||
gap: 0.875rem;
|
||||
padding: 0.2188rem 0.6563rem;
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
@@ -287,7 +287,7 @@
|
||||
.file-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
|
||||
@@ -298,17 +298,17 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
}
|
||||
|
||||
.file-size {
|
||||
color: var(--text-secondary-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.file-progress-text {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
font-weight: 600;
|
||||
color: var(--primary-color);
|
||||
min-width: 40px;
|
||||
@@ -323,8 +323,8 @@
|
||||
flex-shrink: 0;
|
||||
|
||||
.status-icon {
|
||||
font-size: 1.25rem;
|
||||
padding: 0.5rem;
|
||||
font-size: 1.0938rem;
|
||||
padding: 0.4375rem;
|
||||
|
||||
&.uploading {
|
||||
color: var(--primary-color);
|
||||
@@ -342,25 +342,25 @@
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 0.625rem;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5469rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.file-info {
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.file-name {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
}
|
||||
|
||||
.file-size {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
.file-actions {
|
||||
.status-icon {
|
||||
font-size: 1rem;
|
||||
padding: 0.375rem;
|
||||
font-size: var(--app-text-base);
|
||||
padding: 0.3281rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -373,7 +373,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
padding: 1.5rem 1rem;
|
||||
padding: 1.3125rem 0.875rem;
|
||||
|
||||
.empty-icon-wrapper {
|
||||
display: flex;
|
||||
@@ -383,12 +383,12 @@
|
||||
height: 80px;
|
||||
background: var(--overlay-background);
|
||||
border-radius: 50%;
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
border: 3px dashed var(--border-color);
|
||||
transition: border-color 0.3s ease;
|
||||
|
||||
.empty-icon {
|
||||
font-size: 2.5rem;
|
||||
font-size: 2.1875rem;
|
||||
color: var(--text-secondary-color);
|
||||
opacity: 0.6;
|
||||
transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
|
||||
@@ -400,15 +400,15 @@
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
margin: 0 0 1.5rem;
|
||||
font-size: 1.125rem;
|
||||
margin: 0 0 1.3125rem;
|
||||
font-size: var(--app-text-lg);
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.empty-description {
|
||||
margin: 0;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--text-secondary-color);
|
||||
max-width: 450px;
|
||||
line-height: 1.5;
|
||||
@@ -419,25 +419,25 @@
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 1.5rem 0.75rem;
|
||||
padding: 1.3125rem 0.6563rem;
|
||||
min-height: 180px;
|
||||
|
||||
.empty-icon-wrapper {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
|
||||
.empty-icon {
|
||||
font-size: 2rem;
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
|
||||
.empty-description {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,9 +56,9 @@ export type CoverPlaceholderSize = 'sm' | 'md' | 'lg';
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.placeholder.size-sm { padding: min(0.5rem, 4cqi); }
|
||||
.placeholder.size-md { padding: min(1rem, 6cqi); }
|
||||
.placeholder.size-lg { padding: min(1.5rem, 8cqi); }
|
||||
.placeholder.size-sm { padding: min(0.4375rem, 4cqi); }
|
||||
.placeholder.size-md { padding: min(0.875rem, 6cqi); }
|
||||
.placeholder.size-lg { padding: min(1.3125rem, 8cqi); }
|
||||
|
||||
.placeholder-title {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
|
||||
+59
-59
@@ -1,7 +1,7 @@
|
||||
@use '../../styles/panel-shared' as panel;
|
||||
|
||||
.responsive-table {
|
||||
min-width: 50rem;
|
||||
min-width: 43.75rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
min-width: 100% !important;
|
||||
@@ -31,8 +31,8 @@
|
||||
.picker-controls {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1rem 2rem;
|
||||
gap: 0.875rem;
|
||||
padding: 0.875rem 1.75rem;
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
@@ -40,18 +40,18 @@
|
||||
.current-path {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.625rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0.5469rem;
|
||||
background: var(--overlay-background);
|
||||
border-radius: 6px;
|
||||
|
||||
.path-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
color: var(--text-secondary-color);
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
white-space: nowrap;
|
||||
|
||||
i {
|
||||
@@ -63,7 +63,7 @@
|
||||
flex: 1;
|
||||
color: var(--text-color);
|
||||
font-family: monospace;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
.controls-row {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
.search-input-wrapper {
|
||||
position: relative;
|
||||
@@ -86,7 +86,7 @@
|
||||
|
||||
.clear-icon {
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
right: 0.875rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: var(--text-secondary-color);
|
||||
@@ -103,7 +103,7 @@
|
||||
|
||||
.selection-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
align-items: center;
|
||||
|
||||
@media (width <= 640px) {
|
||||
@@ -120,27 +120,27 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 0.875rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.4375rem 0.7656rem;
|
||||
background: var(--primary-color);
|
||||
color: var(--primary-contrast-color);
|
||||
border-radius: 6px;
|
||||
font-weight: 600;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
|
||||
i {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 1rem;
|
||||
gap: 0.5rem;
|
||||
padding: 0.875rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.current-path {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.path-value {
|
||||
width: 100%;
|
||||
@@ -149,7 +149,7 @@
|
||||
|
||||
.controls-row {
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -157,8 +157,8 @@
|
||||
.directories-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1rem 2rem;
|
||||
gap: 0.875rem;
|
||||
padding: 0.875rem 1.75rem;
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
@@ -168,7 +168,7 @@
|
||||
overflow: hidden;
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@
|
||||
}
|
||||
|
||||
.loading-text {
|
||||
margin-top: 0.75rem;
|
||||
margin-top: 0.6563rem;
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
padding: 2rem 1rem;
|
||||
padding: 1.75rem 0.875rem;
|
||||
flex: 1;
|
||||
|
||||
.empty-icon-wrapper {
|
||||
@@ -209,48 +209,48 @@
|
||||
height: 80px;
|
||||
background: var(--overlay-background);
|
||||
border-radius: 50%;
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
|
||||
.empty-icon {
|
||||
font-size: 2.5rem;
|
||||
font-size: 2.1875rem;
|
||||
color: var(--text-secondary-color);
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
margin: 0 0 0.5rem;
|
||||
font-size: 1.125rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
font-size: var(--app-text-lg);
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.empty-description {
|
||||
margin: 0;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--text-secondary-color);
|
||||
max-width: 350px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 1.5rem 0.75rem;
|
||||
padding: 1.3125rem 0.6563rem;
|
||||
|
||||
.empty-icon-wrapper {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
|
||||
.empty-icon {
|
||||
font-size: 2rem;
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
|
||||
.empty-description {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
@@ -259,7 +259,7 @@
|
||||
.directories-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.625rem;
|
||||
gap: 0.5469rem;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -268,15 +268,15 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0.5rem 0.875rem;
|
||||
padding: 0.4375rem 0.7656rem;
|
||||
background: var(--overlay-background);
|
||||
border-radius: 6px;
|
||||
|
||||
.folder-count {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
font-size: 0.85rem;
|
||||
gap: 0.3281rem;
|
||||
font-size: 0.7438rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
|
||||
@@ -286,10 +286,10 @@
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 0.5rem 0.625rem;
|
||||
padding: 0.4375rem 0.5469rem;
|
||||
|
||||
.folder-count {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -297,10 +297,10 @@
|
||||
.directories-grid {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.625rem;
|
||||
gap: 0.5469rem;
|
||||
overflow: hidden auto;
|
||||
flex: 1;
|
||||
padding-right: 0.25rem;
|
||||
padding-right: 0.2188rem;
|
||||
min-height: 0;
|
||||
opacity: 1;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
@@ -330,8 +330,8 @@
|
||||
.directory-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.6563rem 0.875rem;
|
||||
background: var(--ground-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
@@ -391,7 +391,7 @@
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
cursor: pointer;
|
||||
min-width: 0;
|
||||
|
||||
@@ -406,7 +406,7 @@
|
||||
flex-shrink: 0;
|
||||
|
||||
.directory-icon {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--text-secondary-color);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
@@ -416,12 +416,12 @@
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.1875rem;
|
||||
gap: 0.1641rem;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
|
||||
.directory-name {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--text-color);
|
||||
font-weight: 500;
|
||||
overflow: hidden;
|
||||
@@ -432,7 +432,7 @@
|
||||
}
|
||||
|
||||
.directory-path {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--text-secondary-color);
|
||||
font-family: monospace;
|
||||
overflow: hidden;
|
||||
@@ -452,24 +452,24 @@
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 0.5rem 0.625rem;
|
||||
gap: 0.375rem;
|
||||
padding: 0.4375rem 0.5469rem;
|
||||
gap: 0.3281rem;
|
||||
|
||||
.directory-label {
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
|
||||
.directory-icon-wrapper {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
|
||||
.directory-icon {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.directory-info {
|
||||
.directory-name {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
|
||||
.directory-path {
|
||||
@@ -493,7 +493,7 @@
|
||||
}
|
||||
|
||||
.selection-note {
|
||||
margin-top: 0.75rem;
|
||||
margin-top: 0.6563rem;
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
|
||||
@@ -505,9 +505,9 @@ border-top: 1px solid var(--border-color);
|
||||
.selection-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
color: var(--text-secondary-color);
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
|
||||
i {
|
||||
color: var(--primary-color);
|
||||
@@ -531,8 +531,8 @@ border-top: 1px solid var(--border-color);
|
||||
.current-path,
|
||||
.directory-list,
|
||||
.picker-footer {
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
padding-left: 0.875rem;
|
||||
padding-right: 0.875rem;
|
||||
}
|
||||
|
||||
.folder-item {
|
||||
@@ -546,7 +546,7 @@ border-top: 1px solid var(--border-color);
|
||||
.current-path {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.path-value {
|
||||
width: 100%;
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
padding: 1.25rem;
|
||||
gap: 1.25rem;
|
||||
padding: 1.0938rem;
|
||||
gap: 1.0938rem;
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
@@ -50,8 +50,8 @@
|
||||
.banner-main {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.875rem 1rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0.7656rem 0.875rem;
|
||||
}
|
||||
|
||||
.banner-icon {
|
||||
@@ -65,7 +65,7 @@
|
||||
flex-shrink: 0;
|
||||
|
||||
i {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--primary-contrast-color);
|
||||
}
|
||||
}
|
||||
@@ -75,12 +75,12 @@
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.375rem 1rem;
|
||||
gap: 0.3281rem 0.875rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.banner-text {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--text-secondary-color);
|
||||
line-height: 1.4;
|
||||
|
||||
@@ -92,26 +92,26 @@
|
||||
.banner-warning {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
font-size: 0.8rem;
|
||||
gap: 0.3281rem;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 500;
|
||||
color: var(--p-orange-400);
|
||||
|
||||
i {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
.banner-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
padding: 0.4rem 0.75rem;
|
||||
gap: 0.3281rem;
|
||||
padding: 0.35rem 0.6563rem;
|
||||
background: transparent;
|
||||
border: 1px solid var(--p-blue-400);
|
||||
border-radius: 5px;
|
||||
color: var(--p-blue-400);
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
flex-shrink: 0;
|
||||
@@ -122,29 +122,29 @@
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.6125rem;
|
||||
}
|
||||
}
|
||||
|
||||
.banner-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.625rem;
|
||||
padding: 0.875rem 1rem;
|
||||
gap: 0.5469rem;
|
||||
padding: 0.7656rem 0.875rem;
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.detail-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.85rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: 0.7438rem;
|
||||
line-height: 1.4;
|
||||
color: var(--text-secondary-color);
|
||||
|
||||
i {
|
||||
font-size: 0.85rem;
|
||||
margin-top: 0.125rem;
|
||||
font-size: 0.7438rem;
|
||||
margin-top: 0.1094rem;
|
||||
color: var(--p-green-400);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -174,15 +174,15 @@
|
||||
.patterns-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.patterns-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
width: fit-content;
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.4375rem 0.6563rem;
|
||||
background: transparent;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
@@ -196,8 +196,8 @@
|
||||
.toggle-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.85rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: 0.7438rem;
|
||||
font-weight: 500;
|
||||
color: var(--text-color);
|
||||
|
||||
@@ -212,16 +212,16 @@
|
||||
justify-content: center;
|
||||
min-width: 20px;
|
||||
height: 20px;
|
||||
padding: 0 0.375rem;
|
||||
padding: 0 0.3281rem;
|
||||
background: var(--primary-color);
|
||||
color: var(--primary-contrast-color);
|
||||
border-radius: 10px;
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.6125rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
> i {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
}
|
||||
@@ -229,14 +229,14 @@
|
||||
.patterns-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.pattern-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
padding: 0.75rem;
|
||||
gap: 0.3281rem;
|
||||
padding: 0.6563rem;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
}
|
||||
@@ -248,7 +248,7 @@
|
||||
}
|
||||
|
||||
.pattern-library {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
}
|
||||
@@ -256,26 +256,26 @@
|
||||
.pattern-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.125rem 0.5rem;
|
||||
padding: 0.1094rem 0.4375rem;
|
||||
background: var(--p-blue-500);
|
||||
color: white;
|
||||
border-radius: 10px;
|
||||
font-size: 0.65rem;
|
||||
font-size: 0.5687rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.pattern-code {
|
||||
font-family: 'SF Mono', 'Fira Code', monospace;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--primary-color);
|
||||
background: var(--ground-background);
|
||||
padding: 0.375rem 0.5rem;
|
||||
padding: 0.3281rem 0.4375rem;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.pattern-source {
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.6125rem;
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
|
||||
@@ -284,15 +284,15 @@
|
||||
background: var(--ground-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
}
|
||||
|
||||
.bulk-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
font-size: 0.85rem;
|
||||
gap: 0.4375rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
font-size: 0.7438rem;
|
||||
font-weight: 500;
|
||||
color: var(--text-color);
|
||||
|
||||
@@ -304,12 +304,12 @@
|
||||
.bulk-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.bulk-label {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
|
||||
@@ -328,11 +328,11 @@
|
||||
.table-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.6563rem 0.875rem;
|
||||
background: var(--overlay-background);
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
font-weight: 500;
|
||||
color: var(--text-color);
|
||||
|
||||
@@ -360,12 +360,12 @@
|
||||
|
||||
:host ::ng-deep {
|
||||
.p-datatable-tbody > tr > td {
|
||||
padding: 0.5rem 0.75rem !important;
|
||||
padding: 0.4375rem 0.6563rem !important;
|
||||
}
|
||||
|
||||
.p-datatable-thead > tr > th:first-child,
|
||||
.p-datatable-tbody > tr > td.status-cell {
|
||||
padding-left: 1.5rem !important;
|
||||
padding-left: 1.3125rem !important;
|
||||
}
|
||||
|
||||
.select-library {
|
||||
@@ -383,7 +383,7 @@
|
||||
|
||||
.id-cell {
|
||||
font-family: monospace;
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
|
||||
@@ -391,7 +391,7 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.path-library {
|
||||
@@ -403,7 +403,7 @@
|
||||
}
|
||||
|
||||
.no-paths {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--p-red-400);
|
||||
font-style: italic;
|
||||
}
|
||||
@@ -412,7 +412,7 @@
|
||||
text-align: center;
|
||||
|
||||
i {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--primary-color);
|
||||
}
|
||||
}
|
||||
@@ -423,12 +423,12 @@
|
||||
|
||||
.status-success {
|
||||
color: var(--p-green-500);
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
|
||||
.status-pending {
|
||||
color: var(--p-orange-400);
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
|
||||
.row-moved {
|
||||
@@ -439,13 +439,13 @@
|
||||
.success-indicator {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
color: var(--p-green-500);
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
|
||||
i {
|
||||
font-size: 1.125rem;
|
||||
font-size: var(--app-text-lg);
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
}
|
||||
@@ -453,7 +453,7 @@
|
||||
.footer-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
@@ -469,13 +469,13 @@
|
||||
// Responsive
|
||||
@media (width <= 768px) {
|
||||
.dialog-content {
|
||||
padding: 1rem;
|
||||
gap: 1rem;
|
||||
padding: 0.875rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.banner-main {
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.banner-content {
|
||||
@@ -499,7 +499,7 @@
|
||||
|
||||
.dialog-footer {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
.footer-actions {
|
||||
width: 100%;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 1.25rem 1.5rem;
|
||||
padding: 1.0938rem 1.3125rem;
|
||||
background: var(--color-page);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
flex-shrink: 0;
|
||||
@@ -21,7 +21,7 @@
|
||||
.header-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.875rem;
|
||||
gap: 0.7656rem;
|
||||
}
|
||||
|
||||
.header-icon {
|
||||
@@ -34,7 +34,7 @@
|
||||
border-radius: 10px;
|
||||
|
||||
i {
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.0938rem;
|
||||
color: var(--color-primary-contrast);
|
||||
}
|
||||
}
|
||||
@@ -42,14 +42,14 @@
|
||||
.header-text {
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.0938rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0.125rem 0 0;
|
||||
font-size: 0.875rem;
|
||||
margin: 0.1094rem 0 0;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
}
|
||||
@@ -73,19 +73,19 @@
|
||||
.p-tablist {
|
||||
background: var(--color-page);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
padding: 0 1rem;
|
||||
padding: 0 0.875rem;
|
||||
}
|
||||
|
||||
.p-tab {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.875rem 1rem;
|
||||
font-size: 0.875rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.7656rem 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 500;
|
||||
|
||||
i {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,9 +107,9 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
padding: 1.25rem 1.5rem;
|
||||
padding: 1.0938rem 1.3125rem;
|
||||
overflow-y: auto;
|
||||
gap: 1.25rem;
|
||||
gap: 1.0938rem;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
@@ -136,10 +136,10 @@
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
left: 0.875rem;
|
||||
left: 0.7656rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
color: var(--color-text-secondary);
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
@@ -147,7 +147,7 @@
|
||||
|
||||
.search-input {
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem 0.75rem 2.5rem;
|
||||
padding: 0.6563rem 0.875rem 0.6563rem 2.1875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
.icon-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
flex: 1;
|
||||
align-content: start;
|
||||
}
|
||||
@@ -173,7 +173,7 @@
|
||||
transition: all 0.15s ease;
|
||||
|
||||
> i {
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.0938rem;
|
||||
color: var(--color-text);
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
@@ -219,13 +219,13 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
padding: 3rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 2.625rem;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
|
||||
i {
|
||||
font-size: 1.5rem;
|
||||
font-size: 1.3125rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -237,7 +237,7 @@
|
||||
.trash-zone-container {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
padding-top: 1rem;
|
||||
padding-top: 0.875rem;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
@@ -245,17 +245,17 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.625rem;
|
||||
padding: 0.875rem 1.25rem;
|
||||
gap: 0.5469rem;
|
||||
padding: 0.7656rem 1.0938rem;
|
||||
background: var(--color-page);
|
||||
border: 2px dashed var(--color-border);
|
||||
border-radius: 8px;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
i {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--p-red-400);
|
||||
}
|
||||
|
||||
@@ -271,21 +271,21 @@
|
||||
background: var(--color-page);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
padding: 1.25rem;
|
||||
padding: 1.0938rem;
|
||||
|
||||
.section-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.85rem;
|
||||
gap: 0.4375rem;
|
||||
margin-bottom: 0.875rem;
|
||||
font-size: 0.7438rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.03em;
|
||||
color: var(--color-text-secondary);
|
||||
|
||||
> i {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
@@ -295,11 +295,11 @@
|
||||
justify-content: center;
|
||||
min-width: 20px;
|
||||
height: 20px;
|
||||
padding: 0 0.375rem;
|
||||
padding: 0 0.3281rem;
|
||||
background: var(--color-primary);
|
||||
color: var(--color-primary-contrast);
|
||||
border-radius: 10px;
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.6125rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@
|
||||
}
|
||||
|
||||
&.queue-section {
|
||||
margin-top: 1rem;
|
||||
margin-top: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -317,30 +317,30 @@
|
||||
.form-fields {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
label {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 500;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.input-full {
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem;
|
||||
padding: 0.6563rem 0.875rem;
|
||||
}
|
||||
|
||||
.code-textarea {
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem;
|
||||
padding: 0.6563rem 0.875rem;
|
||||
font-family: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', monospace;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
resize: vertical;
|
||||
line-height: 1.5;
|
||||
}
|
||||
@@ -354,8 +354,8 @@
|
||||
overflow: hidden;
|
||||
|
||||
.preview-label {
|
||||
padding: 0.5rem 0.75rem;
|
||||
font-size: 0.75rem;
|
||||
padding: 0.4375rem 0.6563rem;
|
||||
font-size: var(--app-text-xs);
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.03em;
|
||||
@@ -368,7 +368,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
min-height: 120px;
|
||||
|
||||
::ng-deep svg {
|
||||
@@ -384,17 +384,17 @@
|
||||
.error-message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.6563rem 0.875rem;
|
||||
background: rgb(239 68 68 / 10%);
|
||||
border: 1px solid rgb(239 68 68 / 20%);
|
||||
border-radius: 6px;
|
||||
color: var(--p-red-400);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 500;
|
||||
|
||||
i {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -402,8 +402,8 @@
|
||||
.form-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 1rem;
|
||||
padding-top: 1rem;
|
||||
margin-top: 0.875rem;
|
||||
padding-top: 0.875rem;
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
@@ -411,10 +411,10 @@
|
||||
.queue-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
max-height: 280px;
|
||||
overflow-y: auto;
|
||||
padding: 0.25rem;
|
||||
padding: 0.2188rem;
|
||||
}
|
||||
|
||||
.queue-item {
|
||||
@@ -436,13 +436,13 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0.5rem 0.625rem;
|
||||
padding: 0.4375rem 0.5469rem;
|
||||
background: var(--color-page);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.queue-item-name {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
font-weight: 600;
|
||||
color: var(--color-text);
|
||||
overflow: hidden;
|
||||
@@ -469,7 +469,7 @@
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.625rem;
|
||||
font-size: 0.5469rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -477,7 +477,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.75rem;
|
||||
padding: 0.6563rem;
|
||||
min-height: 60px;
|
||||
|
||||
::ng-deep svg {
|
||||
@@ -489,8 +489,8 @@
|
||||
}
|
||||
|
||||
.queue-item-error {
|
||||
padding: 0.5rem 0.625rem;
|
||||
font-size: 0.6875rem;
|
||||
padding: 0.4375rem 0.5469rem;
|
||||
font-size: 0.6016rem;
|
||||
color: var(--p-red-400);
|
||||
background: rgb(239 68 68 / 8%);
|
||||
border-top: 1px solid rgb(239 68 68 / 15%);
|
||||
@@ -505,29 +505,29 @@
|
||||
}
|
||||
|
||||
.dialog-header {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
|
||||
.header-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
|
||||
i {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
}
|
||||
|
||||
.header-text h1 {
|
||||
font-size: 1.125rem;
|
||||
font-size: var(--app-text-lg);
|
||||
}
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
}
|
||||
|
||||
.icon-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
}
|
||||
|
||||
.icon-item {
|
||||
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
<ng-container *transloco="let t">
|
||||
@if (progressService.state(); as progress) {
|
||||
@if (progress.active) {
|
||||
<div class="rounded-lg border border-[var(--primary-color)] bg-[var(--card-background)] p-4">
|
||||
<div class="mb-2 flex items-center justify-between gap-3">
|
||||
<div class="flex min-w-0 items-center gap-2 text-[var(--primary-color)]">
|
||||
<div class="rounded-lg border border-[var(--primary-color)] bg-[var(--card-background)] p-3.5">
|
||||
<div class="mb-1.5 flex items-center justify-between gap-2.5">
|
||||
<div class="flex min-w-0 items-center gap-1.5 text-[var(--primary-color)]">
|
||||
<i class="pi pi-book" aria-hidden="true"></i>
|
||||
<p class="m-0 text-sm font-semibold">{{ t('libraryCreator.loading.title') }}</p>
|
||||
<p class="m-0 text-xs font-semibold">{{ t('libraryCreator.loading.title') }}</p>
|
||||
</div>
|
||||
<p-tag
|
||||
[value]="t(getStatusLabelKey(progress.status))"
|
||||
@@ -13,7 +13,7 @@
|
||||
</p-tag>
|
||||
</div>
|
||||
|
||||
<div class="mb-2 break-words text-base text-zinc-200">
|
||||
<div class="mb-1.5 break-words text-sm text-zinc-200">
|
||||
@if (progress.status === 'COMPLETED') {
|
||||
{{ t('libraryCreator.loading.complete') }}
|
||||
} @else if (progress.status === 'ERROR') {
|
||||
@@ -23,7 +23,7 @@
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="mb-2 text-sm text-zinc-300 tabular-nums">
|
||||
<div class="mb-1.5 text-xs text-zinc-300 tabular-nums">
|
||||
<span [innerHTML]="t('shared.metadataProgress.bookProgress', { current: getCurrentCount(progress), total: progress.expectedCount })"></span>
|
||||
</div>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</p-progressBar>
|
||||
|
||||
@if (progress.status !== 'IN_PROGRESS') {
|
||||
<div class="mt-4 flex flex-wrap justify-end gap-2">
|
||||
<div class="mt-3.5 flex flex-wrap justify-end gap-1.5">
|
||||
@if (progress.libraryId !== undefined) {
|
||||
<button
|
||||
pButton
|
||||
|
||||
+5
-5
@@ -1,21 +1,21 @@
|
||||
.live-border {
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--color-primary);
|
||||
border-radius: 0.5rem;
|
||||
border-radius: 0.4375rem;
|
||||
}
|
||||
|
||||
.notification-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1rem;
|
||||
gap: 0.5rem;
|
||||
padding: 0.875rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.notification-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.tag-centered {
|
||||
@@ -23,7 +23,7 @@
|
||||
}
|
||||
|
||||
.notification-timestamp {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--color-text-secondary);
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
@@ -26,13 +26,13 @@
|
||||
</div>
|
||||
|
||||
@if (infoMessage) {
|
||||
<div class="info-message" style="margin-bottom: 1rem;">
|
||||
<div class="info-message" style="margin-bottom: 0.875rem;">
|
||||
<p-message severity="info">{{ infoMessage }}</p-message>
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (errorMessage) {
|
||||
<div class="error-message" style="margin-bottom: 1rem;">
|
||||
<div class="error-message" style="margin-bottom: 0.875rem;">
|
||||
<p-message severity="error">{{ errorMessage }}</p-message>
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -35,13 +35,13 @@
|
||||
.login-subtitle {
|
||||
@include auth.auth-subtitle;
|
||||
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
|
||||
.oidc-warning {
|
||||
margin-bottom: 1.5rem;
|
||||
padding: 1rem;
|
||||
border-radius: 0.75rem;
|
||||
margin-bottom: 1.3125rem;
|
||||
padding: 0.875rem;
|
||||
border-radius: 0.6563rem;
|
||||
background: rgb(245 158 11 / 10%);
|
||||
border: 1px solid rgb(245 158 11 / 30%);
|
||||
animation: fadeIn 0.3s ease-out;
|
||||
@@ -50,24 +50,24 @@
|
||||
.warning-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.warning-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
color: #fbbf24;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 600;
|
||||
|
||||
i {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
}
|
||||
|
||||
.warning-message {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: #fcd34d;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
.warning-actions {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
.login-button {
|
||||
@include auth.auth-button;
|
||||
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.4375rem;
|
||||
}
|
||||
|
||||
.error-message {
|
||||
@@ -105,7 +105,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
margin: 1.5rem 0;
|
||||
margin: 1.3125rem 0;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
@@ -115,8 +115,8 @@
|
||||
}
|
||||
|
||||
span {
|
||||
padding: 0 1rem;
|
||||
font-size: 0.875rem;
|
||||
padding: 0 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: rgb(255 255 255 / 50%);
|
||||
font-weight: 500;
|
||||
}
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
.oidc-button {
|
||||
::ng-deep button {
|
||||
height: 2.75rem;
|
||||
height: 2.4063rem;
|
||||
background: rgb(255 255 255 / 5%);
|
||||
border: 1px solid rgb(255 255 255 / 15%);
|
||||
color: rgb(255 255 255 / 90%);
|
||||
@@ -140,13 +140,13 @@
|
||||
|
||||
.help-text {
|
||||
text-align: center;
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.4375rem;
|
||||
}
|
||||
|
||||
.text-link {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
color: rgb(255 255 255 / 50%);
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
|
||||
+17
-17
@@ -1,29 +1,29 @@
|
||||
.task-border {
|
||||
margin-top: 1rem;
|
||||
margin-top: 0.875rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--color-primary);
|
||||
border-radius: 0.5rem;
|
||||
border-radius: 0.4375rem;
|
||||
}
|
||||
|
||||
.task-card {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
}
|
||||
|
||||
.task-header-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0.5rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.task-title-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.task-title {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 600;
|
||||
color: var(--color-primary);
|
||||
margin: 0;
|
||||
@@ -32,45 +32,45 @@
|
||||
.task-tags {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
}
|
||||
|
||||
:host ::ng-deep .task-tag {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
|
||||
.task-header {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-bottom: 0.5rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.task-message {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--color-text);
|
||||
margin-bottom: 0.5rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.task-progress-info {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--color-text-secondary);
|
||||
margin-bottom: 0.5rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
margin-top: 1rem;
|
||||
margin-top: 0.875rem;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.review-button {
|
||||
text-align: right;
|
||||
margin-top: 0.75rem;
|
||||
margin-top: 0.6563rem;
|
||||
}
|
||||
|
||||
.review-indicator {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
--app-rating-color: var(--p-rating-icon-active-color, var(--p-primary-color));
|
||||
--app-rating-empty-color: var(--p-rating-icon-color, var(--p-text-muted-color));
|
||||
--app-rating-gap: var(--p-rating-gap, 0.25rem);
|
||||
--app-rating-gap: var(--p-rating-gap, 0.2188rem);
|
||||
--app-rating-size: 18px;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,107 +2,107 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.375rem;
|
||||
padding: 0.1875rem 0.4375rem;
|
||||
font-size: 0.875rem;
|
||||
gap: 0.3281rem;
|
||||
padding: 0.1641rem 0.3828rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 500;
|
||||
line-height: 1.25rem;
|
||||
border-radius: 0.375rem;
|
||||
line-height: 1.0938rem;
|
||||
border-radius: 0.3281rem;
|
||||
white-space: nowrap;
|
||||
|
||||
&-5xs {
|
||||
padding: 0.0938rem 0.3125rem;
|
||||
font-size: 0.625rem;
|
||||
line-height: 0.875rem;
|
||||
gap: 0.25rem;
|
||||
padding: 0.0821rem 0.2734rem;
|
||||
font-size: 0.5469rem;
|
||||
line-height: 0.7656rem;
|
||||
gap: 0.2188rem;
|
||||
}
|
||||
|
||||
&-4xs {
|
||||
padding: 0.1094rem 0.3281rem;
|
||||
font-size: 0.6875rem;
|
||||
line-height: 0.9375rem;
|
||||
gap: 0.2813rem;
|
||||
padding: 0.0957rem 0.2871rem;
|
||||
font-size: 0.6016rem;
|
||||
line-height: 0.8203rem;
|
||||
gap: 0.2461rem;
|
||||
}
|
||||
|
||||
&-3xs {
|
||||
padding: 0.125rem 0.375rem;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1rem;
|
||||
gap: 0.3125rem;
|
||||
padding: 0.1094rem 0.3281rem;
|
||||
font-size: var(--app-text-xs);
|
||||
line-height: 0.875rem;
|
||||
gap: 0.2734rem;
|
||||
}
|
||||
|
||||
&-2xs {
|
||||
padding: 0.1406rem 0.3906rem;
|
||||
font-size: 0.7813rem;
|
||||
line-height: 1.0625rem;
|
||||
gap: 0.3281rem;
|
||||
padding: 0.123rem 0.3418rem;
|
||||
font-size: 0.6836rem;
|
||||
line-height: 0.9297rem;
|
||||
gap: 0.2871rem;
|
||||
}
|
||||
|
||||
&-xs {
|
||||
padding: 0.1563rem 0.4063rem;
|
||||
font-size: 0.8125rem;
|
||||
line-height: 1.125rem;
|
||||
gap: 0.3438rem;
|
||||
padding: 0.1368rem 0.3555rem;
|
||||
font-size: 0.7109rem;
|
||||
line-height: 0.9844rem;
|
||||
gap: 0.3008rem;
|
||||
}
|
||||
|
||||
&-s {
|
||||
padding: 0.1719rem 0.4219rem;
|
||||
font-size: 0.8438rem;
|
||||
line-height: 1.1875rem;
|
||||
gap: 0.3594rem;
|
||||
padding: 0.1504rem 0.3692rem;
|
||||
font-size: 0.7383rem;
|
||||
line-height: 1.0391rem;
|
||||
gap: 0.3145rem;
|
||||
}
|
||||
|
||||
&-m {
|
||||
padding: 0.1875rem 0.4375rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.25rem;
|
||||
gap: 0.375rem;
|
||||
padding: 0.1641rem 0.3828rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.0938rem;
|
||||
gap: 0.3281rem;
|
||||
}
|
||||
|
||||
&-l {
|
||||
padding: 0.2031rem 0.4531rem;
|
||||
font-size: 0.9063rem;
|
||||
line-height: 1.3125rem;
|
||||
gap: 0.3906rem;
|
||||
padding: 0.1777rem 0.3965rem;
|
||||
font-size: 0.793rem;
|
||||
line-height: 1.1484rem;
|
||||
gap: 0.3418rem;
|
||||
}
|
||||
|
||||
&-xl {
|
||||
padding: 0.2188rem 0.4688rem;
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.375rem;
|
||||
gap: 0.4063rem;
|
||||
padding: 0.1915rem 0.4102rem;
|
||||
font-size: 0.8203rem;
|
||||
line-height: 1.2031rem;
|
||||
gap: 0.3555rem;
|
||||
}
|
||||
|
||||
&-2xl {
|
||||
padding: 0.2344rem 0.4844rem;
|
||||
font-size: 0.9688rem;
|
||||
line-height: 1.4375rem;
|
||||
gap: 0.4219rem;
|
||||
padding: 0.2051rem 0.4239rem;
|
||||
font-size: 0.8477rem;
|
||||
line-height: 1.2578rem;
|
||||
gap: 0.3692rem;
|
||||
}
|
||||
|
||||
&-3xl {
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.2188rem 0.4375rem;
|
||||
font-size: var(--app-text-base);
|
||||
line-height: 1.3125rem;
|
||||
gap: 0.3828rem;
|
||||
}
|
||||
|
||||
&-4xl {
|
||||
padding: 0.2813rem 0.5313rem;
|
||||
font-size: 1.0625rem;
|
||||
line-height: 1.5625rem;
|
||||
gap: 0.4688rem;
|
||||
padding: 0.2461rem 0.4649rem;
|
||||
font-size: 0.9297rem;
|
||||
line-height: 1.3672rem;
|
||||
gap: 0.4102rem;
|
||||
}
|
||||
|
||||
&-5xl {
|
||||
padding: 0.3125rem 0.5625rem;
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.625rem;
|
||||
gap: 0.5rem;
|
||||
padding: 0.2734rem 0.4922rem;
|
||||
font-size: var(--app-text-lg);
|
||||
line-height: 1.4219rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
&-rounded {
|
||||
border-radius: 0.5rem;
|
||||
border-radius: 0.4375rem;
|
||||
}
|
||||
|
||||
&-pill {
|
||||
@@ -187,7 +187,7 @@
|
||||
|
||||
&-variant-pill {
|
||||
border-radius: 9999px;
|
||||
padding: 0.125rem 0.375rem;
|
||||
padding: 0.1094rem 0.3281rem;
|
||||
|
||||
&.app-tag-primary {
|
||||
background-color: var(--color-primary-600);
|
||||
|
||||
+5
-5
@@ -1,12 +1,12 @@
|
||||
.metadata-progress-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
width: 25rem;
|
||||
gap: 0.875rem;
|
||||
width: 21.875rem;
|
||||
max-width: 100%;
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
border-radius: 0.5rem;
|
||||
border-radius: 0.4375rem;
|
||||
}
|
||||
|
||||
::ng-deep .p-divider-horizontal {
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
@media (width <= 991px) {
|
||||
.metadata-progress-box {
|
||||
width: min(25rem, calc(100vw - 1.5rem));
|
||||
max-height: calc(100dvh - 1rem);
|
||||
width: min(21.875rem, calc(100vw - 1.3125rem));
|
||||
max-height: calc(100dvh - 0.875rem);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user