ClickHouse/website/css/main.css
2021-09-21 10:43:57 +03:00

1040 lines
20 KiB
CSS

@media screen and (max-width: 978.98px) {
.btn {
padding: 8px 16px;
}
}
@media screen and (max-width: 978.98px) {
.btn-lg {
padding: 12px 24px;
}
}
.btn-primary {
color: #212529;
}
.btn-primary:active, .btn-primary:hover {
color: #212529;
}
.btn-outline-primary {
background: #fffaf0;
border-color: #ffcc00;
color: #212529;
}
.btn-outline-primary:active, .btn-outline-primary:hover {
background: #ffcc00;
border-color: #ffcc00;
color: #212529;
}
.btn-secondary {
border-color: #212529;
color: #fff;
}
.btn-secondary:active, .btn-secondary:hover {
background: #fff;
border-color: #212529;
color: #212529;
}
.btn-outline-secondary {
background: #fff;
border-color: #212529;
color: #212529;
}
.btn-outline-secondary:active, .btn-outline-secondary:hover {
background: #212529;
border-color: #212529;
color: #fff;
}
.btn-tertiary {
border-color: #257af4;
color: #fff;
}
.btn-tertiary:active, .btn-tertiary:hover {
background: #257af4;
border-color: #257af4;
color: #fff;
}
.btn-outline-tertiary {
background: #e3f1fe;
color: #257af4;
}
.btn-outline-tertiary:active, .btn-outline-tertiary:hover {
background: #257af4;
color: #fff;
}
.btns {
align-items: center;
display: flex;
justify-content: center;
}
.btns .btn + .btn {
margin-left: 24px;
}
.btns .btn-lg + .btn-lg {
margin-left: 40px;
}
.card {
box-shadow: 0 8px 20px rgba(108, 117, 125, 0.2);
overflow: hidden;
position: relative;
transition: box-shadow 0.2s, transform 0.2s;
width: 100%;
}
.card-body {
position: relative;
z-index: 10;
}
.card.is-large .card-body {
padding: 40px;
}
.card.bg-primary-light {
border-color: #ffcc00;
}
.card.has-dark-border {
border-color: #6c757d;
}
.card.has-pattern:before,
.card.has-pattern:after {
background-repeat: no-repeat;
background-size: auto 100%;
bottom: 0;
content: "";
display: block;
position: absolute;
top: 0;
width: 72px;
}
.card.has-pattern:before {
background-image: url(../images/backgrounds/bg-card-pattern-blue-1.png);
background-position: left top;
left: 0;
}
.card.has-pattern:after {
background-image: url(../images/backgrounds/bg-card-pattern-blue-2.png);
background-position: right top;
right: 0;
}
a.card:active,
a.card:hover,
.card.has-hover:active,
.card.has-hover:hover {
box-shadow: 0 12px 32px rgba(108, 117, 125, 0.2);
transform: translateY(-8px);
}
a.card:after,
.card.has-hover:after,
.card.has-highlight:after {
content: "";
display: block;
height: 8px;
margin-top: auto;
transition: background 0.2s;
width: 100%;
}
a.card:active:after,
a.card:hover:after,
.card.has-hover:active:after,
.card.has-hover:hover:after,
.card.has-highlight:after {
background: #e3f1fe;
}
.case-study-cards {
-moz-column-gap: 40px;
column-gap: 40px;
display: grid;
grid-template-columns: 1fr;
row-gap: 40px;
padding-bottom: 40px;
position: relative;
}
.case-study-cards > div {
align-items: stretch;
display: flex;
}
.case-study-cards:before {
background: #d6dbdf;
bottom: 0;
content: "";
display: block;
left: 20px;
position: absolute;
top: 40px;
width: 100vw;
}
@media screen and (min-width: 980px) {
.case-study-cards {
grid-template-columns: repeat(2, minmax(0, 1fr));
row-gap: 80px;
padding-bottom: 120px;
}
.case-study-cards:before {
left: -40px;
top: 120px;
}
}
.case-study-card {
align-items: stretch;
flex-direction: row;
flex-shrink: 0;
left: 0;
transition: 0.2s box-shadow, 0.4s left, 0.4s width, 0s z-index;
transition-delay: 0s, 0.6s, 0.6s, 0s;
width: 100%;
z-index: 2;
}
@media screen and (max-width: 979.98px) {
.case-study-card .row {
min-height: 0 !important;
}
}
@media screen and (min-width: 980px) {
.case-study-card:active, .case-study-card:hover {
box-shadow: 0 12px 32px rgba(108, 117, 125, 0.2);
}
.case-study-card:not(.is-open) {
cursor: pointer;
}
.case-study-card.is-open {
transform: none !important;
transition-delay: 0s, 0s, 0s, 0s;
width: calc(200% + 40px);
z-index: 10;
}
.case-study-card.is-closing {
z-index: 10;
}
.case-study-card.open-left.is-open {
left: calc(-100% - 40px);
}
.case-study-card:before {
background: no-repeat url(../images/backgrounds/bg-card-pattern-red.png);
background-position: right center;
background-size: contain;
content: "";
display: block;
height: calc(100% - 80px);
max-height: 224px;
max-width: 234px;
position: absolute;
right: 0;
top: 40px;
transform: translateX(30%);
transition: 0.4s transform;
transition-delay: 0.6s;
width: 100%;
z-index: 1;
}
}
@media screen and (min-width: 980px) and (min-width: 1240px) {
.case-study-card:before {
transform: translateX(10%);
}
}
@media screen and (min-width: 980px) {
.case-study-card.is-open:before {
transform: translateX(60%);
transition-delay: 0s;
}
}
@media screen and (min-width: 980px) {
.case-study-card-wrap {
align-items: stretch;
display: flex;
flex-shrink: 0;
min-height: 304px;
position: relative;
transition: 0.4s width;
transition-delay: 0.6s;
width: calc(200% + 42px);
z-index: 2;
}
}
@media screen and (min-width: 980px) {
.case-study-card.is-open .case-study-card-wrap {
transition-delay: 0s;
width: 100%;
}
}
@media screen and (min-width: 980px) {
.case-study-card-body {
display: flex;
flex-direction: column;
padding-right: 80px !important;
}
.case-study-card-body > .row {
align-self: stretch;
}
}
@media screen and (min-width: 980px) {
.case-study-card-toggle {
background: #fff;
box-shadow: 0 8px 20px rgba(108, 117, 125, 0.2);
border-radius: 100%;
cursor: pointer;
height: 56px;
position: relative;
width: 56px;
}
.case-study-card-toggle:before, .case-study-card-toggle:after {
background: #257af4;
content: "";
display: block;
height: 4px;
left: calc(50% - 15px);
position: absolute;
top: calc(50% - 2px);
transition: opacity 0.2s, transform 0.2s;
width: 30px;
}
.case-study-card-toggle:after {
transform: rotate(90deg);
}
}
@media screen and (min-width: 980px) {
.case-study-card.is-open .case-study-card-toggle:before {
opacity: 0;
transform: rotate(-90deg);
}
}
@media screen and (min-width: 980px) {
.case-study-card.is-open .case-study-card-toggle:after {
transform: rotate(0);
}
}
@media screen and (min-width: 980px) {
.case-study-card .col-lg-3,
.case-study-card .col-lg-auto {
opacity: 0;
transform: translateX(24px);
transition: 0.4s opacity, 0.4s transform;
}
}
@media screen and (min-width: 980px) {
.case-study-card .col-lg-3 {
transition-delay: 0s;
}
}
@media screen and (min-width: 980px) {
.case-study-card .col-lg-auto {
transition-delay: 0.2s;
}
}
@media screen and (min-width: 980px) and (min-width: 980px) {
.case-study-card .col-lg-auto {
max-width: 605px;
width: calc(100% - 319px);
}
}
@media screen and (min-width: 980px) {
.case-study-card.is-open .col-lg-3, .case-study-card.is-open .col-lg-auto {
opacity: 1;
transform: none;
}
}
@media screen and (min-width: 980px) {
.case-study-card.is-open .col-lg-3 {
transition-delay: 0.4s;
}
}
@media screen and (min-width: 980px) {
.case-study-card.is-open .col-lg-auto {
transition-delay: 0.2s;
}
}
.footer-copy {
white-space: nowrap;
}
form .form-control {
border: 1px solid #6c757d;
border-radius: 6px;
box-shadow: 0 8px 20px rgba(108, 117, 125, 0.2);
color: #212529;
height: auto;
line-height: 20px;
min-height: 44px;
padding: 12px 16px;
width: 100%;
}
form .form-control:focus {
border-color: #212529;
box-shadow: 0 8px 20px rgba(108, 117, 125, 0.2);
color: #212529;
}
form .form-control::-moz-placeholder {
color: #6c757d;
}
form .form-control:-ms-input-placeholder {
color: #6c757d;
}
form .form-control::placeholder {
color: #6c757d;
}
form select.form-control {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
form select.form-control:not([data-chosen]) {
color: #6c757d;
}
form .btn-secondary:active,
form .btn-secondary:hover {
color: #212529;
background: #ffcc00;
border-color: #ffcc00;
}
.hero {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
overflow: visible;
position: relative;
}
.hero-bg {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
display: block;
height: 100%;
left: 50%;
position: absolute;
top: 0;
transform: translateX(-50%);
z-index: 1;
}
.hero > .container {
position: relative;
z-index: 2;
}
.hero.has-offset {
margin-bottom: -160px;
padding-bottom: 160px;
}
hr {
background: #f1f6f9;
border: 0;
display: block;
height: 4px;
margin: 0;
width: 100%;
}
hr.is-small {
height: 2px;
}
hr.is-large {
height: 8px;
}
hr.is-medium {
background: #d6dbdf;
}
hr.is-dark {
background: #495057;
}
hr.is-yellow {
background: linear-gradient(90deg, #ff8c00 0, #ff8c00 8px, #ffcc00 16px, rgba(255, 204, 0, 0) 100%);
-webkit-clip-path: polygon(8px 100%, 0 100%, 0 0, 8px 0, 8px 100%, 16px 100%, 16px 0, 100% 0, 100% 100%);
clip-path: polygon(8px 100%, 0 100%, 0 0, 8px 0, 8px 100%, 16px 100%, 16px 0, 100% 0, 100% 100%);
height: 8px;
}
.icon {
display: block;
height: 48px;
margin-bottom: 24px;
-o-object-fit: contain;
object-fit: contain;
-o-object-position: center;
object-position: center;
}
@media screen and (min-width: 576px) {
.icon {
height: 64px;
}
}
@media screen and (min-width: 980px) {
.icon {
height: 80px;
}
}
img {
max-width: 100%;
}
.kicker {
color: #6c757d;
font-family: "Hind Siliguri", sans-serif;
font-size: 0.875rem;
font-weight: 600;
letter-spacing: 1px;
margin: 0;
}
@media screen and (max-width: 978.98px) {
.lead {
font-size: 1.125rem;
}
}
.navbar-clickhouse {
border-bottom: 4px solid #f1f6f9 !important;
height: 142px !important;
}
.navbar-clickhouse > .container {
flex-wrap: wrap !important;
}
.navbar-super {
flex-shrink: 0;
width: 100%;
}
.navbar-super ul {
list-style: none;
}
.navbar-super li:not(:last-child) {
margin-bottom: 0;
margin-right: 24px;
}
.navbar-super a {
align-items: center;
color: #212529;
display: flex;
font-size: 0.875rem;
}
.navbar-super a:active, .navbar-super a:hover {
color: #257af4;
text-decoration: none;
}
.navbar-super img {
flex-shrink: 0;
margin-right: 4px;
}
.navbar-brand-clickhouse {
background: no-repeat url(/images/logo-clickhouse.svg);
background-size: contain;
flex-shrink: 0;
height: 28px;
margin-right: 48px;
padding: 0;
width: 180px;
}
.navbar-nav {
align-items: center;
height: 46px;
}
.navbar .nav-item:not(:last-child) {
margin-bottom: 0;
margin-right: 24px;
}
.navbar .nav-link {
color: #212529;
}
.navbar .nav-link:active, .navbar .nav-link:hover {
color: #257af4;
}
.navbar .navbar-nav {
flex-direction: row;
}
@media screen and (max-width: 978.98px) {
.navbar > .container {
padding-left: 20px;
padding-right: 20px;
}
.navbar .navbar-toggler {
height: 24px;
padding: 0;
width: 24px;
}
.navbar .navbar-toggler:focus {
outline: none;
}
.navbar .navbar-toggler-icon {
background: no-repeat url(../images/icons/icon-menu.svg);
background-position: center;
background-size: contain;
height: 24px;
width: 24px;
}
.navbar .navbar-collapse {
background: #fff;
border-bottom: 4px solid #f1f6f9;
height: 56px;
left: 0;
padding: 0 20px 16px;
position: absolute;
right: 0;
top: 100%;
}
.navbar .nav-link {
font-size: 0.875rem;
white-space: nowrap;
}
}
@media screen and (max-width: 615.98px) {
.navbar .navbar-collapse {
height: auto;
}
.navbar .navbar-nav {
flex-direction: column;
height: auto;
}
.navbar .nav-item:not(:last-child) {
margin-bottom: 16px;
margin-right: 0;
}
}
@media screen and (max-width: 399.98px) {
.navbar {
height: 80px;
}
}
.page {
overflow: hidden;
width: 100vw;
}
.photo-frame {
background: rgba(255, 255, 255, 0.6);
border-radius: 100%;
box-shadow: 0 8px 20px rgba(108, 117, 125, 0.2);
display: block;
margin-bottom: 24px;
max-width: 160px;
overflow: hidden;
position: relative;
width: 100%;
}
.photo-frame:before {
content: "";
display: block;
padding-bottom: 100%;
width: 100%;
}
.photo-frame img {
display: block;
height: 100%;
left: 0;
-o-object-fit: contain;
object-fit: contain;
-o-object-position: center;
object-position: center;
position: absolute;
top: 0;
width: 100%;
}
.pullquote {
position: relative;
width: 70%;
}
.pullquote:before {
background: no-repeat url(../images/backgrounds/bg-quotes.svg);
background-position: center;
background-size: 100%;
bottom: 0;
content: "";
display: block;
mix-blend-mode: multiply;
position: absolute;
right: 56px;
top: 0;
width: calc(100% - 16px);
z-index: 2;
}
.pullquote-bg {
bottom: 0;
display: block;
position: absolute;
right: 0;
top: 0;
width: calc(50vw + 28.5714285714%);
z-index: 1;
}
.pullquote-body {
padding: 64px 40px 64px 0;
position: relative;
z-index: 3;
}
.pullquote-quote {
font-family: "Hind Siliguri", sans-serif;
font-size: 32px;
font-weight: 700;
}
.pullquote-citation {
font-size: 1.125rem;
}
.section {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
overflow: visible;
position: relative;
}
.section-bg {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
display: block;
height: 100%;
left: 50%;
position: absolute;
top: 0;
transform: translateX(-50%);
z-index: 1;
}
.section > .container {
position: relative;
z-index: 2;
}
.social-icons {
align-items: center;
display: flex;
}
.social-icons > a {
aspect-ratio: 24/24;
background: #6c757d;
display: block;
height: 24px;
width: 24px;
-webkit-mask-position: center;
mask-position: center;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: contain;
mask-size: contain;
transition: 0.2s background;
}
.social-icons > a:active, .social-icons > a:hover {
background: #212529;
}
.social-icons > a + a {
margin-left: 32px;
}
.social-icons-facebook {
-webkit-mask-image: url("/images/icons/icon-facebook-gray.svg");
mask-image: url("/images/icons/icon-facebook-gray.svg");
}
.social-icons-twitter {
-webkit-mask-image: url("/images/icons/icon-twitter-gray.svg");
mask-image: url("/images/icons/icon-twitter-gray.svg");
width: 31px;
}
.social-icons-linkedin {
-webkit-mask-image: url("/images/icons/icon-linkedin-gray.svg");
mask-image: url("/images/icons/icon-linkedin-gray.svg");
}
.social-icons-linkedin-alt {
-webkit-mask-image: url("/images/icons/icon-linkedin-alt-gray.svg");
mask-image: url("/images/icons/icon-linkedin-alt-gray.svg");
}
.social-icons.size-small > a {
height: 20px;
width: 20px;
}
.social-icons.size-small > a:active, .social-icons.size-small > a:hover {
background: #212529;
}
.social-icons.size-small > a + a {
margin-left: 16px;
}
.tabs {
position: relative;
}
.tabs:before {
background: #fff;
border-radius: 7px 7px 0 0;
content: "";
display: block;
height: 8px;
left: 1px;
position: absolute;
right: 1px;
top: 68px;
z-index: 10;
}
@media screen and (min-width: 1240px) {
.tabs:before {
top: 76px;
}
}
.tabs-body {
background: #fff;
border-color: #6c757d;
border-radius: 8px;
border-style: solid;
border-width: 1px;
box-shadow: 0 8px 20px rgba(108, 117, 125, 0.2);
padding: 24px;
}
@media screen and (min-width: 980px) {
.tabs-body {
padding: 32px;
}
}
@media screen and (min-width: 1240px) {
.tabs-body {
padding: 40px;
}
}
.tabs .nav-tabs {
border-bottom: 0;
flex-wrap: nowrap;
height: 76px;
margin: -20px -20px -9px;
-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);
mask-image: linear-gradient(90deg, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);
overflow: scroll;
overflow-x: scroll;
overflow-y: visible;
padding: 20px 20px 0;
position: relative;
}
@media screen and (min-width: 940px) {
.tabs .nav-tabs {
overflow: visible;
}
}
@media screen and (min-width: 1240px) {
.tabs .nav-tabs {
height: 84px;
}
}
.tabs .nav-link {
align-items: center;
border-bottom: 0;
color: #6c757d;
display: flex;
font-size: 0.875rem;
flex-shrink: 0;
height: 56px;
justify-content: center;
padding: 0 12px 8px;
text-align: center;
white-space: nowrap;
}
@media screen and (min-width: 1240px) {
.tabs .nav-link {
height: 64px;
padding: 0 16px 8px;
}
}
.tabs .nav-link.active {
background: #fff;
box-shadow: 0 -4px 8px rgba(108, 117, 125, 0.1);
font-weight: 700;
padding: 0 16px 8px;
}
@media screen and (min-width: 980px) {
.tabs .nav-link.active {
padding: 0 24px 8px;
}
}
@media screen and (min-width: 1240px) {
.tabs .nav-link.active {
padding: 0 32px 8px;
}
}
.tab-pane pre {
background: #212529;
border-radius: 16px;
color: #fff;
padding: 24px 16px;
}
@media screen and (min-width: 1240px) {
.tab-pane pre {
padding: 32px 24px;
}
}
.trailing-link {
align-items: center;
color: #212529;
display: flex;
font-size: 0.875rem;
font-weight: 700;
}
.trailing-link:after {
background: no-repeat url(../images/icons/icon-arrow.svg);
background-position: right center;
background-size: contain;
content: "";
display: block;
height: 12px;
transition: 0.2s transform;
width: 20px;
}
.trailing-link:active, .trailing-link:hover {
color: #212529;
text-decoration: none;
}
.trailing-link:active:after, .trailing-link:hover:after {
transform: translateX(8px);
}
.trailing-link.span-full:after {
margin-left: auto;
}
ul {
list-style-type: square;
padding-left: 1.25em;
}
ul li:not(:last-child) {
margin-bottom: 16px;
}
ul li::marker {
color: #ff3939;
}
ul.has-separators {
list-style: none;
padding: 0;
}
ul.has-separators li:not(:last-child) {
border-bottom: 4px solid #f1f6f9;
margin-bottom: 24px;
padding-bottom: 24px;
}
.bg-gradient-secondary {
background-image: linear-gradient(58deg, #FF6443 3%, #FE561D 24%, #E32F0D 93%);
}
.bg-gradient-light-orange {
background-image: linear-gradient(90deg, rgba(255, 203, 128, 0) 0%, #FFCB80 100%);
}
.bg-offset-right {
bottom: 0;
left: -24px;
position: absolute;
top: 0;
width: calc(100vw + 24px);
z-index: -1;
}
@media screen and (min-width: 1240px) {
.bg-offset-right {
left: -96px;
width: calc(100vw + 96px);
}
}
.bg-inset-right {
bottom: 0;
left: 40px;
position: absolute;
top: 0;
width: calc(100vw - 40px);
z-index: -1;
}
@media screen and (min-width: 980px) {
.bg-inset-right {
left: 96px;
width: calc(100vw - 96px);
}
}
.has-border-left {
border-left: 8px solid #f1f6f9;
padding-left: 16px;
}
.font-xl {
font-size: 1.25rem;
}
.font-lg {
font-size: 1.125rem;
}
.font-sm {
font-size: 0.875rem;
}
.font-xs {
font-size: 0.625rem;
}
.font-weight-semibold {
font-weight: 600;
}
.display-5 {
color: #212529;
font-size: 20px;
font-weight: 500;
}
.display-6 {
color: #212529;
font-size: 14px;
font-weight: 700;
}
.text-decoration-underline {
text-decoration: underline;
}
.text-upper {
text-transform: uppercase;
}
.base-hero {
height:22.5vw;
max-height:324px;
min-height:280px;
}
.index-hero {
background-image:url('/images/backgrounds/bg-hero-home.svg');
height:68vw;
max-height:980px;
max-width:2448px;
width:170vw;
}
.other-hero {
background-image: url('/images/backgrounds/bg-hero.svg');
max-width: 2448px;
width: 170vw;
}
.bg-footer-cta {
background-image:url('/images/backgrounds/bg-footer-cta.svg');
width:2448px;
}
.quickstart-bg {
background-image:url('/images/backgrounds/bg-quick-start.svg');
height:40vw;
top:220px;
width:170vw;
}