// Copyright @ 2018-2021 xiejiahe. All rights reserved. MIT license. // See https://github.com/xjh22222228/nav @import "./dark.scss"; @import "../node_modules/ng-zorro-antd/ng-zorro-antd.css"; @import "./assets/ng-zorro-antd.dark.scss"; * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; } html { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { min-height: 100vh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-overflow-scrolling: touch; font: 14px/1.5 -apple-system,BlinkSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Helevetica,Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei","Source Han Sans CN",sans-serif; font-size: 14px; color: #333; } footer, header, nav, section { display: block; } ol, ul, li { list-style: none; } a, a:link { text-decoration: none; } h2 { font-size: 16px; } img, iframe { border: none; } button, input, textarea { font-size: 100%; } input[type="text"], button { -webkit-appearance: none; outline: none; border: 1px solid #e1e1e1; } i, em { font-style: normal; } .user-select-none { user-select: none; -webkit-user-select: none; -moz-user-select: none; } .white-space-nowrap { white-space: nowrap; } .text-align-center { text-align: center; } .text-align-left { text-align: left; } .text-align-right { text-align: right; } .border-none { border: none; } .pointer-events-none { pointer-events: none; } .overflow-hidden { overflow: hidden; } .touch-active:active { background: rgba(0, 0, 0, .2) !important; } .cursor-pointer { cursor: pointer; } .clamp3 { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .remove { position: fixed !important; top: -10000px !important; left: -10000px !important; } /* 搜索高亮关键字 */ b { color: #f50 !important; } // 折叠箭头 .down-arrow { display: inline-block; align-self: center; margin-left: 15px; cursor: pointer; transition: .1s linear; color: #666; vertical-align: middle; &.active { transform: rotate(-90deg); } } .rotate { animation: quickRotate 1s linear infinite; transform-origin: center; } @keyframes quickRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } textarea.ant-input { word-break: break-all; } .has-ripple{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.ripple{display:block;position:absolute;pointer-events:none;border-radius:50%;-webkit-transform:scale(0);-o-transform:scale(0);transform:scale(0);background:#fff;opacity:1}.ripple-animate{-webkit-animation:ripple;-o-animation:ripple;animation:ripple}@-webkit-keyframes ripple{100%{opacity:0;-webkit-transform:scale(2);transform:scale(2)}}@-o-keyframes ripple{100%{opacity:0;-o-transform:scale(2);transform:scale(2)}}@keyframes ripple{100%{opacity:0;transform:scale(2)}} /* NProgress Make clicks pass-through */ #nprogress { pointer-events: none; } #nprogress .bar { background: #29d; position: fixed; z-index: 1031; top: 0; left: 0; width: 100%; height: 2px; } /* Fancy blur effect */ #nprogress .peg { display: block; position: absolute; right: 0px; width: 100px; height: 100%; box-shadow: 0 0 10px #29d, 0 0 5px #29d; opacity: 1.0; -webkit-transform: rotate(3deg) translate(0px, -4px); -ms-transform: rotate(3deg) translate(0px, -4px); transform: rotate(3deg) translate(0px, -4px); } /* Remove these to get rid of the spinner */ #nprogress .spinner { display: block; position: fixed; z-index: 1031; top: 25px; right: 25px; } #nprogress .spinner-icon { width: 18px; height: 18px; box-sizing: border-box; border: solid 2px transparent; border-top-color: #29d; border-left-color: #29d; border-radius: 50%; -webkit-animation: nprogress-spinner 400ms linear infinite; animation: nprogress-spinner 400ms linear infinite; } .nprogress-custom-parent { overflow: hidden; position: relative; } .nprogress-custom-parent #nprogress .spinner, .nprogress-custom-parent #nprogress .bar { position: absolute; } @-webkit-keyframes nprogress-spinner { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes nprogress-spinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }