#timely, #wpbody, #wpbody-content, #wpcontent, #wpwrap, body, html { height: 100% !important; background-color: transparent; } body.toplevel_page_timely { background-color: #f5f8fa !important; } #wpbody-content, #wpcontent { padding: 0 !important; } #wpfooter { display: none !important; } #timely-iframe { position: absolute; top: 0; border: 0 none transparent !important; padding: 0 !important; height: 100%; width: 100% !important; left: 0; background: white; /* Needed to prevent the notice banners being shown briefly under the iframe */ &-container { position: absolute; top: 0; height: 100%; width: 100% !important; left: 0; background: white; display: flex; align-items: center; justify-content: center; .timely-loader { background-color: #f4f5f2; width: 100%; height: 100%; } .circular { animation: rotate 2s linear infinite; height: 50px; transform-origin: center center; width: 50px; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } .path { stroke-dasharray: 1, 200; stroke-dashoffset: 0; animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite; stroke-linecap: round; } @keyframes rotate { 100% { transform: rotate(360deg); } } @keyframes dash { 0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; } 50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; } 100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124px; } } @keyframes color { 100%, 0% { stroke: #d62d20; } 40% { stroke: #0057e7; } 66% { stroke: #008744; } 80%, 90% { stroke: #ffa700; } } /* Safari */ @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } } } #timely-update-message { align-items: center; background-color: #00000080; display: flex; height: 100vh; justify-content: center; left: 0; position: fixed; top: 0; width: 100vw; z-index: 99999; .card { align-items: center; border-radius: 10px; display: flex; flex-direction: column; font-size: 18px; line-height: 20px; text-align: center; padding: 40px; &_text { margin-bottom: 20px; } &_button { background-color: #eeb901; border: 0; border-radius: 10px; color: white; cursor: pointer; font-weight: bold; height: 40px; width: 300px; } } }