You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

254 lines
4.5 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-thumb {
background: #7b88948b;
}
::-webkit-scrollbar-track {
background: #5a5a5a00;
}
/* Website's font */
@font-face {
font-family: 'Poppins';
src: url('../dist/fonts/Poppins-Regular.ttf');
}
@font-face {
font-family: 'Poppins ExtraBold';
src: url('../dist/fonts/Poppins-ExtraBold.ttf');
}
@font-face {
font-family: 'Poppins Bold';
src: url('../dist/fonts/Poppins-Bold.ttf');
}
/* TO SHOW AND HIDE MESSAGES SMOOTHLY */
/* Show the message with a fade-in animation */
.show-message {
opacity: 1;
transform: translateY(0);
transition: opacity 0.3s, transform 0.3s;
}
/* Hide the message with a fade-out animation */
.hide-message {
opacity: 0;
transform: translateY(-100%);
transition: opacity 0.5s, transform 0.5s;
}
/* FOR THE IFRAME TO TAKE 95% OF WIDTH ON SMALL SCREEN SIZES */
@media screen and (max-width: 798px) {
#popupModalFrame {
width: 100% !important;
}
}
/* GIVE THIS CLASS TO THE SELECTED EPIC IN PROJECT DETAILS PAGE */
.selectedEpic {
color: white !important;
font-weight: bold !important;
}
/* TO ANIMATE THE BURGER MENU IN THE FIXED HEADER */
/* Default state */
.burgerMenuLine {
width: 25px;
height: 2px;
}
/* Expanded state */
.burgerMenuLine.expanded {
width: 2px;
height: 25px;
}
/* SIDE BAR */
/* TO HIDE THE DESKTOP SIDE BAR AND HEADER ON SMALL SCREEN SIZES */
@media (max-width: 1200px) {
#scrollPart {
margin-left: 0;
width: 100%;
}
.fixedSideHeader, .topHeader {
display: none !important;
}
.mobileFooter {
display: block !important;
}
}
@media (min-width: 1200px) {
.mobileTopHeader, .mobileFixedSideHeader {
display: none !important;
}
.mobileFooter {
display: none !important;
}
}
/* TO ANIMATE THE USER ACTIVITY FIXED BUTTON */
@keyframes zoomInOut {
0%,
100% {
transform: scale(1);
opacity: 0.5;
}
50% {
transform: scale(1.2);
opacity: 1;
}
}
.usersActivityIcon {
animation: zoomInOut 1.5s infinite;
}
/* DRAGGABLE SLIDER */
.swiper-container {
width: 100%;
height: 100%;
overflow: hidden !important;
position: relative;
}
.swiper-slide {
width: 33% !important;
margin-right: 20px;
}
.swiper-slide:last-child {
margin-right: 0 !important;
}
.swiper-wrapper::-webkit-scrollbar {
width: 0;
background: transparent;
}
/* Hide the scrollbar thumb when not scrolling */
.swiper-wrapper::-webkit-scrollbar-thumb {
background: transparent;
}
/* Hide the scrollbar track when not scrolling */
.swiper-wrapper::-webkit-scrollbar-track {
background: transparent;
}
@media screen and (max-width: 500px) {
.swiper-slide {
width: 90% !important;
}
}
@media screen and (max-width: 798px) {
#notesContainer {
display: block;
}
}
/* TO ANIMATE THE SIDE BAR DROPDOWNS */
.menuDropdownItems {
display: none;
visibility: hidden;
opacity: 0;
position: relative;
transition: opacity 0.6s ease, height 0.6s ease;
}
.menuDropdownItems.active {
display: block;
visibility: visible;
opacity: 1;
animation: slideIn 0.6s forwards;
}
#mobileUserProfileDropdown {
display: none;
visibility: hidden;
opacity: 0;
position: relative;
transition: opacity 0.6s ease, height 0.6s ease;
}
#mobileUserProfileDropdown.active {
display: block;
visibility: visible;
opacity: 1;
animation: slideIn 0.6s forwards;
}
@keyframes slideIn {
from {
transform: translateY(-10px);
}
to {
transform: translateY(0);
}
}
/* TO HIGHLIGHT THE SELECTED EMOJI CATEGORY */
.selectedEmojiCategory {
background-color: rgba(128, 128, 128, 0.265);
}
/* CUSTOMER DASHBOARD PAYMENT */
#paymentContent {
height: 100% !important;
position: relative !important;
max-height: 100% !important;
margin-top: 20px;
overflow-y: auto !important;
}
#paymentContent iframe {
position: relative !important;
height: 100% !important;
overflow-y: auto !important;
}
#paymentContent::-webkit-scrollbar {
width: 5px;
border-radius: 10px;
}
#paymentContent::-webkit-scrollbar-thumb {
background: rgba(208, 208, 208, 0.377);
border-radius: 10px;
}
#paymentContent::-webkit-scrollbar-track {
background: transparent;
}
/* CUSTOMER DASHBOARD PAYMENT CLOSURE */