95 lines
1.6 KiB
SCSS
95 lines
1.6 KiB
SCSS
|
div.map-search {
|
||
|
position: absolute;
|
||
|
top: 0.5rem;
|
||
|
left: 0.5rem;
|
||
|
transition: opacity 0.5s ease-out, left 0.3s,max-height 0.3s ease-out,max-width 0.3s ease-out;
|
||
|
max-height: 10rem;
|
||
|
width: 21rem;
|
||
|
max-width: 21rem;
|
||
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
|
||
|
z-index:3;
|
||
|
}
|
||
|
|
||
|
.input-group {
|
||
|
flex-wrap:nowrap;
|
||
|
}
|
||
|
|
||
|
.disabled {
|
||
|
color:lighten(#000000,80%);
|
||
|
}
|
||
|
|
||
|
:host ::ng-deep ngb-typeahead-window.dropdown-menu {
|
||
|
width: 20rem;
|
||
|
left:-2.5rem !important;
|
||
|
}
|
||
|
|
||
|
:host ::ng-deep button.dropdown-item {
|
||
|
overflow:hidden;
|
||
|
text-overflow:ellipsis;
|
||
|
padding: 0.375rem 0.75rem;
|
||
|
}
|
||
|
|
||
|
div.map-search input[type=text] {
|
||
|
transition: width 0.3s ease-out;
|
||
|
}
|
||
|
|
||
|
div.map-search button {
|
||
|
transition: width 0.3s ease-out;
|
||
|
}
|
||
|
|
||
|
div.map-search.collapsed {
|
||
|
max-height:3.5rem;
|
||
|
max-width:10rem;
|
||
|
}
|
||
|
|
||
|
div.map-search.searchcollapsed {
|
||
|
max-height: 3.5rem;
|
||
|
max-width: 6rem;
|
||
|
}
|
||
|
|
||
|
div.map-search div.options {
|
||
|
padding-top: 0.5rem;
|
||
|
line-height: 1.5rem;
|
||
|
overflow: hidden;
|
||
|
transition: max-height 0.3s ease-in-out;
|
||
|
max-height:4.5rem;
|
||
|
}
|
||
|
|
||
|
div.map-search.collapsed div.options, div.map-search.searchcollapsed div.options {
|
||
|
max-height: 0;
|
||
|
padding:0;
|
||
|
}
|
||
|
|
||
|
div.map-search button {
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
div.map-search.collapsed input[type=text] {
|
||
|
border-top-right-radius: 0.25rem;
|
||
|
border-bottom-right-radius: 0.25rem;
|
||
|
}
|
||
|
|
||
|
div.map-search.searchcollapsed input[type=text] {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
div.map-search.collapsed button.clear, div.map-search.collapsed button[type="submit"] {
|
||
|
width: 0;
|
||
|
padding: 0;
|
||
|
border-color:transparent;
|
||
|
}
|
||
|
|
||
|
div.map-search.searchcollapsed button[type="submit"] {
|
||
|
width: 0;
|
||
|
padding: 0;
|
||
|
border-color: transparent;
|
||
|
}
|
||
|
|
||
|
.options label {
|
||
|
white-space:nowrap;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|