UNPKG

@fe6/water-pro

Version:

An enterprise-class UI design language and Vue-based implementation

72 lines (71 loc) 1.65 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ /** @format */ @font-face { font-weight: bold; font-family: 'DINAlternate-Bold'; font-style: normal; src: url(https://cdn.dev.mosh.cn/assets/font/din_alternate_bold.ttf) format('truetype'); } .ant-scrollbar { position: relative; height: 100%; overflow: hidden; } .ant-scrollbar-wrap { height: 100%; overflow: auto; } .ant-scrollbar-wrap-hidden-default { scrollbar-width: none; } .ant-scrollbar-wrap-hidden-default::-webkit-scrollbar { display: none; width: 0; height: 0; opacity: 0; } .ant-scrollbar-thumb { position: relative; display: block; width: 0; height: 0; background-color: rgba(144, 147, 153, 0.3); border-radius: inherit; cursor: pointer; transition: 0.3s background-color; } .ant-scrollbar-thumb:hover { background-color: rgba(144, 147, 153, 0.5); } .ant-scrollbar-bar { position: absolute; right: 2px; bottom: 2px; z-index: 1; border-radius: 4px; opacity: 0; transition: opacity 80ms ease; } .ant-scrollbar-bar.is-vertical { top: 2px; width: 6px; } .ant-scrollbar-bar.is-vertical > div { width: 100%; } .ant-scrollbar-bar.is-horizontal { left: 2px; height: 6px; } .ant-scrollbar-bar.is-horizontal > div { height: 100%; } .ant-scrollbar:active > .ant-scrollbar-bar, .ant-scrollbar:focus > .ant-scrollbar-bar, .ant-scrollbar:hover > .ant-scrollbar-bar { opacity: 1; transition: opacity 340ms ease-out; }