fleet/website/assets/styles/pages/pricing.less

456 lines
9.5 KiB
Plaintext
Raw Normal View History

#pricing {
h1, p {
color: #192147;
}
h2 {
font-weight: 800;
font-size: 32px;
line-height: 38px;
}
h4 {
color: #515774;
font-weight: 500;
font-size: 18px;
line-height: 24px;
}
p {
color: #515774;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
a {
color: @core-vibrant-blue;
}
.btn {
color: #fff;
}
[purpose='page-content'] {
padding-left: 40px;
padding-right: 40px;
color: #192147;
max-width: 1120px;
}
[purpose='pricing-switch'] {
width: 280px;
cursor: pointer;
border: 1px solid #E2E4EA;
border-radius: 28px;
background: #EBF2F5;
position: relative;
box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1);
[purpose='pricing-tier-switch'] {
position: absolute;
top: 0px;
left: -1px;
background: #fff;
border: 1px solid #E2E4EA;
border-radius: 28px;
height: 100%;
min-width: 140px;
z-index: 1;
transition: 0.25s all;
}
[purpose='pricing-switch-option'] {
padding: 16px;
width: 140px;
text-align: center;
cursor: pointer;
z-index: 3;
user-select: none;
}
.security-selected {
transform: translateX(140px);
}
}
[purpose='free-tier-card'] {
padding: 40px;
border-radius: 15px;
margin-right: 6px;
width: 380px;
strong {
color: #192147;
font-size: 16px;
line-height: 20px;
}
}
[purpose='premium-card'] {
width: 66%;
}
[purpose='premium-tier-card'] {
padding: 40px;
border-radius: 15px;
// margin-right: 12px;
margin-left: 6px;
strong {
color: #192147;
font-size: 16px;
line-height: 20px;
}
}
[purpose='premium-cloud-text'] {
padding: 40px;
border-left: 1px solid #E2E4EA;
h3 {
font-weight: 700;
font-size: 20px;
line-height: 28px;
margin-bottom: 14px;
}
p {
margin-bottom: 14px;
font-size: 14px;
line-height: 20px;
}
[purpose='animated-arrow-button-red'] {
display: inline;
line-height: 24px;
padding-right: 40px;
cursor: pointer;
position: relative;
width: fit-content;
min-width: 125px;
font-weight: bold;
user-select: none;
transition: 0.2s ease-in-out;
-o-transition: 0.2s ease-in-out;
-ms-transition: 0.2s ease-in-out;
-moz-transition: 0.2s ease-in-out;
-webkit-transition: 0.2s ease-in-out;
color: @core-fleet-black;
text-decoration: none;
&:after {
content: url('/images/arrow-right-red-16x16@2x.png');
transform: scale(0.5);
position: absolute;
top: -6px;
left: 75%; // <--- here
transition: 0.2s ease-in-out;
-o-transition: 0.2s ease-in-out;
-ms-transition: 0.2s ease-in-out;
-moz-transition: 0.2s ease-in-out;
-webkit-transition: 0.2s ease-in-out;
/* opacity: 0; */
}
&:hover:after {
left: 82%; // <--- here
transition: 0.2s ease-in-out;
-o-transition: 0.2s ease-in-out;
-ms-transition: 0.2s ease-in-out;
-moz-transition: 0.2s ease-in-out;
-webkit-transition: 0.2s ease-in-out;
/* opacity:1; */
}
}
}
[purpose='pricing-tier-title'] {
text-align: left;
h1 {// Price e.g., $0
font-weight: 700;
font-size: 32px;
line-height: 45px;
color: #192147;
}
h2 {// Tier name
font-weight: 700;
font-size: 20px;
line-height: 28px;
color: #192147;
margin-bottom: 4px;
}
h3 {// for "Unlimited hosts"
font-weight: 400;
font-size: 14px;
line-height: 20px;
color: #515774;
margin-bottom: 24px;
}
h4 { // "Starting at"
font-weight: 400;
font-size: 16px;
line-height: 20px;
color: #192147;
vertical-align: baseline;
margin-bottom: 0px;
padding-right: 4px;
}
strong { // "/host/month"
padding-left: 4px;
font-weight: 700;
font-size: 12px;
line-height: 20px;
color: #192147;
}
p {
color: #ff5c83;
margin-bottom: 8px;
}
}
[purpose='contact-sales-link'] {
text-align: center;
margin-top: 8px;
margin-bottom: 32px;
font-weight: 400;
font-size: 14px;
line-height: 20px;
a {
text-decoration: underline;
color: #ff5c83;
cursor: pointer;
}
}
[purpose='features-list'] {
p {
font-size: 14px;
margin-bottom: 12px;
text-indent: -24px;
padding-left: 24px;
color: #515774;
}
p::before {
content: '';
display: inline-block;
background: url('/images/icon-checkmark-green-16x16@2x.png');
background-size: cover;
margin-right: 8px;
height: 14px;
width: 14px;
}
}
[purpose='card-button'] {
font-size: 16px;
padding: 15px;
margin-top: 8px;
margin-bottom: 32px;
color: #FFF;
}
[purpose='chat-button'], [purpose='card-button'] {
position: relative;
}
[purpose='card-button']::before, [purpose='chat-button']::before {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
opacity: 1;
content: ' ';
position: absolute;
top: 0;
left: -5px;
width: 50%;
height: 100%;
transform: skew(-10deg);
transition: left 0.5s ease-in, opacity 0.50s ease-in, width 0.5s ease-in;
}
[purpose='card-button']:hover:before, [purpose='chat-button']:hover:before, [purpose='table-button']:hover:before {
opacity: 0;
left: 160px;
width: 110%;
}
[purpose='features-table'] {
padding-top: 80px;
}
[purpose='mobile-feature-table-section'] {
margin-bottom: 16px;
h4 {
font-weight: 700;
font-size: 20px;
line-height: 28px;
color: #192147;
margin-bottom: 20px;
}
}
[purpose='mobile-features-table'] {
border-radius: 8px;
border: 1px solid #E2E4EA;
margin-bottom: 24px;
img {
vertical-align: middle;
}
div {
padding: 8px 16px;
}
div:first-of-type {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border-top: none;
}
div {
border-top: 1px solid #E2E4EA;
}
[purpose='striped-row'] {
background-color: #F9FAFC;
}
}
[purpose='premium-price-linebreak'] {
display: none;
}
[purpose='checkmark'] {
height: 16px;
width: 16px;
}
[purpose='pricing-categories-table'] {
margin-bottom: 40px;
thead {
td {
vertical-align: bottom;
border: none;
}
h4 {
color: #192147;
font-weight: 700;
font-size: 24px;
line-height: 24px;
}
}
tbody {
color: #515774;
border-radius: 8px;
box-shadow: 0 0 0 1px #E2E4EA;
td {
padding: 12px 24px;
vertical-align: middle;
}
tr:first-child {
td {
border: none;
}
}
tr:last-child {
td:first-child {
border-bottom-left-radius: 8px;
}
td:last-child {
border-bottom-right-radius: 8px;
}
}
tr:nth-of-type(even) {
background-color: #F9FAFC;
}
}
}
[purpose='bottom-cta'] {
padding-top: 80px;
padding-bottom: 120px;
h2 {
font-weight: 800;
font-size: 24px;
line-height: 32px;
color: #192147;
}
}
[purpose='faq-list'] {
padding-left: 20px;
li {
margin-bottom: 16px;
padding-left: 8px;
}
}
[purpose='cta-button'] {
color: #192147;
.btn-animated-arrow-red();
&::before {
left: 84%;
}
&:hover::before {
left: 87%;
}
}
[purpose='pricing-table-category']:not(:first-of-type) {
margin-top: 48px;
}
@media (min-width: 1400px) {
// > 1400px width: the page has no left or right padding
[purpose='page-content'] {
max-width: 1160px;
padding-left: 0px;
padding-right: 0px;
}
}
@media (max-width: 991px) {
// >992 width:
// - The pages padding is reduced to 24px
// - Tier cards shift to a column view and have 100% width;
[purpose='page-content'] {
padding-left: 24px;
padding-right: 24px;
}
[purpose='free-tier-card'] {
width: 100%;
margin-right: 0px;
margin-bottom: 12px;
}
[purpose='premium-card'] {
width: 100%;
}
}
@media (max-width: 575px) {
// >575px:
// - The Premium Cloud card switches to a column layout
// - The picing tier cards have their padding reduced to 24px
[purpose='hero-text'] {
padding-right: -5px;
padding-left: -5px;
}
[purpose='page-content'] {
padding-left: 24px;
padding-right: 24px;
}
[purpose='free-tier-card'] {
padding: 24px;
}
[purpose='premium-tier-card'] {
padding: 24px;
}
[purpose='pricing-categories-table'] {
margin-bottom: 40px;
thead {
h4 {
color: #192147;
font-weight: 700;
font-size: 14px;
line-height: 21px;
margin-bottom: 0px;
}
tr {
td {
padding: 4px 4px;
vertical-align: middle;
strong {
font-size: 12px;
}
}
}
}
tbody {
td {
font-size: 14px;
padding: 8px 8px;
vertical-align: middle;
}
}
}
}
@media (max-width: 355px) {
// At < 355 px width we add a linebreak to the Premium price per host.
[purpose='premium-price-linebreak'] {
display: block;
}
}
}