UNPKG

@randstad-design/orbit-multitheme

Version:

multitheme Front-end code based on Randstad Human Forward components

81 lines (72 loc) 2.07 kB
.modal--media { background: transparent; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; opacity: 0; overflow-y: auto; -webkit-transition: background-color 0.2s, opacity 0.2s, visibility 0.2s; transition: background-color 0.2s, opacity 0.2s, visibility 0.2s; z-index: 10; } .modal--media.modal--active { background: rgba(0, 0, 0, 0.7); opacity: 1; } .modal--media .modal__aspect-ratio { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin: 0; overflow: hidden; position: relative; width: 100%; } .modal--media .modal__close { position: fixed; right: 30px; top: 20px; z-index: 1; } .modal--media .modal__close, .modal--media .modal__close .icon { height: 20px; width: 20px; } .modal--media .modal__close .icon { right: 0; } .modal--media .modal__media { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } @media (min-width: 941px) { .modal--media .modal__close { right: 30px; top: 30px; } .modal--media .modal__close, .modal--media .modal__close .icon { height: 30px; width: 30px; } } @media (min-width: 177.778vh) { .modal--media .modal__aspect-ratio--16-9 { width: calc(100vh * 16 / 9); } } @media (min-width: 133.333vh) { .modal--media .modal__aspect-ratio--4-3 { width: calc(100vh * 4 / 3); } } @media (min-width: 150vh) { .modal--media .modal__aspect-ratio--3-2 { width: calc(100vh * 3 / 2); } } .bg-brand--light-grey .modal__close svg { color: #ff661a; } .bg-brand--dark-grey .modal__close svg, .bg-brand--gradient-blue .modal__close svg { color: rgba(255, 255, 255, 0.5); } .modal-media .modal__close svg { fill: #c4c4c4; } /*# sourceMappingURL=media.css.map */