-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2543 from exadel-inc/feat/site-presentation-styles
refactor(site): rework icons to unify animation, header styles cleanup
- Loading branch information
Showing
15 changed files
with
206 additions
and
144 deletions.
There are no files selected for viewing
Binary file modified
BIN
+1.67 KB
(100%)
...-feature-feature-homepage-looks-fine-test-homepage-footer-on-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-40.2 KB
(90%)
...__/homepage-feature-feature-homepage-looks-fine-test-homepage-screen-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-12.3 KB
(91%)
...e-feature-feature-homepage-looks-fine-test-homepage-screen-on-mobile-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
@import (reference) './variables.less'; | ||
@import (reference) './typography.less'; | ||
|
||
.typo-large { | ||
// Base font size | ||
font-size: 1.35rem; | ||
|
||
h1.large, | ||
.h1.large { | ||
font-size: 4rem; | ||
@media @sm-xl { | ||
font-size: 5rem; | ||
} | ||
} | ||
|
||
h1, | ||
.h1, | ||
h2.large, | ||
.h2.large { | ||
font-size: 3.5rem; | ||
@media @sm-xl { | ||
font-size: 4rem; | ||
} | ||
} | ||
|
||
h2, | ||
.h2, | ||
h3.large, | ||
.h3.large { | ||
font-size: 2.5rem; | ||
margin-bottom: 2rem; | ||
} | ||
|
||
h3, | ||
.h3, | ||
h4.large, | ||
.h4.large { | ||
font-size: 2rem; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
h4, | ||
.h4 { | ||
font-size: 1.75rem; | ||
margin-bottom: 0.75rem; | ||
} | ||
|
||
h5, | ||
.h5 { | ||
font-size: 1.5rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 27 additions & 19 deletions
46
site/src/navigation/header/logo.less → site/src/logo/logo.animation.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,66 @@ | ||
.logo-animated { | ||
@duration: 5s; | ||
@logo-animation: 5s ease-in-out; | ||
|
||
.shield { | ||
animation: logo-enlarge-shield @duration ease-in-out infinite; | ||
animation: logo-enlarge-shield @logo-animation infinite; | ||
transform-origin: center; | ||
} | ||
.wrenches { | ||
animation: logo-rotate-180 @duration ease-in-out infinite; | ||
animation: logo-rotate-180 @logo-animation infinite; | ||
transform-origin: center; | ||
.w-l { | ||
animation: logo-move-wrench-l @duration ease-in-out infinite; | ||
animation: logo-move-wrench-l @logo-animation infinite; | ||
} | ||
.w-r { | ||
animation: logo-move-wrench-r @duration ease-in-out infinite; | ||
animation: logo-move-wrench-r @logo-animation infinite; | ||
} | ||
} | ||
&.animation-delay { | ||
.shield, | ||
.wrenches, | ||
.wrenches .w-l, | ||
.wrenches .w-r { | ||
animation-delay: 5s; | ||
} | ||
} | ||
} | ||
|
||
@keyframes logo-enlarge-shield { | ||
93%, | ||
97% { | ||
23%, | ||
27% { | ||
transform: scale(1); | ||
} | ||
95% { | ||
25% { | ||
transform: scale(1.15); | ||
} | ||
} | ||
@keyframes logo-rotate-180 { | ||
0%, | ||
80% { | ||
10%, | ||
20.00005% { | ||
transform: rotate(0deg); | ||
} | ||
90%, | ||
100% { | ||
20% { | ||
transform: rotate(180deg); | ||
} | ||
} | ||
@keyframes logo-move-wrench-l { | ||
70%, | ||
100% { | ||
10%, | ||
30% { | ||
transform: translate(0px, 0px); | ||
} | ||
80%, | ||
90% { | ||
10%, | ||
20% { | ||
transform: translate(15px, -2px); | ||
} | ||
} | ||
@keyframes logo-move-wrench-r { | ||
70%, | ||
100% { | ||
0%, | ||
30% { | ||
transform: translate(0px, 0px); | ||
} | ||
80%, | ||
90% { | ||
10%, | ||
20% { | ||
transform: translate(-15px, 2px); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.