Removed the Module Library, no longer necessary

This commit is contained in:
Nathan Schneider
2025-05-07 22:21:30 -06:00
parent adf155e954
commit 41aeffa81b
17 changed files with 94 additions and 1323 deletions

View File

@ -74,139 +74,7 @@ nav ul li a:hover {
border-bottom: 1px solid var(--dark-color);
}
/* Modules Page Styles */
.search-filter {
margin-bottom: 2rem;
padding: 1.5rem;
background-color: #f5f5f5;
border: 1px solid var(--border-color);
display: flex;
flex-wrap: wrap;
gap: 1rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
border-radius: 4px;
}
.search-filter input,
.search-filter select {
padding: 0.8rem;
border: 1px solid var(--border-color);
border-radius: 4px;
font-size: 1rem;
transition: all 0.2s ease;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.search-filter input:focus,
.search-filter select:focus {
outline: none;
border-color: #000;
box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}
.search-filter input {
flex-grow: 1;
min-width: 200px;
}
.search-filter select {
min-width: 150px;
background-color: white;
cursor: pointer;
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.3 3.3L6 7.6 1.7 3.3c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4l5 5c.2.2.4.3.7.3s.5-.1.7-.3l5-5c.4-.4.4-1 0-1.4s-1-.4-1.4 0z'/%3E%3C/svg%3E");
background-position: calc(100% - 10px) center;
background-repeat: no-repeat;
padding-right: 30px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.modules-container {
margin-top: 2rem;
}
.module-stage {
margin-bottom: 3rem;
}
.module-stage h2 {
border-bottom: 2px solid var(--primary-color);
padding-bottom: 0.5rem;
margin-bottom: 1.5rem;
font-size: 1.75rem;
}
.module-component {
margin-bottom: 2rem;
padding-left: 1.5rem;
}
.module-component h3 {
color: var(--secondary-color);
margin-bottom: 1rem;
font-size: 1.4rem;
}
.module-card {
border: 1px solid var(--border-color);
margin-bottom: 1.5rem;
border-radius: 4px;
overflow: hidden;
background-color: var(--light-color);
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
transition: box-shadow 0.3s ease;
}
.module-card.expanded {
box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}
.module-header {
padding: 1rem 1.5rem;
background-color: #f5f5f5;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
transition: background-color 0.2s ease;
position: relative;
}
.module-header:hover {
background-color: #e9e9e9;
}
.module-header:after {
content: "▼";
position: absolute;
right: 1rem;
top: 1rem;
font-size: 0.8rem;
color: var(--secondary-color);
transition: transform 0.3s ease;
}
.expanded .module-header:after {
transform: rotate(180deg);
}
.module-header h4 {
margin: 0;
font-size: 1.1rem;
color: var(--primary-color);
flex-grow: 1;
padding-right: 2rem;
}
.module-tags {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-top: 0.8rem;
}
/* Tag styles for components */
.tag {
display: inline-block;
padding: 0.3rem 0.6rem;
@ -234,68 +102,6 @@ nav ul li a:hover {
color: #6600cc;
border: 1px solid rgba(102, 0, 204, 0.2);
}
/* Module Library specific styles */
.modules-container .component-card {
margin-bottom: 1rem;
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.modules-container .component-body {
padding: 1.5rem 2rem;
animation: slideDown 0.3s ease;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.module-meta {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.module-content {
margin: 1.5rem 0;
}
.module-content textarea {
width: 100%;
min-height: 180px;
padding: 1rem;
border: 1px solid var(--border-color);
font-family: inherit;
resize: vertical;
background-color: var(--light-color);
font-size: 1.05rem;
line-height: 1.6;
color: var(--secondary-color);
}
.module-templates {
margin-top: 1.5rem;
padding-top: 1rem;
border-top: 1px solid var(--border-color);
font-size: 0.9rem;
color: var(--accent-color);
}
.module-templates strong {
color: var(--secondary-color);
font-weight: 600;
margin-right: 0.5rem;
}
@ -1150,14 +956,21 @@ input:checked + .toggle-slider:before {
textarea {
width: 100%;
min-height: 250px;
padding: 1rem;
border: 1px solid var(--border-color);
font-family: inherit;
resize: vertical;
resize: none;
background-color: var(--light-color);
font-size: 1.05rem;
line-height: 1.5;
overflow: hidden;
transition: height 0.3s ease;
min-height: 60px;
box-sizing: border-box;
margin-bottom: 0.5rem;
display: block;
word-wrap: break-word;
white-space: pre-wrap;
}
.builder-actions {