blob: 19c4c20f6290fdb542ea9ed17978894c368c723d [file] [log] [blame]
.sky-btn {
padding: 10px 23px;
height: 46px;
font-size: 16px;
color: #1F1F20;
border-radius: 6px;
background: #FFFFFF;
border: 1px solid #DADDE0;
box-sizing: border-box;
cursor: pointer;
&.primary {
color: #fff;
background: linear-gradient(180deg, #479EEB 0%, #3788D0 100%);
box-shadow: 0px 2px 6px #ABD1F2;
border: none;
}
&.small {
border-radius: 4px;
height: 30px;
padding: 6px 12px;
font-size: 12px;
}
}
.dividing-line-border {
display: inline-block;
width: 60%;
height: 1px;
background: -webkit-linear-gradient(left, #fff -4%, #ccc 50%, #fff 100%);
}
.td-home {
main {
li {
list-style: none;
}
ul {
padding: 0;
}
img {
&:hover {
cursor: auto;
}
&:not([data-nolightbox="true"]) {
&:hover {
cursor: pointer;
}
}
}
.title {
font-weight: 600;
font-size: 32px;
line-height: 38px;
text-align: center;
color: #1F1F20;
border: none;
padding-top: 2.3rem;
margin-bottom: 3rem;
}
}
.pt-64 {
padding-top: 64px;
}
.center {
text-align: center;
}
.community-box {
color: #909094;
display: flex;
justify-content: center;
align-items: center;
padding: 8px;
max-width: 638px;
margin: 60px auto 0;
border: 1px solid #DADDE0;
border-radius: 12px;
font-size: 16px;
.community {
color: #fff;
padding: 0 6px;
height: 24px;
line-height: 24px;
background: linear-gradient(101.75deg, #E7136C 0.73%, #FF9900 100.73%);
border-radius: 8px;
}
.mr-14 {
margin-right: 14px;
}
}
.introduction {
text-align: center;
.title-skywalking {
font-size: 50px;
}
.desc {
padding-bottom: 40px;
}
.btn-github {
.pull-right::before {
color: #888;
}
}
}
// ui banner
.ui-wrapper {
background-image: url("/images/home/bg.png");
background-position: top;
background-size: 100%;
background-repeat: no-repeat;
min-height: 200px;
padding-top: 13%;
margin-top: -2%;
margin-right: -15px;
margin-left: -15px;
}
.hover-box {
height: 55px;
margin-left: 21%;
margin-bottom: 10px;
position: relative;
padding-left: 2%;
.arrow {
position: absolute;
bottom: 0;
left: 0;
width: 18px;
height: 35px;
}
.text-box {
position: absolute;
left: 3%;
top: 0;
}
.text {
margin-left: 10px;
color: #3987CD;
}
.bg {
position: absolute;
left: 32px;
top: 0;
width: 312px;
height: 22px;
background: rgba(57, 135, 205, 0.1);
transform: rotate(-1.0deg);
z-index: -1;
}
}
.ui-content {
img {
border-radius: 6px;
}
.swiper-container {
box-shadow: 0px 10px 40px #E3E4E4;
border-radius: 6px;
.swiper-slide {
font-size: 0;
}
.swiper-container-horizontal > .swiper-pagination-bullets {
text-align: left;
}
}
}
.try-wrapper {
.demo {
li {
color: #909094;
display: inline-block;
padding: 0 12px;
line-height: 32px;
&:nth-child(2) {
margin-right: 12px;
}
&:nth-child(odd) {
padding: 0 8px;
}
&:nth-child(even) {
background: #F8F9FA;
border-radius: 4px;
}
}
}
}
.solution-wrapper {
.solution-content {
display: flex;
justify-content: space-between;
li {
width: 32%;
text-align: center;
}
}
}
.feature-wrapper {
background: radial-gradient(19.06% 49.81% at 50% 51.68%, rgba(62, 162, 255, 0.3) 0%, rgba(0, 117, 255, 0) 100%), radial-gradient(23.2% 22.47% at 38.96% 38.47%, rgba(255, 245, 0, 0.2) 0%, rgba(20, 255, 0, 0) 100%), radial-gradient(20.52% 46.35% at 50% 50%, rgba(120, 190, 255, 0.2) 0%, rgba(135, 212, 255, 0) 100%), radial-gradient(31.08% 29.74% at 63.15% 58.96%, rgba(232, 78, 161, 0.2) 0%, rgba(239, 177, 255, 0) 100%);
.feature-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
li {
position: relative;
background: #FFFFFF;
width: 32.4%;
margin-bottom: 1.25%;
padding: 0 23px 23px;
text-align: center;
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
border-radius: 6px;
display: flex;
flex-direction: column;
justify-content: space-between;
.img-box {
border: 1px solid #eee;
border-radius: 4px;
padding: 10px 8px 25px 0;
overflow: hidden;
position: relative;
}
.text {
position: absolute;
text-align: center;
width: 100%;
bottom: 0;
left: 0;
color: #666;
font-size: 12px;
font-weight: 600;
}
}
.img-vs {
padding-bottom: 5%;
}
.keywords-wrapper {
min-height: 180px;
span {
color: #DADDE0;
font-weight: 600;
font-size: 20px;
margin: 6px 12px;
display: inline-block;
}
}
.swiper-container {
width: 100%;
}
.plugin-swiper-container {
.swiper-slide {
overflow: hidden;
border: 1px solid #DADDE0;
padding: 10px 10px 30px 0;
border-radius: 4px;
img {
width: auto;
}
}
}
.perf-swiper-container {
.swiper-slide {
padding-bottom: 20px;
}
}
.swiper-wrapper {
width: 100%;
.swiper-slide {
border: 1px solid #eee;
box-sizing: border-box;
padding: 10px 10px 25px 10px;
border-radius: 4px;
}
}
.swiper-button-prev, .swiper-button-next {
&::after {
font-size: 13px;
}
}
}
}
.community-wrapper {
.community-content {
display: flex;
justify-content: space-between;
li {
width: 32.5%;
padding: 24px;
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
border-radius: 6px;
&:last-child {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #fff;
padding: 30px;
text-align: center;
background: linear-gradient(180deg, #479EEB 0%, #3788D0 100%);
}
}
}
.graph-wrapper {
width: 100%;
padding-top: 61.43%;
position: relative;
}
#mergedGraph {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
}
.run-wrapper {
position: relative;
.run-content {
position: relative;
color: #fff;
height: 350px;
background-image: url("/images/home/bg.png");
background-position: 0 150px;
background-size: cover;
background-repeat: no-repeat;
border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
.releases {
color: #fff;
display: inline-block;
text-decoration: underline;
}
.content-box {
position: relative;
z-index: 2;
}
.mask {
border-radius: 8px;
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 1;
filter: invert(52%) sepia(35%) saturate(1455%) hue-rotate(184deg) brightness(90%) contrast(85%);
background: linear-gradient(180deg, #479EEB 0%, #3788D0 100%);
mix-blend-mode: multiply;
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
}
}
}
.tuned-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
word-break: break-word;
li {
width: 24.5%;
padding: 0 20px 20px;
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
border-radius: 6px;
display: flex;
flex-direction: column;
justify-content: space-between;
img {
border-radius: 8px;
}
}
}
}
@media (max-width: 576px) {
.td-home {
main {
.title {
font-size: 30px;
}
.solution-title {
margin-bottom: 1.2rem;
}
}
.dividing-line-border {
width: 90%;
}
.ui-wrapper {
.ui-content {
padding-right: 15px;
padding-left: 15px;
margin-top: 25px;
}
}
.swiper-button-next {
text-align: right;
}
.try-wrapper {
.demo {
li {
font-size: 14px;
margin-bottom: 2px;
&:nth-child(odd) {
padding: 0;
}
&:nth-child(even) {
padding: 0 3px;
}
}
}
}
.tuned-content {
li.twitter-wrapper {
p {
min-height: inherit;
}
}
}
.feature-wrapper {
.img-vs {
padding-bottom: 0 !important;
}
}
.solution-content, .feature-content, .community-content, .tuned-content {
flex-wrap: wrap;
li {
width: 100% !important;
margin-bottom: 12px !important;
}
}
}
}
@media (max-width: 768px) {
.td-home {
.swiper-button-prev, .swiper-button-next {
display: block !important;
}
}
}
@media (min-width: 768px) {
.td-home {
.community-wrapper .community-content li:last-child {
padding: 10px;
}
.swiper-button-prev, .swiper-button-next {
background-color: #79a7d030;
background-color: rgba(202, 211, 218, 0.25);
padding: 20px;
border-radius: 4px;
}
.feature-content {
.swiper-button-prev, .swiper-button-next {
padding: 10px;
height: 30px;
}
}
}
}
@media (min-width: 1440px) {
.td-home {
.container.ui-content {
max-width: 1200px !important;
}
}
}
@media (min-width: 1660px) {
.td-home {
.feature-wrapper {
.feature-content {
li {
width: 32.5%;
}
}
}
}
}