Beaucoup trop de chose

- Ajout création, édition, suppression catégories & liens
- Ajout auth google
- Ajout/modification style pour catégories & liens
- Ajout component générique pour bouton, inputs, checkbox & selector
- Gestion des messages d'erreur/succès/infos via component dédié
- Ajout component FormLayout pour les pages création, édition, suppression catégories & liens
- Page custom 404, 500 & signin
- Modification schéma DB
This commit is contained in:
Sonny
2022-05-06 19:35:12 +02:00
parent 988dc47ecd
commit aee3e6a820
48 changed files with 7164 additions and 1122 deletions

View File

@@ -7,7 +7,7 @@
display: flex;
align-items: center;
flex-direction: column;
overflow-x: none;
overflow: hidden;
& .block-wrapper {
height: auto;
@@ -22,9 +22,15 @@
}
// List items
& .items {
animation: fadein 0.3s both;
}
& .items .item {
position: relative;
user-select: none;
cursor: pointer;
height: fit-content;
width: 100%;
background-color: #fff;
padding: 7px 12px;
border: 1px solid #dadce0;
@@ -36,11 +42,6 @@
margin-bottom: 5px;
}
& .links-count {
color: #bbb;
font-size: 0.85em;
}
&.active {
color: #fff;
background: #3f88c5;
@@ -95,10 +96,72 @@
flex-direction: column;
& .items {
overflow: auto;
padding-right: 5px;
overflow-y: scroll;
& .item {
margin-right: 5px;
display: flex;
align-items: center;
justify-content: space-between;
&.active .menu-item .option-edit svg {
fill: #fff;
}
& .content {
width: 100%;
display: flex;
flex: 1;
align-items: center;
& .name {
margin-right: 5px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
& .links-count {
min-width: fit-content;
font-size: 0.85em;
color: #bbb;
}
}
&:hover .content {
width: calc(100% - 42px);
}
& .menu-item {
height: 100%;
min-width: fit-content;
margin-left: 5px;
display: none;
gap: 2px;
align-items: center;
justify-content: center;
animation: fadein 0.3s both;
& > a {
border: 0;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
&:hover {
transform: scale(1.25);
}
& svg {
height: 20px;
width: 20px;
}
}
}
&:hover .menu-item {
display: flex;
}
}
}
}
@@ -148,3 +211,15 @@
}
}
}
@keyframes fadein {
0% {
transform: translateX(-15px);
opacity: 0;
}
100% {
transform: translateX(0);
opacity: 1;
}
}