86 lines
1.3 KiB
CSS
86 lines
1.3 KiB
CSS
.article-editor {
|
|
padding: 2rem;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.editor-header {
|
|
margin-bottom: 2rem;
|
|
border-bottom: 2px solid #333;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.editor-header h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.editor-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.editor-form label {
|
|
font-weight: bold;
|
|
margin-bottom: 0.5rem;
|
|
display: block;
|
|
}
|
|
|
|
.editor-form input[type="text"] {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
font-size: 1rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.editor-form input[type="text"]:focus {
|
|
outline: none;
|
|
border-color: #3498db;
|
|
}
|
|
|
|
/* React Quill editor styling */
|
|
.quill {
|
|
background-color: white;
|
|
}
|
|
|
|
.ql-container {
|
|
min-height: 300px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.ql-editor {
|
|
min-height: 300px;
|
|
}
|
|
|
|
.editor-buttons {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.editor-buttons button {
|
|
padding: 0.75rem 2rem;
|
|
font-size: 1rem;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.editor-buttons button:first-child {
|
|
background-color: #27ae60;
|
|
color: white;
|
|
}
|
|
|
|
.editor-buttons button:first-child:hover {
|
|
background-color: #229954;
|
|
}
|
|
|
|
.editor-buttons button:last-child {
|
|
background-color: #95a5a6;
|
|
color: white;
|
|
}
|
|
|
|
.editor-buttons button:last-child:hover {
|
|
background-color: #7f8c8d;
|
|
} |