argos/dmp-frontend/src/app/library/auto-complete/multiple/multiple-auto-complete.comp...

145 lines
2.2 KiB
SCSS

.multiple-auto-complete {
// margin-left: inherit;
// margin-right: inherit;
.not-loading {
display: none;
}
.align-arrow-right {
// position: absolute;
right: 0;
// bottom: 0;
// vertical-align: middle;
cursor: pointer;
align-self: center;
color: rgba(0, 0, 0, 0.54);
}
}
.chip-row {
height: auto;
min-height: 32px;
}
.chip-text {
// text-overflow: ellipsis;
// white-space: nowrap;
// overflow: hidden;
// white-space: normal;
white-space: nowrap;
word-break: break-word;
}
.chip-list {
max-width: calc(100% - 30px);
padding-left: 0.8em;
}
.title-subtitle-fn {
height: auto;
width: calc(100% - 46px);
}
.title-fn-inner {
width: inherit;
overflow: unset;
white-space: normal;
}
.title-fn {
width: 100%;
overflow: hidden;
text-overflow: unset !important;
white-space: normal;
}
.subtitle-fn-inner {
width: inherit;
height: inherit;
overflow: hidden;
text-overflow: ellipsis;
}
.subtitle-fn {
width: 100%;
overflow: hidden;
white-space: nowrap;
display: -webkit-box;
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
-ms-box-orient: vertical;
box-orient: vertical;
-webkit-line-clamp: 1;
-moz-line-clamp: 1;
-ms-line-clamp: 1;
line-clamp: 1;
}
.option {
line-height: 1rem;
// height: 3em;
}
.option-icon {
mat-icon {
margin: 0px 5px 0px 10px;
}
mat-icon:hover {
color: var(--primary-color);
}
}
.two-line-mat-option {
line-height: 1.2em;
}
::ng-deep .mat-chip-list-wrapper {
max-height: 4.8em !important;
overflow: auto !important;
}
.hide-placeholder {
&::-webkit-input-placeholder {
/* WebKit browsers */
color: transparent;
}
&:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: transparent;
}
&::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: transparent;
}
&:-ms-input-placeholder {
/* Internet Explorer 10+ */
color: transparent;
}
&::placeholder {
color: transparent;
}
}
:host ::ng-deep .mdc-evolution-chip-set__chips {
max-width: 100%;
text-overflow: ellipsis;
flex-flow: nowrap;
overflow-x: scroll;
}
:host ::ng-deep .mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,
:host ::ng-deep .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,
:host ::ng-deep .mat-mdc-standard-chip .mat-mdc-chip-action-label {
overflow: hidden;
}