Current Path : /var/www/www-root/data/www.catalog.monolith-realty.ru/local/templates/monolitsochi/css/ |
Current File : /var/www/www-root/data/www.catalog.monolith-realty.ru/local/templates/monolitsochi/css/regions.css |
/* REGIONS */ .regions { position: relative; } /*item*/ .regions__chooser { display: flex; align-items: center; cursor: pointer; } .regions__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; } /*mobile*/ .top_mobile_region { position: relative; } .top_mobile_region .confirm_region { background: #f9f9f9; background: var(--darkerblack_bg_black); box-shadow: inset 0px -1px 0px 0px #f5f5f5; box-shadow: inset 0px -1px 0px 0px var(--light_bg_black); border-radius: 0px; margin: 0px; padding-top: 18px; } .top_mobile_region .confirm_region { position: static; top: 0px; left: 0px; } /*select*/ .region_wrapper .dropdown { position: absolute; display: none; left: 0px; top: 100%; margin-top: 13px; min-width: 190px; } .region_wrapper .dropdown .wrap { margin: 0px; background: #fff; background: var(--card_bg_black); box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15); border-radius: 4px; max-height: 300px; overflow: auto; padding: 12px 0px 14px; } .region_wrapper .dropdown .wrap::-webkit-scrollbar, .searchinput .js-autocomplete-block::-webkit-scrollbar { width: 8px; } .region_wrapper .dropdown .wrap::-webkit-scrollbar-track, .searchinput .js-autocomplete-block::-webkit-scrollbar-track { border-radius: 8px; } .region_wrapper .dropdown .wrap::-webkit-scrollbar-thumb, .searchinput .js-autocomplete-block::-webkit-scrollbar-thumb { border-radius: 8px; background: #999; border: 2px solid #fff; } .region_wrapper .dropdown .wrap::-webkit-scrollbar-thumb:window-inactive, .searchinput .js-autocomplete-block::-webkit-scrollbar-thumb:window-inactive { background: #999; border: 2px solid #fff; } .region_wrapper .dropdown .more_item span { display: block; padding: 6px 24px 6px; cursor: pointer; } .region_wrapper .dropdown .more_item.current span { cursor: default; font-weight: bold; color: #333; color: var(--white_text_black); } /*popup*/ .city_chooser_frame.popup { max-width: 840px; } .city_chooser_small_frame.popup { max-width: 740px; } /*top*/ .form.popup.popup--regions .form-header { padding: 34px 38px 26px; } .popup--regions .title > span { padding-left: 5px; } .popup_regions .h-search { padding: 0px 40px 36px; } .popup_regions .ui-menu li:before { display: none; padding-left: 10px; } .favorits__item { padding-top: 9px; } /*small popup*/ .city_chooser_small_frame .popup.popup--regions .form-header { padding-left: 48px; padding-right: 48px; padding-top: 44px; } .city_chooser_small_frame .popup_regions .h-search { padding-left: 50px; padding-right: 50px; } /*items*/ .cities { padding: 0px 40px; border-top: 1px solid #e5e5e5; margin-bottom: 40px; border-color: var(--stroke_black); } .cities--right-border { border-right: 1px solid #e5e5e5; border-color: var(--stroke_black); } body .cities .cities__wrapper { max-height: 420px; overflow-y: auto; flex: 1; padding-right: 0px; } .cities__wrapper .block { padding: 18px 40px 25px 0px; } .cities__title { padding: 0px 0px 10px; } .cities__item { margin: 0px 0px 5px 0px; padding: 5px 0px; cursor: pointer; } body .cities__item.current { cursor: default; } body .cities__item.current span { font-weight: bold; color: #333; color: var(--white_text_black); } .popup_regions .parent_block { display: none; } .popup_regions .parent_block.shown { display: block; } .city .cities__item:not(.shown) { display: none; } /*only city*/ .cities--only-city.city { padding: 30px 50px 26px 10px; } .cities--only-city .cities__title { display: none; } .cities--only-city .items_block { display: flex; flex-wrap: wrap; margin: 0px -10px; } .cities--only-city .cities__item { padding-left: 10px; padding-right: 10px; flex: 0 0 33%; } /*autocomplete*/ #title-search-city .ui-autocomplete { position: absolute !important; top: 48px !important; width: 100%; box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15); background: #fff; background: var(--card_bg_black); border-radius: 4px; padding: 10px 0px 4px; z-index: 9; height: auto; max-height: 230px; overflow-y: auto; } #title-search-city .ui-autocomplete::-webkit-scrollbar { width: 8px; } #title-search-city .ui-autocomplete::-webkit-scrollbar-track { box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.15); border-radius: 8px; } #title-search-city .ui-autocomplete::-webkit-scrollbar-thumb { border-radius: 8px; background: #999; border: 2px solid #fff; } #title-search-city .ui-autocomplete::-webkit-scrollbar-thumb:window-inactive { background: #999; border: 2px solid #fff; } #title-search-city .ui-menu-item { padding: 0px 20px; margin-bottom: 8px; } /*confirm*/ .confirm_region { position: absolute; display: block; min-width: 370px; box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1); -o-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1); z-index: 1002; background: #fff; background: var(--card_bg_black); border-radius: 4px; padding: 20px 28px 28px; box-sizing: border-box; top: 36px; left: 0px; box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1); } .confirm_region .title { color: #333; color: var(--white_text_black); font-weight: bold; text-align: left; } .confirm_region .title span { padding-left: 5px; } .confirm_region .buttons { padding: 13px 0px 0px; white-space: nowrap; margin: 0px -4px; } .confirm_region .buttons > span { padding: 0px 4px; width: 50%; float: left; } .confirm_region .buttons > span .btn { margin: 0px; width: 100%; padding-left: 0px; padding-right: 0px; } /*megamenu*/ .mega-fixed-menu .dropdown { top: auto; bottom: 100%; margin: 0px 0px 13px; } @media (min-width: 992px) { .region_confirm_normal .top_mobile_region, .region_confirm_top .regions .confirm_region { display: none; } .top_mobile_region { background: #ffffff; background: var(--card_bg_black); box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.15); text-align: center; } .top_mobile_region .confirm_region { display: inline-block; background: #ffffff; background: var(--card_bg_black); padding: 12px; } .top_mobile_region .confirm_region > div { display: inline-block !important; font-weight: normal; vertical-align: middle; } .top_mobile_region .buttons { padding: 0px 0px 0px 25px; margin: 0px -6px; } .top_mobile_region .buttons > span { width: auto; padding: 0px 6px; } .top_mobile_region .buttons span .btn { padding-left: 17px; padding-right: 17px; padding-bottom: 10px; font-size: 12px; } .top_mobile_region .confirm_region .top-close { top: 50%; transform: translateY(-50%); } /*megamenu*/ .mega-fixed-menu .confirm_region { bottom: 35px; top: auto; } } @media (max-width: 600px) { .cities--with-okrug { display: none; } .popup_regions .parent_block { display: block; } .cities { padding: 0px 20px; } .form.popup.popup--regions .form-header { padding-left: 18px; padding-right: 18px; } #main .popup_regions .h-search { padding-left: 20px; padding-right: 20px; } .cities--only-city .cities__item { overflow: hidden; text-overflow: ellipsis; flex: auto; } .confirm_region { min-width: none; } }