TIF_E41211320/resources/css/app.css

218 lines
3.9 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
html,
body {
overflow: hidden !important;
scroll-behavior: smooth;
}
.dt-layout-row:has(.dt-search),
.dt-layout-row:has(.dt-length),
.dt-layout-row:has(.dt-paging) {
display: none !important;
}
.dt-empty {
height: 125px;
justify-content: center;
align-items: center;
text-align: center;
}
.scroll-tab::-webkit-scrollbar {
display: none !important;
}
.scroll-tab {
-ms-overflow-style: none !important;
scrollbar-width: none !important;
}
.swiper-slide {
width: 248px !important;
transition:
all 1s ease,
opacity 0.5s ease !important;
}
.swiper-slide img {
transition: all 1s ease !important;
}
.swiper-slide-active {
width: 472px !important;
/* height: 300px !important; */
transform: scale(1.2);
opacity: 1;
z-index: 2;
cursor: pointer;
}
.swiper-slide img {
transition: all 500ms ease-in-out !important;
opacity: 0.5;
}
.swiper-slide-active #profile-card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.swiper-slide-active img {
width: 100px !important;
height: 100px !important;
opacity: 1;
}
.swiper-slide-active .text-content-swipper {
margin-top: 1.5rem;
display: block;
opacity: 1;
}
.swiper-pagination {
position: relative !important;
bottom: 0;
background: transparent !important;
display: flex;
align-items: center;
justify-content: center;
width: auto;
}
#navbutton:hover .menu-line:nth-child(1) {
opacity: 0;
transform: translateY(5px);
}
#navbutton:hover .menu-line:nth-child(2) {
transform: translateY(-5px) scale(1.2);
}
#navbutton.open .menu-line:nth-child(1) {
opacity: 1;
transform: translateY(4px) translateX(-3px) rotate(38deg);
}
#navbutton.open .menu-line:nth-child(2) {
transform: translateY(-3px) translateX(-3px) rotate(-38deg);
}
.menu-wrap.menu-wrap--open {
pointer-events: auto;
opacity: 1;
}
.frame--menu-open #navbutton {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
z-index: 100 !important;
}
.frame--menu-open {
backdrop-filter: blur(1.5rem);
}
.frame--menu-open #navheader-right {
position: relative;
opacity: 1;
z-index: 100;
will-change: transform, opacity;
}
.menu-wrap.menu-wrap--open {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 50;
}
.hover-underline {
color: #ffffff;
position: relative;
display: inline-block;
}
.hover-underline::after {
content: "";
position: absolute;
width: 100%;
height: 2px;
background: #ffffff;
bottom: -5px;
left: 0;
transform: scaleX(-0);
transform-origin: left;
transition: transform 0.4s ease-out;
}
.hover-underline:hover::after {
transform: scaleX(1);
}
.hover-underline-expertise {
color: #000;
position: relative;
}
.hover-underline-expertise::after {
content: "";
position: absolute;
width: 100%;
height: 2px;
color: transparent;
background: #020617;
bottom: -5px;
left: 0;
transform: scaleX(-0);
transform-origin: left;
transition: transform 0.4s ease-out;
}
.hover-underline-expertise:hover::after {
transform: scaleX(1);
}
@media (max-width: 1024px) {
.swiper-slide {
width: 220px !important;
}
.swiper-slide-active {
width: 360px !important;
}
}
@media (max-width: 768px) {
.swiper-slide {
width: 180px !important;
}
.swiper-slide-active {
width: 280px !important;
}
}
@media (max-width: 480px) {
.swiper-slide {
width: 150px !important;
}
.swiper-slide-active {
width: 250px !important;
}
.swiper-slide-active img {
width: 80px !important;
height: 80px !important;
}
}