parent
d21d0bf64d
commit
d51cb3957f
@ -1,122 +1,91 @@
|
|||||||
.toolbar {
|
@import '../../../styles';
|
||||||
&.dark-theme {
|
|
||||||
background-color: black !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.light-theme {
|
.header {
|
||||||
background-color: white !important;
|
|
||||||
}
|
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 4rem;
|
gap: 4rem;
|
||||||
}
|
|
||||||
|
|
||||||
.left_part {
|
.left_part {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 4rem;
|
gap: 4rem;
|
||||||
}
|
|
||||||
|
|
||||||
.left_part .logo_container {
|
&__logo {
|
||||||
|
&--container{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.left_part .menu {
|
&--sandkasten{
|
||||||
|
width: 4rem;
|
||||||
|
height: auto;
|
||||||
|
aspect-ratio: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.right_part {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
|
|
||||||
align-items: flex-end;
|
&--menu {
|
||||||
}
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
.left_part .menu a {
|
gap: 1rem;
|
||||||
&.dark-theme {
|
|
||||||
color: black !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.light-theme {
|
a {
|
||||||
color: white !important;
|
color: $color-black;
|
||||||
}
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: .5rem .5rem 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.left_part .menu a:hover {
|
|
||||||
&.dark-theme {
|
|
||||||
background-color: black !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.light-theme {
|
&__connexion {
|
||||||
background-color: white !important;
|
display: flex;
|
||||||
}
|
flex-direction: row;
|
||||||
transition: background-color .3s ease;
|
gap: 2rem;
|
||||||
}
|
|
||||||
|
|
||||||
.left_part .menu a.active {
|
&--login {
|
||||||
&.dark-theme {
|
cursor: pointer;
|
||||||
background-color: black !important;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
color: $color-purple;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.light-theme {
|
&--register {
|
||||||
background-color: white !important;
|
cursor: pointer;
|
||||||
|
border: 1px solid $color-black;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: .75rem 2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sandkasten-logo {
|
|
||||||
width: 4rem;
|
|
||||||
height: auto;
|
|
||||||
aspect-ratio: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo_title {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
font-weight: 500;
|
|
||||||
&.dark-theme {
|
|
||||||
color: black !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.light-theme {
|
.dark-theme {
|
||||||
color: white !important;
|
.right_part {
|
||||||
|
&--menu {
|
||||||
|
a {
|
||||||
|
color: $color-white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&__connexion {
|
||||||
.right_part {
|
&--register {
|
||||||
display: flex;
|
border-color: $color-white;
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
|
||||||
gap: 2rem;
|
|
||||||
&.dark-theme {
|
|
||||||
color: black !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.light-theme {
|
|
||||||
color: white !important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gitea_logo_container .gitea-logo {
|
|
||||||
width: 4rem;
|
|
||||||
height: auto;
|
|
||||||
aspect-ratio: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1024px) {
|
|
||||||
.toolbar {
|
|
||||||
gap: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar .left_part {
|
@media (max-width: 1024px) {
|
||||||
gap: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar .left_part .logo_container .logo_title {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
<div class="landing-block">
|
<div class="landing-page">
|
||||||
<div class="hero-container">
|
<div class="landing-page--container">
|
||||||
<h2 class="hero-title">{{ 'LandingPage.Welcome' | translate}}</h2>
|
<h2 class="landing-page--title">{{ 'LandingPage.Welcome' | translate}}</h2>
|
||||||
<span class="hero-text">{{ 'LandingPage.Description' | translate}}</span>
|
<span class="landing-page--subtitle">{{ 'LandingPage.Description' | translate}}</span>
|
||||||
</div>
|
<div class="landing-page__button">
|
||||||
<div class="landing-links">
|
<a class="landing-page__button--link" (click)="onContinue()">{{ 'LandingPage.Try' | translate}}</a>
|
||||||
<div class="button-container">
|
|
||||||
<a class="animated-button" (click)="onContinue()">{{ 'LandingPage.Try' | translate}}</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,59 +1,37 @@
|
|||||||
.landing-block {
|
@import '../../../styles';
|
||||||
|
|
||||||
|
.landing-page {
|
||||||
padding: 6rem;
|
padding: 6rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
}
|
|
||||||
|
|
||||||
/* Upper block*/
|
color: $color-black;
|
||||||
.hero-container {
|
|
||||||
|
&--container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2.5rem;
|
gap: 1rem;
|
||||||
padding: 2rem 1rem;
|
|
||||||
background: #686AB7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.landing-links {
|
&--title {
|
||||||
width: 100%;
|
font-size: 5rem;
|
||||||
text-align: center;
|
font-weight: 700;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
button{
|
&--subtitle {
|
||||||
font-size: 20px;
|
font-size: 1rem;
|
||||||
|
font-weight: 400;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Animated Button*/
|
&__button {
|
||||||
.landing-links {
|
padding: .75rem 2rem;
|
||||||
|
background: $color-purple;
|
||||||
|
border-radius: 10px;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
padding: 1rem;
|
|
||||||
height: fit-content;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-container {
|
color: $color-white;
|
||||||
position: relative;
|
|
||||||
margin: auto;
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: -1rem;
|
|
||||||
border-radius: 100px;
|
|
||||||
width: 2rem;
|
|
||||||
height: 2rem;
|
|
||||||
transform: translate(0%, -25%);
|
|
||||||
background: rgba(0, 0, 255, 0.5);
|
|
||||||
transition: width 0.3s ease;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.landing-links:hover .button-container:before {
|
|
||||||
width: calc(100% + 2rem);
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-container .animated-button {
|
|
||||||
position: relative;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
}
|
Loading…
Reference in new issue