.wp-media-buttons { display: flex; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(359deg); } } .affilizz-modal { position: fixed; z-index: 100102; border-radius: $border_radius; overflow: hidden; font-family: $main_font_family; font-size: $font_size_normal; left: 0; width: 100vw; height: 100vh; top: -9999em; visibility: hidden; opacity: 0; pointer-events: none; background: #111453cc; display: flex; align-items: center; justify-content: space-around; &__wrapper { z-index: 100101; background-color: #fff; box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35); min-width: 500px; border-radius: $border_radius; } &__header { position: relative; padding: 20px 40px; border-radius: 3px 3px 0 0; display: flex; flex-direction: row; justify-content: left; align-items: center; background: $black_main; } &.has-error { .affilizz-modal__actions { justify-content: center; } &.message-error { .affilizz-modal__overtitle { color: $message_error; } .affilizz-modal__logo { filter: brightness(0) saturate(100%) invert(17%) sepia(58%) saturate(6412%) hue-rotate(334deg) brightness(96%) contrast(85%); } } } &__overtitle { display: block; margin: 0; color: $green_super_light; font-size: $font_size_small; font-weight: 500; } &__heading { margin: 0; font-weight: 400; flex-grow: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #fff; margin: 0; margin-left: $gutter; } &__logo { margin-top: 2px; } &__header__actions { padding: 0 $gutter / 2; a { font-size: $font_size_normal; } } &__close { position: absolute; top: 16px; right: 16px; text-decoration: none; color: $blue_super_light !important; background: none; border: 0; font-size: 20px !important; z-index: 999; cursor: pointer; &:hover { color: $blue_super_light; } } &__body { border-radius: 0 0 $border_radius $border_radius; color: $black_main; min-width: 640px; overflow-x: hidden; overflow-y: auto; *:first-child { margin-top: 0; } *:last-child { margin-bottom: 0; } } &__content { min-width: 640px; .affilizz-creation-modal & { padding: 0; } max-width: 600px; } &__actions { padding: 20px 40px; border-top: 1px solid $grey_super_light; gap: rem(8); display: flex; flex-direction: row; justify-content: right; align-items: center; } &__hint { @include hint-box; } &.hidden, .hidden { visibility: hidden; opacity: 0; } &.visible, .visible { visibility: visible; opacity: 1; pointer-events: auto; top: 0; } &__loader { border-radius: var(--border-radius); img { animation: spin 2s linear infinite; position: relative; top: 1px; margin-right: 10px; } } &__title { font-size: 1rem; } &-message { text-align: center; &__title { font-size: 1rem; font-weight: bold; padding-bottom: 20px; } } } // Update with the edit link #affilizz-edit-publication-link { display: flex; justify-content: flex-end; gap: 10px; align-items: flex-start; padding: 6px; color: $black_main; align-self: flex-end; font-size: 14px; text-decoration: underline; } #affilizz-edit-publication-call { display: flex; justify-content: flex-end; }