Add frontend.

This commit is contained in:
Florian THIERRY
2024-03-27 10:28:33 +01:00
parent 431d365d20
commit 13c2cc8118
42 changed files with 13496 additions and 0 deletions

View File

@@ -0,0 +1,82 @@
$headerHeight: 3.5em;
:host {
display: flex;
flex-direction: row;
justify-content: space-between;
background-color: #3f51b5;
color: white;
position: relative;
border: 1px solid black;
height: $headerHeight;
div {
border: 1px solid black;
display: flex;
flex-direction: row;
justify-content: center;
height: $headerHeight;
&:nth-child(1) {
position: absolute;
top: 0;
left: 0;
align-items: center;
gap: 1em;
padding: 0 1em;
img {
$imageSize: 2em;
width: $imageSize;
height: $imageSize;
}
.title {
font-size: 1.5em;
}
}
&:nth-child(2) {
flex: 1;
$borderRadiusValue: 10em;
input {
flex: 1;
width: 60%;
max-width: 50em;
border-radius: $borderRadiusValue 0 0 $borderRadiusValue;
background-color: white;
border: solid 1px #ccc;
margin: .5em 0;
padding: .2em .5em;
}
button {
display: flex;
align-items: center;
border-radius: 0 $borderRadiusValue $borderRadiusValue 0;
background-color: white;
border: solid 1px #ccc;
margin: .5em 0;
&:hover {
background-color: #eee;
}
}
}
&:nth-child(3) {
position: absolute;
top: 0;
right: 0;
a {
display: flex;
justify-content: center;
align-items: center;
min-width: 5em;
color: white;
}
}
}
}