chore(ui): normalise text size and spacing (#1656)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -19,7 +19,7 @@
|
||||
.settings-card {
|
||||
@include settings.settings-card;
|
||||
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.section-header {
|
||||
@@ -29,7 +29,7 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
.filter-controls {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
@@ -65,8 +65,8 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
@@ -93,7 +93,7 @@
|
||||
|
||||
.timestamp-cell {
|
||||
white-space: nowrap;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
cursor: default;
|
||||
}
|
||||
@@ -112,24 +112,24 @@
|
||||
|
||||
.ip-cell {
|
||||
font-family: 'SF Mono', Monaco, 'Courier New', monospace;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--p-text-muted-color);
|
||||
}
|
||||
|
||||
.flag-emoji {
|
||||
font-size: 1.15rem;
|
||||
margin-right: 0.25rem;
|
||||
font-size: 1.0063rem;
|
||||
margin-right: 0.2188rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
::ng-deep .p-datatable.p-datatable-sm .p-datatable-tbody > tr > td.empty-message {
|
||||
text-align: center;
|
||||
padding: 3rem 2rem;
|
||||
padding: 2.625rem 1.75rem;
|
||||
color: var(--p-text-muted-color);
|
||||
|
||||
.pi {
|
||||
display: block;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,12 +65,12 @@
|
||||
</span>
|
||||
@if (!fontsLoadedInBrowser) {
|
||||
<div class="font-preview-skeleton">
|
||||
<p-skeleton width="100%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="100%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="85%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="60%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="85%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="95%" height="0.875rem"></p-skeleton>
|
||||
<p-skeleton width="100%" height="0.875rem"></p-skeleton>
|
||||
<p-skeleton width="100%" height="0.875rem"></p-skeleton>
|
||||
<p-skeleton width="85%" height="0.875rem"></p-skeleton>
|
||||
<p-skeleton width="60%" height="0.875rem"></p-skeleton>
|
||||
<p-skeleton width="85%" height="0.875rem"></p-skeleton>
|
||||
<p-skeleton width="95%" height="0.7656rem"></p-skeleton>
|
||||
</div>
|
||||
} @else {
|
||||
<div class="font-preview" [style.font-family]="font.fontName">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
.main-container {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
@@ -15,11 +15,11 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,21 +31,21 @@
|
||||
.settings-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
font-size: 1.25rem;
|
||||
gap: 0.6563rem;
|
||||
font-size: 1.0938rem;
|
||||
font-weight: 700;
|
||||
color: var(--p-text-color);
|
||||
margin: 0 0 0.75rem;
|
||||
margin: 0 0 0.6563rem;
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.0938rem;
|
||||
}
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.5;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -53,24 +53,24 @@
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
|
||||
.section-header {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 1.125rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: var(--app-text-lg);
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
@@ -78,14 +78,14 @@
|
||||
|
||||
.font-count {
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
.section-description {
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
}
|
||||
@@ -94,10 +94,10 @@
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 8px;
|
||||
background: var(--p-content-background);
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
// ==================== Empty State ====================
|
||||
@@ -107,7 +107,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
padding: 3rem 1.5rem;
|
||||
padding: 2.625rem 1.3125rem;
|
||||
min-height: 300px;
|
||||
|
||||
.empty-icon-wrapper {
|
||||
@@ -118,26 +118,26 @@
|
||||
height: 80px;
|
||||
background: color-mix(in srgb, var(--p-primary-color) 10%, transparent);
|
||||
border-radius: 50%;
|
||||
margin-bottom: 1.5rem;
|
||||
margin-bottom: 1.3125rem;
|
||||
border: 3px dashed var(--p-primary-color);
|
||||
|
||||
.empty-icon {
|
||||
font-size: 2.5rem;
|
||||
font-size: 2.1875rem;
|
||||
color: var(--p-primary-color);
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
margin: 0 0 0.75rem;
|
||||
font-size: 1.25rem;
|
||||
margin: 0 0 0.6563rem;
|
||||
font-size: 1.0938rem;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
.empty-description {
|
||||
margin: 0 0 1rem;
|
||||
font-size: 0.9375rem;
|
||||
margin: 0 0 0.875rem;
|
||||
font-size: 0.8203rem;
|
||||
color: var(--p-text-muted-color);
|
||||
max-width: 500px;
|
||||
line-height: 1.6;
|
||||
@@ -147,19 +147,19 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
margin: 0;
|
||||
padding: 0.75rem 1.25rem;
|
||||
padding: 0.6563rem 1.0938rem;
|
||||
background: color-mix(in srgb, var(--p-primary-color) 5%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--p-primary-color) 20%, transparent);
|
||||
border-radius: 6px;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
max-width: 500px;
|
||||
|
||||
i {
|
||||
color: var(--p-primary-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -170,35 +170,35 @@
|
||||
}
|
||||
|
||||
@media (width <= 768px) {
|
||||
padding: 2rem 1rem;
|
||||
padding: 1.75rem 0.875rem;
|
||||
min-height: 250px;
|
||||
|
||||
.empty-icon-wrapper {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
|
||||
.empty-icon {
|
||||
font-size: 2rem;
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
font-size: 1.125rem;
|
||||
font-size: var(--app-text-lg);
|
||||
}
|
||||
|
||||
.empty-description {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.empty-hint {
|
||||
font-size: 0.75rem;
|
||||
padding: 0.625rem 1rem;
|
||||
font-size: var(--app-text-xs);
|
||||
padding: 0.5469rem 0.875rem;
|
||||
max-width: 100%;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -207,7 +207,7 @@
|
||||
.fonts-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
||||
gap: 1.5rem;
|
||||
gap: 1.3125rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -223,32 +223,32 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
padding: 1rem 1rem 0.75rem;
|
||||
gap: 0.875rem;
|
||||
padding: 0.875rem 0.875rem 0.6563rem;
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
|
||||
.font-title-group {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.font-name {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
.format-tag {
|
||||
display: inline-block;
|
||||
padding: 0.1875rem 0.5rem;
|
||||
padding: 0.1641rem 0.4375rem;
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
border: 1px solid var(--p-primary-color);
|
||||
color: var(--p-primary-color);
|
||||
font-size: 0.6875rem;
|
||||
font-size: 0.6016rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
@@ -257,37 +257,37 @@
|
||||
}
|
||||
|
||||
.font-preview-area {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
|
||||
.preview-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
font-size: 0.75rem;
|
||||
gap: 0.3281rem;
|
||||
font-size: var(--app-text-xs);
|
||||
font-weight: 600;
|
||||
color: var(--p-text-muted-color);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
|
||||
i {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
}
|
||||
|
||||
.font-preview {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
background: color-mix(in srgb, var(--p-surface-ground) 30%, var(--p-content-background));
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
.preview-paragraph {
|
||||
color: var(--p-text-color);
|
||||
font-size: 0.9375rem;
|
||||
font-size: 0.8203rem;
|
||||
line-height: 1.7;
|
||||
margin: 0;
|
||||
text-align: justify;
|
||||
@@ -296,7 +296,7 @@
|
||||
|
||||
.preview-paragraph-small {
|
||||
color: var(--p-text-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
text-align: justify;
|
||||
@@ -306,13 +306,13 @@
|
||||
.preview-characters {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
padding-top: 0.5rem;
|
||||
margin-top: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
padding-top: 0.4375rem;
|
||||
margin-top: 0.2188rem;
|
||||
border-top: 1px solid var(--p-content-border-color);
|
||||
|
||||
span {
|
||||
font-size: 0.6875rem;
|
||||
font-size: 0.6016rem;
|
||||
color: var(--p-text-muted-color);
|
||||
letter-spacing: 0.025em;
|
||||
font-weight: 400;
|
||||
@@ -321,26 +321,26 @@
|
||||
}
|
||||
|
||||
.font-preview-skeleton {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
background: color-mix(in srgb, var(--p-surface-ground) 30%, var(--p-content-background));
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.font-metadata {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
background: color-mix(in srgb, var(--p-surface-ground) 20%, var(--p-content-background));
|
||||
|
||||
.metadata-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 0.375rem 0;
|
||||
gap: 0.875rem;
|
||||
padding: 0.3281rem 0;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
@@ -349,19 +349,19 @@
|
||||
.meta-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
font-weight: 500;
|
||||
|
||||
i {
|
||||
color: var(--p-primary-color);
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
}
|
||||
|
||||
.meta-value {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-color);
|
||||
font-weight: 500;
|
||||
text-align: right;
|
||||
@@ -373,7 +373,7 @@
|
||||
|
||||
.float-top-right {
|
||||
position: absolute;
|
||||
top: -0.5rem;
|
||||
right: -0.5rem;
|
||||
top: -0.4375rem;
|
||||
right: -0.4375rem;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
+46
-46
@@ -21,16 +21,16 @@
|
||||
.upload-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1.75rem;
|
||||
gap: 0.875rem;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,29 +42,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -75,7 +75,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
padding: 1.5rem 1rem;
|
||||
padding: 1.3125rem 0.875rem;
|
||||
|
||||
.empty-icon-wrapper {
|
||||
display: flex;
|
||||
@@ -85,26 +85,26 @@
|
||||
height: 80px;
|
||||
background: var(--overlay-background);
|
||||
border-radius: 50%;
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
border: 3px dashed var(--border-color);
|
||||
|
||||
.empty-icon {
|
||||
font-size: 2.5rem;
|
||||
font-size: 2.1875rem;
|
||||
color: var(--text-secondary-color);
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
|
||||
.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: 450px;
|
||||
line-height: 1.5;
|
||||
@@ -115,25 +115,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%;
|
||||
}
|
||||
}
|
||||
@@ -142,7 +142,7 @@
|
||||
|
||||
// ==================== Upload Zone ====================
|
||||
.upload-zone {
|
||||
padding: 2rem;
|
||||
padding: 1.75rem;
|
||||
text-align: center;
|
||||
border: 2px dashed var(--border-color);
|
||||
border-radius: 8px;
|
||||
@@ -187,7 +187,7 @@
|
||||
.file-selected {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
gap: 1.3125rem;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
@@ -196,8 +196,8 @@
|
||||
.file-info-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1rem;
|
||||
gap: 0.875rem;
|
||||
padding: 0.875rem;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
background: var(--overlay-background);
|
||||
@@ -206,7 +206,7 @@
|
||||
overflow: hidden;
|
||||
|
||||
i {
|
||||
font-size: 2rem;
|
||||
font-size: 1.75rem;
|
||||
color: var(--primary-color);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -215,20 +215,20 @@
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
|
||||
.file-name {
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
font-size: 0.9375rem;
|
||||
font-size: 0.8203rem;
|
||||
overflow-wrap: anywhere;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.file-meta {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
}
|
||||
@@ -237,7 +237,7 @@
|
||||
.preview-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
@@ -245,27 +245,27 @@
|
||||
.preview-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
font-size: 0.75rem;
|
||||
gap: 0.3281rem;
|
||||
font-size: var(--app-text-xs);
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary-color);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
|
||||
i {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--primary-color);
|
||||
}
|
||||
}
|
||||
|
||||
.font-preview {
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
background: var(--overlay-background);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
width: 100%;
|
||||
@@ -274,7 +274,7 @@
|
||||
|
||||
.preview-paragraph {
|
||||
color: var(--text-color);
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
line-height: 1.7;
|
||||
margin: 0;
|
||||
text-align: justify;
|
||||
@@ -283,7 +283,7 @@
|
||||
|
||||
.preview-paragraph-small {
|
||||
color: var(--text-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
text-align: justify;
|
||||
@@ -293,13 +293,13 @@
|
||||
.preview-characters {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
padding-top: 0.75rem;
|
||||
margin-top: 0.5rem;
|
||||
gap: 0.3281rem;
|
||||
padding-top: 0.6563rem;
|
||||
margin-top: 0.4375rem;
|
||||
border-top: 1px solid var(--border-color);
|
||||
|
||||
span {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--text-secondary-color);
|
||||
letter-spacing: 0.025em;
|
||||
font-weight: 400;
|
||||
@@ -311,7 +311,7 @@
|
||||
.setting-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
@@ -324,13 +324,13 @@
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-description {
|
||||
color: var(--text-secondary-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
}
|
||||
@@ -339,7 +339,7 @@
|
||||
.setting-control {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
width: 100%;
|
||||
|
||||
.font-name-input {
|
||||
|
||||
+21
-21
@@ -2,7 +2,7 @@
|
||||
|
||||
.main-container {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -21,8 +21,8 @@
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
margin-top: 1.5rem;
|
||||
gap: 1.75rem;
|
||||
margin-top: 1.3125rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
padding-left: 0;
|
||||
@@ -38,15 +38,15 @@
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
margin-left: 0.875rem;
|
||||
margin-right: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
}
|
||||
|
||||
.section-description {
|
||||
@@ -56,12 +56,12 @@
|
||||
.settings-card {
|
||||
@include settings.settings-card;
|
||||
|
||||
padding: 1rem 1.5rem 1.5rem;
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
padding: 0.875rem 1.3125rem 1.3125rem;
|
||||
margin-left: 0.875rem;
|
||||
margin-right: 0.875rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
@@ -70,8 +70,8 @@
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
padding: 0.5rem 0;
|
||||
gap: 1.75rem;
|
||||
padding: 0.4375rem 0;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
@@ -80,8 +80,8 @@
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 0.5rem 0;
|
||||
gap: 0.875rem;
|
||||
padding: 0.4375rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,15 +93,15 @@
|
||||
display: block;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
@@ -133,7 +133,7 @@
|
||||
.token-input-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
width: 100%;
|
||||
|
||||
.token-input {
|
||||
|
||||
+17
-17
@@ -2,7 +2,7 @@
|
||||
|
||||
.main-container {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -21,26 +21,26 @@
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
margin-top: 1.5rem;
|
||||
gap: 1.75rem;
|
||||
margin-top: 1.3125rem;
|
||||
}
|
||||
|
||||
.preferences-section {
|
||||
@media (width >= 768px) {
|
||||
padding: 0 1rem;
|
||||
padding: 0 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
}
|
||||
|
||||
.section-description {
|
||||
@@ -50,17 +50,17 @@
|
||||
.settings-card {
|
||||
@include settings.settings-card;
|
||||
|
||||
padding: 1.75rem;
|
||||
padding: 1.5313rem;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,15 +72,15 @@
|
||||
display: block;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
@@ -122,7 +122,7 @@
|
||||
.setting-warning {
|
||||
@include settings.settings-warning-notice;
|
||||
|
||||
margin-top: 0.75rem;
|
||||
margin-top: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
align-items: flex-end;
|
||||
|
||||
@media (width <= 768px) {
|
||||
@@ -142,7 +142,7 @@
|
||||
.token-input-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
width: 100%;
|
||||
|
||||
.token-input {
|
||||
|
||||
+19
-19
@@ -10,7 +10,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -20,27 +20,27 @@
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
margin-top: 1.5rem;
|
||||
gap: 1.75rem;
|
||||
margin-top: 1.3125rem;
|
||||
}
|
||||
|
||||
.preferences-section {
|
||||
@media (width >= 768px) {
|
||||
padding: 0 1rem;
|
||||
padding: 0 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-top: 1.25rem;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 1.0938rem;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
}
|
||||
|
||||
.section-description {
|
||||
@@ -50,14 +50,14 @@
|
||||
.settings-card {
|
||||
@include settings.settings-card;
|
||||
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
padding: 0.5rem 0;
|
||||
gap: 1.75rem;
|
||||
padding: 0.4375rem 0;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
@@ -66,8 +66,8 @@
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 0.5rem 0;
|
||||
gap: 0.875rem;
|
||||
padding: 0.4375rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,14 +80,14 @@
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
font-size: settings.$settings-label-size;
|
||||
margin-bottom: 0.5rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
@@ -120,7 +120,7 @@
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
align-items: flex-end;
|
||||
min-width: 350px;
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
.token-input-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
width: 100%;
|
||||
|
||||
.token-input {
|
||||
@@ -158,8 +158,8 @@
|
||||
|
||||
.error-message {
|
||||
color: var(--p-red-500);
|
||||
font-size: 0.75rem;
|
||||
margin-top: 0.25rem;
|
||||
font-size: var(--app-text-xs);
|
||||
margin-top: 0.2188rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,5 +7,5 @@
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
|
||||
+35
-35
@@ -1,10 +1,10 @@
|
||||
@use '../../../../shared/styles/panel-shared' as panel;
|
||||
|
||||
.email-provider-form {
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
gap: 1.3125rem;
|
||||
}
|
||||
|
||||
.email-provider-creator {
|
||||
@@ -25,7 +25,7 @@
|
||||
.form-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
@@ -34,39 +34,39 @@
|
||||
overflow-y: auto;
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.form-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
&.highlight-group {
|
||||
padding: 0.875rem;
|
||||
padding: 0.7656rem;
|
||||
}
|
||||
|
||||
&.checkbox-group {
|
||||
padding: 0.75rem 0.875rem;
|
||||
padding: 0.6563rem 0.7656rem;
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
gap: 0.375rem;
|
||||
margin-bottom: 1rem;
|
||||
gap: 0.3281rem;
|
||||
margin-bottom: 0.875rem;
|
||||
|
||||
&.highlight-group {
|
||||
padding: 0.625rem;
|
||||
padding: 0.5469rem;
|
||||
}
|
||||
|
||||
&.checkbox-group {
|
||||
padding: 0.5rem 0.625rem;
|
||||
padding: 0.4375rem 0.5469rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -74,8 +74,8 @@
|
||||
.form-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
font-size: 0.95rem;
|
||||
gap: 0.3281rem;
|
||||
font-size: 0.8313rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
|
||||
@@ -85,17 +85,17 @@
|
||||
|
||||
.required-indicator {
|
||||
color: var(--p-red-500);
|
||||
margin-left: 0.125rem;
|
||||
margin-left: 0.1094rem;
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.form-input {
|
||||
width: 100%;
|
||||
max-width: 20rem;
|
||||
max-width: 17.5rem;
|
||||
}
|
||||
|
||||
.input-wrapper {
|
||||
@@ -103,16 +103,16 @@
|
||||
|
||||
.input-full {
|
||||
width: 100%;
|
||||
padding-right: 2.5rem;
|
||||
padding-right: 2.1875rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.input-icon {
|
||||
position: absolute;
|
||||
right: 0.75rem;
|
||||
right: 0.6563rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
pointer-events: none;
|
||||
|
||||
&.success {
|
||||
@@ -128,58 +128,58 @@
|
||||
|
||||
.form-error {
|
||||
color: #ef4444;
|
||||
padding-left: 10rem;
|
||||
font-size: 0.875rem;
|
||||
padding-left: 8.75rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
|
||||
.field-error {
|
||||
color: #ef4444;
|
||||
font-size: 0.875rem;
|
||||
margin-top: 0.25rem;
|
||||
font-size: var(--app-text-sm);
|
||||
margin-top: 0.2188rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
|
||||
&::before {
|
||||
content: '⚠';
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
.checkbox-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.125rem;
|
||||
gap: 0.1094rem;
|
||||
cursor: pointer;
|
||||
flex: 1;
|
||||
|
||||
.checkbox-title {
|
||||
font-size: 0.9375rem;
|
||||
font-size: 0.8203rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.checkbox-description {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.checkbox-label {
|
||||
.checkbox-title {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
|
||||
.checkbox-description {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -194,10 +194,10 @@
|
||||
var(--border-color) 80%,
|
||||
transparent
|
||||
);
|
||||
margin: 1.25rem 0;
|
||||
margin: 1.0938rem 0;
|
||||
|
||||
@media (width <= 480px) {
|
||||
margin: 1rem 0;
|
||||
margin: 0.875rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+28
-28
@@ -18,7 +18,7 @@
|
||||
.form-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
@@ -27,32 +27,32 @@
|
||||
overflow-y: auto;
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
&.highlight-group {
|
||||
padding: 0.875rem;
|
||||
padding: 0.7656rem;
|
||||
}
|
||||
|
||||
&.checkbox-group {
|
||||
padding: 0.75rem 0.875rem;
|
||||
padding: 0.6563rem 0.7656rem;
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
|
||||
&.highlight-group {
|
||||
padding: 0.625rem;
|
||||
padding: 0.5469rem;
|
||||
}
|
||||
|
||||
&.checkbox-group {
|
||||
padding: 0.5rem 0.625rem;
|
||||
padding: 0.4375rem 0.5469rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -60,8 +60,8 @@
|
||||
.form-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
font-size: 0.95rem;
|
||||
gap: 0.3281rem;
|
||||
font-size: 0.8313rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
|
||||
@@ -71,11 +71,11 @@
|
||||
|
||||
.required-indicator {
|
||||
color: var(--p-red-500);
|
||||
margin-left: 0.125rem;
|
||||
margin-left: 0.1094rem;
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,16 +84,16 @@
|
||||
|
||||
.input-full {
|
||||
width: 100%;
|
||||
padding-right: 2.5rem;
|
||||
padding-right: 2.1875rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.input-icon {
|
||||
position: absolute;
|
||||
right: 0.75rem;
|
||||
right: 0.6563rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
pointer-events: none;
|
||||
|
||||
&.success {
|
||||
@@ -109,52 +109,52 @@
|
||||
|
||||
.field-error {
|
||||
color: #ef4444;
|
||||
font-size: 0.875rem;
|
||||
margin-top: 0.25rem;
|
||||
font-size: var(--app-text-sm);
|
||||
margin-top: 0.2188rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
|
||||
&::before {
|
||||
content: '⚠';
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
.checkbox-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.125rem;
|
||||
gap: 0.1094rem;
|
||||
cursor: pointer;
|
||||
flex: 1;
|
||||
|
||||
.checkbox-title {
|
||||
font-size: 0.9375rem;
|
||||
font-size: 0.8203rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.checkbox-description {
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.checkbox-label {
|
||||
.checkbox-title {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
|
||||
.checkbox-description {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -169,10 +169,10 @@
|
||||
var(--border-color) 80%,
|
||||
transparent
|
||||
);
|
||||
margin: 1.25rem 0;
|
||||
margin: 1.0938rem 0;
|
||||
|
||||
@media (width <= 480px) {
|
||||
margin: 1rem 0;
|
||||
margin: 0.875rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+30
-30
@@ -12,7 +12,7 @@
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width <= 767px) {
|
||||
flex-direction: column;
|
||||
@@ -39,7 +39,7 @@
|
||||
.section-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
// Empty state
|
||||
@@ -48,22 +48,22 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3rem 2rem;
|
||||
padding: 2.625rem 1.75rem;
|
||||
text-align: center;
|
||||
color: var(--p-text-muted-color);
|
||||
background: var(--color-card);
|
||||
border-radius: 6px;
|
||||
|
||||
.pi {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 2.1875rem;
|
||||
margin-bottom: 0.875rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
.providers-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.provider-item {
|
||||
@@ -85,7 +85,7 @@
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-left: 3px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
transition: border-color 0.2s ease, background 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
@@ -101,15 +101,15 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
padding-bottom: 0.75rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.875rem;
|
||||
padding-bottom: 0.6563rem;
|
||||
border-bottom: 1px dashed var(--p-content-border-color);
|
||||
|
||||
@media (width <= 767px) {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,13 +121,13 @@
|
||||
.provider-name-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.provider-name {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
@@ -140,32 +140,32 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
width: 1.3125rem;
|
||||
height: 1.3125rem;
|
||||
background: color-mix(in srgb, var(--p-green-600) 20%, transparent);
|
||||
color: var(--p-green-400);
|
||||
border-radius: 4px;
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
|
||||
.pi {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
}
|
||||
|
||||
.default-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.125rem 0.5rem;
|
||||
padding: 0.1094rem 0.4375rem;
|
||||
background: color-mix(in srgb, var(--p-primary-color) 15%, transparent);
|
||||
color: var(--p-primary-color);
|
||||
border-radius: 4px;
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.provider-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
@media (width <= 767px) {
|
||||
@@ -177,13 +177,13 @@
|
||||
.provider-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.detail-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width <= 767px) {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -193,7 +193,7 @@
|
||||
.detail-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
|
||||
&.detail-item-wide {
|
||||
grid-column: span 2;
|
||||
@@ -211,13 +211,13 @@
|
||||
.detail-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
font-size: settings.$settings-description-size;
|
||||
font-weight: 500;
|
||||
color: var(--p-text-muted-color);
|
||||
|
||||
.pi {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--p-primary-color);
|
||||
}
|
||||
}
|
||||
@@ -238,15 +238,15 @@
|
||||
.toggle-options {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.5rem;
|
||||
padding-top: 0.75rem;
|
||||
gap: 1.3125rem;
|
||||
padding-top: 0.6563rem;
|
||||
border-top: 1px dashed var(--p-content-border-color);
|
||||
}
|
||||
|
||||
.toggle-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.toggle-label {
|
||||
|
||||
+23
-23
@@ -12,7 +12,7 @@
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width <= 767px) {
|
||||
flex-direction: column;
|
||||
@@ -39,7 +39,7 @@
|
||||
.section-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
// Empty state
|
||||
@@ -48,22 +48,22 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3rem 2rem;
|
||||
padding: 2.625rem 1.75rem;
|
||||
text-align: center;
|
||||
color: var(--p-text-muted-color);
|
||||
background: var(--color-card);
|
||||
border-radius: 6px;
|
||||
|
||||
.pi {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 2.1875rem;
|
||||
margin-bottom: 0.875rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
.recipients-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.recipient-item {
|
||||
@@ -85,7 +85,7 @@
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-left: 3px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
padding: 0.875rem 1rem;
|
||||
padding: 0.7656rem 0.875rem;
|
||||
transition: border-color 0.2s ease, background 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
@@ -100,12 +100,12 @@
|
||||
.recipient-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width <= 767px) {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,18 +125,18 @@
|
||||
.recipient-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
}
|
||||
|
||||
.recipient-email {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-weight: 500;
|
||||
color: var(--p-text-color);
|
||||
|
||||
.pi {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-primary-color);
|
||||
}
|
||||
}
|
||||
@@ -144,12 +144,12 @@
|
||||
.recipient-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: settings.$settings-description-size;
|
||||
color: var(--p-text-muted-color);
|
||||
|
||||
.pi {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--p-text-muted-color);
|
||||
}
|
||||
}
|
||||
@@ -157,18 +157,18 @@
|
||||
.default-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.125rem 0.5rem;
|
||||
padding: 0.1094rem 0.4375rem;
|
||||
background: color-mix(in srgb, var(--p-primary-color) 15%, transparent);
|
||||
color: var(--p-primary-color);
|
||||
border-radius: 4px;
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.6125rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
// Edit form
|
||||
.edit-form {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
@media (width <= 767px) {
|
||||
@@ -179,7 +179,7 @@
|
||||
.form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
flex: 1;
|
||||
min-width: 180px;
|
||||
|
||||
@@ -191,20 +191,20 @@
|
||||
.field-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
font-size: settings.$settings-description-size;
|
||||
font-weight: 500;
|
||||
color: var(--p-text-muted-color);
|
||||
|
||||
.pi {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--p-primary-color);
|
||||
}
|
||||
}
|
||||
|
||||
.recipient-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
@media (width <= 767px) {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -20,8 +20,8 @@
|
||||
.access-denied-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1.5rem;
|
||||
gap: 0.875rem;
|
||||
padding: 1.3125rem;
|
||||
border-radius: settings.$settings-card-border-radius;
|
||||
background: color-mix(in srgb, var(--ground-background) 85%, var(--p-red-600) 15%);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
@@ -29,15 +29,15 @@
|
||||
max-width: 500px;
|
||||
|
||||
> .pi {
|
||||
font-size: 1.5rem;
|
||||
font-size: 1.3125rem;
|
||||
flex-shrink: 0;
|
||||
color: var(--p-red-400);
|
||||
}
|
||||
|
||||
.access-denied-content {
|
||||
h3 {
|
||||
margin: 0 0 0.5rem;
|
||||
font-size: 1rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-red-300);
|
||||
}
|
||||
|
||||
+67
-67
@@ -10,7 +10,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -18,8 +18,8 @@
|
||||
}
|
||||
|
||||
.warning-notice {
|
||||
margin-top: -2rem;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: -1.75rem;
|
||||
margin-bottom: 0.875rem;
|
||||
|
||||
@include settings.settings-warning-notice;
|
||||
}
|
||||
@@ -50,22 +50,22 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3rem 2rem;
|
||||
padding: 2.625rem 1.75rem;
|
||||
text-align: center;
|
||||
color: var(--p-text-muted-color);
|
||||
background: var(--color-card);
|
||||
border-radius: 6px;
|
||||
|
||||
.pi {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 2.1875rem;
|
||||
margin-bottom: 0.875rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
@@ -81,23 +81,23 @@
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-left: 3px solid var(--p-primary-color);
|
||||
border-radius: 6px;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
}
|
||||
|
||||
.pattern-input-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.pattern-input-row {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
align-items: flex-start;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
p-button {
|
||||
align-self: flex-end;
|
||||
@@ -117,26 +117,26 @@
|
||||
.preview-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.25rem;
|
||||
gap: 0.4375rem;
|
||||
margin-top: 0.2188rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
}
|
||||
}
|
||||
|
||||
.preview-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: settings.$settings-section-description-size;
|
||||
white-space: nowrap;
|
||||
|
||||
.pi {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
.libraries-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.library-item {
|
||||
@@ -174,8 +174,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 0.75rem 1rem;
|
||||
gap: 0.875rem;
|
||||
padding: 0.6563rem 0.875rem;
|
||||
border-bottom: 1px dashed var(--p-content-border-color);
|
||||
|
||||
@media (width <= 600px) {
|
||||
@@ -186,7 +186,7 @@
|
||||
.library-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -203,24 +203,24 @@
|
||||
flex-shrink: 0;
|
||||
|
||||
.pi {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.library-name {
|
||||
font-weight: 600;
|
||||
font-size: 0.9375rem;
|
||||
font-size: 0.8203rem;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
.custom-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.125rem 0.5rem;
|
||||
padding: 0.1094rem 0.4375rem;
|
||||
background: color-mix(in srgb, var(--p-primary-color) 15%, transparent);
|
||||
color: var(--p-primary-color);
|
||||
border-radius: 12px;
|
||||
font-size: 0.625rem;
|
||||
font-size: 0.5469rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
@@ -228,30 +228,30 @@
|
||||
.default-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.125rem 0.5rem;
|
||||
padding: 0.1094rem 0.4375rem;
|
||||
background: color-mix(in srgb, var(--color-text-secondary) 15%, transparent);
|
||||
color: var(--color-text-secondary);
|
||||
border-radius: 12px;
|
||||
font-size: 0.625rem;
|
||||
font-size: 0.5469rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.library-body {
|
||||
padding: 0.75rem 1rem;
|
||||
padding: 0.6563rem 0.875rem;
|
||||
}
|
||||
|
||||
.actions-row {
|
||||
@include settings.settings-actions-row;
|
||||
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.4375rem;
|
||||
}
|
||||
|
||||
// Placeholders Reference Section
|
||||
.placeholders-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width >= 768px) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
@@ -261,26 +261,26 @@
|
||||
.placeholder-group {
|
||||
background: var(--color-card);
|
||||
border-radius: 6px;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
border-left: 3px solid var(--p-primary-color);
|
||||
|
||||
@media (width <= 768px) {
|
||||
padding: 0.75rem;
|
||||
padding: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.group-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: settings.$settings-label-size;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
margin: 0 0 0.75rem;
|
||||
margin: 0 0 0.6563rem;
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -288,7 +288,7 @@
|
||||
font-size: settings.$settings-section-description-size;
|
||||
line-height: 1.5;
|
||||
color: var(--p-text-muted-color);
|
||||
margin: 0 0 0.75rem;
|
||||
margin: 0 0 0.6563rem;
|
||||
|
||||
code {
|
||||
color: var(--color-primary);
|
||||
@@ -299,13 +299,13 @@
|
||||
.placeholder-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
}
|
||||
|
||||
.placeholder-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
font-size: settings.$settings-section-description-size;
|
||||
|
||||
code {
|
||||
@@ -321,14 +321,14 @@
|
||||
.example-block {
|
||||
background: color-mix(in srgb, var(--color-card) 30%, transparent);
|
||||
border-radius: 4px;
|
||||
padding: 0.75rem;
|
||||
padding: 0.6563rem;
|
||||
}
|
||||
|
||||
.example-pattern {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
|
||||
.pattern-prefix {
|
||||
font-size: settings.$settings-description-size;
|
||||
@@ -343,13 +343,13 @@
|
||||
.example-results {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
}
|
||||
|
||||
.result-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: settings.$settings-section-description-size;
|
||||
|
||||
.result-prefix {
|
||||
@@ -367,14 +367,14 @@
|
||||
.examples-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
gap: 1.3125rem;
|
||||
}
|
||||
|
||||
.metadata-reference {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -383,7 +383,7 @@
|
||||
|
||||
.metadata-panel {
|
||||
background: var(--color-card);
|
||||
padding: 1rem 1.25rem;
|
||||
padding: 0.875rem 1.0938rem;
|
||||
border-radius: 6px;
|
||||
border-left: 3px solid var(--p-content-border-color);
|
||||
|
||||
@@ -392,23 +392,23 @@
|
||||
.metadata-panel-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: settings.$settings-label-size;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
margin-bottom: 0.875rem;
|
||||
padding-bottom: 0.625rem;
|
||||
margin-bottom: 0.7656rem;
|
||||
padding-bottom: 0.5469rem;
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--p-content-border-color) 50%, transparent);
|
||||
|
||||
.pi {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.metadata-grid {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
gap: 0.5rem 0.75rem;
|
||||
gap: 0.4375rem 0.6563rem;
|
||||
font-size: settings.$settings-section-description-size;
|
||||
align-items: baseline;
|
||||
}
|
||||
@@ -437,20 +437,20 @@
|
||||
.example-category {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.category-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: settings.$settings-label-size;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
margin: 0;
|
||||
|
||||
.pi {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-primary-color);
|
||||
}
|
||||
}
|
||||
@@ -458,14 +458,14 @@
|
||||
.example-grid {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.example-row {
|
||||
display: grid;
|
||||
grid-template-columns: 130px 1fr 1fr;
|
||||
gap: 0.75rem;
|
||||
padding: 0.625rem 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0.5469rem 0.6563rem;
|
||||
background: var(--color-card);
|
||||
border-radius: 4px;
|
||||
font-size: settings.$settings-section-description-size;
|
||||
@@ -473,15 +473,15 @@
|
||||
|
||||
@media (width <= 1024px) {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
}
|
||||
}
|
||||
|
||||
.example-row-conditional {
|
||||
display: grid;
|
||||
grid-template-columns: 130px 1fr 1fr;
|
||||
gap: 0.75rem;
|
||||
padding: 0.625rem 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0.5469rem 0.6563rem;
|
||||
background: var(--color-card);
|
||||
border-radius: 4px;
|
||||
font-size: settings.$settings-section-description-size;
|
||||
@@ -489,7 +489,7 @@
|
||||
|
||||
@media (width <= 1024px) {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -511,7 +511,7 @@
|
||||
}
|
||||
|
||||
@media (width <= 1024px) {
|
||||
padding-left: 0.5rem;
|
||||
padding-left: 0.4375rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -522,7 +522,7 @@
|
||||
}
|
||||
|
||||
@media (width <= 1024px) {
|
||||
padding-left: 0.5rem;
|
||||
padding-left: 0.4375rem;
|
||||
border-left: 2px solid currentcolor;
|
||||
}
|
||||
}
|
||||
@@ -530,7 +530,7 @@
|
||||
.result-col-dual {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
|
||||
code {
|
||||
font-size: settings.$settings-description-size;
|
||||
@@ -538,7 +538,7 @@
|
||||
}
|
||||
|
||||
.pi {
|
||||
font-size: 0.625rem;
|
||||
margin-right: 0.25rem;
|
||||
font-size: 0.5469rem;
|
||||
margin-right: 0.2188rem;
|
||||
}
|
||||
}
|
||||
|
||||
+23
-23
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -19,19 +19,19 @@
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
|
||||
.preferences-section {
|
||||
@media (width >= 768px) {
|
||||
padding: 0 1rem;
|
||||
padding: 0 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@@ -47,7 +47,7 @@
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,15 +68,15 @@
|
||||
display: block;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
@@ -88,12 +88,12 @@
|
||||
.input-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -101,7 +101,7 @@
|
||||
.setting-description {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: settings.$settings-section-description-size;
|
||||
line-height: 1.5;
|
||||
@@ -109,7 +109,7 @@
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
margin-top: 0.125rem;
|
||||
margin-top: 0.1094rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
@@ -119,7 +119,7 @@
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
align-items: flex-end;
|
||||
|
||||
@media (width <= 768px) {
|
||||
@@ -131,12 +131,12 @@
|
||||
.input-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,13 +146,13 @@
|
||||
align-items: center;
|
||||
|
||||
input {
|
||||
padding-right: 2.5rem;
|
||||
padding-right: 2.1875rem;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.unit {
|
||||
position: absolute;
|
||||
right: 0.75rem;
|
||||
right: 0.6563rem;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: settings.$settings-section-description-size;
|
||||
pointer-events: none;
|
||||
@@ -162,10 +162,10 @@
|
||||
.warning-message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.4375rem;
|
||||
|
||||
.pi {
|
||||
color: var(--p-orange-500);
|
||||
@@ -173,7 +173,7 @@
|
||||
}
|
||||
|
||||
@media (width <= 768px) {
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.4375rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+33
-33
@@ -1,39 +1,39 @@
|
||||
.settings-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
gap: 1.0938rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 8px;
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
padding: 1rem;
|
||||
gap: 1rem;
|
||||
padding: 0.875rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
margin-bottom: 0.25rem;
|
||||
margin-bottom: 0.2188rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 1.25rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: 1.0938rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-text);
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
|
||||
.pi {
|
||||
color: var(--color-primary);
|
||||
font-size: 1.125rem;
|
||||
font-size: var(--app-text-lg);
|
||||
}
|
||||
}
|
||||
|
||||
.section-description {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.5;
|
||||
color: var(--p-text-muted-color);
|
||||
margin: 0;
|
||||
@@ -42,22 +42,22 @@
|
||||
.section-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
padding-left: 1rem;
|
||||
gap: 1.75rem;
|
||||
padding-left: 0.875rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
padding-left: 0.5rem;
|
||||
padding-left: 0.4375rem;
|
||||
}
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
padding: 0.875rem 1rem;
|
||||
padding: 0.7656rem 0.875rem;
|
||||
border-radius: 6px;
|
||||
border-left: 3px solid var(--color-primary);
|
||||
background: var(--color-card);
|
||||
|
||||
@media (width <= 768px) {
|
||||
padding: 0.75rem;
|
||||
padding: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,29 +65,29 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.action-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.125rem;
|
||||
gap: 0.1094rem;
|
||||
}
|
||||
|
||||
.action-label {
|
||||
font-size: 0.9375rem;
|
||||
font-size: 0.8203rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.action-description {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
line-height: 1.4;
|
||||
}
|
||||
@@ -95,18 +95,18 @@
|
||||
.weights-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.weights-icon {
|
||||
color: var(--color-primary);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.weights-label {
|
||||
font-size: 0.9375rem;
|
||||
font-size: 0.8203rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-text);
|
||||
margin: 0;
|
||||
@@ -115,19 +115,19 @@
|
||||
.weights-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.weights-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
gap: 0.625rem;
|
||||
padding-top: 0.5rem;
|
||||
gap: 0.5469rem;
|
||||
padding-top: 0.4375rem;
|
||||
border-top: 1px dashed var(--p-content-border-color);
|
||||
|
||||
@media (width <= 768px) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
@media (width <= 400px) {
|
||||
@@ -139,28 +139,28 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 0.625rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.4375rem 0.5469rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 4px;
|
||||
|
||||
.field-label {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 500;
|
||||
color: var(--color-text);
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
::ng-deep p-inputnumber {
|
||||
width: 6rem;
|
||||
width: 5.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.form-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding-top: 0.75rem;
|
||||
padding-top: 0.6563rem;
|
||||
border-top: 1px dashed var(--p-content-border-color);
|
||||
|
||||
@media (width <= 768px) {
|
||||
|
||||
+17
-17
@@ -3,7 +3,7 @@
|
||||
.metadata-settings {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
gap: 1.3125rem;
|
||||
}
|
||||
|
||||
.settings-card {
|
||||
@@ -25,25 +25,25 @@
|
||||
.section-body {
|
||||
@include settings.settings-section-body;
|
||||
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
|
||||
.configurable-providers-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.configurable-providers-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.simple-providers-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.provider-group-title {
|
||||
@@ -52,7 +52,7 @@
|
||||
color: var(--p-text-muted-color);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
margin: 0 0 0.25rem;
|
||||
margin: 0 0 0.2188rem;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
@@ -72,13 +72,13 @@
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.config-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
}
|
||||
|
||||
.config-label {
|
||||
@@ -90,7 +90,7 @@
|
||||
.config-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.config-description {
|
||||
@@ -102,13 +102,13 @@
|
||||
|
||||
::ng-deep .config-select {
|
||||
width: 100%;
|
||||
max-width: 20rem;
|
||||
max-width: 17.5rem;
|
||||
}
|
||||
|
||||
.config-input {
|
||||
width: 100%;
|
||||
max-width: 40rem;
|
||||
padding: 0.375rem 0.625rem;
|
||||
max-width: 35rem;
|
||||
padding: 0.3281rem 0.5469rem;
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 4px;
|
||||
background: var(--ground-background);
|
||||
@@ -133,11 +133,11 @@
|
||||
.simple-providers-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
@@ -146,16 +146,16 @@
|
||||
}
|
||||
|
||||
.simple-provider {
|
||||
padding: 0.625rem 0.875rem;
|
||||
padding: 0.5469rem 0.7656rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.4375rem 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.setting-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding-top: 0.5rem;
|
||||
padding-top: 0.4375rem;
|
||||
border-top: 1px solid var(--p-content-border-color);
|
||||
}
|
||||
|
||||
+18
-18
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -19,31 +19,31 @@
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
|
||||
.preferences-section {
|
||||
@media (width >= 768px) {
|
||||
padding: 0 1rem;
|
||||
padding: 0 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
|
||||
.section-description {
|
||||
@include settings.settings-section-description;
|
||||
|
||||
margin: 0.5rem 0 0;
|
||||
margin: 0.4375rem 0 0;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
margin-top: 0.125rem;
|
||||
margin-top: 0.1094rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
@@ -52,7 +52,7 @@
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
}
|
||||
|
||||
.settings-card {
|
||||
@@ -78,7 +78,7 @@
|
||||
:host ::ng-deep {
|
||||
.p-accordion {
|
||||
.p-accordion-panel {
|
||||
margin-bottom: 0.5rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
.p-accordion-header-content {
|
||||
width: 100%;
|
||||
padding: 1rem 1.25rem;
|
||||
padding: 0.875rem 1.0938rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -121,19 +121,19 @@
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.sidecar-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
margin-left: auto;
|
||||
|
||||
@media (width <= 768px) {
|
||||
@@ -145,10 +145,10 @@
|
||||
.library-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
.library-icon {
|
||||
font-size: 1.2rem;
|
||||
font-size: 1.05rem;
|
||||
color: var(--p-primary-color);
|
||||
}
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
color: var(--p-text-muted-color);
|
||||
font-weight: bold;
|
||||
font-size: settings.$settings-section-description-size;
|
||||
margin: 0 0.25rem;
|
||||
margin: 0 0.2188rem;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
.default-indicator {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
font-size: settings.$settings-section-description-size;
|
||||
font-weight: settings.$settings-label-weight;
|
||||
|
||||
@@ -188,7 +188,7 @@
|
||||
}
|
||||
|
||||
.accordion-content-wrapper {
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
|
||||
app-metadata-advanced-fetch-options {
|
||||
display: block;
|
||||
|
||||
+7
-7
@@ -19,7 +19,7 @@
|
||||
.section-notice {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.warning-notice {
|
||||
@@ -90,21 +90,21 @@
|
||||
}
|
||||
|
||||
.sidecar-section-header {
|
||||
margin-top: 1.5rem;
|
||||
padding-top: 1.5rem;
|
||||
margin-top: 1.3125rem;
|
||||
padding-top: 1.3125rem;
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.nested-setting {
|
||||
margin-left: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
margin-left: 1.3125rem;
|
||||
padding-left: 0.875rem;
|
||||
border-left: 2px solid var(--border-color);
|
||||
}
|
||||
|
||||
code {
|
||||
background: var(--ground-background);
|
||||
padding: 0.125rem 0.375rem;
|
||||
padding: 0.1094rem 0.3281rem;
|
||||
border-radius: 4px;
|
||||
font-family: monospace;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
|
||||
+3
-3
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -33,14 +33,14 @@
|
||||
.section-description {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: settings.$settings-section-description-size;
|
||||
line-height: 1.5;
|
||||
color: var(--p-text-muted-color);
|
||||
margin: 0;
|
||||
|
||||
.pi {
|
||||
margin-top: 0.125rem;
|
||||
margin-top: 0.1094rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
+12
-12
@@ -47,11 +47,11 @@
|
||||
.providers-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
||||
gap: 0.625rem;
|
||||
gap: 0.5469rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
@media (width <= 400px) {
|
||||
@@ -63,8 +63,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.4375rem 0.6563rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 4px;
|
||||
@@ -78,7 +78,7 @@
|
||||
.provider-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.provider-label {
|
||||
@@ -90,17 +90,17 @@
|
||||
.max-reviews-control {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
}
|
||||
|
||||
.max-reviews-label {
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
|
||||
.max-reviews-input {
|
||||
width: 3rem;
|
||||
padding: 0.25rem 0.375rem;
|
||||
width: 2.625rem;
|
||||
padding: 0.2188rem 0.3281rem;
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 4px;
|
||||
background: var(--color-card);
|
||||
@@ -117,12 +117,12 @@
|
||||
.no-providers-message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: settings.$settings-description-size;
|
||||
font-style: italic;
|
||||
margin-top: 0.5rem;
|
||||
padding: 0.75rem;
|
||||
margin-top: 0.4375rem;
|
||||
padding: 0.6563rem;
|
||||
background: var(--color-card);
|
||||
border-radius: 4px;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -28,7 +28,7 @@
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width <= 767px) {
|
||||
flex-direction: column;
|
||||
@@ -60,20 +60,20 @@
|
||||
.toggle-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.toggle-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-left-width: 3px;
|
||||
border-left-style: solid;
|
||||
border-radius: 6px;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
transition: border-color 0.2s ease, background 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
@@ -81,7 +81,7 @@
|
||||
}
|
||||
|
||||
&.sub-item {
|
||||
margin-left: 1.5rem;
|
||||
margin-left: 1.3125rem;
|
||||
|
||||
@media (width <= 600px) {
|
||||
margin-left: 0;
|
||||
@@ -90,7 +90,7 @@
|
||||
|
||||
@media (width <= 600px) {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,8 +102,8 @@
|
||||
.toggle-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.6563rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.toggle-icon {
|
||||
@@ -118,7 +118,7 @@
|
||||
flex-shrink: 0;
|
||||
|
||||
.pi {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
|
||||
&.sub-icon {
|
||||
@@ -129,7 +129,7 @@
|
||||
border-radius: 6px;
|
||||
|
||||
.pi {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -137,17 +137,17 @@
|
||||
.toggle-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.125rem;
|
||||
gap: 0.1094rem;
|
||||
}
|
||||
|
||||
.toggle-label {
|
||||
font-weight: 600;
|
||||
font-size: 0.9375rem;
|
||||
font-size: 0.8203rem;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
.toggle-status {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
color: var(--p-text-muted-color);
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
padding-left: calc(36px + 0.75rem);
|
||||
padding-left: calc(36px + 0.6563rem);
|
||||
|
||||
@media (width <= 600px) {
|
||||
padding-left: 0;
|
||||
@@ -167,7 +167,7 @@
|
||||
.endpoints-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.endpoint-item {
|
||||
@@ -175,14 +175,14 @@
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-left: 3px solid var(--p-primary-color);
|
||||
border-radius: 6px;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
}
|
||||
|
||||
.endpoint-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.endpoint-icon {
|
||||
@@ -197,19 +197,19 @@
|
||||
flex-shrink: 0;
|
||||
|
||||
.pi {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.endpoint-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.125rem;
|
||||
gap: 0.1094rem;
|
||||
}
|
||||
|
||||
.endpoint-label {
|
||||
font-weight: 600;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
@@ -220,7 +220,7 @@
|
||||
|
||||
.endpoint-url-row {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
align-items: center;
|
||||
|
||||
@media (width <= 600px) {
|
||||
@@ -246,22 +246,22 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3rem 2rem;
|
||||
padding: 2.625rem 1.75rem;
|
||||
text-align: center;
|
||||
color: var(--p-text-muted-color);
|
||||
background: var(--color-card);
|
||||
border-radius: 6px;
|
||||
|
||||
.pi {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 2.1875rem;
|
||||
margin-bottom: 0.875rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
@@ -275,19 +275,19 @@
|
||||
.users-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.user-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-left: 3px solid var(--p-primary-color);
|
||||
border-radius: 6px;
|
||||
padding: 0.875rem 1rem;
|
||||
padding: 0.7656rem 0.875rem;
|
||||
transition: background 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
@@ -297,14 +297,14 @@
|
||||
@media (width <= 600px) {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.user-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -319,50 +319,50 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.user-details {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.username {
|
||||
font-weight: 600;
|
||||
font-size: 0.9375rem;
|
||||
font-size: 0.8203rem;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
.user-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: settings.$settings-description-size;
|
||||
color: var(--p-text-muted-color);
|
||||
|
||||
.pi {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.sort-order-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.125rem 0.5rem;
|
||||
padding: 0.1094rem 0.4375rem;
|
||||
background: color-mix(in srgb, var(--p-primary-color) 15%, transparent);
|
||||
color: var(--p-primary-color);
|
||||
border-radius: 12px;
|
||||
font-size: 0.6875rem;
|
||||
font-size: 0.6016rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.user-actions {
|
||||
display: flex;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
@media (width <= 600px) {
|
||||
@@ -373,24 +373,24 @@
|
||||
// Dialog styles
|
||||
.user-dialog {
|
||||
.p-dialog-content {
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
}
|
||||
|
||||
.p-dialog-footer {
|
||||
padding: 1rem 1.5rem;
|
||||
padding: 0.875rem 1.3125rem;
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
gap: 1.0938rem;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
label {
|
||||
font-weight: 600;
|
||||
@@ -400,7 +400,7 @@
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
padding: 0.75rem;
|
||||
padding: 0.6563rem;
|
||||
transition: border-color 0.2s;
|
||||
|
||||
&:focus {
|
||||
@@ -417,15 +417,15 @@
|
||||
.form-hint {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.4;
|
||||
margin-top: 0.25rem;
|
||||
margin-top: 0.2188rem;
|
||||
|
||||
.pi {
|
||||
font-size: 0.625rem;
|
||||
margin-top: 0.125rem;
|
||||
font-size: 0.5469rem;
|
||||
margin-top: 0.1094rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
@@ -434,15 +434,15 @@
|
||||
.dialog-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
// Access denied card
|
||||
.access-denied-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1.5rem;
|
||||
gap: 0.875rem;
|
||||
padding: 1.3125rem;
|
||||
border-radius: settings.$settings-card-border-radius;
|
||||
background: color-mix(in srgb, var(--color-card) 85%, var(--p-red-600) 15%);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
@@ -450,15 +450,15 @@
|
||||
max-width: 500px;
|
||||
|
||||
> .pi {
|
||||
font-size: 1.5rem;
|
||||
font-size: 1.3125rem;
|
||||
flex-shrink: 0;
|
||||
color: var(--p-red-400);
|
||||
}
|
||||
|
||||
.access-denied-content {
|
||||
h3 {
|
||||
margin: 0 0 0.5rem;
|
||||
font-size: 1rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
color: var(--p-red-300);
|
||||
}
|
||||
|
||||
+15
-15
@@ -3,14 +3,14 @@
|
||||
.cbx-preferences-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
padding: 0.25rem 0;
|
||||
gap: 1.75rem;
|
||||
padding: 0.2188rem 0;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,15 +31,15 @@
|
||||
display: block;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
@@ -52,7 +52,7 @@
|
||||
.strip-width-control {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
|
||||
@@ -64,9 +64,9 @@
|
||||
}
|
||||
|
||||
.strip-width-value {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
color: var(--p-text-muted-color);
|
||||
min-width: 2.75rem;
|
||||
min-width: 2.4063rem;
|
||||
}
|
||||
|
||||
.setting-description {
|
||||
@@ -83,13 +83,13 @@
|
||||
|
||||
.theme-selector {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.theme-option {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border-radius: 0.375rem;
|
||||
width: 2.1875rem;
|
||||
height: 2.1875rem;
|
||||
border-radius: 0.3281rem;
|
||||
border: 1.5px solid transparent;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@
|
||||
}
|
||||
|
||||
@if (!customFontsReady()) {
|
||||
<p-skeleton width="3.5rem" height="2.5rem" borderRadius="6px"></p-skeleton>
|
||||
<p-skeleton width="3.0625rem" height="2.1875rem" borderRadius="6px"></p-skeleton>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+24
-24
@@ -3,23 +3,23 @@
|
||||
.epub-preferences-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
|
||||
.settings-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-radius: 0.75rem;
|
||||
gap: 0.875rem;
|
||||
padding: 1.3125rem;
|
||||
border-radius: 0.6563rem;
|
||||
border: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
|
||||
|
||||
.group-title {
|
||||
font-size: settings.$settings-section-title-size;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
margin: 0 0 0.5rem;
|
||||
padding-bottom: 0.75rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
padding-bottom: 0.6563rem;
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
|
||||
}
|
||||
}
|
||||
@@ -27,8 +27,8 @@
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
padding: 0.25rem 0;
|
||||
gap: 1.75rem;
|
||||
padding: 0.2188rem 0;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,15 +49,15 @@
|
||||
display: block;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
@@ -77,18 +77,18 @@
|
||||
|
||||
.radio-group {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
gap: 1.3125rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.radio-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
label {
|
||||
font-size: settings.$settings-section-description-size;
|
||||
@@ -100,10 +100,10 @@
|
||||
.font-size-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.font-size-value {
|
||||
min-width: 3rem;
|
||||
min-width: 2.625rem;
|
||||
text-align: center;
|
||||
font-weight: settings.$settings-label-weight;
|
||||
color: var(--p-text-color);
|
||||
@@ -112,14 +112,14 @@
|
||||
|
||||
.theme-selector {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.theme-option {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
background: color-mix(in srgb, var(--text-color) 5%, transparent);
|
||||
color: var(--text-color);
|
||||
cursor: pointer;
|
||||
@@ -131,7 +131,7 @@
|
||||
display: flex;
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
border-radius: 0.5rem;
|
||||
border-radius: 0.4375rem;
|
||||
overflow: hidden;
|
||||
border: 2px solid color-mix(in srgb, var(--text-color) 20%, transparent);
|
||||
box-sizing: border-box;
|
||||
@@ -154,7 +154,7 @@
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--primary-color);
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
@@ -190,7 +190,7 @@
|
||||
|
||||
.option-button {
|
||||
&.font-button {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
|
||||
&[data-font="serif"] .option-text {
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
@@ -227,7 +227,7 @@
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-muted-color);
|
||||
min-width: auto;
|
||||
padding: 0.25rem 0.5rem;
|
||||
padding: 0.2188rem 0.4375rem;
|
||||
|
||||
&:hover {
|
||||
transform: none;
|
||||
|
||||
+5
-5
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -25,7 +25,7 @@
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@@ -48,7 +48,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
&.action-item {
|
||||
border-left-color: var(--p-orange-500);
|
||||
@@ -64,7 +64,7 @@
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
}
|
||||
|
||||
.setting-label {
|
||||
@@ -78,7 +78,7 @@
|
||||
.setting-control {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
|
||||
|
||||
+8
-8
@@ -3,14 +3,14 @@
|
||||
.pdf-preferences-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
padding: 0.25rem 0;
|
||||
gap: 1.75rem;
|
||||
padding: 0.2188rem 0;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,15 +31,15 @@
|
||||
display: block;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
|
||||
+9
-9
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -19,25 +19,25 @@
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
|
||||
.preferences-section {
|
||||
@media (width >= 768px) {
|
||||
padding: 0 1rem;
|
||||
padding: 0 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
}
|
||||
|
||||
.section-description {
|
||||
@@ -59,7 +59,7 @@
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
align-items: flex-end;
|
||||
|
||||
@media (width <= 768px) {
|
||||
@@ -70,18 +70,18 @@
|
||||
|
||||
.radio-group {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
gap: 1.3125rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.radio-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
label {
|
||||
font-size: settings.$settings-section-description-size;
|
||||
|
||||
+25
-25
@@ -1,21 +1,21 @@
|
||||
.preferences-section {
|
||||
@media (width >= 768px) {
|
||||
padding: 0 1rem;
|
||||
padding: 0 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 1.125rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: var(--app-text-lg);
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
@@ -25,15 +25,15 @@
|
||||
.section-description {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
margin-top: 0.125rem;
|
||||
margin-top: 0.1094rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
@@ -42,17 +42,17 @@
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 8px;
|
||||
background: var(--p-content-background);
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
padding: 0.25rem 0;
|
||||
gap: 1.75rem;
|
||||
padding: 0.2188rem 0;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,8 +73,8 @@
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
min-width: 220px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -82,8 +82,8 @@
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
.setting-description {
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
}
|
||||
@@ -104,26 +104,26 @@
|
||||
.button-group {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.option-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.375rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
border-radius: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
padding: 0.4375rem 0.6563rem;
|
||||
border-radius: 0.3281rem;
|
||||
border: 1.5px solid color-mix(in srgb, var(--text-color) 20%, transparent);
|
||||
background: color-mix(in srgb, var(--text-color) 5%, transparent);
|
||||
color: var(--text-color);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 500;
|
||||
min-width: 4.5rem;
|
||||
min-width: 3.9375rem;
|
||||
|
||||
i {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
|
||||
.option-text {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -52,13 +52,13 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3rem 2rem;
|
||||
padding: 2.625rem 1.75rem;
|
||||
text-align: center;
|
||||
color: var(--p-text-muted-color);
|
||||
|
||||
.pi {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.75rem;
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.pi-spinner {
|
||||
@@ -71,7 +71,7 @@
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
color: var(--p-text-color);
|
||||
@@ -82,7 +82,7 @@
|
||||
.tasks-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2.5rem;
|
||||
gap: 2.1875rem;
|
||||
}
|
||||
|
||||
.task-item {
|
||||
@@ -109,19 +109,19 @@
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 1rem;
|
||||
gap: 0.875rem;
|
||||
padding: 0.875rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.task-info {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -138,7 +138,7 @@
|
||||
flex-shrink: 0;
|
||||
|
||||
.pi {
|
||||
font-size: 1.125rem;
|
||||
font-size: var(--app-text-lg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -150,24 +150,24 @@
|
||||
.task-name-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0.375rem;
|
||||
margin-bottom: 0.3281rem;
|
||||
}
|
||||
|
||||
.task-name {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
.status-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
padding: 0.125rem 0.5rem;
|
||||
gap: 0.3281rem;
|
||||
padding: 0.1094rem 0.4375rem;
|
||||
border-radius: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
font-weight: 600;
|
||||
|
||||
&.running {
|
||||
@@ -175,7 +175,7 @@
|
||||
color: var(--p-primary-color);
|
||||
|
||||
.pi {
|
||||
font-size: 0.625rem;
|
||||
font-size: 0.5469rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
color: var(--p-orange-500);
|
||||
|
||||
.pi {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -213,7 +213,7 @@
|
||||
}
|
||||
|
||||
.task-description {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
@@ -222,28 +222,28 @@
|
||||
.task-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
@media (width <= 900px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.task-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
// Task Body
|
||||
.task-body {
|
||||
padding: 0 1rem 1rem;
|
||||
padding: 0 0.875rem 0.875rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
&:empty {
|
||||
display: none;
|
||||
@@ -253,19 +253,19 @@
|
||||
.task-metadata {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 500;
|
||||
color: var(--p-text-color);
|
||||
background: color-mix(in srgb, var(--p-primary-color) 10%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--p-primary-color) 20%, transparent);
|
||||
padding: 0.375rem 0.75rem;
|
||||
padding: 0.3281rem 0.6563rem;
|
||||
border-radius: 6px;
|
||||
width: fit-content;
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,9 +273,9 @@
|
||||
.task-options {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex-wrap: wrap;
|
||||
padding: 0.75rem;
|
||||
padding: 0.6563rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
@@ -288,13 +288,13 @@
|
||||
|
||||
.option-label {
|
||||
font-weight: 600;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-color);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.option-hint {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
flex: 1;
|
||||
|
||||
@@ -315,8 +315,8 @@
|
||||
.cron-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.2188rem 0.4375rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
@@ -325,12 +325,12 @@
|
||||
.cron-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
.pi-clock {
|
||||
color: var(--p-primary-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -341,17 +341,17 @@
|
||||
|
||||
.cron-value {
|
||||
font-family: 'SF Mono', Monaco, 'Courier New', monospace;
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--p-primary-color);
|
||||
background: var(--color-card);
|
||||
padding: 0.25rem 0.5rem;
|
||||
padding: 0.2188rem 0.4375rem;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--color-border);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.cron-empty {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
font-style: italic;
|
||||
white-space: nowrap;
|
||||
@@ -360,7 +360,7 @@
|
||||
.cron-edit {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
|
||||
@media (width <= 600px) {
|
||||
flex-wrap: wrap;
|
||||
@@ -371,10 +371,10 @@
|
||||
.cron-input {
|
||||
width: 130px;
|
||||
font-family: 'SF Mono', Monaco, 'Courier New', monospace;
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--p-text-color);
|
||||
background: var(--color-card);
|
||||
padding: 0.25rem 0.5rem;
|
||||
padding: 0.2188rem 0.4375rem;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--color-border);
|
||||
outline: none;
|
||||
@@ -396,48 +396,48 @@
|
||||
.cron-error {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.5rem;
|
||||
font-size: 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
margin-top: 0.4375rem;
|
||||
font-size: var(--app-text-xs);
|
||||
color: var(--p-orange-400);
|
||||
padding: 0.375rem 0.5rem;
|
||||
padding: 0.3281rem 0.4375rem;
|
||||
background: color-mix(in srgb, var(--p-orange-500) 10%, transparent);
|
||||
border: 1px solid var(--p-orange-500);
|
||||
border-radius: 4px;
|
||||
line-height: 1.4;
|
||||
|
||||
.pi {
|
||||
font-size: 0.75rem;
|
||||
margin-top: 0.0625rem;
|
||||
font-size: var(--app-text-xs);
|
||||
margin-top: 0.0547rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Task Progress (Running State)
|
||||
.task-progress {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.625rem;
|
||||
gap: 0.5469rem;
|
||||
}
|
||||
|
||||
.stale-warning {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
padding: 0.625rem 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.5469rem 0.6563rem;
|
||||
background: color-mix(in srgb, var(--p-orange-500) 15%, transparent);
|
||||
border: 1px solid var(--p-orange-500);
|
||||
border-radius: 4px;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-orange-400);
|
||||
|
||||
.pi {
|
||||
font-size: 1rem;
|
||||
margin-top: 0.0625rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-top: 0.0547rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
@@ -445,25 +445,25 @@
|
||||
.progress-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
@media (width <= 600px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
}
|
||||
}
|
||||
|
||||
.progress-label {
|
||||
font-weight: 600;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-color);
|
||||
min-width: 70px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.progress-value {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
font-family: monospace;
|
||||
}
|
||||
@@ -471,7 +471,7 @@
|
||||
.progress-bar-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
|
||||
@@ -481,7 +481,7 @@
|
||||
}
|
||||
|
||||
.progress-percent {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 600;
|
||||
color: var(--p-text-muted-color);
|
||||
min-width: 40px;
|
||||
|
||||
+29
-29
@@ -1,29 +1,29 @@
|
||||
.content-restrictions-editor {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.add-restriction-form {
|
||||
background: var(--ground-background);
|
||||
border-radius: 8px;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
border: 1px solid var(--border-color);
|
||||
|
||||
.form-row {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
align-items: flex-end;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
gap: 0.2188rem;
|
||||
min-width: 140px;
|
||||
|
||||
label {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
font-weight: 500;
|
||||
color: var(--text-color-secondary);
|
||||
text-transform: uppercase;
|
||||
@@ -47,13 +47,13 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 2rem;
|
||||
padding: 1.75rem;
|
||||
text-align: center;
|
||||
color: var(--text-color-secondary);
|
||||
|
||||
i {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
color: var(--green-500);
|
||||
}
|
||||
|
||||
@@ -63,8 +63,8 @@
|
||||
}
|
||||
|
||||
.empty-hint {
|
||||
font-size: 0.85rem;
|
||||
margin-top: 0.25rem;
|
||||
font-size: 0.7438rem;
|
||||
margin-top: 0.2188rem;
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
@@ -72,31 +72,31 @@
|
||||
.restrictions-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.restrictions-group {
|
||||
background: var(--ground-background);
|
||||
border-radius: 8px;
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
border: 1px solid var(--border-color);
|
||||
|
||||
.group-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin: 0 0 0.25rem;
|
||||
font-size: 0.9rem;
|
||||
gap: 0.4375rem;
|
||||
margin: 0 0 0.2188rem;
|
||||
font-size: 0.7875rem;
|
||||
font-weight: 600;
|
||||
|
||||
i {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.group-description {
|
||||
margin: 0 0 0.75rem;
|
||||
font-size: 0.8rem;
|
||||
margin: 0 0 0.6563rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--text-color-secondary);
|
||||
}
|
||||
}
|
||||
@@ -104,16 +104,16 @@
|
||||
.restrictions-chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.restriction-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.35rem 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.3063rem 0.6563rem;
|
||||
border-radius: 20px;
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&.mode-exclude {
|
||||
@@ -137,7 +137,7 @@
|
||||
}
|
||||
|
||||
.chip-type {
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.6125rem;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
@@ -158,11 +158,11 @@
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
padding: 0;
|
||||
margin-left: 0.25rem;
|
||||
margin-left: 0.2188rem;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
i {
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.6125rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@@ -174,14 +174,14 @@
|
||||
.restrictions-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.6563rem;
|
||||
background: rgb(59 130 246 / 10%);
|
||||
border-radius: 6px;
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--blue-500);
|
||||
|
||||
i {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
}
|
||||
}
|
||||
|
||||
+39
-39
@@ -17,8 +17,8 @@
|
||||
.form-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
padding: 2rem;
|
||||
gap: 1.3125rem;
|
||||
padding: 1.75rem;
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
@@ -26,29 +26,29 @@
|
||||
max-height: 60vh;
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 1rem;
|
||||
gap: 1.25rem;
|
||||
padding: 0.875rem;
|
||||
gap: 1.0938rem;
|
||||
}
|
||||
}
|
||||
|
||||
.form-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
.section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin: 0 0 0.75rem;
|
||||
font-size: 1rem;
|
||||
gap: 0.4375rem;
|
||||
margin: 0 0 0.6563rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
padding-bottom: 0.5rem;
|
||||
padding-bottom: 0.4375rem;
|
||||
|
||||
i {
|
||||
color: var(--primary-color);
|
||||
font-size: 1.125rem;
|
||||
font-size: var(--app-text-lg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
.form-fields-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
.field-full {
|
||||
grid-column: 1 / -1;
|
||||
@@ -65,7 +65,7 @@
|
||||
.password-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
@media (width <= 640px) {
|
||||
@@ -82,10 +82,10 @@
|
||||
.form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.field-label {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
font-weight: 500;
|
||||
color: var(--text-color);
|
||||
}
|
||||
@@ -97,13 +97,13 @@
|
||||
.field-error {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
color: #ef4444;
|
||||
font-size: 0.875rem;
|
||||
margin-top: -0.25rem;
|
||||
font-size: var(--app-text-sm);
|
||||
margin-top: -0.2188rem;
|
||||
|
||||
i {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -111,7 +111,7 @@
|
||||
.permissions-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
@media (width <= 640px) {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -121,7 +121,7 @@
|
||||
.permissions-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -131,32 +131,32 @@
|
||||
.permission-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
padding: 1rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0.875rem;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
|
||||
.permission-group-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: var(--app-text-sm);
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
|
||||
i {
|
||||
color: var(--primary-color);
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
}
|
||||
|
||||
.permission-group-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
&.full-width {
|
||||
@@ -167,8 +167,8 @@
|
||||
.permission-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.5rem 0.95rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0.4375rem 0.8313rem;
|
||||
background: var(--ground-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
@@ -215,7 +215,7 @@
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
cursor: pointer;
|
||||
min-width: 0;
|
||||
|
||||
@@ -230,14 +230,14 @@
|
||||
flex-shrink: 0;
|
||||
|
||||
.permission-icon {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--text-secondary-color);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.permission-name {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
color: var(--text-color);
|
||||
font-weight: 500;
|
||||
overflow: hidden;
|
||||
@@ -247,23 +247,23 @@
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
padding: 0.75rem;
|
||||
gap: 0.625rem;
|
||||
padding: 0.6563rem;
|
||||
gap: 0.5469rem;
|
||||
|
||||
.permission-label {
|
||||
gap: 0.625rem;
|
||||
gap: 0.5469rem;
|
||||
|
||||
.permission-icon-wrapper {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
|
||||
.permission-icon {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.permission-name {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -277,8 +277,8 @@
|
||||
.footer-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.85rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: 0.7438rem;
|
||||
color: var(--text-secondary-color);
|
||||
|
||||
i {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -28,7 +28,7 @@
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
@media (width <= 767px) {
|
||||
flex-direction: column;
|
||||
@@ -55,7 +55,7 @@
|
||||
.section-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
// Empty state
|
||||
@@ -64,22 +64,22 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3rem 2rem;
|
||||
padding: 2.625rem 1.75rem;
|
||||
text-align: center;
|
||||
color: var(--p-text-muted-color);
|
||||
background: var(--color-card);
|
||||
border-radius: 6px;
|
||||
|
||||
.pi {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 2.1875rem;
|
||||
margin-bottom: 0.875rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
margin: 0 0 0.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
.users-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
|
||||
.user-card {
|
||||
@@ -119,8 +119,8 @@
|
||||
.user-card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1rem;
|
||||
gap: 0.875rem;
|
||||
padding: 0.875rem;
|
||||
|
||||
@media (width <= 900px) {
|
||||
flex-wrap: wrap;
|
||||
@@ -129,14 +129,14 @@
|
||||
@media (width <= 600px) {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.user-main-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -161,7 +161,7 @@
|
||||
}
|
||||
|
||||
.pi {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -187,22 +187,22 @@
|
||||
.user-name-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.username {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--p-text-color);
|
||||
}
|
||||
|
||||
.user-type-badge {
|
||||
display: inline-block;
|
||||
padding: 0.125rem 0.5rem;
|
||||
padding: 0.1094rem 0.4375rem;
|
||||
border: 1px solid;
|
||||
border-radius: 12px;
|
||||
font-size: 0.625rem;
|
||||
font-size: 0.5469rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
@@ -229,23 +229,23 @@
|
||||
.admin-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
padding: 0.125rem 0.5rem;
|
||||
gap: 0.2188rem;
|
||||
padding: 0.1094rem 0.4375rem;
|
||||
border-radius: 12px;
|
||||
font-size: 0.625rem;
|
||||
font-size: 0.5469rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
|
||||
.pi {
|
||||
font-size: 0.625rem;
|
||||
font-size: 0.5469rem;
|
||||
}
|
||||
}
|
||||
|
||||
.user-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
margin-top: 0.25rem;
|
||||
gap: 0.3281rem;
|
||||
margin-top: 0.2188rem;
|
||||
font-size: settings.$settings-description-size;
|
||||
color: var(--p-text-muted-color);
|
||||
}
|
||||
@@ -264,7 +264,7 @@
|
||||
|
||||
.permission-badges {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
@media (width <= 600px) {
|
||||
@@ -275,17 +275,17 @@
|
||||
.permission-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
padding: 0.25rem 0.625rem;
|
||||
gap: 0.3281rem;
|
||||
padding: 0.2188rem 0.5469rem;
|
||||
border-radius: 16px;
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
font-weight: 600;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
transition: all 0.2s;
|
||||
|
||||
.pi {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--app-text-xs);
|
||||
}
|
||||
|
||||
&[data-level='none'] {
|
||||
@@ -360,7 +360,7 @@
|
||||
|
||||
.user-actions {
|
||||
display: flex;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
@media (width <= 600px) {
|
||||
@@ -370,35 +370,35 @@
|
||||
|
||||
// Expanded card body
|
||||
.user-card-body {
|
||||
padding: 0 1rem 1rem;
|
||||
padding: 0 0.875rem 0.875rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
gap: 1.3125rem;
|
||||
border-top: 1px dashed var(--p-content-border-color);
|
||||
margin-top: 0;
|
||||
padding-top: 1rem;
|
||||
padding-top: 0.875rem;
|
||||
}
|
||||
|
||||
.user-details-section,
|
||||
.permissions-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
|
||||
.content-restrictions-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
margin-top: 0.5rem;
|
||||
padding-top: 1rem;
|
||||
gap: 0.6563rem;
|
||||
margin-top: 0.4375rem;
|
||||
padding-top: 0.875rem;
|
||||
border-top: 1px solid var(--p-content-border-color);
|
||||
|
||||
.section-description {
|
||||
font-size: settings.$settings-description-size;
|
||||
color: var(--p-text-muted-color);
|
||||
margin: 0 0 0.5rem;
|
||||
padding-left: 1.5rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
padding-left: 1.3125rem;
|
||||
|
||||
@media (width <= 600px) {
|
||||
padding-left: 0;
|
||||
@@ -406,7 +406,7 @@
|
||||
}
|
||||
|
||||
app-content-restrictions-editor {
|
||||
padding-left: 1.5rem;
|
||||
padding-left: 1.3125rem;
|
||||
|
||||
@media (width <= 600px) {
|
||||
padding-left: 0;
|
||||
@@ -417,7 +417,7 @@
|
||||
.details-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: settings.$settings-label-size;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
@@ -425,15 +425,15 @@
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
}
|
||||
|
||||
.details-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 1rem;
|
||||
padding-left: 1.5rem;
|
||||
gap: 0.875rem;
|
||||
padding-left: 1.3125rem;
|
||||
|
||||
@media (width <= 600px) {
|
||||
padding-left: 0;
|
||||
@@ -443,7 +443,7 @@
|
||||
.detail-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
|
||||
&.detail-field-wide {
|
||||
grid-column: span 2;
|
||||
@@ -475,8 +475,8 @@
|
||||
.permissions-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
||||
gap: 1.25rem;
|
||||
padding-left: 1.5rem;
|
||||
gap: 1.0938rem;
|
||||
padding-left: 1.3125rem;
|
||||
|
||||
@media (width <= 600px) {
|
||||
padding-left: 0;
|
||||
@@ -488,17 +488,17 @@
|
||||
h5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: settings.$settings-description-size;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
margin: 0 0 0.625rem;
|
||||
padding-bottom: 0.5rem;
|
||||
margin: 0 0 0.5469rem;
|
||||
padding-bottom: 0.4375rem;
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -506,13 +506,13 @@
|
||||
.permission-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.permission-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
gap: 0.5469rem;
|
||||
|
||||
label {
|
||||
font-size: settings.$settings-description-size;
|
||||
@@ -538,8 +538,8 @@
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1.5rem;
|
||||
gap: 0.875rem;
|
||||
padding: 1.3125rem;
|
||||
background: var(--p-content-background);
|
||||
border-bottom: 1px solid var(--p-content-border-color);
|
||||
border-radius: 10px 10px 0 0;
|
||||
@@ -547,7 +547,7 @@
|
||||
.p-dialog-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
font-size: settings.$settings-section-title-size;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
@@ -564,19 +564,19 @@
|
||||
background: var(--p-primary-color);
|
||||
color: var(--p-primary-contrast-color);
|
||||
border-radius: 8px;
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.0938rem;
|
||||
box-shadow: 0 2px 6px rgb(0 0 0 / 15%);
|
||||
}
|
||||
}
|
||||
|
||||
.p-dialog-header-icons {
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
right: 1rem;
|
||||
top: 0.875rem;
|
||||
right: 0.875rem;
|
||||
|
||||
.p-dialog-header-close {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
border-radius: 50%;
|
||||
transition: all 0.2s;
|
||||
color: var(--p-text-muted-color);
|
||||
@@ -590,12 +590,12 @@
|
||||
}
|
||||
|
||||
.p-dialog-content {
|
||||
padding: 1.5rem;
|
||||
padding: 1.3125rem;
|
||||
background: var(--p-content-background);
|
||||
}
|
||||
|
||||
.p-dialog-footer {
|
||||
padding: 1rem 1.5rem;
|
||||
padding: 0.875rem 1.3125rem;
|
||||
background: var(--p-content-background);
|
||||
border-top: 1px solid var(--p-content-border-color);
|
||||
border-radius: 0 0 10px 10px;
|
||||
@@ -605,19 +605,19 @@
|
||||
.dialog-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.25rem;
|
||||
gap: 1.0938rem;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
label {
|
||||
font-size: settings.$settings-section-description-size;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
margin-bottom: 0.25rem;
|
||||
margin-bottom: 0.2188rem;
|
||||
}
|
||||
|
||||
input,
|
||||
@@ -627,7 +627,7 @@
|
||||
|
||||
::ng-deep .p-inputtext,
|
||||
::ng-deep .p-password-input {
|
||||
padding: 0.75rem;
|
||||
padding: 0.6563rem;
|
||||
font-size: settings.$settings-label-size;
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: 6px;
|
||||
@@ -650,8 +650,8 @@
|
||||
.error-message {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
padding: 0.875rem 1rem;
|
||||
gap: 0.6563rem;
|
||||
padding: 0.7656rem 0.875rem;
|
||||
background: color-mix(in srgb, var(--color-red-500) 12%, var(--p-content-background));
|
||||
border: 1px solid color-mix(in srgb, var(--color-red-500) 30%, transparent);
|
||||
border-left: 3px solid var(--color-red-500);
|
||||
@@ -661,9 +661,9 @@
|
||||
font-weight: 500;
|
||||
|
||||
.pi {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
flex-shrink: 0;
|
||||
margin-top: 0.125rem;
|
||||
margin-top: 0.1094rem;
|
||||
}
|
||||
|
||||
span {
|
||||
@@ -676,10 +676,10 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
::ng-deep .p-button {
|
||||
padding: 0.75rem 1.5rem;
|
||||
padding: 0.6563rem 1.3125rem;
|
||||
font-weight: 600;
|
||||
font-size: settings.$settings-label-size;
|
||||
border-radius: 6px;
|
||||
@@ -715,37 +715,37 @@
|
||||
.p-dialog {
|
||||
width: 95vw !important;
|
||||
max-width: 95vw !important;
|
||||
margin: 0.5rem;
|
||||
margin: 0.4375rem;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.p-dialog-header {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
|
||||
.p-dialog-title {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
|
||||
&::before {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.p-dialog-content {
|
||||
padding: 1rem;
|
||||
padding: 0.875rem;
|
||||
}
|
||||
|
||||
.p-dialog-footer {
|
||||
padding: 0.875rem 1rem;
|
||||
padding: 0.7656rem 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-actions {
|
||||
flex-direction: column-reverse;
|
||||
width: 100%;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
::ng-deep .p-button {
|
||||
width: 100%;
|
||||
|
||||
+24
-24
@@ -24,8 +24,8 @@
|
||||
.form-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
padding: 2rem;
|
||||
gap: 1.75rem;
|
||||
padding: 1.75rem;
|
||||
background: var(--color-page);
|
||||
border: 1px solid var(--color-border);
|
||||
border-top: none;
|
||||
@@ -35,45 +35,45 @@
|
||||
overflow-y: auto;
|
||||
|
||||
@media #{variables.$mobile-shell-media-query} {
|
||||
padding: 1rem;
|
||||
gap: 1.25rem;
|
||||
padding: 0.875rem;
|
||||
gap: 1.0938rem;
|
||||
}
|
||||
}
|
||||
|
||||
.form-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
.section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin: 0 0 0.5rem;
|
||||
font-size: 1rem;
|
||||
gap: 0.4375rem;
|
||||
margin: 0 0 0.4375rem;
|
||||
font-size: var(--app-text-base);
|
||||
font-weight: 600;
|
||||
color: var(--color-text);
|
||||
|
||||
i {
|
||||
color: var(--color-primary);
|
||||
font-size: 1.125rem;
|
||||
font-size: var(--app-text-lg);
|
||||
}
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.form-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
|
||||
.field-label {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.7875rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-text);
|
||||
}
|
||||
@@ -103,9 +103,9 @@
|
||||
}
|
||||
|
||||
.field-value {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--color-text);
|
||||
padding: 0.75rem;
|
||||
padding: 0.6563rem;
|
||||
background: var(--color-card);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 6px;
|
||||
@@ -115,28 +115,28 @@
|
||||
.field-error {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
gap: 0.3281rem;
|
||||
color: var(--color-red-500);
|
||||
font-size: 0.875rem;
|
||||
margin-top: -0.25rem;
|
||||
font-size: var(--app-text-sm);
|
||||
margin-top: -0.2188rem;
|
||||
|
||||
i {
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.edit-actions {
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.4375rem;
|
||||
|
||||
.edit-buttons {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
}
|
||||
}
|
||||
|
||||
.password-actions {
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.4375rem;
|
||||
}
|
||||
|
||||
.loading-state {
|
||||
@@ -145,15 +145,15 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 300px;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
|
||||
.loading-icon {
|
||||
font-size: 2rem;
|
||||
font-size: 1.75rem;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1rem;
|
||||
font-size: var(--app-text-base);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
+28
-28
@@ -1,19 +1,19 @@
|
||||
<ng-container *transloco="let t; prefix: 'settingsView'">
|
||||
<div class="flex flex-col gap-5 rounded-lg border border-border bg-card p-6 max-md:gap-4 max-md:p-4">
|
||||
<div class="flex flex-col gap-4 rounded-lg border border-border bg-card p-5 max-md:gap-3.5 max-md:p-3.5">
|
||||
<div class="mb-1">
|
||||
<h3 class="m-0 mb-2 flex items-center gap-2 text-xl font-semibold text-text">
|
||||
<i class="pi pi-palette text-lg text-primary" aria-hidden="true"></i>
|
||||
<h3 class="m-0 mb-2 flex items-center gap-2 text-lg font-semibold text-text">
|
||||
<i class="pi pi-palette text-base text-primary" aria-hidden="true"></i>
|
||||
{{ t('theme.sectionTitle') }}
|
||||
</h3>
|
||||
<p class="m-0 text-sm leading-6 text-text-secondary">{{ t('theme.sectionDesc') }}</p>
|
||||
<p class="m-0 text-xs leading-5 text-text-secondary">{{ t('theme.sectionDesc') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col gap-4 pl-4 max-md:pl-2">
|
||||
<section class="w-full max-w-3xl rounded-md border-l-[3px] border-l-primary bg-[color-mix(in_srgb,var(--color-card)_35%,var(--color-page))] p-4 transition-[background,border-color] duration-200 hover:bg-[color-mix(in_srgb,var(--color-card)_20%,var(--color-page))] max-md:p-3">
|
||||
<div class="flex flex-col gap-3.5 pl-3.5 max-md:pl-1.5">
|
||||
<section class="w-full max-w-2xl rounded-md border-l-[3px] border-l-primary bg-[color-mix(in_srgb,var(--color-card)_35%,var(--color-page))] p-3.5 transition-[background,border-color] duration-200 hover:bg-[color-mix(in_srgb,var(--color-card)_20%,var(--color-page))] max-md:p-2.5">
|
||||
<div class="mb-1">
|
||||
<label class="text-[0.9375rem] font-medium text-text" for="appearance-preference">{{ 'layout.theme.appearance' | transloco }}</label>
|
||||
<label class="text-sm font-medium text-text" for="appearance-preference">{{ 'layout.theme.appearance' | transloco }}</label>
|
||||
</div>
|
||||
<div class="mt-3 border-t border-dashed border-border pt-3">
|
||||
<div class="mt-2.5 border-t border-dashed border-border pt-2.5">
|
||||
<p-select
|
||||
inputId="appearance-preference"
|
||||
[options]="appearanceOptions()"
|
||||
@@ -22,27 +22,27 @@
|
||||
optionLabel="label"
|
||||
optionValue="value"
|
||||
appendTo="body"
|
||||
class="w-80 max-w-full">
|
||||
class="w-72 max-w-full">
|
||||
</p-select>
|
||||
</div>
|
||||
|
||||
@if (showOledDarkModeToggle()) {
|
||||
<div class="mt-4 flex max-w-xl items-center gap-3 border-t border-dashed border-border pt-3">
|
||||
<div class="mt-3.5 flex max-w-lg items-center gap-2.5 border-t border-dashed border-border pt-2.5">
|
||||
<p-toggleswitch
|
||||
inputId="oled-dark-mode"
|
||||
[ngModel]="oledDarkMode()"
|
||||
(ngModelChange)="updateOledDarkMode($event)">
|
||||
</p-toggleswitch>
|
||||
<label class="text-[0.9375rem] font-medium text-text" for="oled-dark-mode">{{ t('theme.oledDarkMode') }}</label>
|
||||
<label class="text-sm font-medium text-text" for="oled-dark-mode">{{ t('theme.oledDarkMode') }}</label>
|
||||
</div>
|
||||
}
|
||||
</section>
|
||||
|
||||
<section class="w-full max-w-3xl rounded-md border-l-[3px] border-l-primary bg-[color-mix(in_srgb,var(--color-card)_35%,var(--color-page))] p-4 transition-[background,border-color] duration-200 hover:bg-[color-mix(in_srgb,var(--color-card)_20%,var(--color-page))] max-md:p-3">
|
||||
<section class="w-full max-w-2xl rounded-md border-l-[3px] border-l-primary bg-[color-mix(in_srgb,var(--color-card)_35%,var(--color-page))] p-3.5 transition-[background,border-color] duration-200 hover:bg-[color-mix(in_srgb,var(--color-card)_20%,var(--color-page))] max-md:p-2.5">
|
||||
<div class="mb-1">
|
||||
<label class="text-[0.9375rem] font-medium text-text" for="app-theme">{{ 'layout.theme.theme' | transloco }}</label>
|
||||
<label class="text-sm font-medium text-text" for="app-theme">{{ 'layout.theme.theme' | transloco }}</label>
|
||||
</div>
|
||||
<div class="mt-3 border-t border-dashed border-border pt-3">
|
||||
<div class="mt-2.5 border-t border-dashed border-border pt-2.5">
|
||||
<p-select
|
||||
inputId="app-theme"
|
||||
[options]="themeOptions()"
|
||||
@@ -51,13 +51,13 @@
|
||||
optionLabel="label"
|
||||
optionValue="value"
|
||||
appendTo="body"
|
||||
class="w-80 max-w-full">
|
||||
class="w-72 max-w-full">
|
||||
<ng-template #selectedItem let-option>
|
||||
@if (option) {
|
||||
<span class="inline-flex min-w-0 items-center gap-2.5">
|
||||
<span class="inline-flex min-w-0 items-center gap-2">
|
||||
@if (option.value !== 'custom') {
|
||||
<span
|
||||
class="h-3.5 w-3.5 shrink-0 rounded-full bg-(--color-primary-500) ring-1 ring-inset ring-black/15"
|
||||
class="size-3 shrink-0 rounded-full bg-(--color-primary-500) ring-1 ring-inset ring-black/15"
|
||||
[attr.data-app-theme]="option.value"
|
||||
aria-hidden="true">
|
||||
</span>
|
||||
@@ -67,10 +67,10 @@
|
||||
}
|
||||
</ng-template>
|
||||
<ng-template #item let-option>
|
||||
<span class="inline-flex min-w-0 items-center gap-2.5">
|
||||
<span class="inline-flex min-w-0 items-center gap-2">
|
||||
@if (option.value !== 'custom') {
|
||||
<span
|
||||
class="h-3.5 w-3.5 shrink-0 rounded-full bg-(--color-primary-500) ring-1 ring-inset ring-black/15"
|
||||
class="size-3 shrink-0 rounded-full bg-(--color-primary-500) ring-1 ring-inset ring-black/15"
|
||||
[attr.data-app-theme]="option.value"
|
||||
aria-hidden="true">
|
||||
</span>
|
||||
@@ -82,12 +82,12 @@
|
||||
</div>
|
||||
|
||||
@if (selectedThemePreference() === 'custom') {
|
||||
<div class="mt-4 max-w-xl">
|
||||
<div class="flex flex-wrap gap-2">
|
||||
<div class="mt-3.5 max-w-lg">
|
||||
<div class="flex flex-wrap gap-1.5">
|
||||
@for (option of customPrimaryOptions(); track option.value) {
|
||||
<button
|
||||
type="button"
|
||||
class="size-7 cursor-pointer rounded-full border-0 p-0 shadow-[inset_0_0_0_1px_rgb(0_0_0_/_10%)] aria-pressed:ring-2 aria-pressed:ring-[var(--color-text)] aria-pressed:ring-offset-2 aria-pressed:ring-offset-[var(--color-page)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
|
||||
class="size-6 cursor-pointer rounded-full border-0 p-0 shadow-[inset_0_0_0_1px_rgb(0_0_0_/_10%)] aria-pressed:ring-2 aria-pressed:ring-[var(--color-text)] aria-pressed:ring-offset-2 aria-pressed:ring-offset-[var(--color-page)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
|
||||
[style.background]="'var(--color-' + option.value + '-500)'"
|
||||
[attr.aria-label]="option.ariaLabel"
|
||||
[attr.aria-pressed]="option.value === selectedCustomPrimary()"
|
||||
@@ -98,21 +98,21 @@
|
||||
</div>
|
||||
}
|
||||
|
||||
<div class="mt-4 flex max-w-xl items-center gap-3 border-t border-dashed border-border pt-3">
|
||||
<div class="mt-3.5 flex max-w-lg items-center gap-2.5 border-t border-dashed border-border pt-2.5">
|
||||
<p-toggleswitch
|
||||
inputId="theme-sync"
|
||||
[ngModel]="selectedThemeSyncEnabled()"
|
||||
(ngModelChange)="updateThemeSyncEnabled($event)">
|
||||
</p-toggleswitch>
|
||||
<label class="text-[0.9375rem] font-medium text-text" for="theme-sync">{{ 'layout.theme.syncAcrossDevices' | transloco }}</label>
|
||||
<label class="text-sm font-medium text-text" for="theme-sync">{{ 'layout.theme.syncAcrossDevices' | transloco }}</label>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="w-full max-w-3xl rounded-md border-l-[3px] border-l-primary bg-[color-mix(in_srgb,var(--color-card)_35%,var(--color-page))] p-4 transition-[background,border-color] duration-200 hover:bg-[color-mix(in_srgb,var(--color-card)_20%,var(--color-page))] max-md:p-3">
|
||||
<section class="w-full max-w-2xl rounded-md border-l-[3px] border-l-primary bg-[color-mix(in_srgb,var(--color-card)_35%,var(--color-page))] p-3.5 transition-[background,border-color] duration-200 hover:bg-[color-mix(in_srgb,var(--color-card)_20%,var(--color-page))] max-md:p-2.5">
|
||||
<div class="mb-1">
|
||||
<label class="text-[0.9375rem] font-medium text-text" for="interface-language">{{ t('language.label') }}</label>
|
||||
<label class="text-sm font-medium text-text" for="interface-language">{{ t('language.label') }}</label>
|
||||
</div>
|
||||
<div class="mt-3 border-t border-dashed border-border pt-3">
|
||||
<div class="mt-2.5 border-t border-dashed border-border pt-2.5">
|
||||
<p-select
|
||||
inputId="interface-language"
|
||||
[options]="languageOptions"
|
||||
@@ -121,7 +121,7 @@
|
||||
optionLabel="label"
|
||||
optionValue="value"
|
||||
appendTo="body"
|
||||
class="w-80 max-w-full">
|
||||
class="w-72 max-w-full">
|
||||
</p-select>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
+17
-17
@@ -56,25 +56,25 @@
|
||||
|
||||
// Filter order editor styles
|
||||
.filter-order-editor {
|
||||
margin-top: 0.75rem;
|
||||
margin-top: 0.6563rem;
|
||||
}
|
||||
|
||||
.filter-order-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
min-height: 40px;
|
||||
max-height: 320px;
|
||||
max-width: 350px;
|
||||
overflow-y: auto;
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.filter-order-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.4375rem 0.6563rem;
|
||||
background-color: var(--overlay-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
@@ -89,8 +89,8 @@
|
||||
.cdk-drag-preview {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.35rem 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.3063rem 0.6563rem;
|
||||
background-color: var(--card-background);
|
||||
border: 1px solid var(--primary-color);
|
||||
border-radius: 6px;
|
||||
@@ -121,19 +121,19 @@
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
}
|
||||
}
|
||||
|
||||
.filter-rank {
|
||||
font-weight: 600;
|
||||
color: var(--primary-color);
|
||||
min-width: 1.75rem;
|
||||
min-width: 1.5313rem;
|
||||
}
|
||||
|
||||
.filter-label {
|
||||
flex: 1;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
@@ -141,8 +141,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
width: 1.5313rem;
|
||||
height: 1.5313rem;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
@@ -152,7 +152,7 @@
|
||||
transition: background-color 0.15s ease;
|
||||
|
||||
i {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
}
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
@@ -168,15 +168,15 @@
|
||||
.filter-actions-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.reset-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
width: 1.5313rem;
|
||||
height: 1.5313rem;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
@@ -186,7 +186,7 @@
|
||||
transition: background-color 0.15s ease, color 0.15s ease;
|
||||
|
||||
i {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
+11
-11
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -20,14 +20,14 @@
|
||||
|
||||
.preferences-section {
|
||||
@media (width >= 768px) {
|
||||
padding: 0 1rem;
|
||||
padding: 0 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@@ -43,7 +43,7 @@
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,15 +64,15 @@
|
||||
display: block;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
@@ -85,7 +85,7 @@
|
||||
.setting-description {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: settings.$settings-section-description-size;
|
||||
line-height: 1.5;
|
||||
@@ -93,7 +93,7 @@
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
margin-top: 0.125rem;
|
||||
margin-top: 0.1094rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
+22
-22
@@ -55,21 +55,21 @@
|
||||
.setting-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding-top: 0.5rem;
|
||||
padding-top: 0.4375rem;
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.multi-sort-editor {
|
||||
margin-top: 1rem;
|
||||
padding-top: 1rem;
|
||||
margin-top: 0.875rem;
|
||||
padding-top: 0.875rem;
|
||||
border-top: 1px dashed var(--border-color);
|
||||
}
|
||||
|
||||
.multi-sort-label {
|
||||
display: block;
|
||||
font-weight: 500;
|
||||
font-size: 0.875rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-sm);
|
||||
margin-bottom: 0.4375rem;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
@@ -80,25 +80,25 @@
|
||||
}
|
||||
|
||||
.sort-field-order-editor {
|
||||
margin-top: 0.75rem;
|
||||
margin-top: 0.6563rem;
|
||||
}
|
||||
|
||||
.sort-field-order-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
min-height: 40px;
|
||||
max-height: 320px;
|
||||
max-width: 350px;
|
||||
overflow-y: auto;
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.sort-field-order-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.4375rem 0.6563rem;
|
||||
background-color: var(--overlay-background);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
@@ -113,8 +113,8 @@
|
||||
.cdk-drag-preview {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.35rem 0.75rem;
|
||||
gap: 0.4375rem;
|
||||
padding: 0.3063rem 0.6563rem;
|
||||
background-color: var(--card-background);
|
||||
border: 1px solid var(--primary-color);
|
||||
border-radius: 6px;
|
||||
@@ -145,19 +145,19 @@
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
}
|
||||
}
|
||||
|
||||
.sort-field-rank {
|
||||
font-weight: 600;
|
||||
color: var(--primary-color);
|
||||
min-width: 1.75rem;
|
||||
min-width: 1.5313rem;
|
||||
}
|
||||
|
||||
.sort-field-label {
|
||||
flex: 1;
|
||||
font-size: 0.875rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
@@ -165,8 +165,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
width: 1.5313rem;
|
||||
height: 1.5313rem;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
@@ -176,7 +176,7 @@
|
||||
transition: background-color 0.15s ease;
|
||||
|
||||
i {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
}
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
@@ -192,15 +192,15 @@
|
||||
.sort-field-actions-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
|
||||
.reset-sort-fields-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
width: 1.5313rem;
|
||||
height: 1.5313rem;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
@@ -210,7 +210,7 @@
|
||||
transition: background-color 0.15s ease, color 0.15s ease;
|
||||
|
||||
i {
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.7438rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
Reference in New Issue
Block a user