782 lines
22 KiB
SCSS
782 lines
22 KiB
SCSS
// EcosystemForm Styles - Clean and Modern Design
|
|
|
|
.ecosystem-section-form-master {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family:
|
|
"NeueMontreal",
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
sans-serif;
|
|
|
|
// Header Section
|
|
.ecosystem-section-form-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0;
|
|
padding: 40px 40px 32px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
|
|
|
|
.ecosystem-section-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
|
|
.ecosystem-section-header-icon {
|
|
width: 50px;
|
|
height: 50px;
|
|
background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 1.5rem;
|
|
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.ecosystem-section-header-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
|
|
h2 {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1.2;
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
font-size: 0.9375rem;
|
|
color: #64748b;
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ecosystem-section-create-btn {
|
|
background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 16px 32px;
|
|
border-radius: 12px;
|
|
font-weight: 600;
|
|
font-size: 0.9375rem;
|
|
cursor: pointer;
|
|
font-family: "Poppins", sans-serif;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Tab Navigation
|
|
.ecosystem-section-tab-navigation {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 40px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
background: #f8fafc;
|
|
|
|
.ecosystem-section-tab-buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
|
|
.ecosystem-section-tab-btn {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #64748b;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
transition: all 0.2s ease;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
|
|
&.ecosystem-section-active {
|
|
background: #e2e8f0;
|
|
color: #1e293b;
|
|
}
|
|
|
|
&:hover:not(.ecosystem-section-active) {
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ecosystem-section-tab-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
|
|
.ecosystem-section-sort-dropdown {
|
|
select {
|
|
padding: 8px 12px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
background: white;
|
|
color: #374151;
|
|
font-size: 0.875rem;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
cursor: pointer;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: #3b82f6;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ecosystem-section-view-toggle {
|
|
display: flex;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
|
|
.ecosystem-section-view-btn {
|
|
padding: 8px 12px;
|
|
border: none;
|
|
background: white;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
|
|
&.ecosystem-section-active {
|
|
background: #e2e8f0;
|
|
color: #1e293b;
|
|
}
|
|
|
|
&:hover:not(.ecosystem-section-active) {
|
|
background: #f8fafc;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Apps Display Section
|
|
.ecosystem-section-display {
|
|
padding: 32px;
|
|
|
|
.ecosystem-section-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
gap: 24px;
|
|
|
|
@media (max-width: 768px) {
|
|
grid-template-columns: 1fr;
|
|
gap: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// App Card Styles
|
|
.ecosystem-section-card {
|
|
background: white;
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
border: 2px solid transparent;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
&:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
border-color: #e2e8f0;
|
|
}
|
|
|
|
&.ecosystem-section-inactive {
|
|
opacity: 0.7;
|
|
border-color: #f6ad55;
|
|
|
|
.ecosystem-section-status {
|
|
color: #991b1b;
|
|
}
|
|
}
|
|
|
|
.ecosystem-section-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 16px;
|
|
|
|
h3 {
|
|
margin: 0;
|
|
font-size: 1.125rem;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
line-height: 1.4;
|
|
letter-spacing: -0.02em;
|
|
font-family: "Poppins", sans-serif;
|
|
flex: 1;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.ecosystem-section-card-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
|
|
button {
|
|
padding: 6px 12px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
|
|
&.ecosystem-section-edit-btn {
|
|
background: #dbeafe;
|
|
color: #1e40af;
|
|
|
|
&:hover {
|
|
background: #bfdbfe;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
&.ecosystem-section-delete-btn {
|
|
background: #fee2e2;
|
|
color: #991b1b;
|
|
|
|
&:hover {
|
|
background: #fecaca;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
&.ecosystem-section-status-btn {
|
|
&.ecosystem-section-activate {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
|
|
&:hover {
|
|
background: #bbf7d0;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
&.ecosystem-section-deactivate {
|
|
background: #fef3c7;
|
|
color: #92400e;
|
|
|
|
&:hover {
|
|
background: #fde68a;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.ecosystem-section-card-content {
|
|
.ecosystem-section-poster-image {
|
|
margin-bottom: 16px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
p {
|
|
margin: 0 0 12px 0;
|
|
font-size: 0.875rem;
|
|
color: #64748b;
|
|
line-height: 1.5;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
|
|
strong {
|
|
color: #374151;
|
|
font-weight: 600;
|
|
}
|
|
|
|
&.ecosystem-section-created-date {
|
|
font-size: 0.75rem;
|
|
color: #94a3b8;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
&.ecosystem-section-status {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
|
|
&.ecosystem-section-active {
|
|
color: #166534;
|
|
}
|
|
|
|
&.ecosystem-section-inactive {
|
|
color: #991b1b;
|
|
}
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Placeholder Content
|
|
.ecosystem-section-placeholder-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 80px 32px;
|
|
text-align: center;
|
|
background: transparent;
|
|
|
|
.ecosystem-section-placeholder-icon {
|
|
width: 120px;
|
|
height: 120px;
|
|
background: #f8fafc;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #94a3b8;
|
|
font-size: 3.5rem;
|
|
margin-bottom: 40px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
h2 {
|
|
margin: 0 0 16px 0;
|
|
font-size: 1.75rem;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
font-family: "Poppins", sans-serif;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
color: #64748b;
|
|
font-size: 1rem;
|
|
font-family: "Poppins", sans-serif;
|
|
line-height: 1.5;
|
|
max-width: 400px;
|
|
}
|
|
}
|
|
|
|
// Modal Form Styles
|
|
.ecosystem-section-form {
|
|
padding: 20px 0;
|
|
|
|
.ecosystem-section-poster-section-title {
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
margin: 24px 0 16px 0;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
|
|
.ecosystem-section-form-group {
|
|
margin-bottom: 24px;
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
color: #374151 !important;
|
|
font-size: 0.875rem;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
}
|
|
|
|
input,
|
|
textarea {
|
|
width: 100% !important;
|
|
padding: 12px !important;
|
|
border: 1px solid #d1d5db !important;
|
|
border-radius: 6px !important;
|
|
font-size: 0.875rem !important;
|
|
transition: all 0.2s ease;
|
|
font-family: "NeueMontreal", sans-serif !important;
|
|
box-sizing: border-box;
|
|
|
|
&:focus {
|
|
outline: none !important;
|
|
border-color: #3b82f6 !important;
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
|
|
}
|
|
|
|
&::placeholder {
|
|
color: #9ca3af !important;
|
|
}
|
|
|
|
&.error {
|
|
border-color: #ef4444 !important;
|
|
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
min-height: 100px !important;
|
|
}
|
|
|
|
.ecosystem-section-file-input {
|
|
cursor: pointer;
|
|
background: white;
|
|
|
|
&::-webkit-file-upload-button {
|
|
background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
margin-right: 12px;
|
|
transition: all 0.2s ease;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
|
|
&:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
|
|
}
|
|
}
|
|
}
|
|
|
|
.ecosystem-section-image-preview {
|
|
margin-top: 12px;
|
|
padding: 12px;
|
|
background: #f8fafc;
|
|
border-radius: 8px;
|
|
border: 2px solid #e2e8f0;
|
|
|
|
img {
|
|
max-width: 100%;
|
|
max-height: 200px;
|
|
border-radius: 6px;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
.error-message {
|
|
display: block;
|
|
color: #ef4444;
|
|
font-size: 0.75rem;
|
|
margin-top: 4px;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.ecosystem-section-form-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: flex-end;
|
|
margin-top: 32px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #e5e7eb;
|
|
|
|
button {
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 0.875rem;
|
|
font-weight: 400;
|
|
letter-spacing: 0.3px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
|
|
&.ecosystem-section-save-btn {
|
|
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
|
|
color: white;
|
|
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
|
|
|
|
&:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
|
|
}
|
|
}
|
|
|
|
&.ecosystem-section-cancel-btn {
|
|
background: #f3f4f6;
|
|
color: #374151;
|
|
border: 1px solid #d1d5db;
|
|
|
|
&:hover {
|
|
background: #e5e7eb;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
&.ecosystem-section-clear-btn {
|
|
background: #fef3c7;
|
|
color: #92400e;
|
|
border: 1px solid #fbbf24;
|
|
|
|
&:hover {
|
|
background: #fde68a;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Global modal overrides for ecosystem section form
|
|
.ant-modal {
|
|
.ecosystem-section-form {
|
|
padding: 20px 0;
|
|
|
|
.ecosystem-section-poster-section-title {
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
margin: 24px 0 16px 0;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
|
|
.ecosystem-section-form-group {
|
|
margin-bottom: 24px;
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
color: #374151 !important;
|
|
font-size: 0.875rem;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
}
|
|
|
|
input,
|
|
textarea {
|
|
width: 100% !important;
|
|
padding: 12px !important;
|
|
border: 1px solid #d1d5db !important;
|
|
border-radius: 6px !important;
|
|
font-size: 0.875rem !important;
|
|
transition: all 0.2s ease;
|
|
font-family: "NeueMontreal", sans-serif !important;
|
|
box-sizing: border-box;
|
|
|
|
&:focus {
|
|
outline: none !important;
|
|
border-color: #3b82f6 !important;
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
|
|
}
|
|
|
|
&::placeholder {
|
|
color: #9ca3af !important;
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
min-height: 100px !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Popconfirm styling for ecosystem section
|
|
.ant-popover.ant-popconfirm {
|
|
.ant-popover-inner {
|
|
border-radius: 12px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
border: 1px solid #e5e7eb;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ant-popover-inner-content {
|
|
padding: 0;
|
|
}
|
|
|
|
.ant-popconfirm-inner-content {
|
|
padding: 20px;
|
|
|
|
.ant-popconfirm-message {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
|
|
.ant-popconfirm-message-icon {
|
|
margin-top: 2px;
|
|
|
|
.anticon {
|
|
color: #f59e0b;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
.ant-popconfirm-message-text {
|
|
flex: 1;
|
|
|
|
.ant-popconfirm-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
margin-bottom: 4px;
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
|
|
.ant-popconfirm-description {
|
|
font-size: 14px;
|
|
color: #64748b;
|
|
line-height: 1.4;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ant-popconfirm-buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
margin-top: 16px;
|
|
|
|
.ant-btn {
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
height: 36px;
|
|
padding: 0 16px;
|
|
font-family: "NeueMontreal", sans-serif;
|
|
transition: all 0.2s ease;
|
|
|
|
&.ant-btn-primary {
|
|
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
|
border: none;
|
|
box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
|
|
|
|
&:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
|
|
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
|
|
}
|
|
|
|
&:focus {
|
|
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
|
|
}
|
|
}
|
|
|
|
&.ant-btn-default {
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
color: #475569;
|
|
|
|
&:hover {
|
|
background: #f1f5f9;
|
|
border-color: #cbd5e1;
|
|
color: #334155;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
&:focus {
|
|
border-color: #3b82f6;
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.ant-popover-arrow {
|
|
&::before {
|
|
background: white;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Responsive Design
|
|
@media (max-width: 768px) {
|
|
.ecosystem-section-form-master {
|
|
.ecosystem-section-display {
|
|
padding: 16px;
|
|
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 24px;
|
|
}
|
|
}
|
|
|
|
.ecosystem-section-card {
|
|
padding: 16px;
|
|
|
|
.ecosystem-section-card-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
|
|
h3 {
|
|
margin-right: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.ecosystem-section-card-actions {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ecosystem-section-placeholder-content {
|
|
margin: 20px 0;
|
|
padding: 60px 16px;
|
|
|
|
.ecosystem-section-placeholder-icon {
|
|
width: 100px;
|
|
height: 100px;
|
|
font-size: 3rem;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
p {
|
|
font-size: 0.875rem;
|
|
max-width: 300px;
|
|
}
|
|
}
|
|
}
|
|
}
|