@import './variables.scss'; @import './mixins/_responsive.scss'; /*@-webkit-keyframes mask-fade { 0% { visibility: hidden; opacity: 0;} 100% {visibility: visible; opacity: 1;} } @keyframes mask-fade { 0% {visibility: hidden; opacity: 0;} 100% {visibility: visible; opacity: 1;} }*/ .ant-popover-mask { position: fixed; top: 0; right: 0; left: 0; bottom: 0; //background-color: #373737; background-color: $mask-bg; height: 100%; z-index: 999; filter: alpha(opacity=20); user-select: none; /* -webkit-animation: mask-fade 0.5s; animation: mask-fade 0.5s; */ } .ant-popover-mask-hidden { display: none; } .ant-popover-fade-enter, .ant-popover-fade-appear { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .ant-popover-fade-leave { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-play-state: paused; animation-play-state: paused; } .ant-popover-fade-enter.ant-popover-fade-enter-active, .ant-popover-fade-appear.ant-popover-fade-appear-active { -webkit-animation-name: antFadeIn; animation-name: antFadeIn; -webkit-animation-play-state: running; animation-play-state: running; } .ant-popover-fade-leave.ant-popover-fade-leave-active { -webkit-animation-name: antFadeOut; animation-name: antFadeOut; -webkit-animation-play-state: running; animation-play-state: running; pointer-events: none; } .ant-popover-fade-enter, .ant-popover-fade-appear { opacity: 0; -webkit-animation-timing-function: linear; animation-timing-function: linear; } .ant-popover-fade-leave { -webkit-animation-timing-function: linear; animation-timing-function: linear; } // Filter Popover // ------------------------- .ant-popover.filter-popover{ width: 100%; z-index: 2003!important; @include MQ(lg) { width: 600px; } } .ant-popover.filter-popover .ant-popover-title{ border-bottom: none; background: $primary-light-background-color; color: $primary-color; } .ant-popover.filter-popover .ant-popover-inner-content{ background: $primary-background-color; padding: 0 10px 0px 10px; @include MQ(lg) { padding: 12px 16px; } } .ant-popover.filter-popover .pms-form .pms-form-actions{ background: transparent; min-height: auto; padding: 0; box-shadow: none; border: none; } .ant-popover.filter-popover .pms-form .pms-form-actions, .ant-popover.filter-popover .pms-form .pms-form-actions.ant-form-item:hover, .ant-popover.filter-popover .pms-form .pms-form-actions.ant-form-item:focus-within{ background: none; } .ant-popover.filter-popover .pms-form .pms-form-actions .ant-btn{ margin: 10px 10px; @include MQ(lg) { margin: 0 20px; } } .ant-dropdown-menu-item, .ant-dropdown-menu-submenu-title{ font-weight: 600!important; } .popover-action-bar{ display: block; width: 100%; text-align: center; padding: 8px 0; background: $primary-light-background-color; border-top: none; }