html,
body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
@font-face {
font-family: 'NotoSerifSC-Regular';
src: url('https://oss-his-build.oss-cn-hangzhou.aliyuncs.com/fonts/NotoSerifSC-Regular.otf');
}
@font-face {
font-family: 'SourceHanSansOLD-Normal';
src: url('https://oss-his-build.oss-cn-hangzhou.aliyuncs.com/fonts/SourceHanSansOLD-Normal-2.otf');
}
body {
font-size: 14px;
-webkit-font-smoothing: antialiased;
color: #1f2329;
font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
overflow: hidden;
position: relative;
}
// firefox 滚动条样式
* {
scrollbar-color: rgba(144, 147, 153, 0.5) #0f0f12;
}
/*滚动条整体样式*/
::-webkit-scrollbar {
background-color: #0f0f12;
}
/*滚动条里面小方块*/
::-webkit-scrollbar-thumb {
background-color: red;
border: 3px solid #0f0f12;
}
/*滚动条里面轨道*/
::-webkit-scrollbar-track {
background: #0f0f12;
}
:focus {
outline: none;
&-visible {
outline: none;
}
}
.router-redirect {
width: 100%;
height: 100%;
}
.fade-in-enter-active {
animation: fade-in 0.3s;
}
.fade-in-leave-active {
animation: page-in 0.3s reverse;
}
// 正常页面切换动画
.page-enter-active {
animation: page-in 0.3s;
}
.page-leave-active {
animation: page-in 0.3s reverse;
}
@keyframes page-in {
0% {
//transform: scale(0.2);
opacity: 0;
}
100% {
//transform: scale(1);
opacity: 1;
}
}
@keyframes ant-line {
to {
stroke-dashoffset: -1000;
}
}
// 左右切换页面动画
.slide-left-enter-active {
animation: slide-left-in 0.3s;
}
.slide-left-leave-active {
animation: slide-right-in 0.3s reverse;
}
.slide-right-enter-active {
animation: slide-right-in 0.3s;
}
.slide-right-leave-active {
animation: slide-left-in 0.3s reverse;
}
@keyframes slide-left-in {
0% {
transform: translateX(-50%);
opacity: 0.3;
}
100% {
transform: translateX(0);
opacity: 1;
}
}
@keyframes slide-right-in {
0% {
transform: translateX(50%);
opacity: 0.3;
}
100% {
transform: translateX(0);
opacity: 1;
}
}
ul,
li {
// list-style: none;
margin: 0;
padding: 0;
box-sizing: border-box;
}
em {
font-style: normal;
}
h1,
h3,
h5,
p {
margin: 0;
}
a {
text-decoration: none;
}
div {
box-sizing: border-box;
}
fieldset {
border: 1px solid #e6e6e6;
> legend {
}
}
.fl {
display: flex;
&.fc {
align-items: center;
}
&.jc {
justify-content: center;
}
&.jb {
justify-content: space-between;
}
&.jr {
justify-content: space-around;
}
&.je {
justify-content: flex-end;
}
}
.empty-data {
padding: 20px 10px;
font-size: 14px;
font-weight: bold;
color: #fd8000;
}
.page-error {
color: red;
font-size: 20px;
padding: 30px;
}
html {
* {
box-sizing: border-box;
scrollbar-width: thin;
}
}
@keyframes rotating {
0% {
transform: rotateZ(0);
}
100% {
transform: rotateZ(360deg);
}
}
input:-webkit-autofill {
-webkit-text-fill-color: var(--color-text-1) !important;
-webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
background-color: transparent !important;
background-image: none;
transition: background-color 50000s ease-in-out 0s;
}
.arco-page-header-wrapper {
padding-left: 0;
}
.mf-fullscreen {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
z-index: 100 !important;
background: #fff;
padding: 12px !important;
}
.arco-modal-simple {
background: #0f0f12;
border-radius: 10px;
border: 2px solid #e6217a;
.arco-modal-title {
color: #fff;
}
.arco-modal-body {
color: #fff;
}
.arco-modal-footer {
.arco-btn-secondary {
color: #ffffff;
background-color: #1a1a1a;
border: 1px solid #1a1a1a;
&:hover {
background-color: #262626;
}
}
}
}
@media (max-width: 576px) {
.arco-modal-simple {
width: calc(100% - 20px);
}
}