1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #dialog-image-modal {
- position: fixed;
- background-color: rgba(255, 255, 255, .8);
- width: 100%;
- height: 100%;
- margin: 0;
- border: 0;
- padding: 0;
- }
- #dialog-image-modal::backdrop, #dialog-image-modal::-webkit-backdrop {
- background: #ffffff00;
- }
- #modal-image-container {
- margin-top: var(--header-space);
- }
- #modal-image {
- -o-object-fit: cover;
- object-fit: cover;
- height: calc(100vh - var(--header-space) - var(--body-margin) - var(--tile-margin));
- }
- #img-prev {
- margin-right: calc(2 * var(--tile-margin))
- }
- #img-next {
- margin-left: calc(2 * var(--tile-margin))
- }
- #img-prev, #img-next {
- width: var(--tile-margin);
- }
- #close-modal {
- position: absolute;
- -ms-flex-item-align: end;
- align-self: flex-end;
- width: calc(2.5 * var(--tile-margin));
- -webkit-transform: translate(50%, -50%);
- transform: translate(50%, -50%);
- -webkit-transition: .3s ease;
- transition: .3s ease;
- }
- #close-modal:hover {
- -webkit-transform: translate(50%, -50%) rotate(45deg);
- transform: translate(50%, -50%) rotate(45deg);
- -webkit-transition: .3s ease;
- transition: .3s ease;
- }
|