@import '../../styles/abstracts/variables'; .antd-img-re-zoom-modal { @include mobile { display: flex; align-items: flex-end; } .ant-modal { @include mobile { margin: 0; max-width: 100%; top: auto; padding: 0; height: 100%; } &-content { @include mobile { border-radius: 0 !important; display: flex; flex-direction: column; height: 100%; } } &-body { padding: 0 !important; @include mobile { display: flex; flex-direction: column; flex: 1; } } } .antd-img-re-zoom-container { background-color: $tundola; margin-bottom: 0; display: flex; justify-content: center; align-items: center; height: 366px; @include mobile { flex: 1; height: auto !important; } } .antd-img-re-zoom-media-container { width: 366px; height: auto; background: $secondaryGrey; display: flex; justify-content: center; align-items: center; max-height: 366px; @include mobile { width: 312px; max-height: 312px; } img { height: 100%; width: 100%; max-height: 366px; @include mobile { max-height: 312px; } } } .reactEasyCrop_CropArea { border: 3px solid $white; } .antd-img-re-zoom-control { margin: 24px auto 24px; } .ant-slider { &-rail { background-color: $border; border-radius: 4px; transition: none; } &-track { background-color: $primary; } &-handle { border-color: $primary; width: 32px; height: 32px; margin-top: -15px; @include mobile { width: 24px; height: 24px; margin-top: -10px; } } &:hover { .ant-slider-rail { background-color: $border; } .ant-slider-track { background-color: $primary; } .ant-slider-handle { border-color: $primary; } } } .ant-modal-footer { padding: 24px; .ant-btn { &:first-child { display: none; } &.ant-btn-primary { width: 100%; margin-left: 0; height: 56px; font-size: 16px; font-weight: $semi-bold; } } } }