Remove manual prefixes
This commit is contained in:
parent
2eab196ae6
commit
07150a0011
6 changed files with 2558 additions and 193 deletions
|
@ -63,8 +63,6 @@ a {
|
|||
color: var(--jet);
|
||||
text-decoration: underline;
|
||||
border-radius: 2px;
|
||||
-webkit-transition: color 200ms ease-in-out;
|
||||
-o-transition: color 200ms ease-in-out;
|
||||
transition: color 200ms ease-in-out;
|
||||
|
||||
&:hover,
|
||||
|
@ -76,7 +74,6 @@ a {
|
|||
&:focus-visible {
|
||||
outline: 1px dashed var(--black);
|
||||
outline-offset: 2px;
|
||||
-webkit-animation: expand-outline 200ms ease-out;
|
||||
animation: expand-outline 200ms ease-in-out;
|
||||
}
|
||||
}
|
||||
|
@ -86,7 +83,6 @@ a {
|
|||
body {
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
grid:
|
||||
'header' var(--header-bar-height)
|
||||
|
@ -124,22 +120,10 @@ footer {
|
|||
padding: var(--header-bar-vertical-padding) Max(var(--header-bar-horizontal-padding), calc((100vw - var(--content-max-width)) / 2 + var(--header-bar-horizontal-padding)));
|
||||
background-color: var(--transparent-white);
|
||||
border-bottom: 1px solid var(--transparent-white);
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-pack: justify;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
z-index: 1;
|
||||
-webkit-transition:
|
||||
height 400ms ease-in-out,
|
||||
border-bottom 400ms ease-in-out;
|
||||
-o-transition:
|
||||
height 400ms ease-in-out,
|
||||
border-bottom 400ms ease-in-out;
|
||||
transition:
|
||||
height 400ms ease-in-out,
|
||||
border-bottom 400ms ease-in-out;
|
||||
|
@ -150,30 +134,20 @@ footer {
|
|||
--header-bar-height: calc((var(--header-bar-vertical-padding) * 2) + var(--icon-size));
|
||||
top: calc(-1 * var(--header-bar-height));
|
||||
border-bottom: 1px solid var(--light-gray);
|
||||
-webkit-transition: transform 400ms ease-in-out;
|
||||
-o-transition: transform 400ms ease-in-out;
|
||||
transition: transform 400ms ease-in-out;
|
||||
}
|
||||
|
||||
&--visible {
|
||||
-webkit-transform: translateY(var(--header-bar-height));
|
||||
-ms-transform: translateY(var(--header-bar-height));
|
||||
transform: translateY(var(--header-bar-height));
|
||||
}
|
||||
}
|
||||
|
||||
.header-bar__logo {
|
||||
width: max-content;
|
||||
-webkit-transition: transform 400ms ease-in-out;
|
||||
-o-transition: transform 400ms ease-in-out;
|
||||
transition: transform 400ms ease-in-out;
|
||||
-webkit-transform-origin: left;
|
||||
-ms-transform-origin: left;
|
||||
transform-origin: left;
|
||||
|
||||
&--small {
|
||||
-webkit-transform: scale(0.8);
|
||||
-ms-transform: scale(0.8);
|
||||
transform: scale(0.8);
|
||||
}
|
||||
}
|
||||
|
@ -198,18 +172,8 @@ footer {
|
|||
border-radius: 50%;
|
||||
background-color: var(--jet);
|
||||
cursor: pointer;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-transition:
|
||||
transform 200ms ease-in-out,
|
||||
background-color 400ms ease-in-out;
|
||||
-o-transition:
|
||||
transform 200ms ease-in-out,
|
||||
background-color 400ms ease-in-out;
|
||||
transition:
|
||||
transform 200ms ease-in-out,
|
||||
background-color 400ms ease-in-out;
|
||||
|
@ -219,12 +183,6 @@ footer {
|
|||
height: 100%;
|
||||
padding: 10%;
|
||||
flex-shrink: 0;
|
||||
-webkit-transition:
|
||||
opacity 400ms ease-in-out,
|
||||
transform 400ms ease-in-out;
|
||||
-o-transition:
|
||||
opacity 400ms ease-in-out,
|
||||
transform 400ms ease-in-out;
|
||||
transition:
|
||||
opacity 400ms ease-in-out,
|
||||
transform 400ms ease-in-out;
|
||||
|
@ -242,8 +200,6 @@ footer {
|
|||
|
||||
&:hover,
|
||||
&:active {
|
||||
-webkit-transform: scale(1.1);
|
||||
-ms-transform: scale(1.1);
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
|
@ -251,8 +207,6 @@ footer {
|
|||
background-color: var(--white);
|
||||
|
||||
svg {
|
||||
-webkit-transform: translateX(-100%);
|
||||
-ms-transform: translateX(-100%);
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
|
@ -279,8 +233,6 @@ footer {
|
|||
color: var(--white);
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
-webkit-transition: transform 400ms ease-in-out;
|
||||
-o-transition: transform 400ms ease-in-out;
|
||||
transition: transform 400ms ease-in-out;
|
||||
|
||||
> li {
|
||||
|
@ -296,11 +248,7 @@ footer {
|
|||
|
||||
div {
|
||||
padding: 1rem 0;
|
||||
-webkit-transform: translateX(100%);
|
||||
-ms-transform: translateX(100%);
|
||||
transform: translateX(100%);
|
||||
-webkit-transition: transform 400ms ease-in-out;
|
||||
-o-transition: transform 400ms ease-in-out;
|
||||
transition: transform 400ms ease-in-out;
|
||||
|
||||
a,
|
||||
|
@ -333,19 +281,13 @@ footer {
|
|||
}
|
||||
|
||||
&--visible {
|
||||
-webkit-transform: translateX(calc(-1 * 100%));
|
||||
-ms-transform: translateX(calc(-1 * 100%));
|
||||
transform: translateX(calc(-1 * 100%));
|
||||
|
||||
@for $i from 1 through 20 {
|
||||
.header-bar__nav-item-#{$i} {
|
||||
|
||||
div {
|
||||
-webkit-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
-webkit-transition: transform calc(400ms + $i * 100ms) ease-in-out;
|
||||
-o-transition: transform calc(400ms + $i * 100ms) ease-in-out;
|
||||
transition: transform calc(400ms + $i * 100ms) ease-in-out;
|
||||
}
|
||||
}
|
||||
|
@ -364,8 +306,6 @@ footer {
|
|||
opacity: 0;
|
||||
pointer-events: none;
|
||||
will-change: opacity;
|
||||
-webkit-transition: opacity 400ms ease-in-out;
|
||||
-o-transition: opacity 400ms ease-in-out;
|
||||
transition: opacity 400ms ease-in-out;
|
||||
|
||||
&--visible {
|
||||
|
@ -400,20 +340,13 @@ footer {
|
|||
min-height: var(--home-section-min-height);
|
||||
margin: auto;
|
||||
padding: var(--home-section-vertical-padding) var(--home-section-horizontal-padding);
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.home__nav {
|
||||
height: 100%;
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
grid:
|
||||
'top-left top top-right' var(--home-nav-item-size)
|
||||
|
@ -441,12 +374,6 @@ footer {
|
|||
.home__nav-item-1 {
|
||||
grid-area: top-left;
|
||||
place-self: end end;
|
||||
-webkit-transform:
|
||||
rotate(-45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
-ms-transform:
|
||||
rotate(-45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
transform:
|
||||
rotate(-45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
|
@ -455,12 +382,6 @@ footer {
|
|||
.home__nav-item-2 {
|
||||
grid-area: top-right;
|
||||
place-self: end start;
|
||||
-webkit-transform:
|
||||
rotate(45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
-ms-transform:
|
||||
rotate(45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
transform:
|
||||
rotate(45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
|
@ -472,12 +393,6 @@ footer {
|
|||
.home__nav-item-1 {
|
||||
grid-area: top-left;
|
||||
place-self: end end;
|
||||
-webkit-transform:
|
||||
rotate(-45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
-ms-transform:
|
||||
rotate(-45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
transform:
|
||||
rotate(-45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
|
@ -486,12 +401,6 @@ footer {
|
|||
.home__nav-item-2 {
|
||||
grid-area: top-right;
|
||||
place-self: end start;
|
||||
-webkit-transform:
|
||||
rotate(45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
-ms-transform:
|
||||
rotate(45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
transform:
|
||||
rotate(45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
|
@ -508,12 +417,6 @@ footer {
|
|||
.home__nav-item-1 {
|
||||
grid-area: top-left;
|
||||
place-self: end end;
|
||||
-webkit-transform:
|
||||
rotate(-45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
-ms-transform:
|
||||
rotate(-45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
transform:
|
||||
rotate(-45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
|
@ -522,12 +425,6 @@ footer {
|
|||
.home__nav-item-2 {
|
||||
grid-area: top-right;
|
||||
place-self: end start;
|
||||
-webkit-transform:
|
||||
rotate(45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
-ms-transform:
|
||||
rotate(45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
transform:
|
||||
rotate(45deg)
|
||||
translateY(var(--home-nav-item-translation));
|
||||
|
@ -536,12 +433,6 @@ footer {
|
|||
.home__nav-item-3 {
|
||||
grid-area: bottom-left;
|
||||
place-self: start end;
|
||||
-webkit-transform:
|
||||
rotate(45deg)
|
||||
translateY(calc(var(--home-nav-item-translation) * -1));
|
||||
-ms-transform:
|
||||
rotate(45deg)
|
||||
translateY(calc(var(--home-nav-item-translation) * -1));
|
||||
transform:
|
||||
rotate(45deg)
|
||||
translateY(calc(var(--home-nav-item-translation) * -1));
|
||||
|
@ -550,12 +441,6 @@ footer {
|
|||
.home__nav-item-4 {
|
||||
grid-area: bottom-right;
|
||||
place-self: start start;
|
||||
-webkit-transform:
|
||||
rotate(-45deg)
|
||||
translateY(calc(var(--home-nav-item-translation) * -1));
|
||||
-ms-transform:
|
||||
rotate(-45deg)
|
||||
translateY(calc(var(--home-nav-item-translation) * -1));
|
||||
transform:
|
||||
rotate(-45deg)
|
||||
translateY(calc(var(--home-nav-item-translation) * -1));
|
||||
|
@ -567,14 +452,10 @@ footer {
|
|||
font-size: var(--h3-font-size);
|
||||
text-decoration: none;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 600ms ease-in-out;
|
||||
-o-transition: opacity 600ms ease-in-out;
|
||||
transition: opacity 600ms ease-in-out;
|
||||
|
||||
div {
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 600ms ease-in-out;
|
||||
-o-transition: opacity 600ms ease-in-out;
|
||||
transition: opacity 600ms ease-in-out;
|
||||
}
|
||||
}
|
||||
|
@ -588,12 +469,10 @@ footer {
|
|||
}
|
||||
|
||||
.home__nav-letter--wave-up {
|
||||
-webkit-animation: wave-up 600ms ease-out;
|
||||
animation: wave-up 600ms ease-in-out;
|
||||
}
|
||||
|
||||
.home__nav-letter--wave-down {
|
||||
-webkit-animation: wave-down 600ms ease-out;
|
||||
animation: wave-down 600ms ease-in-out;
|
||||
}
|
||||
|
||||
|
@ -725,8 +604,6 @@ footer {
|
|||
background-color: var(--jet);
|
||||
text-decoration: none;
|
||||
font-weight: var(--semi-bold-font-weight);
|
||||
-webkit-transition: transform 200ms ease-in-out;
|
||||
-o-transition: transform 200ms ease-in-out;
|
||||
transition: transform 200ms ease-in-out;
|
||||
|
||||
&:hover,
|
||||
|
@ -748,24 +625,13 @@ footer {
|
|||
height: var(--footer-bar-height);
|
||||
margin: auto;
|
||||
padding: var(--footer-bar-vertical-padding) var(--footer-bar-horizontal-padding);
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.footer-bar__social {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
|
||||
a {
|
||||
|
@ -773,17 +639,9 @@ footer {
|
|||
height: var(--icon-size);
|
||||
border-radius: 50%;
|
||||
background-color: var(--jet);
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-transition: transform 200ms ease-in-out;
|
||||
-o-transition: transform 200ms ease-in-out;
|
||||
transition: transform 200ms ease-in-out;
|
||||
|
||||
+ a {
|
||||
|
@ -827,15 +685,8 @@ footer {
|
|||
@media screen and (min-width: $tablet-media-query) {
|
||||
|
||||
.footer-bar {
|
||||
-webkit-box-orient: horizontal;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
-webkit-box-pack: justify;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
-webkit-box-align: end;
|
||||
-ms-flex-align: end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,15 +2,6 @@
|
|||
// ANIMATIONS
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
@-webkit-keyframes expand-outline {
|
||||
from {
|
||||
outline-offset: 0;
|
||||
}
|
||||
to {
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes expand-outline {
|
||||
from {
|
||||
outline-offset: 0;
|
||||
|
@ -20,18 +11,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes wave-up {
|
||||
0% {
|
||||
top: 0;
|
||||
}
|
||||
60% {
|
||||
top: -0.5rem;
|
||||
}
|
||||
100% {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes wave-up {
|
||||
0% {
|
||||
top: 0;
|
||||
|
@ -44,18 +23,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes wave-down {
|
||||
0% {
|
||||
bottom: 0;
|
||||
}
|
||||
60% {
|
||||
bottom: -0.5rem;
|
||||
}
|
||||
100% {
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes wave-down {
|
||||
0% {
|
||||
bottom: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue