814 lines
17 KiB
SCSS
814 lines
17 KiB
SCSS
|
|
// BlogForm Styles - Clean and Modern Design (Flat Structure)
|
||
|
|
|
||
|
|
.blog-form-master {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
font-family:
|
||
|
|
"NeueMontreal",
|
||
|
|
-apple-system,
|
||
|
|
BlinkMacSystemFont,
|
||
|
|
sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
margin-bottom: 0;
|
||
|
|
padding: 16px 16px;
|
||
|
|
border-bottom: 1px solid #e5e7eb;
|
||
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
|
||
|
|
|
||
|
|
@media (max-width: 500px) {
|
||
|
|
padding: 10px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-header-content h2 {
|
||
|
|
font-size: 1.5rem;
|
||
|
|
font-weight: 700;
|
||
|
|
color: #1e293b;
|
||
|
|
letter-spacing: -0.03em;
|
||
|
|
line-height: 1.2;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
margin: 0 0 5px 0;
|
||
|
|
|
||
|
|
@media (max-width: 600px) {
|
||
|
|
font-size: 1.3rem;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-header-content p {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 0.7rem;
|
||
|
|
color: #64748b;
|
||
|
|
font-weight: 400;
|
||
|
|
letter-spacing: -0.01em;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
|
||
|
|
@media (max-width: 600px) {
|
||
|
|
font-size: 0.6rem;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-create-btn {
|
||
|
|
background-color: #5255c8;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 10px 16px;
|
||
|
|
border-radius: 8px;
|
||
|
|
font-weight: 400;
|
||
|
|
font-size: 14px;
|
||
|
|
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;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-create-btn:hover {
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: 0 6px 16px rgba(82, 85, 200, 0.4);
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-layout {
|
||
|
|
display: flex;
|
||
|
|
gap: 30px;
|
||
|
|
padding: 2px;
|
||
|
|
flex: 1;
|
||
|
|
align-items: flex-start;
|
||
|
|
justify-content: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-left {
|
||
|
|
width: 60%;
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-right {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-container {
|
||
|
|
border-radius: 16px;
|
||
|
|
padding: 20px 20px;
|
||
|
|
border: 2px solid transparent;
|
||
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||
|
|
margin-bottom: 20px;
|
||
|
|
border: 1px solid #00000014;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-container:hover {
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
||
|
|
border-color: #e2e8f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-container h3 {
|
||
|
|
margin: 0 0 10px 0;
|
||
|
|
font-size: 1rem;
|
||
|
|
font-weight: 600;
|
||
|
|
color: #1e293b;
|
||
|
|
line-height: 1.4;
|
||
|
|
letter-spacing: -0.02em;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-header {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-header h3 {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 0.8rem;
|
||
|
|
text-decoration: underline;
|
||
|
|
font-weight: 500;
|
||
|
|
cursor: pointer;
|
||
|
|
color: #1e40af;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-header div {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 0.8rem;
|
||
|
|
text-decoration: underline;
|
||
|
|
font-weight: 500;
|
||
|
|
cursor: pointer;
|
||
|
|
color: #bd0a0a;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.add-btn {
|
||
|
|
background: #000000;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 8px 16px;
|
||
|
|
border-radius: 6px;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 500;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s ease;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
text-transform: uppercase;
|
||
|
|
letter-spacing: 0.5px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.add-btn:hover {
|
||
|
|
background: #333333;
|
||
|
|
transform: translateY(-1px);
|
||
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-buttons {
|
||
|
|
display: flex;
|
||
|
|
gap: 12px;
|
||
|
|
margin-top: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.remove-btn {
|
||
|
|
background: #ef4444;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 8px 16px;
|
||
|
|
border-radius: 6px;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 500;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s ease;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
text-transform: uppercase;
|
||
|
|
letter-spacing: 0.5px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.remove-btn:hover {
|
||
|
|
background: #dc2626;
|
||
|
|
transform: translateY(-1px);
|
||
|
|
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-field {
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-field label {
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 4px;
|
||
|
|
font-weight: 500;
|
||
|
|
color: #374151 !important;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
font-family: "NeueMontreal", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-field input,
|
||
|
|
.blog-form-field textarea,
|
||
|
|
.blog-form-field select {
|
||
|
|
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;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-field input:focus,
|
||
|
|
.blog-form-field textarea:focus,
|
||
|
|
.blog-form-field select:focus {
|
||
|
|
outline: none !important;
|
||
|
|
border-color: #3b82f6 !important;
|
||
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-field input::placeholder,
|
||
|
|
.blog-form-field textarea::placeholder {
|
||
|
|
color: #9ca3af !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-field textarea {
|
||
|
|
resize: vertical;
|
||
|
|
min-height: 120px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.detail-section {
|
||
|
|
padding: 20px 0;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
border-radius: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dynamic-inputs {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 20px;
|
||
|
|
|
||
|
|
textarea {
|
||
|
|
height: 4rem;
|
||
|
|
border: 1px solid #d1d5db !important;
|
||
|
|
border-radius: 8px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.input-group {
|
||
|
|
margin-bottom: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.group-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.group-header label {
|
||
|
|
margin: 0;
|
||
|
|
font-weight: 600;
|
||
|
|
color: #374151;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
font-family: "NeueMontreal", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.input-wrapper {
|
||
|
|
display: flex;
|
||
|
|
align-items: flex-start;
|
||
|
|
gap: 10px;
|
||
|
|
margin-bottom: 15px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.input-wrapper input,
|
||
|
|
.input-wrapper textarea {
|
||
|
|
flex: 1;
|
||
|
|
margin-bottom: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.button-group {
|
||
|
|
display: flex;
|
||
|
|
gap: 8px;
|
||
|
|
align-items: flex-start;
|
||
|
|
}
|
||
|
|
|
||
|
|
.button-group .add-btn {
|
||
|
|
background: #5255c8;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 8px 12px;
|
||
|
|
border-radius: 4px;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 500;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s ease;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
min-width: 60px;
|
||
|
|
height: fit-content;
|
||
|
|
}
|
||
|
|
|
||
|
|
.button-group .add-btn:hover {
|
||
|
|
background: #059669;
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.button-group .remove-btn {
|
||
|
|
background: #ef4444;
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 8px 12px;
|
||
|
|
border-radius: 4px;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 500;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s ease;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
min-width: 60px;
|
||
|
|
height: fit-content;
|
||
|
|
}
|
||
|
|
|
||
|
|
.button-group .remove-btn:hover {
|
||
|
|
background: #dc2626;
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.preview-section {
|
||
|
|
background: white;
|
||
|
|
border-radius: 16px;
|
||
|
|
padding: 24px;
|
||
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||
|
|
border: 2px solid transparent;
|
||
|
|
position: sticky;
|
||
|
|
top: 20px;
|
||
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.preview-section:hover {
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
||
|
|
border-color: #e2e8f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.preview-section h3 {
|
||
|
|
margin: 0 0 20px 0;
|
||
|
|
font-size: 1rem;
|
||
|
|
font-weight: 700;
|
||
|
|
color: #1e293b;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.preview-content {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.preview-content p {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: #64748b;
|
||
|
|
line-height: 1.5;
|
||
|
|
font-family: "NeueMontreal", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-actions {
|
||
|
|
display: flex;
|
||
|
|
gap: 12px;
|
||
|
|
justify-content: flex-end;
|
||
|
|
margin-top: 32px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-btn-primary {
|
||
|
|
background: linear-gradient(135deg, #5255c8 0%, #5255c8 100%);
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
padding: 10px 20px;
|
||
|
|
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;
|
||
|
|
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-btn-primary:hover {
|
||
|
|
transform: translateY(-1px);
|
||
|
|
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-btn-secondary {
|
||
|
|
background: #f3f4f6;
|
||
|
|
color: #374151;
|
||
|
|
border: 1px solid #d1d5db;
|
||
|
|
padding: 10px 20px;
|
||
|
|
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;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-btn-secondary:hover {
|
||
|
|
background: #e5e7eb;
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
// Blog Display Section (CTA-style)
|
||
|
|
.blog-display {
|
||
|
|
padding: 32px;
|
||
|
|
|
||
|
|
.blog-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
||
|
|
gap: 24px;
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
gap: 16px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// Blog Card Styles (CTA-style)
|
||
|
|
.blog-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;
|
||
|
|
}
|
||
|
|
|
||
|
|
&.blog-inactive {
|
||
|
|
opacity: 0.7;
|
||
|
|
border-color: #ffffff;
|
||
|
|
|
||
|
|
.blog-status {
|
||
|
|
color: #991b1b;
|
||
|
|
margin-top: 15px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-card-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: flex-start;
|
||
|
|
margin-bottom: 6px;
|
||
|
|
|
||
|
|
h3 {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 1rem;
|
||
|
|
font-weight: 700;
|
||
|
|
color: #1e293b;
|
||
|
|
line-height: 1.4;
|
||
|
|
letter-spacing: -0.02em;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
flex: 1;
|
||
|
|
margin-right: 16px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-card-actions {
|
||
|
|
display: flex;
|
||
|
|
gap: 8px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
margin-top: 10px;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: flex-end;
|
||
|
|
|
||
|
|
button {
|
||
|
|
padding: 2px 6px;
|
||
|
|
border: none;
|
||
|
|
border-radius: 4px;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 400;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s ease;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
letter-spacing: 0.5px;
|
||
|
|
background: none;
|
||
|
|
|
||
|
|
&.blog-edit-btn {
|
||
|
|
color: #000000;
|
||
|
|
}
|
||
|
|
|
||
|
|
&.blog-delete-btn {
|
||
|
|
color: #000000 !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
&.blog-status-btn {
|
||
|
|
&.blog-activate {
|
||
|
|
color: #009238;
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
background: #bbf7d0;
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&.blog-deactivate {
|
||
|
|
color: #cc0000;
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-card-content {
|
||
|
|
p {
|
||
|
|
margin: 0 0 12px 0;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: #64748b;
|
||
|
|
line-height: 1.5;
|
||
|
|
font-family: "NeueMontreal", sans-serif;
|
||
|
|
display: -webkit-box;
|
||
|
|
-webkit-line-clamp: 4;
|
||
|
|
-webkit-box-orient: vertical;
|
||
|
|
overflow: hidden;
|
||
|
|
height: max-content;
|
||
|
|
max-height: 80px;
|
||
|
|
|
||
|
|
strong {
|
||
|
|
color: #374151;
|
||
|
|
font-weight: 600;
|
||
|
|
margin-right: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
&.blog-status {
|
||
|
|
font-size: 11px;
|
||
|
|
font-family: "Poppins";
|
||
|
|
font-weight: 400;
|
||
|
|
letter-spacing: 0.5px;
|
||
|
|
background-color: #166534;
|
||
|
|
width: max-content;
|
||
|
|
padding: 0px 6px;
|
||
|
|
border-radius: 3px;
|
||
|
|
|
||
|
|
&.blog-active {
|
||
|
|
color: #ffffff;
|
||
|
|
margin-top: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
&.blog-inactive {
|
||
|
|
background-color: #c20000;
|
||
|
|
color: #ffffff;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&:last-child {
|
||
|
|
margin-bottom: 0;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// Blog Placeholder Content (CTA-style)
|
||
|
|
.blog-placeholder-content {
|
||
|
|
flex: 1;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
padding: 80px 32px;
|
||
|
|
text-align: center;
|
||
|
|
background: transparent;
|
||
|
|
|
||
|
|
.blog-placeholder-icon {
|
||
|
|
width: 70px;
|
||
|
|
height: 70px;
|
||
|
|
background: #f8fafc;
|
||
|
|
border: 2px solid #e2e8f0;
|
||
|
|
border-radius: 12px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
color: #363a3f;
|
||
|
|
font-size: 2.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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// Blog Filter Styles
|
||
|
|
.blogFilter {
|
||
|
|
display: flex;
|
||
|
|
gap: 16px;
|
||
|
|
align-items: center;
|
||
|
|
padding: 10px 10px;
|
||
|
|
border-bottom: 1px solid #e5e7eb;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
|
||
|
|
.search-container {
|
||
|
|
position: relative;
|
||
|
|
flex: 1;
|
||
|
|
min-width: 250px;
|
||
|
|
|
||
|
|
.search-icon {
|
||
|
|
position: absolute;
|
||
|
|
left: 12px;
|
||
|
|
top: 50%;
|
||
|
|
transform: translateY(-50%);
|
||
|
|
color: #9ca3af;
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.search-input {
|
||
|
|
width: 100%;
|
||
|
|
padding: 10px 12px 10px 40px;
|
||
|
|
border: 1px solid #d1d5db;
|
||
|
|
border-radius: 8px;
|
||
|
|
font-size: 14px;
|
||
|
|
outline: none;
|
||
|
|
transition: border-color 0.2s;
|
||
|
|
font-family: "NeueMontreal", sans-serif;
|
||
|
|
|
||
|
|
&:focus {
|
||
|
|
border-color: #3b82f6;
|
||
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
&::placeholder {
|
||
|
|
color: #9ca3af;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-buttons {
|
||
|
|
display: flex;
|
||
|
|
gap: 8px;
|
||
|
|
align-items: center;
|
||
|
|
|
||
|
|
.filter-label {
|
||
|
|
font-size: 14px;
|
||
|
|
color: #6b7280;
|
||
|
|
font-weight: 500;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-btn {
|
||
|
|
padding: 6px 12px;
|
||
|
|
border: 1px solid #d1d5db;
|
||
|
|
background: white;
|
||
|
|
color: #374151;
|
||
|
|
border-radius: 6px;
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 500;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 6px;
|
||
|
|
font-family: "Poppins", sans-serif;
|
||
|
|
|
||
|
|
&.active {
|
||
|
|
border-color: #3b82f6;
|
||
|
|
background: #5c9aff;
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
transform: translateY(-1px);
|
||
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.count-badge {
|
||
|
|
padding: 2px 6px;
|
||
|
|
border-radius: 10px;
|
||
|
|
font-size: 10px;
|
||
|
|
font-weight: 600;
|
||
|
|
background: #f3f4f6;
|
||
|
|
color: #6b7280;
|
||
|
|
|
||
|
|
&.active {
|
||
|
|
background: rgba(255, 255, 255, 0.2);
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: stretch;
|
||
|
|
gap: 12px;
|
||
|
|
|
||
|
|
.search-container {
|
||
|
|
min-width: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.filter-buttons {
|
||
|
|
justify-content: center;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// Responsive Design
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.blog-form-layout {
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 20px;
|
||
|
|
padding: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-container {
|
||
|
|
padding: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-header {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-display {
|
||
|
|
padding: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-card {
|
||
|
|
padding: 16px;
|
||
|
|
|
||
|
|
.blog-card-header {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
gap: 12px;
|
||
|
|
|
||
|
|
h3 {
|
||
|
|
margin-right: 0;
|
||
|
|
margin-bottom: 0;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-card-actions {
|
||
|
|
width: 100%;
|
||
|
|
justify-content: flex-start;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-placeholder-content {
|
||
|
|
padding: 60px 16px;
|
||
|
|
|
||
|
|
.blog-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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-actions {
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.blog-form-btn-primary,
|
||
|
|
.blog-form-btn-secondary {
|
||
|
|
width: 100%;
|
||
|
|
justify-content: center;
|
||
|
|
}
|
||
|
|
}
|