209 lines
3.4 KiB
SCSS
209 lines
3.4 KiB
SCSS
@use '../../../../shared/styles/panel-shared' as panel;
|
|
|
|
.dashboard-settings {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
@media (width <= 640px) {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
.panel-header {
|
|
@include panel.panel-header;
|
|
}
|
|
|
|
.settings-controls {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6563rem;
|
|
padding: 0.875rem 1.75rem;
|
|
background: var(--color-page);
|
|
border: 1px solid var(--color-border);
|
|
border-top: none;
|
|
|
|
.settings-info {
|
|
.info-content {
|
|
display: flex;
|
|
gap: 0.6563rem;
|
|
padding: 0.6563rem;
|
|
background: var(--color-page);
|
|
border-radius: 6px;
|
|
border: 1px solid var(--p-primary-300);
|
|
|
|
.info-icon {
|
|
color: var(--color-primary);
|
|
font-size: var(--app-text-lg);
|
|
flex-shrink: 0;
|
|
margin-top: 0.1094rem;
|
|
}
|
|
|
|
.info-text {
|
|
flex: 1;
|
|
|
|
p {
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
font-size: var(--app-text-sm);
|
|
color: var(--color-text-secondary);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (width <= 480px) {
|
|
padding: 0.875rem;
|
|
gap: 0.4375rem;
|
|
|
|
.settings-info {
|
|
.info-content {
|
|
flex-direction: column;
|
|
gap: 0.4375rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.scrollers-container {
|
|
padding: 1.3125rem 1.75rem;
|
|
background: var(--color-page);
|
|
border: 1px solid var(--color-border);
|
|
border-top: none;
|
|
min-height: 200px;
|
|
max-height: 450px;
|
|
overflow-y: auto;
|
|
|
|
@media (width <= 480px) {
|
|
padding: 0.875rem;
|
|
max-height: 400px;
|
|
}
|
|
}
|
|
|
|
.scroller-item {
|
|
border: 1px solid transparent;
|
|
transition: all 0.2s;
|
|
border-color: var(--p-content-border-color);
|
|
background: var(--p-content-background);
|
|
padding: 0.875rem;
|
|
margin-bottom: 0.6563rem;
|
|
border-radius: 0.3281rem;
|
|
|
|
@media (width <= 768px) {
|
|
padding: 0.6563rem !important;
|
|
}
|
|
}
|
|
|
|
.scroller-content {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 0.6563rem;
|
|
|
|
@media (width <= 768px) {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 0.875rem;
|
|
}
|
|
}
|
|
|
|
.scroller-controls-left {
|
|
display: flex;
|
|
align-items: center;
|
|
padding-bottom: 0.5687rem;
|
|
|
|
@media (width <= 768px) {
|
|
padding-bottom: 0;
|
|
align-self: flex-start;
|
|
}
|
|
}
|
|
|
|
.scroller-controls-right {
|
|
display: flex;
|
|
gap: 0.4375rem;
|
|
padding-bottom: 0.2188rem;
|
|
|
|
@media (width <= 768px) {
|
|
padding-bottom: 0;
|
|
align-self: flex-end;
|
|
}
|
|
}
|
|
|
|
.scroller-fields {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: 0.6563rem;
|
|
flex: 1;
|
|
|
|
@media (width <= 768px) {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.6563rem;
|
|
}
|
|
|
|
@media (width <= 640px) {
|
|
gap: 0.4375rem;
|
|
}
|
|
}
|
|
|
|
.scroller-field {
|
|
label {
|
|
display: block;
|
|
margin-bottom: 0.4375rem;
|
|
}
|
|
|
|
&.expanded {
|
|
flex: 1;
|
|
|
|
@media (width <= 768px) {
|
|
flex: unset;
|
|
}
|
|
}
|
|
}
|
|
|
|
.max-items-field {
|
|
max-width: 7.875rem;
|
|
flex-shrink: 0;
|
|
|
|
@media (width <= 768px) {
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
label {
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--app-text-sm);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.dialog-footer {
|
|
@include panel.dialog-footer;
|
|
|
|
border-top: none;
|
|
|
|
.footer-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4375rem;
|
|
}
|
|
|
|
@media (width <= 640px) {
|
|
.footer-left {
|
|
flex-direction: column;
|
|
gap: 0.4375rem;
|
|
|
|
::ng-deep .p-button {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.footer-actions {
|
|
::ng-deep .p-button {
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.add-scroller-wrapper {
|
|
margin-bottom: 0;
|
|
}
|