250 lines
3.9 KiB
CSS
250 lines
3.9 KiB
CSS
/* Navbar styles */
|
|
.logo{
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.flex{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.nav-bar{
|
|
padding: 3px 10px 0px 20px;
|
|
}
|
|
.nav-bar a{
|
|
color: #fff;
|
|
cursor: pointer;
|
|
}
|
|
.nav-bar .hm{
|
|
font-size: 20px;
|
|
}
|
|
#m-bar{
|
|
display: none;
|
|
font-size: 20px;
|
|
}
|
|
#menu-links ul{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
#menu-links ul li{
|
|
display: inline-block;
|
|
margin: 0 35px;
|
|
list-style-type: none;
|
|
}
|
|
#menu-links a{
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
text-transform: uppercase;
|
|
}
|
|
.nav-btn{
|
|
padding: 3px 15px;
|
|
background-color: #868686;
|
|
text-decoration: none;
|
|
color: black;
|
|
border-radius: 35px;
|
|
}
|
|
.nav-btn:hover{
|
|
background-color: #6791e0 !important;
|
|
}
|
|
.active{
|
|
color: #2d6cdf !important;
|
|
}
|
|
#menu-links a:hover{
|
|
color: #6dabf1 !important;
|
|
}
|
|
@media only screen and (max-width: 1105px){
|
|
#btn{
|
|
display: none;
|
|
}
|
|
.hidden-title{
|
|
display: none !important;
|
|
}
|
|
.inputHolder {
|
|
width: -webkit-fill-available !important;
|
|
|
|
}
|
|
.btn-remove {
|
|
right: 15px;
|
|
|
|
}
|
|
}
|
|
@media only screen and (max-width: 750px){
|
|
.nav-bar{
|
|
display: block;
|
|
text-align: center;
|
|
background-color: rgba(0, 0, 0, .4);
|
|
}
|
|
#menu-links ul li{
|
|
display: block;
|
|
margin: 25px 0;
|
|
}
|
|
#btn{
|
|
display: block;
|
|
}
|
|
#m-bar{
|
|
display: block;
|
|
}
|
|
.hidden{
|
|
display: none !important;
|
|
}
|
|
.not-hidden{
|
|
display: block !important;
|
|
}
|
|
.hidden-title{
|
|
display: block !important;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
.bg-tarakan{
|
|
display: none;
|
|
position: absolute;
|
|
max-width: 1140px;
|
|
width: -webkit-fill-available;
|
|
}
|
|
.show-tarakan{
|
|
display: block;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* toast notification */
|
|
|
|
|
|
.toast {
|
|
position: absolute;
|
|
top: 25px;
|
|
right: 30px;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
padding: 20px 35px 20px 25px;
|
|
box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
transform: translateX(calc(100% + 30px));
|
|
transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
|
|
}
|
|
|
|
.toast-up{
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
margin-left: auto !important;
|
|
margin-right: auto !important;
|
|
width: fit-content !important;
|
|
transform: translateY(-180px) !important;
|
|
}
|
|
|
|
.toast.active {
|
|
transform: translateX(0%);
|
|
transform: translateY(0%) !important;
|
|
}
|
|
|
|
|
|
|
|
.toast .toast-content {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.toast-content .check {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
/* height: 31px; */
|
|
/* width: 30px; */
|
|
/* min-width: 35px; */
|
|
/* background-color: red; */
|
|
color: #fff;
|
|
font-size: 20px;
|
|
border-radius: 50%;
|
|
/* border-color: red; */
|
|
border-style: solid;
|
|
border-width: thick;
|
|
}
|
|
|
|
.toast-content .message {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0 20px;
|
|
}
|
|
|
|
.message .text {
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
color: #666666;
|
|
}
|
|
|
|
.message .text.text-1 {
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.toast .close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 15px;
|
|
padding: 5px;
|
|
cursor: pointer;
|
|
opacity: 0.7;
|
|
/* color: red; */
|
|
/* border-color: red; */
|
|
}
|
|
|
|
.toast .close:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.toast .progress {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 3px;
|
|
width: 100%;
|
|
/* background-color: red; */
|
|
}
|
|
|
|
.toast .progress:before {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
/* background-color: red; */
|
|
}
|
|
|
|
.bgRed{
|
|
background-color: red;
|
|
border-color: red;
|
|
}
|
|
.bgGreen{
|
|
background-color: green;
|
|
border-color: green;
|
|
}
|
|
.txtRed{
|
|
color: red;
|
|
}
|
|
.txtGreen{
|
|
color: green;
|
|
}
|
|
|
|
.progress.active:before {
|
|
animation: progress 5s linear forwards;
|
|
}
|
|
|
|
@keyframes progress {
|
|
100% {
|
|
right: 100%;
|
|
}
|
|
}
|
|
|
|
|
|
.toast.active ~ button {
|
|
pointer-events: none;
|
|
}
|
|
|