Worked on the add button + backend

This commit is contained in:
Daniel
2022-04-22 16:43:22 +04:30
parent f39baae69b
commit 9e72a0a2a7
11 changed files with 4093 additions and 65 deletions
+42
View File
@@ -0,0 +1,42 @@
.App {
min-height: 96vh;
padding: 2vh;
background-color: #1f2c38;
color: white;
}
.head {
display: flex;
}
.search {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
font-size: 1.5rem;
padding-left: 10px;
width: 40%;
}
.search-btn {
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
color: #1f2c38b6;
}
.settings-btn {
border-radius: 10px;
color: #1f2c38b6;
}
.add-btn {
border-radius: 10px;
color: #1f2c38b6;
margin-left: auto;
margin-right: 10px;
}
textarea:focus, input:focus{
outline: none;
}
.material-icons-outlined.md-36 { font-size: 36px; }
+29
View File
@@ -0,0 +1,29 @@
.table {
width: 100%;
text-align: left;
padding-top: 20px;
}
.table td {
font-size: 1.3rem;
padding: 5px;
}
.table th {
font-size: 1.6rem;
padding: 5px;
}
.table tbody tr:nth-of-type(2n-1) {
background-color:#273949;
}
.table a {
text-decoration: none;
color: rgb(194, 193, 193);
font-size: 1rem;
}
.table a:hover {
text-decoration: underline;
}
+56
View File
@@ -0,0 +1,56 @@
.overlay {
position: absolute;
top: 0;
left: 0;
background-color: rgba(49, 64, 73, 0.781);
width: 100vw;
height: 100vh;
}
.box {
box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px; position: absolute;
top: 20%;
left: 20%;
background-color: #1b2e3f;
width: 60%;
height: 60%;
border-radius: 10px;
overflow-x: hidden;
overflow-y: auto;
}
.box h2 {
margin-top: -1px;
text-align: center;
}
.modal-content {
padding: 20px;
}
.modal-input {
border-radius: 10px;
padding: 10px;
font-size: 1.3rem;
width: 100%;
}
.upload-btn {
padding: 5px;
border-radius: 10px;
color: #1f2c38b6;
margin-top: 60px;
display: block;
margin-left: auto;
margin-right: auto;
}
.cancel-btn {
padding: 5px;
border-radius: 10px;
color: #1f2c38b6;
margin-top: 25px;
display: block;
margin-left: auto;
margin-right: auto;
}
+8
View File
@@ -0,0 +1,8 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}