132 lines
2.6 KiB
CSS
132 lines
2.6 KiB
CSS
/* General Body & Typography */
|
|
body {
|
|
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
|
|
background-color: #F9FAFB; /* Gray-50 */
|
|
color: #1F2937; /* Gray-800 */
|
|
}
|
|
|
|
/* Gradient Text */
|
|
.gradient-text {
|
|
background: linear-gradient(to right, #6366F1, #EC4899);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
text-fill-color: transparent;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-primary {
|
|
background-color: #6366F1;
|
|
border-color: #6366F1;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 0.5rem;
|
|
font-weight: 600;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #4F46E5; /* Darker Indigo */
|
|
border-color: #4F46E5;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero-section {
|
|
padding: 6rem 0;
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
/* Editor Section */
|
|
.editor-section, .editor-section-locked {
|
|
padding: 4rem 0;
|
|
background-color: #F9FAFB; /* Gray-50 */
|
|
}
|
|
|
|
.editor-section .card, .editor-section-locked .card {
|
|
border: none;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 10px 25px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.editor-section-locked a {
|
|
color: #6366F1;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.editor-section-locked a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
|
|
/* Form Controls */
|
|
.form-control {
|
|
border-radius: 0.5rem;
|
|
border: 1px solid #D1D5DB; /* Gray-300 */
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: #6366F1;
|
|
box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
border-top: 1px solid #E5E7EB; /* Gray-200 */
|
|
}
|
|
|
|
/* Builder Page Styles */
|
|
#sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 100;
|
|
padding: 48px 0 0; /* Height of navbar */
|
|
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
|
|
}
|
|
|
|
#component-list .nav-link {
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
#component-list .nav-link:hover {
|
|
color: #007bff;
|
|
}
|
|
|
|
#canvas {
|
|
width: 100%;
|
|
min-height: 80vh;
|
|
background-color: #fff;
|
|
border: 1px solid #ddd;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.component-wrapper {
|
|
position: relative;
|
|
border: 1px dashed #ccc;
|
|
margin-bottom: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.component-controls {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
display: none;
|
|
z-index: 1030;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
border-radius: 5px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.component-wrapper:hover .component-controls {
|
|
display: block;
|
|
}
|
|
|
|
.component-controls .btn {
|
|
margin-left: 5px;
|
|
}
|