-
+
{#each filteredStudySpaces() as studySpace (studySpace.id)}
@@ -109,6 +147,94 @@
margin-bottom: 1rem;
}
+ form {
+ display: flex;
+ flex-direction: column;
+ padding: 1.5rem;
+ gap: 0.5rem;
+ max-width: 32rem;
+ margin: 0 auto;
+ }
+
+ .tagDisplay {
+ display: flex;
+ gap: 0.4rem;
+ flex-wrap: wrap;
+ align-items: left;
+ justify-content: left;
+ position: relative;
+ width: 100%;
+ height: auto;
+ padding: 0.5rem;
+ border-radius: 0.5rem;
+ border: 2px solid #eaffeb;
+ background: none;
+ color: #eaffeb;
+ font-size: 1rem;
+ }
+ .tagInput {
+ width: 100%;
+ height: 100%;
+ background: none;
+ color: #eaffeb;
+ font-size: 1rem;
+ border: none;
+ outline: none;
+ }
+ ::placeholder {
+ color: #859a90;
+ opacity: 1;
+ }
+ .tag {
+ display: flex;
+ align-items: center;
+ border-radius: 0.25rem;
+ background-color: #2e4653;
+ color: #eaffeb;
+ font-size: 0.9rem;
+ cursor: pointer;
+ border-width: 0rem;
+ }
+ .tag img {
+ width: 1rem;
+ height: 1rem;
+ margin-left: 0.2rem;
+ }
+
+ .tagDropdown {
+ width: 100%;
+ display: flex;
+ gap: 0.4rem;
+ flex-wrap: wrap;
+ position: absolute;
+ background-color: #2e4653;
+ box-shadow: 1px 1px 0.5rem rgba(0, 0, 0, 0.5);
+ border-radius: 0.5rem;
+ overflow-y: auto;
+ max-height: 10rem;
+ top: 100%;
+ left: 50%;
+ transform: translateX(-50%);
+ }
+
+ .avaliableTag {
+ width: 100%;
+ text-align: left;
+ background: none;
+ border: none;
+ color: #eaffeb;
+ font-size: 0.9rem;
+ margin: 0%;
+ padding: 0 0.8rem 0.4rem;
+ }
+ .avaliableTag:first-child {
+ padding-top: 0.6rem;
+ background-color: hsl(201, 26%, 60%);
+ }
+ .avaliableTag:last-child {
+ padding-bottom: 0.6rem;
+ }
+
@media (max-width: 20rem) {
main {
grid-template-columns: 1fr;