@keyframes quarter-rotation { 0% { transform: rotate(0deg); } 25% { transform: rotate(90deg); } 50% { transform: rotate(180deg); } 75% { transform: rotate(270deg); } 100% { transform: rotate(359deg); } } .wpview.wpview-wrap[data-wpview-type="affilizz-publication"] { padding: 15px; width: auto !important; z-index: 100000 !important; } .mce-content-body *[contentEditable=false][data-mce-selected][data-wpview-type="affilizz-publication"] { outline-color: transparent; border: 2px solid $grey_light; border-radius: 9px; padding: 14px; .affilizz-inline__indicator { background: $grey_light; border-radius: 0 0 $border-radius $border-radius; } } .affilizz-missing-publication { background: #dcdcde; padding: 20px; text-align: center; margin-bottom: -10px; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue", sans-serif; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #fff; } .affilizz-rendered-publication { padding: $gutter; display: flex; flex-direction: column; align-items: center; border: 1px dashed $black_light; border-radius: 3px; + .affilizz-rendered-publication { margin-top: 15px; } } .affilizz-loader { visibility: hidden; position: absolute; background: rgba(255, 255, 255, 0.8); color: $black_main; width: 100%; height: 100%; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.25em; border-radius: $border-radius; img { animation: quarter-rotation 2.5s ease infinite; } p { font-size: $font_size_larger; } } .affilizz-inline { position: relative; border: 1px solid #c9c9cb; border-radius: $border_radius; padding: 15px 15px 0; margin: 15px 0; font-family: $main_font_family; width: 100%; &__indicator { display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px; font-weight: 600; color: #1e1e1e; font-size: $font_size_small; font-weight: $font_weight_light; background: #c7c7c7; border-radius: $border_radius / 2; padding: 3px 7px 3px; line-height: 1; position: absolute; top: -10px; z-index: 2; svg, img { -webkit-filter: invert(.75); filter: invert(.75); } } } .mce-content-body .affilizz-inline__indicator { top: inherit; margin-top: -30px; } .media-modal { z-index: 999999 !important; } .affilizz-metabox { &__content { padding: 6px 0 12px; } &__footer { padding: 10px; display: flex; justify-content: flex-end; border-top: 1px solid #dcdcde; background: #f6f7f7; margin: 0 -12px -12px; } &__label { display: block; margin-bottom: 6px; font-weight: bold; } &__description { border-radius: 4px; border: 0.0625rem solid #eed1b4; padding: 12px; margin: 6px 1px 0 0 !important; background: var(--yellow-50); color: #a37648 !important; } }