139 lines
2.2 KiB
CSS
139 lines
2.2 KiB
CSS
@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 {
|
|
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;
|
|
}
|
|
|
|
.articles-list-tile {
|
|
overflow-y: auto;
|
|
max-width: 300px;
|
|
}
|
|
|
|
input,
|
|
textarea {
|
|
width: 90%;
|
|
padding: 10px;
|
|
margin: 10px 0;
|
|
border: 1px solid #ccc;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
.admin-actions button, .create-article-tile button {
|
|
background-color: #bd3948;
|
|
color: white;
|
|
padding: 12px 20px;
|
|
margin: 10px;
|
|
border: none;
|
|
border-radius: 25px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.admin-actions button:hover, .create-article-tile button:hover {
|
|
background-color: #e3485a;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.articles-list-tile {
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
textarea {
|
|
resize: none;
|
|
min-height: 100px;
|
|
}
|