UNPKG

chowa

Version:

UI component library based on React

66 lines (60 loc) 1.3 kB
/** * @license chowa v1.1.3 * * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn). * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ @keyframes cw-rotating { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .cw-nprogress { margin: 0; padding: 0; box-sizing: border-box; } .cw-nprogress-bar { margin: 0; padding: 0; box-sizing: border-box; position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 999; background: #7774e7; } .cw-nprogress-shadow { margin: 0; padding: 0; box-sizing: border-box; position: absolute; right: 0; width: 100px; height: 100%; box-shadow: 0 0 12px #7774e7; } .cw-nprogress-spinner-wrapper { margin: 0; padding: 0; box-sizing: border-box; position: fixed; top: 14px; right: 14px; z-index: 999; } .cw-nprogress-spinner { margin: 0; padding: 0; box-sizing: border-box; display: block; width: 18px; height: 18px; border-radius: 50%; border-width: 2px; border-style: solid; border-top-color: transparent; border-right-color: transparent; border-left-color: #7774e7; border-bottom-color: #7774e7; animation: cw-rotating 0.4s infinite linear; }