.sec { &.features { .swiper-slide { height: auto; } .swiper-pagination-fraction, .swiper-pagination-custom, .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal { bottom: -20px; } .feature-item { display: flex; margin-bottom: 2rem; text-decoration: none; color: @baseFontcolor; .feature-value { .counter { font-size: @font-size-base * 3; font-weight: 700; color: var(--primary); } } .feature-icon { position: relative; font-size: @font-size-base * 1.25; color: var(--white); &:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--primary); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } [class*=" fa-"], [class^="fa-"] { z-index: 1; } } .feature-icon, .feature-graphic { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; } .feature-content { flex: 1; display: flex; flex-direction: column; padding-left: 1rem; .feature-tlds { .tld-item { display: flex; align-items: center; .tld, .dots { font-size: @font-size-base * 2.5; font-weight: 900; } .dots { color: var(--secondary); } .tld-graphics { display: flex; align-items: center; } } .tld-footer { display: flex; align-items: center; margin-top: 1rem; .tld-price { margin-right: 0.5rem; .register-price { font-size: @font-size-base * 1.25; font-weight: 500; } .renewal-price { opacity: 0.7; } } .tld-action { margin-left: auto; } } } .feature-title { font-size: @font-size-base * 1.25; font-weight: 500; margin-bottom: 0.5rem; line-height: 1.2; } .feature-desc { p:last-child { margin-bottom: 0; } } } &.tlds-inline { .feature-content { .feature-tlds { display: flex; align-items: center; .tld-item { .tld, .dots { font-size: @font-size-base * 1.5; font-weight: 900; } } .tld-footer { margin-top: 0; margin-left: auto; text-align: right; .tld-price { margin-right: 0.75rem; .register-price { font-size: @font-size-base; } .renewal-price { font-size: 80%; } } .tld-action { margin-left: auto; .btn { padding: 0.5rem 1rem; } } } } } } &.has-slider { margin-top: 2rem; } &.top { flex-direction: column; .feature-icon, .feature-graphic { margin-bottom: 1rem; } .feature-content { padding-left: 0; } } &.lg { .feature-icon { font-size: @font-size-base * 2; } .feature-icon, .feature-graphic { width: 4rem; height: 4rem; } } &.sm { .feature-icon { font-size: @font-size-base * 1; } .feature-icon, .feature-graphic { width: 2rem; height: 2rem; } } &.auto { .feature-icon, .feature-graphic { width: auto; height: auto; } } &.square { .feature-icon { &:before { border-radius: @border-radius; } } } &.circle { .feature-icon { &:before { border-radius: 50%!important; } } } &.centered { align-items: center; text-align: center; .feature-graphic { align-items: center; justify-content: center; } .feature-tlds { .tld-item { justify-content: center; margin-bottom: 0.5rem; } .tld-footer { flex-direction: column; .tld-price { margin-right: 0; margin-bottom: 1rem; } .tld-action { width: 100%; margin-left: 0; .btn { display: block; width: 100%; } } } } } &.box-shadow { box-shadow: @box-shadow; } .feature-action { margin-top: auto; .btn-link { display: inline-flex; padding: 0; margin-top: 1rem; } } &.has-link { cursor: pointer; } } &.bg-primary, &.dark, &.inverse { .feature-item { color: var(--white); .feature-value { .counter { color: var(--white); } } .feature-icon { color: var(--primary); &:before { background-color: var(--white); } } .btn-link { color: var(--white); } } } } } body.dark-mode { .sec { &.features { .feature-item { color: var(--white); } } } }