Refactor MainModal and Tab components to integrate Library and Discover tabs

This commit is contained in:
alexsparkes
2025-10-29 22:56:23 +00:00
parent ac3924aaf7
commit e83afbda2c
37 changed files with 199 additions and 126 deletions

View File

@@ -13,14 +13,6 @@
height: 80vh;
min-width: 250px;
.mainTitle {
text-align: center;
font-size: 35px;
display: flex;
justify-content: center;
padding: 25px;
}
svg {
margin-left: 20px;
margin-right: 20px;

View File

@@ -0,0 +1,53 @@
@use 'scss/variables' as *;
.modalTopBar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1.5rem 1.5rem;
// width: 100%;
.topBarLeft {
display: flex;
align-items: center;
flex-shrink: 0;
.topBarLogo {
height: 32px;
width: auto;
}
}
.topBarRight {
display: flex;
align-items: center;
gap: 0.75rem;
flex-shrink: 0;
.topBarNavigation {
display: flex;
flex-flow: row;
gap: 0.5rem;
}
.closeModal {
display: grid;
place-items: center;
padding: 0.4em;
border-radius: 12px;
cursor: pointer;
transition: 0.5s;
flex-shrink: 0;
svg {
font-size: 1.5em;
}
&:hover {
@include themed {
background: t($modal-sidebarActive);
}
}
}
}
}