@keyframes fadeIn { 0% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } } #admin-bg { animation: fadeIn 1s ease-out; background: #39354a; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -100; overflow-y: auto; } .height-container { display: flex; justify-content: space-between; align-items: center; min-height: 100vh; width: 100vw; overflow-y: auto; } .center-section, .left-section, .right-section { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 33.33%; padding: 30px; height: auto; box-sizing: border-box; } .admin-dashboard-tile, .create-article-tile, .articles-list-tile, .delete-article-tile, .edit-article-tile { background: #fff; border-radius: 25px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); padding: 20px; text-align: center; max-width: 400px; width: 100%; } .admin-dashboard-tile, .create-article-tile { margin-bottom: 30px; display: flex; flex-direction: column; justify-content: space-between; } .edit-article-tile { display: flex; flex-direction: column; max-width: 400px; margin-bottom: 30px; } #editId, #editTitle { flex-direction: row; } #editId { max-width: 80px; } #editTitle { margin-left: 30px; max-width: 230px; } .delete-article-tile { margin-bottom: 30px; max-width: 300px; } .delete-article-tile input, #editUserId, #deleteUserId { max-width: 80px; margin-right: 20px; margin-left: 20px; } .articles-list-tile { margin-top: 30px; overflow-y: auto; max-width: 300px; } input, textarea { width: 90%; padding: 10px; margin: 10px 0; border: 1px solid #ccc; border-radius: 25px; } button { background-color: #bd3948; color: white; padding: 12px 20px; margin: 10px; border: none; border-radius: 25px; cursor: pointer; } button:hover:enabled { background-color: #e3485a; } button:disabled { background-color: #ccc; cursor: not-allowed; } .admin-actions button.logout { background-color: #713252; color: white; padding: 12px 20px; margin: 10px; border: none; border-radius: 25px; cursor: pointer; } .admin-actions button.logout:hover { background-color: #592840; } button.toggle-button { background-color: transparent; padding: 0; color: #007bff; margin: 10px; border: none; border-radius: 25px; cursor: pointer; transform: translateY(+5px); z-index: 10; } button.toggle-button i { font-size: 27px; } button.toggle-button:hover:active, button.toggle-button:hover { background-color: transparent; color: #0056b3; } .articles-list-tile ul { list-style-type: none; padding: 0; overflow-y: auto; max-height: 100%; } .articles-list-tile li { border: 1px solid #ccc; padding: 10px; margin-bottom: 10px; border-radius: 25px; cursor: pointer; } .articles-list-tile li:last-child { margin-bottom: 0; } .articles-list-tile h2 { margin-bottom: 30px; transform: translateX( +15px); z-index: 10; } .articles-list-tile { padding-bottom: 5px; } textarea { resize: none; min-height: 100px; }