Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 49 additions & 2 deletions landing-pages/site/assets/scss/_base-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,37 @@
// padding: 123px 0 40px;
padding: 163px 0 40px; // TEMP - accommodate Airflow Summit banner (123 + 40)

&--button {
&--scrollButton {
display: flex;
position: sticky;
width: fit-content;
width: 100%;
margin-left: auto;
margin-right: 40px;
bottom: 40px;
z-index: 1;
}

&--suggestButton {
display: flex;
position: sticky;
width: 100%;
margin-left: auto;
margin-right: 40px;
bottom: 40px;
justify-content: flex-end;
z-index: 1;
}

&--button {
display: flex;
position: sticky;
width: 100%;
margin-left: auto;
margin-right: 40px;
bottom: 40px;
justify-content: space-between;
z-index: 1;
}
}

@media (max-width: $tablet) {
Expand All @@ -42,6 +63,32 @@
&--button {
display: none;
}

&--suggestButton{
display: none;
}

&--scrollButton button span {
display: none;
}

&--scrollButton button {
width: 55px;
height: 55px; // Slightly increased button height
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}

&--scrollButton button svg {
display: block;
margin: 0 auto;
position: relative;
left: 56%; // Move just a little bit more to the right
transform: translateX(-50%);
}

}
}

Expand Down
280 changes: 140 additions & 140 deletions landing-pages/site/assets/scss/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,143 +16,143 @@
* specific language governing permissions and limitations
* under the License.
*/
@import "colors";
@import "media";

footer {
min-height: unset;

.footer-section {
display: flex;
flex-wrap: wrap;
justify-content: space-between;

span {
@extend .bodytext__medium--white;
}

&__media-section {
padding: 60px 60px 30px;
background-color: map-get($colors, greyish-brown);

&--link {
margin-right: 30px;
}

&--button-with-text {
display: flex;
align-items: center;
}

&--text {
margin-right: 20px;
}
}

&__policies-section {
padding: 30px 60px;
background-color: map-get($colors, slate-grey);
font-size: 12px;
flex-direction: column !important;

span {
font-size: 12px;
}

&--policies {
display: flex;
}

&--policy-item {
&::before {
content: "\00a0\00a0";
}

&::after {
content: "\00a0\00a0|";
color: white;
}

&:last-of-type {
&::after {
content: "\00a0\00a0|\00a0\00a0";
}
}
}

&--disclaimer {
display: block;
max-width: 600px;
color: map-get($colors, very-light-pink) !important;
margin-top: 16px;

@media (min-width: $fullhd) {
max-width: 800px;
}
}
}
}

.dropdown-toggle {
&::after {
color: white;
vertical-align: middle;
}
}
}

@media (max-width: $tablet) {
footer {
.footer-section {
flex-direction: column-reverse;
align-items: flex-start;

span {
font-size: 14px !important;
line-height: 1.57 !important;
}

&__media-section {
padding: 30px 40px;

svg {
height: 31px;
width: auto;
}

&--link {
margin-right: 20px;
}

&--button-with-text {
flex-direction: column;
align-items: flex-start;
margin-bottom: 47px;
}

&--text {
margin-right: 0;
margin-bottom: 16px;
}
}

&__policies-section {
padding: 30px 40px;

&--policies {
flex-direction: column;
}

&--policy-item, &--policy-item:last-of-type {
&::before, &::after {
content: "";
}
}

&--language-toggle {
margin: 17px 0 35px;
}
}
}
}
}
@import "colors";
@import "media";
footer {
min-height: unset;
.footer-section {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
span {
@extend .bodytext__medium--white;
}
&__media-section {
padding: 60px 60px 30px;
background-color: map-get($colors, greyish-brown);
&--link {
margin-right: 30px;
}
&--button-with-text {
display: flex;
align-items: center;
}
&--text {
margin-right: 20px;
}
}
&__policies-section {
padding: 30px 60px;
background-color: map-get($colors, slate-grey);
font-size: 12px;
flex-direction: column !important;
span {
font-size: 12px;
}
&--policies {
display: flex;
}
&--policy-item {
&::before {
content: "\00a0\00a0";
}
&::after {
content: "\00a0\00a0|";
color: white;
}
&:last-of-type {
&::after {
content: "\00a0\00a0|\00a0\00a0";
}
}
}
&--disclaimer {
display: block;
max-width: 600px;
color: map-get($colors, very-light-pink) !important;
margin-top: 16px;
@media (min-width: $fullhd) {
max-width: 800px;
}
}
}
}
.dropdown-toggle {
&::after {
color: white;
vertical-align: middle;
}
}
}
@media (max-width: $tablet) {
footer {
.footer-section {
flex-direction: column-reverse;
align-items: flex-start;
span {
font-size: 14px !important;
line-height: 1.57 !important;
}
&__media-section {
padding: 30px 40px;
svg {
height: 31px;
width: auto;
}
&--link {
margin-right: 20px;
}
&--button-with-text {
flex-direction: column;
align-items: flex-start;
margin-bottom: 47px;
}
&--text {
margin-right: 0;
margin-bottom: 16px;
}
}
&__policies-section {
padding: 30px 40px;
&--policies {
flex-direction: column;
}
&--policy-item, &--policy-item:last-of-type {
&::before, &::after {
content: "";
}
}
&--language-toggle {
margin: 17px 0 35px;
}
}
}
}
}
32 changes: 32 additions & 0 deletions landing-pages/site/assets/scss/_scroll-to-top.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

.scroll-to-top--button {
display: flex;
position: sticky;
bottom : 40px;
width: fit-content;
margin-left: 40px;
justify-content: flex-start;
z-index: 2;

@media (max-width: $tablet) {
display: none;
}
}
1 change: 1 addition & 0 deletions landing-pages/site/assets/scss/main-custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
@import "search";
@import "rating";
@import "rst-content";
@import "scroll-to-top";
@import "content-drawer";
@import "dropdown";
@import "highlights";
Expand Down
Loading