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

131 lines
1.8 KiB
SCSS
Raw Normal View History

2019-01-18 18:03:45 +01:00
.multiple-auto-complete {
2024-03-13 16:26:47 +01:00
// margin-left: inherit;
// margin-right: inherit;
2019-01-18 18:03:45 +01:00
.not-loading {
display: none;
}
2019-12-12 11:42:00 +01:00
.align-arrow-right {
// position: absolute;
right: 0;
// bottom: 0;
// vertical-align: middle;
2019-12-12 11:42:00 +01:00
cursor: pointer;
align-self: center;
color: rgba(0, 0, 0, 0.54);
}
2019-01-18 18:03:45 +01:00
}
2024-03-20 17:06:05 +01:00
.chip-row {
height: auto;
min-height: 32px;
}
2024-01-25 19:55:42 +01:00
.chip-text {
// text-overflow: ellipsis;
// white-space: nowrap;
// overflow: hidden;
white-space: normal;
2024-01-25 19:55:42 +01:00
word-break: break-word;
2024-03-20 17:06:05 +01:00
}
.chip-list {
2024-01-25 19:55:42 +01:00
max-width: calc(100% - 30px);
2024-03-20 17:06:05 +01:00
padding-left: 0.8em;
}
2024-01-25 19:55:42 +01:00
.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;
}
2024-01-25 19:55:42 +01:00
.option {
line-height: 1rem;
// height: 3em;
2024-03-20 17:06:05 +01:00
}
2024-01-25 19:55:42 +01:00
.option-icon {
mat-icon {
margin: 0px 5px 0px 10px;
}
2024-03-20 17:06:05 +01:00
mat-icon:hover {
2023-02-10 14:08:23 +01:00
color: var(--primary-color);
}
}
2019-01-18 18:03:45 +01:00
.two-line-mat-option {
line-height: 1.2em;
2019-01-18 18:03:45 +01:00
}
::ng-deep .mat-chip-list-wrapper {
max-height: 4.8em !important;
overflow: auto !important;
}
2024-03-20 17:06:05 +01:00
.hide-placeholder {
&::-webkit-input-placeholder {
2024-03-20 17:06:05 +01:00
/* WebKit browsers */
color: transparent;
}
2024-03-20 17:06:05 +01:00
&:-moz-placeholder {
2024-03-20 17:06:05 +01:00
/* Mozilla Firefox 4 to 18 */
color: transparent;
}
2024-03-20 17:06:05 +01:00
&::-moz-placeholder {
2024-03-20 17:06:05 +01:00
/* Mozilla Firefox 19+ */
color: transparent;
}
2024-03-20 17:06:05 +01:00
&:-ms-input-placeholder {
2024-03-20 17:06:05 +01:00
/* Internet Explorer 10+ */
color: transparent;
}
2024-03-20 17:06:05 +01:00
&::placeholder {
2024-03-20 17:06:05 +01:00
color: transparent;
}
2024-03-20 17:06:05 +01:00
}