frontend updates
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*{
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
@ -6,7 +6,6 @@
|
||||
|
||||
body {
|
||||
font-family: OpenSans;
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
.flex {
|
||||
@ -23,6 +22,31 @@ body {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.f-center {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-wrapper {
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.abs-center {
|
||||
position: absolute;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.tmpsqrt {
|
||||
padding: 5rem 2.5rem;
|
||||
background: red;
|
||||
}
|
@ -9,3 +9,12 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
form {
|
||||
padding: 1rem;
|
||||
}
|
||||
input {
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
input[type="file"] {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
@ -1,3 +1,12 @@
|
||||
.main-wrapper h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.card-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 2rem;
|
||||
}
|
||||
.card {
|
||||
width: 15rem;
|
||||
}
|
||||
|
10
frontend/css/md-add.css
Normal file
10
frontend/css/md-add.css
Normal file
@ -0,0 +1,10 @@
|
||||
.select-box {
|
||||
padding: 4rem;
|
||||
/*border: 5px solid red;*/
|
||||
cursor: pointer;
|
||||
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
||||
}
|
||||
|
||||
#md-add-tree .f-row.f-center{
|
||||
gap: 2rem;
|
||||
}
|
37
frontend/css/modal.css
Normal file
37
frontend/css/modal.css
Normal file
@ -0,0 +1,37 @@
|
||||
.modal {
|
||||
display: none; /* Hidden by default */
|
||||
position: fixed; /* Stay in place */
|
||||
z-index: 1; /* Sit on top */
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%; /* Full width */
|
||||
height: 100%; /* Full height */
|
||||
overflow: auto; /* Enable scroll if needed */
|
||||
background-color: rgb(0,0,0); /* Fallback color */
|
||||
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
||||
}
|
||||
|
||||
/* Modal Content/Box */
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
margin: 15% auto; /* 15% from the top and centered */
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 80%; /* Could be more or less, depending on screen size */
|
||||
|
||||
|
||||
position: relative;
|
||||
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
|
||||
animation-name: animatetop;
|
||||
animation-duration: 0.4s
|
||||
}
|
||||
|
||||
.md-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Add Animation */
|
||||
@keyframes animatetop {
|
||||
from {top: -300px; opacity: 0}
|
||||
to {top: 0; opacity: 1}
|
||||
}
|
@ -1,8 +1,25 @@
|
||||
.nav-wrapper {
|
||||
justify-content: space-between;
|
||||
padding: 1rem 0.5rem;
|
||||
padding: 0.5rem;
|
||||
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.nav-2 {
|
||||
gap: 1rem;
|
||||
}
|
||||
.nav-item {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nav-user img {
|
||||
width: 3rem;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user