Skip to content
Permalink
a588e68863
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
163 lines (125 sloc) 2.59 KB
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
:root{
--green:#27ae60;
--black:#333;
--white:#fff;
--bg-color:#eee;
--box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
--border:.1rem solid var(--black);
}
*{
font-family: 'Poppins', sans-serif;
margin:0; padding:0;
box-sizing: border-box;
outline: none; border:none;
text-decoration: none;
text-transform: capitalize;
}
html{
font-size: 62.5%;
overflow-x: hidden;
}
.btn{
display: block;
width: 100%;
cursor: pointer;
border-radius: .5rem;
margin-top: 1rem;
font-size: 1.7rem;
padding:1rem 3rem;
background: var(--green);
color:var(--white);
text-align: center;
}
.btn:hover{
background: var(--black);
}
.message{
display: block;
background: var(--bg-color);
padding:1.5rem 1rem;
font-size: 2rem;
color:var(--black);
margin-bottom: 2rem;
text-align: center;
}
.container{
max-width: 1200px;
padding:2rem;
margin:0 auto;
}
.admin-product-form-container.centered{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.admin-product-form-container form{
max-width: 50rem;
margin:0 auto;
padding:2rem;
border-radius: .5rem;
background: var(--bg-color);
}
.admin-product-form-container form h3{
text-transform: uppercase;
color:var(--black);
margin-bottom: 1rem;
text-align: center;
font-size: 2.5rem;
}
.admin-product-form-container form .box{
width: 100%;
border-radius: .5rem;
padding:1.2rem 1.5rem;
font-size: 1.7rem;
margin:1rem 0;
background: var(--white);
text-transform: none;
}
.product-display{
margin:2rem 0;
}
.product-display .product-display-table{
width: 100%;
text-align: center;
}
.product-display .product-display-table thead{
background: var(--bg-color);
}
.product-display .product-display-table th{
padding:1rem;
font-size: 2rem;
}
.product-display .product-display-table td{
padding:1rem;
font-size: 2rem;
border-bottom: var(--border);
}
.product-display .product-display-table .btn:first-child{
margin-top: 0;
}
.product-display .product-display-table .btn:last-child{
background: crimson;
}
.product-display .product-display-table .btn:last-child:hover{
background: var(--black);
}
@media (max-width:991px){
html{
font-size: 55%;
}
}
@media (max-width:768px){
.product-display{
overflow-y:scroll;
}
.product-display .product-display-table{
width: 80rem;
}
}
@media (max-width:450px){
html{
font-size: 50%;
}
}