UNPKG

alm

Version:

The best IDE for TypeScript

78 lines (69 loc) 2.25 kB
/** * The original source for this file is http://github.hubspot.com/pace/docs/welcome/ */ .alm-connection-status { -webkit-pointer-events: none; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .alm-connection-status .alm-connection-status-activity { display: block; position: fixed; z-index: 2000; top: 0; right: 0; width: 150px; height: 150px; background: #29d; -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; -webkit-transform: translateX(100%) translateY(-100%) rotate(45deg); transform: translateX(100%) translateY(-100%) rotate(45deg); pointer-events: none; } .alm-connection-status.alm-connection-status-active .alm-connection-status-activity { -webkit-transform: translateX(50%) translateY(-50%) rotate(45deg); transform: translateX(50%) translateY(-50%) rotate(45deg); } .alm-connection-status .alm-connection-status-activity::before, .alm-connection-status .alm-connection-status-activity::after { -moz-box-sizing: border-box; box-sizing: border-box; position: absolute; bottom: 30px; left: 50%; display: block; border: 5px solid #fff; border-radius: 50%; content: ''; } .alm-connection-status .alm-connection-status-activity::before { margin-left: -12px; bottom: 15px; width: 40px; height: 40px; border-right-color: rgba(0, 0, 0, .2); border-left-color: rgba(0, 0, 0, .2); -webkit-animation: pace-theme-corner-indicator-spin 3s linear infinite; animation: pace-theme-corner-indicator-spin 3s linear infinite; } .alm-connection-status .alm-connection-status-activity::after { margin-left: -2px; bottom: 25px; width: 20px; height: 20px; border-top-color: rgba(0, 0, 0, .2); border-bottom-color: rgba(0, 0, 0, .2); -webkit-animation: pace-theme-corner-indicator-spin 1s linear infinite; animation: pace-theme-corner-indicator-spin 1s linear infinite; } @-webkit-keyframes pace-theme-corner-indicator-spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); } } @keyframes pace-theme-corner-indicator-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(359deg); } }