UNPKG

@logicflow/dumi-theme-simple

Version:
606 lines (539 loc) 12.3 kB
@import '../_.less'; @import url(//at.alicdn.com/t/c/font_4629554_bnudoe0zgte.css); @font-face { font-family: AlibabaPuHuiTiRHeavy; src: url(../../font/Alibaba-PuHuiTi-Heavy.otf); } .container1440() { width: 1440px; max-width: calc(100% - 80px); margin-left: auto; margin-right: auto; @media only screen and (max-width: 931.99px) { & { max-width: calc(100% - 60px); } } @media only screen and (max-width: 767.99px) { & { max-width: calc(100% - 32px); } } } .flexRow { display: flex; align-items: center; justify-content: space-between; } .wrapper { min-height: 650px; max-height: 803px; background: linear-gradient(225deg, #ffffff, #f0f5ff); height: calc(94vh); position: relative; overflow: hidden; .content { .container1440; height: 100%; position: relative; } .text { position: relative; top: 26%; z-index: 1; margin-left: 4.5%; .title { font-size: 3.4em; //2.875em; color: rgba(0, 0, 0, 1); position: relative; font-family: AlibabaPuHuiTiRHeavy; .engine { color: @secondary-color; } } .description { margin-top: 0.83%; //12px; margin-bottom: 0px; color: rgba(106, 123, 140, 1); font-weight: 200; position: relative; width: 40%; max-width: 700px; font-family: AlibabaPuHuiTiR; font-size: 18px; color: #424e66; max-height: 145px; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; } .buttons { display: flex; margin-top: max(3%, 40px); .buttonLink { display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 12px; z-index: 10; position: relative; transition: all 0.3s; text-align: center; height: 54px; min-width: 166px; padding: 0 10px; box-shadow: 0 8px 28px 0 rgba(0, 0, 0, 0.1); background-color: @secondary-color; font-size: 18px; cursor: pointer; box-shadow: 0 8px 28px 0 #f2f2f2; margin-right: 20px; color: #ffffff; overflow: hidden; .icon { width: 20px; height: 20px; background-image: url(https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*lo_5RYdqKLsAAAAAAAAAAAAADmJ7AQ/original); margin-right: 6px; } &:hover { opacity: 0.8; } &.primary { color: #fff; background-color: #ffffff; color: #000; border: 1px solid #e8e8e8; .icon { position: relative; background-image: url(https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*_xFsQbWE_AYAAAAAAAAAAAAADmJ7AQ/original); } &:hover { color: @secondary-color; .icon { left: -80px; filter: drop-shadow(@secondary-color 80px 0); } } } } .githubWrapper { display: flex; :global { .github-btn { display: flex; height: 54px; cursor: pointer; box-shadow: 0 8px 28px 0 rgba(0, 0, 0, 0.05); background-color: #ffffff; border: 1px solid #e8e8e8; justify-content: center; align-items: center; border-radius: 12px; overflow: hidden; transition: all 0.15s; &:hover { .gh-btn { > .gh-ico { filter: drop-shadow(@secondary-color 80px 0); } } .gh-count { color: @secondary-color; } } .gh-btn { padding: 16px; .gh-ico { display: block; width: 20px; height: 20px; background-image: url(https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*Nk9mQ48ZoZMAAAAAAAAAAABkARQnAQ); background-size: 100% 100%; background-repeat: no-repeat; position: relative; left: -80px; filter: drop-shadow(#1d2129 80px 0); } .gh-text { display: none; } } .gh-count { height: 54px; line-height: 22px; padding: 16px 16px 16px 0; position: relative; font-size: 18px; margin-left: -8px; color: #1d2129; letter-spacing: 0; font-family: AlibabaSans102-Medium; } } } } } } .news { width: 100%; display: flex; bottom: 30px; position: absolute; z-index: 3; height: 128px; box-sizing: border-box; padding: 0 4.5%; } .teaser { display: flex; position: absolute; right: 0; margin-top: -300px; width: 52%; max-width: 598px; height: 324px; margin: auto; margin-top: 0; top: 0; bottom: 0; .teaserimg { width: 100%; height: auto; position: relative; } } .backLeftBottom { position: absolute; left: -8%; bottom: -20px; } } .viewport { position: relative; height: 80vh; overflow: hidden; .lf-graph { background-color: transparent; filter: blur(5px); } :global { //.lf-edge-append path { //stroke-dasharray: 5; //animation: dashdraw .5s linear infinit; //} .lf-control { background: #ffffff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 10px rgba(45, 113, 250, 0.163); } .lf-control-item { i { display: none; } .lf-control-text { margin-top: 0; } } } .githubWrapper { display: flex; height: 90px; margin: 10px; width: 90px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); justify-content: center; align-items: center; box-shadow: 0 0 10px rgba(45, 113, 250, 0.163); :global { .github-btn { display: flex; height: 90%; width: 90%; border-radius: 50%; cursor: pointer; justify-content: center; align-items: center; flex-direction: column; overflow: hidden; transition: all 0.15s; &:hover { .gh-btn { > .gh-ico { filter: drop-shadow(@secondary-color 80px 0); } } .gh-count { color: @secondary-color; } } .gh-btn { // padding: 4px; .gh-ico { display: block; width: 30px; height: 30px; background-image: url(https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*Nk9mQ48ZoZMAAAAAAAAAAABkARQnAQ); background-size: 100% 100%; background-repeat: no-repeat; // position: relative; // left: -80px; filter: drop-shadow(#1d2129 80px 0); } .gh-text { display: none; } } .gh-count { // height: 54px; line-height: 22px; padding: 8px 0; position: relative; font-size: 18px; // margin-left: -8px; color: #1d2129; letter-spacing: 0; font-family: AlibabaSans102-Medium; } } } } } .configCard { // width: 95%; height: 100%; margin: 10px; padding: 20px; font-size: 14px; background: rgba(255, 255, 255, 0.198); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 20px; box-shadow: 0 0 10px rgba(45, 113, 250, 0.163); } .demoCard { // width: 780px; height: 500px; border-radius: 20px; padding: 100px 20px; margin: 10px; background: #fff; // padding-top: 20px; // text-align: center; display: flex; justify-content: flex-start; align-items: center; flex-direction: column; box-shadow: 0 0 10px rgba(45, 113, 250, 0.169); &-title { max-width: 700px; max-height: 200px; text-align: center; word-break: break-all; font-weight: 1000; font-size: 80px; line-height: 2; background: #fff; background: linear-gradient( 30deg, rgb(62, 174, 253) 30%, rgb(43, 101, 250) ); -webkit-background-clip: text; position: relative; overflow: hidden; margin: 0; // color: transparent; &::before { background-color: #3f7ef8; background-image: radial-gradient( closest-side at 30% 50%, #3ea6fb 120%, #3479f8 50% ), radial-gradient(closest-side at 50% 50%, #09a6f4 50%, #096bf4); background-repeat: repeat-x; background-size: 35vmin 35vmin; filter: blur(8px); width: 100%; height: 100%; mix-blend-mode: screen; -webkit-animation: moving 10s linear infinite alternate; animation: moving 10s linear infinite alternate; display: block; position: absolute; content: ''; } } &-slogan { max-width: 700px; max-height: 400px; text-align: center; text-wrap: wrap; color: #333; font-size: 18px; } } .advantageCard { width: 100px; height: 100px; padding: 10px; border-radius: 50%; background: #3ea6fb; display: flex; justify-content: center; align-items: center; flex-direction: column; box-shadow: 0 0 10px rgba(124, 162, 238, 0.36); } .lfContainer { position: relative; } .filterDivider { position: absolute; bottom: 0; width: 100%; background: linear-gradient(to top, #fafbfcff, #fafbfc00); pointer-events: none; // filter: blur(10px); } @media (max-width: 1144px) { .wrapper { .teaser { transition: 0.3s all; margin: auto; margin-top: 0; top: 0; bottom: 0; } } } @media (max-width: 900px) { .wrapper { .content { width: 91.46%; margin-left: 4.27%; margin-bottom: 5%; position: relative; } .text { top: 16.7%; text-align: center; margin-left: 0; .title { font-size: 2.857em; margin-left: 0; } .description { width: 100%; max-width: 100%; margin-left: 0; font-size: 1em; } .buttons { display: inline-flex; .more { font-size: 1em; } .githubIframe { height: 40px; } .videoButtonWrapper { width: fit-content; height: fit-content; } } } .news { width: 91%; padding: 0; display: block; bottom: 10px; left: 4.5%; } .teaser { width: 100%; max-width: 1200px; margin-top: auto; margin-left: unset; margin-right: unset; right: unset; top: 30%; display: flex; justify-content: center; .teaserimg { width: 40%; margin-left: unset; margin-right: unset; } } } } @media (max-width: 786px) { .wrapper { .text { .buttons { .videoButtonWrapper { display: none; } } } } } @media (max-width: 510px) { .wrapper { .text { .buttons { margin-top: 70%; position: relative; top: -170px; .githubWrapper { display: none; } .buttonLink:nth-child(2) { margin-right: 0; } } } .teaser { width: 100%; top: 5%; .teaserimg { width: 100%; } } .backLeftBottom { display: none; } } } @media (max-width: 480px) { .wrapper { .text { height: 70%; } .news { height: 160px; } .teaser { top: 10%; } } } @-webkit-keyframes moving { to { background-position: 100vmin 20vmin, -100vmin -25vmin; } } @keyframes moving { to { background-position: 100vmin 20vmin, -100vmin -25vmin; } }