UNPKG

benivo-ui-library

Version:

Benivo UI library

150 lines (127 loc) 4.15 kB
.form-address-location { .form-group { width: 100%; } .city-autocomplete-content { min-height: 36px; position: relative; width: 100%; .autocomplete-dropdown-container { margin-top: 0; position: absolute; top: 36px; left: 0px; width: 100%; z-index: @zindex-dropdown; &.with-label { top: 64px; } .suggestion-item--active { cursor: pointer; background: rgba(var(--black-rgb), 0.1); color: var(--text-600); padding: 0.5rem 1.25rem; border: solid 1px var(--border-200); border-bottom: 0; &, * { font-family: @font-family; } &:before { font-family: icomoon; content: "\e936"; color: var(--text-600); margin-right: 10px; vertical-align: -2px; } &:last-child { border-bottom: solid 1px var(--border-200); .border-radius(0 0 @form-border-radius @form-border-radius); } &:first-child { .border-radius(@form-border-radius @form-border-radius 0 0); } } .suggestion-item { cursor: pointer; background-color: var(--white); color: var(--text-600); padding: 0.5rem 1.25rem; border: solid 1px var(--border-200); border-bottom: 0; &, * { font-family: @font-family; } &:before { font-family: icomoon; content: "\e936"; color: var(--text-600); margin-right: 10px; vertical-align: -2px; } &.loading:before { content: none; } &:last-child { border-bottom: solid 1px var(--border-200); .border-radius(0 0 @form-border-radius @form-border-radius); } &:first-child { .border-radius(@form-border-radius @form-border-radius 0 0); } } } } .required-point { color: var(--error-main); } } .autocomplete-address-view { div { .form-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: none; background-color: var(--white); display: block; min-height: inherit; width: 100%; padding: @input-pad-y @input-pad-x; color: inherit; font-style: normal; font-family: @form-font-family; font-weight: @form-font-weight; font-size: @form-font-size; border: 1px solid var(--border-200); .box-shadow(@form-box-shadow); .border-radius(@form-border-radius); cursor: pointer; @media @lg { line-height: @form-line-height; } @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { min-height: 36px; } } } &.form-group { .form-control { margin: 0; &.disabled { pointer-events: none; background-color: var(--bg-100); } } .required-point { color: var(--error-main); } } .form-control { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }