Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/location/mobile/src/css/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/location/mobile/src/css/address-editor.css |
.mobile-address-container { background-color: #f4f6f8; height: 100%; width: 100%; box-sizing: border-box; } .mobile-address--scope { --color-dark-blue: #29a8df; } /* region Map styles */ .mobile-address-map-container { height: 100%; width: 100%; } .mobile-address-map-overlay { position: fixed; display: none; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(var(--ui-color-base-solid-rgb), var(--ui-opacity-50)); z-index: 4100; cursor: pointer; } .mobile-address-map-map { height: 100%; width: 100%; } .mobile-address-map-search { position: absolute; top: 17px; right: 12px; z-index: 5000; } .mobile-address-map-address-container { position: absolute; bottom: 31px; left: 50%; padding: 0 18px; width: 100%; transition: .3s ease-in-out; transform: translateX(-50%); opacity: 1; z-index: 4000; box-sizing: border-box; } .mobile-address-map-address-done { background-color: var(--color-dark-blue); border-radius: var(--ui-border-radius-lg); color: var(--ui-color-on-primary); font-size: var(--ui-font-size-xl); width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; } .mobile-address-map-address-icon { margin-right: 19px; } .mobile-address-map-address-address { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 15px 15px 20px 18px; margin-bottom: 12px; border-radius: var(--ui-border-radius-lg); border: 1px solid var(--ui-color-base-35); background-color: var(--ui-color-background-primary); } .mobile-address-map-address-done, .mobile-address-map-address-address { transition: .3s ease; } .mobile-address-map-address-address-text { position: relative; padding-left: 19px; max-height: 130px; font-weight: var(--ui-font-weight-normal); font-size: var(--ui-font-size-lg); line-height: 17px; overflow-y: auto; } .mobile-address-map-address-address-marker { position: absolute; left: 0; min-width: 12px; height: 17px; background: url(../../image/marker-view.svg) center no-repeat; background-size: 12px 17px; } .mobile-address-map-open-set-details { align-self: start; min-width: 25px; height: 24px; background: url(../../image/add.svg) center no-repeat; font-weight: var(--ui-font-weight-normal); font-size: var(--ui-font-size-lg); color: var(--ui-color-base-80); margin-left: 15px; } .mobile-address-map-address-details { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background-color: var(--ui-color-background-primary); color: var(--ui-color-base-default); align-items: center; border-top-left-radius: var(--ui-border-radius-lg); border-top-right-radius: var(--ui-border-radius-lg); z-index: 5000; } .mobile-address-map-address-details-textarea-container { display: flex; align-items: center; justify-content: center; width: 100%; } .mobile-address-map-address-details-textarea { margin-bottom: 32px; font-weight: var(--ui-font-weight-normal); font-size: var(--ui-font-size-xl); color: var(--ui-color-base-solid); border: none; width: 100%; max-height: 130px; resize: none; overflow-y: auto; outline: none; text-align: center; } .mobile-address-map-address-details-textarea::placeholder { color: var(--ui-color-base-50); font-size: var(--ui-font-size-2xl); } .mobile-address-map-address-details-title { display: block; margin-bottom: 6px; font-weight: var(--ui-font-weight-normal); font-size: var(--ui-font-size-md); color: var(--ui-color-base-50); text-align: center; } .mobile-address-map-address-details-done { background-color: var(--color-dark-blue); border-radius: var(--ui-border-radius-lg); color: var(--ui-color-on-primary); font-size: var(--ui-font-size-xl); width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; } /* endregion */ /* region Autocomplete styles */ .mobile-address-autocomplete-container { position: relative; padding: 0 12px; height: 100%; width: 100%; box-sizing: border-box; } .mobile-address-autocomplete-query-container { display: flex; margin-bottom: 16px; } .mobile-address-autocomplete__inner { display: flex; align-items: center; flex: 1; margin-right: 8px; padding: 12px 20px; min-height: 66px; border-radius: var(--ui-border-radius-lg); background-color: var(--ui-color-background-primary); box-sizing: border-box; } .mobile-address-autocomplete-query-search-icon { margin-left: auto; height: 20px; min-width: 20px; background: url(../../image/search.svg) center no-repeat; } .mobile-address-autocomplete-query-query { display: block; padding: 0 10px 0 0; height: 1em; max-height: 130px; width: 100%; font-weight: var(--ui-font-weight-regular); font-size: var(--ui-font-size-xl); font-family: var(--ui-font-family-system); line-height: 19px; color: var(--ui-color-base-solid); border: none; resize: none; overflow: auto; outline: none; caret-color: var(--ui-color-link-primary-base); } .mobile-address-autocomplete-query-clear { margin-left: auto; height: 24px; min-width: 20px; background: url(../../image/clear.svg) center no-repeat; } .mobile-address-autocomplete-query-separator { width: 1px; background: var(--ui-color-base-20); height: 40px; margin-left: 10px; margin-right: 10px; } .mobile-address-autocomplete-query-map-link, .mobile-address-map-search { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 3px; min-width: 65px; height: 66px; border: 1px solid #e1f3f9; border-radius: var(--ui-border-radius-2xl); background-color: var(--ui-color-background-primary); font-weight: var(--ui-font-weight-normal); font-size: var(--ui-font-size-lg); color: var(--ui-color-base-80); box-sizing: border-box; } .mobile-address-autocomplete-query-map-icon, .mobile-address-map-search-icon { display: inline-flex; width: 23px; height: 24px; background: url(../../image/map.svg) center no-repeat; } .mobile-address-map-search-icon { background: url(../../image/search-blue.svg) center no-repeat; } .mobile-address-autocomplete-query-map-text, .mobile-address-map-search-text { display: inline-flex; font-weight: var(--ui-font-weight-medium); font-size: var(--ui-font-size-xs); color: var(--ui-color-palette-blue-60); } .mobile-address-autocomplete-results-container { position: relative; overflow: hidden; } .mobile-address-autocomplete-results-search-loader { position: absolute; top: 200px; left: 50%; transform: translate(-50%, -50%); } .mobile-address-autocomplete-results-title { display: block; padding-top: 10px; padding-left: 20px; border-radius: var(--ui-border-radius-lg) var(--ui-border-radius-lg) 0 0; background-color: var(--ui-color-background-primary); font-size: var(--ui-font-size-md); color: var(--ui-color-base-90); } .mobile-address-autocomplete-results-result-item-container:not(:empty) { margin-bottom: 12px; } .mobile-address-autocomplete-results-result-item { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 8px 24px 8px 57px; min-height: 50px; max-height: 100px; background-color: var(--ui-color-background-primary); box-shadow: 0 -1px 0 0 rgba(var(--ui-color-base-solid-rgb), .08) inset; box-sizing: border-box; overflow-y: auto; } .mobile-address-autocomplete-results-result-item:nth-child(1) { border-radius: var(--ui-border-radius-lg) var(--ui-border-radius-lg) 0 0; } .mobile-address-autocomplete-results-result-item:last-child { border-radius: 0 0 var(--ui-border-radius-lg) var(--ui-border-radius-lg); box-shadow: none; } .mobile-address-autocomplete-results-result-item:only-child { border-radius: var(--ui-border-radius-lg); } .mobile-address-autocomplete-results-title + .mobile-address-autocomplete-results-result-item-container .mobile-address-autocomplete-results-result-item:nth-child(1) { border-radius: 0; } .mobile-address-autocomplete-results-result-item-no-bottom-border { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 8px 24px 8px 57px; min-height: 50px; max-height: 100px; background-color: var(--ui-color-background-primary); border-radius: 0 0 var(--ui-border-radius-lg) var(--ui-border-radius-lg); overflow-y: auto; } .mobile-address-autocomplete-results-result-item:before, .mobile-address-autocomplete-results-result-item-no-bottom-border:before { content: ''; position: absolute; top: 50%; left: 18px; min-width: 15px; height: 20px; background: url(../../image/marker-autocomplete.svg) center no-repeat; transform: translateY(-50%); } .mobile-address-autocomplete-results-result-item-name { font-weight: var(--ui-font-weight-medium); font-size: var(--ui-font-size-lg); line-height: 18px; color: var(--ui-color-text-primary); } .mobile-address-autocomplete-results-result-item-address-details { font-weight: var(--ui-font-weight-normal); font-size: var(--ui-font-size-sm); color: var(--ui-color-base-80); } .mobile-address-autocomplete-results-result-item-not-found-container { display: flex; align-items: center; padding: 14px 0 14px 18px; min-height: 50px; border-radius: var(--ui-border-radius-lg); background-color: #fcfcfd; } .mobile-address-autocomplete-results-result-item-not-found { position: relative; flex: 1; margin-right: 17px; font-size: 13px; color: var(--ui-color-base-70); } .mobile-address-autocomplete-results-result-item-not-found-text:nth-child(1) { display: block; margin-bottom: 2px; font-weight: var(--ui-font-weight-medium); font-size: var(--ui-font-size-lg); color: var(--ui-color-base-90); } .mobile-address-autocomplete-results-result-item-not-found:after { content: ''; position: absolute; top: 50%; right: 0; width: 14px; height: 14px; background: url(../../image/pencil.svg) center no-repeat; transform: translateY(-50%); } .mobile-address-autocomplete-results-empty-state { display: flex; flex-direction: column; align-items: center; padding: 48px 24px; border-radius: var(--ui-border-radius-lg); background-color: var(--ui-color-background-primary); } .mobile-address-autocomplete-results-empty-state-icon { display: inline-flex; min-width: 158px; height: 129px; margin-bottom: 32px; background: url(../../image/empty-state.png) center no-repeat; background-size: contain; } .mobile-address-autocomplete-results-empty-state-title { margin-bottom: 12px; font-size: var(--ui-font-size-2xl); color: var(--ui-color-base-90); text-align: center; } .mobile-address-autocomplete-results-empty-state-desc { font-size: var(--ui-font-size-xl); color: var(--ui-color-base-70); text-align: center; } /* endregion */ /* region Fields Styles */ .mobile-address-fields-fields-inner-container { display: flex; flex-direction: column; height: 100%; min-height: 100%; } .mobile-address-fields-fields-container { flex: 1; margin: 0 1.125rem 5px 1.125rem; /*border-radius: var(--ui-border-radius-2xl);*/ } .mobile-address-fields-item-wrap { border-radius: var(--ui-border-radius-2xl); background-color: var(--ui-color-background-primary); } .mobile-address-field-container { padding: 16px 0 14px 0; margin: 0 .875rem; min-height: 54px; box-shadow: 0 -.5px 0 0 rgba(51, 87, 216, .08) inset; box-sizing: border-box; } .mobile-address-field-container:last-child { box-shadow: none; } .mobile-address-field-title { margin-bottom: 2px; font-size: var(--ui-font-size-4xs); font-weight: var(--ui-font-weight-normal); color: var(--ui-color-base-50); text-transform: var(--ui-text-transform-uppercase); } .mobile-address-field-title-focused { color: #0b66c3; } .mobile-address-field { padding: 0; width: 100%; border: 0; font-size: var(--ui-font-size-xl); font-weight: var(--ui-font-weight-medium); color: var(--ui-color-text-primary); resize: none; box-sizing: border-box; } .mobile-address-field:disabled { background-color: var(--ui-color-background-transparent); } .mobile-address-fields-save-values { height: 50px; background-color: var(--color-dark-blue); font-size: var(--ui-font-size-xl); color: var(--ui-color-on-primary); position: -webkit-sticky; position: sticky; z-index: 20; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; } .mobile-address-fields-use-this-address-container { color: var(--ui-color-text-primary); align-items: center; z-index: 5000; border-top-left-radius: var(--ui-border-radius-lg); border-top-right-radius: var(--ui-border-radius-lg); padding: 22px; } .mobile-address-fields-use-this-address { background-color: #00A2E8; border-radius: var(--ui-border-radius-lg); color: var(--ui-color-on-primary); font-size: var(--ui-font-size-xl); width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; } .mobile-address-fields-search-container { align-items: center; margin-top: -10px; padding: 36px 1.78rem 20px 1.78rem; border-bottom-left-radius: var(--ui-border-radius-2xl); border-bottom-right-radius: var(--ui-border-radius-2xl); background-color: var(--ui-color-background-primary); } .mobile-address-fields-search-icon-search { margin-right: 10px; } .mobile-address-fields-search { position: relative; border: 1px solid var(--ui-color-base-20); border-radius: var(--ui-border-radius-lg); color: var(--ui-color-base-90); font-size: var(--ui-font-size-xl); font-weight: var(--ui-font-weight-medium); width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; } .mobile-address-fields-search-icon-search { display: inline-flex; min-width: 18px; height: 19px; margin-right: 8px; background: url(../../image/search-lg.svg) center no-repeat; } /* endregion */ /* region Animation */ .mobile-address-map-address-container.mobile-address-map-address-container-map-searching:before { content: ''; position: absolute; top: 50%; left: calc(50% + 26px); width: 100%; height: 92px; background: url(../../image/skeleton-map.svg) center no-repeat; transform: translate(-50%,-50%); } .mobile-address-map-address-container.mobile-address-map-address-container-map-searching .mobile-address-map-address-address, .mobile-address-map-address-container.mobile-address-map-address-container-map-searching .mobile-address-map-address-done { opacity: 0; } .location-fade-enter-active, .location-fade-leave-active { transition: opacity .6s ease; } .location-fade-enter-from, .location-fade-leave-to { opacity: 0; } /* endregion */ /* region Dark theme */ .dark .mobile-address--scope { --color-dark-main: #1b1f23; --color-dark-sub-background: #22272b; --color-dark-title: #cbced1; --color-dark-text: #f8f8f8; --color-dark-subtext: #a7abaf; } .dark .mobile-address-container { background-color: #101214; } .dark .mobile-address-autocomplete__inner, .dark .mobile-address-autocomplete-query-query, .dark .mobile-address-autocomplete-query-map-link, .dark .mobile-address-map-search, .dark .mobile-address-autocomplete-results-result-item, .dark .mobile-address-map-address-address, .dark .mobile-address-map-address-details, .dark .mobile-address-map-address-details-textarea, .dark .mobile-address-autocomplete-results-empty-state, .dark .mobile-address-fields-item-wrap, .dark .mobile-address-fields-search-container, .dark .mobile-address-field { background-color: var(--color-dark-main); } .dark .mobile-address-autocomplete-query-query { color: var(--ui-color-on-primary); } .dark .mobile-address-autocomplete-query-search-icon { background: url(../../image/search-dark.svg) center no-repeat; } .dark .mobile-address-autocomplete-query-clear { background: url(../../image/clear-dark.svg) center no-repeat; } .dark .mobile-address-autocomplete-query-map-link, .dark .mobile-address-map-search { border-color: #1c2d37; } .dark .mobile-address-autocomplete-results-result-item-name, .dark .mobile-address-map-address-address, .dark .mobile-address-autocomplete-results-result-item-no-bottom-border, .dark .mobile-address-map-address-details-textarea, .dark .mobile-address-fields-search, .dark .mobile-address-field { color: var(--color-dark-text); } .dark .mobile-address-autocomplete-results-result-item-address-details, .dark .mobile-address-autocomplete-results-result-item-not-found, .dark .mobile-address-autocomplete-results-empty-state-desc { color: var(--color-dark-subtext); } .dark .mobile-address-autocomplete-results-result-item:before, .dark .mobile-address-autocomplete-results-result-item-no-bottom-border:before { background: url(../../image/marker-autocomplete-dark.svg) center no-repeat; } .dark .mobile-address-autocomplete-results-result-item-not-found-container, .dark .mobile-address-autocomplete-results-title, .dark .mobile-address-autocomplete-results-result-item-no-bottom-border, .dark .mobile-address-autocomplete-results-result-item-container .mobile-address-autocomplete-results-result-item { background-color: var(--color-dark-sub-background); } .dark .mobile-address-autocomplete-results-result-item-not-found-text, .dark .mobile-address-autocomplete-results-title, .dark .mobile-address-autocomplete-results-empty-state-title, .dark .mobile-address-field-title { color: var(--color-dark-title); } .dark .mobile-address-autocomplete-results-result-item-not-found:after { background: url(../../image/pencil-dark.svg) center no-repeat; } .dark .mobile-address-map-address-address { border-color: var(--color-dark-main); } .dark .mobile-address-map-address-details-title { color: #82878b; } .dark .mobile-address-autocomplete-results-empty-state-icon { background: url(../../image/empty-state-dark.png) center no-repeat; background-size: cover; } .dark .mobile-address-map-address-container.mobile-address-map-address-container-map-searching:before { background: url(../../image/skeleton-map-dark.svg) center no-repeat; } .dark .mobile-address-fields-search { border-color: #65696f; } .dark .mobile-address-fields-search-icon-search { background: url(../../image/search-lg-dark.svg) center no-repeat; } /* endregion */