Current Path : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/bottomsheet/src/ |
Current File : /var/www/www-root/data/www/www.monolith-realty.ru/bitrix/js/ui/bottomsheet/src/style.css |
.ui-bottomsheet { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; z-index: 990; } .ui-bottomsheet.--show { display: block; } .ui-bottomsheet__overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--ui-color-overlay-base); opacity: 0; pointer-events: none; transition: .3s; } .ui-bottomsheet__overlay.--show { opacity: 1; pointer-events: auto; } .ui-bottomsheet__panel { position: absolute; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; max-height: calc(100vh - 50px); transform: translateY(100%); transition: .3s; } .ui-bottomsheet__panel.--show { transform: translateY(0); } .ui-bottomsheet__panel.--ondrag { transform: 0px; } .ui-bottomsheet__panel-control { display: flex; justify-content: space-between; position: relative; } .ui-bottomsheet__panel-handler { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 120px; } .ui-bottomsheet__panel-handler:after { content: ''; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 52px; height: 5px; border-radius: 2.5px; background: rgba(var(--ui-color-palette-white-base-rgb), .6); } .ui-bottomsheet__panel-control--item { display: inline-flex; align-items: center; padding: 12px 14px; } .ui-bottomsheet__panel-control--item.--close { margin-left: auto; } .ui-bottomsheet__panel-control--item.--cursor-pointer { cursor: pointer; } .ui-bottomsheet__panel-control--item-text { font: var(--ui-font-size-xl)/21px var(--ui-font-family-system); color: rgba(var(--ui-color-palette-white-base-rgb), .6); } .ui-bottomsheet__panel-wrapper { flex: 1; display: block; padding: 13px 15px; background: var(--ui-color-background-primary); border-radius: var(--ui-border-radius-lg) var(--ui-border-radius-lg) 0 0; } .ui-bottomsheet__panel-content { overflow: auto; }