UNPKG

version-rocket

Version:

Tools to check version monitoring (updates) for web application. web 应用版本监测(更新)工具

150 lines 2.98 kB
#version-rocket .version-area { box-sizing: border-box; position: fixed; right: 20px; bottom: 20px; z-index: 99999; background-color: #fff; border: 1px solid #ebeef5; width: 140px; box-shadow: 0 10px 20px 0 rgba(0,0,0,0.12); border-radius: 12px; animation: fadeInUp 1s ease; animation-iteration-count: 1; } #version-rocket .version-img { margin-top: -70px; width: 100%; height: 100%; } #version-rocket .version-content { padding: 6px 12px 9px; text-align: center; background-color: #fff; font-family: inherit; border-radius: 12px; } #version-rocket .version-title { font-size: 13px; font-weight: 600; color: #101010; line-height: 13px; } #version-rocket .version-subtitle { margin-top: 8px; font-size: 12px; color: rgba(0,0,0,0.7); line-height: 13px; } #version-rocket .refresh-button { margin-top: 12px; width: 100%; background-color: #fd8079; border-color: #fd8079; transition: 0.2s; animation: refreshAnimation 2s linear infinite; color: #fff; padding: 5px 0; font-size: 15px; border-radius: 15px; font-weight: 500; cursor: pointer; } #version-rocket .refresh-button:hover { background-color: rgba(253,128,121,0.9); } #version-rocket .cancel-button { margin-top: 5px; font-size: 12px; font-weight: 500; color: #888; text-decoration: underline; cursor: pointer; } #version-rocket .cancel-button:hover { color: #999; } @-moz-keyframes refreshAnimation { 0% { transform: scale(0.9); } 50% { transform: scale(1.05); } 100% { transform: scale(0.9); } } @-webkit-keyframes refreshAnimation { 0% { transform: scale(0.9); } 50% { transform: scale(1.05); } 100% { transform: scale(0.9); } } @-o-keyframes refreshAnimation { 0% { transform: scale(0.9); } 50% { transform: scale(1.05); } 100% { transform: scale(0.9); } } @keyframes refreshAnimation { 0% { transform: scale(0.9); } 50% { transform: scale(1.05); } 100% { transform: scale(0.9); } } @-moz-keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } } @-webkit-keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } } @-o-keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } } @keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }