@import '~antd/es/style/themes/default.less'; .container { position: fixed; text-align: center; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(#1abc9c, transparent), linear-gradient(90deg, skyblue, transparent), linear-gradient(-90deg, coral, transparent); background-blend-mode: screen; } .lang { width: 100%; height: 40px; line-height: 44px; text-align: right; :global(.ant-dropdown-trigger) { margin-right: 24px; } } .content { flex: 1; padding: 32px 0; } @media (min-width: @screen-md-min) { .container { // background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg'); // background-repeat: no-repeat; // background-position: center 110px; // background-size: 100%; position: fixed; text-align: center; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(#1abc9c, transparent), linear-gradient(90deg, skyblue, transparent), linear-gradient(-90deg, coral, transparent); background-blend-mode: screen; } .content { // padding: 32px 0 24px; } } .top { text-align: center; } .header { height: 44px; line-height: 44px; a { text-decoration: none; } } .logo { height: 44px; margin-right: 16px; vertical-align: top; } .title { position: relative; top: 2px; color: @heading-color; font-weight: 600; font-size: 33px; font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif; } .desc { margin-top: 12px; margin-bottom: 40px; color: @text-color-secondary; font-size: @font-size-base; } .main { transition: all 1.5s; z-index: 999; position: fixed; top: 40%; left: 50%; transform: translate(-50%, -50%); width: 380px; color: #fff; justify-content: center; align-items: center; display: flex; flex-flow: column; font-size: 24px; // width: 368px; // margin: 0 auto; // @media screen and (max-width: @screen-sm) { // width: 95%; // } h1 { color: #fff; font-size: 30px; letter-spacing: 5px; } >div { width: 300px; margin-bottom: 20px; } .code { display: flex; justify-content: space-between; align-items: center; input { width: 170px; } } input { width: 300px; height: 42px; padding: 0 15px; background: #2d2d2d; background: rgba(45, 45, 45, 0.15); -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; border: 1px solid #3d3d3d; border: 1px solid rgba(255, 255, 255, 0.15); -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset; -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset; box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset; font-family: pt sans, Helvetica, Arial, sans-serif; font-size: 14px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -o-transition: all 0.2s; -moz-transition: all 0.2s; -webkit-transition: all 0.2s; -ms-transition: all 0.2s; outline: none; &::-webkit-input-placeholder { color: #fff !important; } &::-moz-placeholder { color: #fff !important; } &::-moz-placeholder { color: #fff !important; } &::-ms-input-placeholder { color: #fff !important; } } >button { outline: none; cursor: pointer; width: 300px; height: 44px; padding: 0; background: #22c50f; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; border: 0px; -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); font-family: pt sans, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -o-transition: all 0.2s; -moz-transition: all 0.2s; -webkit-transition: all 0.2s; -ms-transition: all 0.2s; font-size: 20px; letter-spacing: 10px; } button:active { -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.15) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.15) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.1) inset, 0 1px 4px 0 rgba(0, 0, 0, 0.1); border: 0 solid #ef4300; } input:-internal-autofill-previewed, input:-internal-autofill-selected { -webkit-text-fill-color: #ffffff !important; transition: background-color 5000s ease-in-out 0s !important; } // .ant-input-affix-wrapper .ant-input:not(:first-child), // input { // background: rgba(0, 0, 0, 0) !important; // } input:-webkit-autofill { box-shadow: 0 0 0px 1000px transparent inset !important; } input:-webkit-autofill:focus { box-shadow: 0 0 0px 1000px transparent inset !important; } } .btn{ outline: none; cursor: pointer; padding: 0; background: #22c50f; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; border: 0px; -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); font-family: pt sans, Helvetica, Arial, sans-serif; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -o-transition: all 0.2s; -moz-transition: all 0.2s; -webkit-transition: all 0.2s; -ms-transition: all 0.2s; font-size: 14px; width: 35%; margin-left: 5%; height: 40px; } button:active { -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.15) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, 0.15) inset, 0 2px 7px 0 rgba(0, 0, 0, 0.2); box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.1) inset, 0 1px 4px 0 rgba(0, 0, 0, 0.1); border: 0 solid #ef4300; } .company { transition: all 1.5s; z-index: 999; position: fixed; top: 40%; left: 50%; transform: translate(-50%, -50%); color: #fff; justify-content: center; align-items: center; display: flex; flex-flow: column; font-size: 24px; h1 { color: #fff; font-size: 30px; letter-spacing: 5px; } } .companyAccount { border-radius: 8px; background: rgba(255, 255, 255, .8); box-shadow: 0 4px 20px 0 rgba(0, 60, 179, 0.12); margin-bottom: 10px; width: 500px !important; padding: 48px 36px 10px; text-align: left; margin-top: 20px; &>h3.title { margin: 0; font-size: 20px; } &>.chooseTableBlock { margin-top: 20px; border-top: 1px solid rgba(181, 181, 181, .4); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans CN", sans-serif; max-height: 250px; overflow-y: auto; padding: 0 10px; .acTableLine { padding: 16px 14px; display: flex; align-items: center; font-size: 14px; cursor: pointer; color: #68779c; justify-content: space-between; border: 2px solid transparent; position: relative; border-radius: 4px; .actname { width: 250px; color: #0b1531; font-size: 16px; } .right { display: flex; justify-content: flex-end; align-items: center; .actcha { color: #68779c; margin-right: 10px; } } .iconRight { color: #1890ff; font-size: 20px; } &:hover { border: 2px solid #296aef; z-index: 5; transition: all .2s; box-shadow: 0 0 12px rgba(0, 60, 179, 0.12); .right .actcha { color: #0b1531; } .iconRight { color: #296aef; } } &::after { content: ''; position: absolute; bottom: 0; left: 0; background-color: rgba(181, 181, 181, .4); height: 1px; width: 100%; } } } &>.button { margin-top: 20px; text-align: center; } } .bg { position: fixed; left: 0; top: 0; right: 0; bottom: 0; padding: 0; margin: 0; li { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transition: all 3s; opacity: 0; &:first-child { opacity: 1; } } img { width: 100%; height: 100%; // object-fit: cover; } } .footer { position: fixed; bottom: 50px; display: flex; flex-flow: column; justify-content: center; align-items: center; color: #fff; left: 50%; transform: translateX(-50%); font-size: 20px; transition: all 1.5s; a { color: #fff; letter-spacing: 10px; } >span { span { margin: 0 3px; font-size: 15px; } } } .config { position: absolute; bottom: 0%; right: 0%; width: 300px; z-index: 999; padding: 0; margin: 0; border-radius: 5px; // transform: translate(-50%, -50%); color: #fff; font-size: 15px; height: 300px; background-color: rgba(0, 0, 0, .6); span { color: #fff; background-color: transparent; } .config_btn { display: flex; align-items: center; font-size: 12px; } input { width: 300px; height: 27px; padding: 0 15px; background: #2d2d2d; background: rgba(45, 45, 45, 0.15); -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; border: 1px solid #3d3d3d; border: 1px solid rgba(255, 255, 255, 0.15); -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset; -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset; box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1) inset; font-family: pt sans, Helvetica, Arial, sans-serif; font-size: 14px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -o-transition: all 0.2s; -moz-transition: all 0.2s; -webkit-transition: all 0.2s; -ms-transition: all 0.2s; outline: none; &::-webkit-input-placeholder { color: #fff !important; } &::-moz-placeholder { color: #fff !important; } &::-moz-placeholder { color: #fff !important; } &::-ms-input-placeholder { color: #fff !important; } } a { display: inline-block; font-size: 24px; font-weight: bolder; margin: 0 10px; text-decoration: none; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } li { display: flex; justify-content: center; align-items: center; margin-top: 5px; input { &:first-child { width: 100px; margin-right: 10px; } } div { background-color: transparent !important; } } .config_switch { justify-content: start; } } .bg_switch_option { // background-color: transparent ; } .config_qtww { position: fixed; right: 10px; top: -28px; z-index: 999; width: 100px; cursor: pointer; img { width: 100%; } >small{ animation:csshover 10s ease-in infinite; } &:hover { >small { opacity: 1; } } } .login_hide { top: -300px; opacity: 0; } .footer_hide { bottom: -100px; opacity: 0; } .config_msg { transition: all 0.8s; opacity: 0; float: left; width: 200px; margin: 50px; background-color: transparent; border: 1px solid #fff; /*为了给after伪元素自动继承*/ color: #fff; font-size: 12px; line-height: 18px; padding: 5px 12px 5px 12px; box-sizing: border-box; border-radius: 6px; position: absolute; left: -30px; bottom: -40px; transform: translateX(-100%); &::before { content: ''; position: absolute; top: 50%; right: -5px; width: 10px; height: 10px; margin-top: -10px; background: inherit; /*自动继承父元素的背景*/ transform: rotate(45deg); // border-top: 1px solid; // border-right: 1px solid; } } .tabs { display: flex; justify-content: space-evenly; >span { cursor: pointer; } } @keyframes csshover { 0%{ opacity: 0; } 10%{ opacity: 0.5; } 50%{ opacity: 1; } 90%{ opacity: 0.5; } 100%{ opacity: 0; } }