379 lines
7.2 KiB
CSS
379 lines
7.2 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
|
|
:root{
|
|
--bg-primary: #E8EBED;
|
|
--font-color: rgba(0, 0, 0, 0.77);
|
|
}
|
|
*,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: "Inter", sans-serif;
|
|
font-size: 18px;
|
|
line-height: 1.7;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body{
|
|
background-color: var(--bg-primary)!important;
|
|
}
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
.btn{
|
|
font-size: .8em!important;
|
|
padding: 8px 20px!important;
|
|
border-radius: 50px;
|
|
}
|
|
.btn{
|
|
font-size: .8em!important;
|
|
}
|
|
.btn.btn-tambah{
|
|
background-color: #2a2a2a;
|
|
padding: 0px!important;
|
|
width: 33px;
|
|
height: 33px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #fff;
|
|
border-radius: 50px;
|
|
transition: .3s ease-in-out;
|
|
|
|
}
|
|
.btn.btn-tambah.back{
|
|
background-color: #c5c5c5 !important;
|
|
}
|
|
.btn.btn-tambah.back:hover{
|
|
background-color: #707070 !important;
|
|
}
|
|
.btn.btn-tambah:hover{
|
|
background-color: #000;
|
|
color: #fff;
|
|
}
|
|
.action .btn{
|
|
|
|
border: 1.8px solid transparent;
|
|
padding: 0!important;
|
|
width: 30px;
|
|
height: 30px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #565656 !important;
|
|
/*background-color: transparent;*/
|
|
/*border: none;*/
|
|
transition: .2s ease-in-out;
|
|
}
|
|
.action .btn:hover{
|
|
border-color: rgba(0, 0, 0, 0.34);
|
|
background-color: #fff!important;
|
|
color: #000!important;
|
|
}
|
|
/*.action .btn.btn-danger{*/
|
|
/* border-color: #f7b5b5da!important;*/
|
|
/* background-color: #f8d9d9d7!important;*/
|
|
/* color: #f7b5b5da!important;*/
|
|
/*}*/
|
|
/*.action .btn.btn-warning{*/
|
|
/* border-color: #f5d992 !important;*/
|
|
/* background-color: rgba(238, 223, 186, 0.9) !important;*/
|
|
/* color: #f5d992 !important;*/
|
|
/*}*/
|
|
.action .btn i{
|
|
font-size: 1em;
|
|
height: fit-content;
|
|
width: fit-content;
|
|
}
|
|
input:focus, textarea:focus{
|
|
box-shadow: none;
|
|
}
|
|
input:focus, select:focus, input:checked{
|
|
box-shadow: none!important;
|
|
}
|
|
|
|
h1.title{
|
|
font-size: 1.7em;
|
|
}
|
|
|
|
header {
|
|
z-index: 2;
|
|
/* position: fixed; */
|
|
max-width: 90vw;
|
|
margin: 0 auto;
|
|
padding-inline: 20px;
|
|
/* border-bottom: .1px solid var(--font-color); */
|
|
}
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
height: 80px;
|
|
align-items: center;
|
|
backdrop-filter: blur(5px);
|
|
-webkit-backdrop-filter: blur(5px);
|
|
}
|
|
nav .logo a {
|
|
margin: 0;
|
|
text-decoration: none;
|
|
transition: 0.3s;
|
|
text-align: center;
|
|
}
|
|
nav .logo a img {
|
|
width: 130px;
|
|
height: auto;
|
|
object-fit: cover;
|
|
}
|
|
nav ul {
|
|
display: flex;
|
|
list-style: none;
|
|
justify-content: space-between;
|
|
margin: 0;
|
|
align-items: center;
|
|
padding-left: 0;
|
|
gap: 30px;
|
|
}
|
|
nav ul li {
|
|
list-style: none;
|
|
}
|
|
nav ul li a {
|
|
text-decoration: none;
|
|
color: var(--font-color);
|
|
font-weight: 400;
|
|
font-size: .8rem;
|
|
padding-block: 5px;
|
|
transition: .3s ease-in-out;
|
|
}
|
|
nav ul li a::after{
|
|
content: '';
|
|
display: block;
|
|
width: 0;
|
|
height: 2px;
|
|
background: var(--font-color);
|
|
transition: width .3s;
|
|
border-radius: 50px;
|
|
}
|
|
nav ul li a:hover::after,
|
|
nav ul li a.active::after
|
|
{
|
|
width: 100%;
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
height: 17px;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
}
|
|
.menu-toggle input {
|
|
position: absolute;
|
|
width: 41px;
|
|
height: 31px;
|
|
opacity: 0;
|
|
left: -7px;
|
|
top: -4px;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
.menu-toggle span {
|
|
display: block;
|
|
width: 28px;
|
|
height: 3px;
|
|
background-color: var(--font-color);
|
|
border-radius: 3px;
|
|
transition: all 0.5s;
|
|
}
|
|
.menu-toggle span:nth-child(2) {
|
|
transform-origin: 0 0;
|
|
}
|
|
.menu-toggle span:nth-child(4) {
|
|
transform-origin: 0 100%;
|
|
}
|
|
.menu-toggle input:checked ~ span:nth-child(2) {
|
|
background-color: var(--font-color);
|
|
transform: rotate(45deg) translate(-3px, -1px);
|
|
}
|
|
.menu-toggle input:checked ~ span:nth-child(4) {
|
|
background-color: var(--font-color);
|
|
transform: rotate(-45deg) translate(-3px, -0.5px);
|
|
}
|
|
.menu-toggle input:checked ~ span:nth-child(3) {
|
|
opacity: 0;
|
|
transform: scale(0);
|
|
}
|
|
|
|
nav .profile{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
nav .profile img{
|
|
border: 2px solid var(--font-color);
|
|
width: 35px;
|
|
height: 35px;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
border-radius: 50px;
|
|
}
|
|
|
|
nav .profile span{
|
|
font-size: 16px;
|
|
color: var(--font-color);
|
|
}
|
|
|
|
nav .profile.mobile{
|
|
display: none;
|
|
}
|
|
.container-fluid{
|
|
max-width: 90vw;
|
|
min-height: 85dvh;
|
|
}
|
|
#content .container-fluid{
|
|
}
|
|
#content .container-fluid .box{
|
|
background-color: #fff;
|
|
margin-top: 20px;
|
|
padding: 20px;
|
|
border-radius: 20px;
|
|
box-shadow: rgba(149, 157, 165, 0.082) 0px 8px 24px;
|
|
}
|
|
#content table th{
|
|
font-weight: 400;
|
|
}
|
|
|
|
#content table td{
|
|
font-weight: 300;
|
|
}
|
|
#content table th,
|
|
#content table td{
|
|
font-size: 15px;
|
|
}
|
|
|
|
label{
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
}
|
|
input::placeholder, #register select{
|
|
font-weight: 300!important;
|
|
font-size: 16px;
|
|
}
|
|
.invalid-feedback{
|
|
font-size: 14px!important;
|
|
}
|
|
.form-control,
|
|
.form-select,
|
|
.input-group-text{
|
|
font-size: .8em!important;
|
|
font-weight: 300;
|
|
}
|
|
button i{
|
|
font-size: .8em;
|
|
}
|
|
.modal-backdrop{
|
|
--bs-backdrop-opacity: 0.1!important;
|
|
}
|
|
.modal{
|
|
--bs-modal-border-color: none!important;
|
|
}
|
|
|
|
footer{
|
|
padding-block: 15px;
|
|
text-align: center;
|
|
}
|
|
footer p{
|
|
margin: 0;
|
|
font-size: .8em;
|
|
font-weight: 300;
|
|
}
|
|
|
|
@media screen and (min-width: 720px){
|
|
#editPeserta .modal-dialog,
|
|
#addModal .modal-dialog,
|
|
#editModal .modal-dialog
|
|
{
|
|
max-width: 700px!important;
|
|
}
|
|
}
|
|
|
|
/* responsive tablet */
|
|
@media screen and (max-width: 820px){
|
|
#content .container-fluid .box{
|
|
padding: 20px;
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: flex;
|
|
}
|
|
|
|
header {
|
|
padding: 0;
|
|
max-width: 90vw;
|
|
}
|
|
header nav {
|
|
flex-wrap: wrap;
|
|
height: fit-content;
|
|
padding: 10px;
|
|
transition: all 0.3s;
|
|
}
|
|
nav .logo a img{
|
|
width: 90px;
|
|
}
|
|
nav ul {
|
|
padding-left: 0;
|
|
width: 100%;
|
|
flex-direction: column;
|
|
justify-content: start;
|
|
transition: none;
|
|
z-index: -4;
|
|
opacity: 0;
|
|
height: 0;
|
|
align-items: center;
|
|
gap: 10px;
|
|
transition: all 0.3s;
|
|
/* overflow: hidden; */
|
|
}
|
|
nav ul li a {
|
|
color: #000;
|
|
}
|
|
nav ul li a:hover,
|
|
nav ul li a.active {
|
|
border-bottom: 1.6px solid var(--bg-primary);
|
|
}
|
|
nav ul.slide {
|
|
opacity: 1;
|
|
height: auto;
|
|
transition: all 0.1s;
|
|
padding-block: 20px;
|
|
background-color: #fff;
|
|
border-radius: 20px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
main{
|
|
z-index: 2!important;
|
|
}
|
|
nav ul li {
|
|
margin-right: 0;
|
|
}
|
|
nav .profile.mobile{
|
|
display: flex;
|
|
margin-bottom: 10px;
|
|
width: 40%;
|
|
border-radius: 8px;
|
|
padding-block: 5px;
|
|
}
|
|
nav .profile{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.hidden-sm{
|
|
display: none;
|
|
}
|
|
|
|
.container-fluid{
|
|
max-width: 95vw;
|
|
}
|
|
}
|