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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--sandkasten{
|
||||||
|
width: 4rem;
|
||||||
|
height: auto;
|
||||||
|
aspect-ratio: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.left_part .menu {
|
.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;
|
||||||
|
gap: 1rem;
|
||||||
|
|
||||||
.left_part .menu a {
|
a {
|
||||||
&.dark-theme {
|
color: $color-black;
|
||||||
color: black !important;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.light-theme {
|
|
||||||
color: white !important;
|
|
||||||
}
|
}
|
||||||
text-decoration: none;
|
|
||||||
padding: .5rem .5rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.left_part .menu a:hover {
|
&__connexion {
|
||||||
&.dark-theme {
|
display: flex;
|
||||||
background-color: black !important;
|
flex-direction: row;
|
||||||
}
|
gap: 2rem;
|
||||||
|
|
||||||
&.light-theme {
|
&--login {
|
||||||
background-color: white !important;
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
color: $color-purple;
|
||||||
}
|
}
|
||||||
transition: background-color .3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.left_part .menu a.active {
|
&--register {
|
||||||
&.dark-theme {
|
cursor: pointer;
|
||||||
background-color: black !important;
|
border: 1px solid $color-black;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: .75rem 2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.light-theme {
|
|
||||||
background-color: white !important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sandkasten-logo {
|
.dark-theme {
|
||||||
width: 4rem;
|
.right_part {
|
||||||
height: auto;
|
&--menu {
|
||||||
aspect-ratio: 1;
|
a {
|
||||||
}
|
color: $color-white;
|
||||||
|
|
||||||
.logo_title {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
font-weight: 500;
|
|
||||||
&.dark-theme {
|
|
||||||
color: black !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.light-theme {
|
|
||||||
color: white !important;
|
|
||||||
}
|
}
|
||||||
}
|
&__connexion {
|
||||||
|
&--register {
|
||||||
.right_part {
|
border-color: $color-white;
|
||||||
display: flex;
|
}
|
||||||
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) {
|
@media (max-width: 1024px) {
|
||||||
.toolbar {
|
|
||||||
gap: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar .left_part {
|
|
||||||
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>
|
||||||
|
Loading…
Reference in new issue