Files
hurasoft_2024/assets/css/style.scss
2024-02-16 11:50:51 +07:00

705 lines
17 KiB
SCSS

@font-face {
font-family: "shopee";
src: url(../font/shopee2021-regular.ttf);
}
:root {
--color-active: linear-gradient(90deg, #1fa5f1 0%, #2257bb 100%);
}
::-webkit-scrollbar-track {
background-color: #f5f5f5;
border-radius: 10px;
}
::-webkit-scrollbar {
width: 7px;
background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb {
background: #2257bb;
border-radius: 20px;
background-image: linear-gradient(90deg, #1fa5f1 0%, #2257bb 100%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "shopee";
}
body {
color: #000;
font-family: "shopee";
margin: 0 auto;
background: #fff;
font-weight: normal;
font-size: 15px;
min-width: 1220px;
}
html {
font-size: 100%;
font-family: "shopee";
}
img {
max-width: 100%;
height: auto;
}
a {
text-decoration: none;
color: var(--text-black);
&:hover {
color: #041f3a;
}
}
.clearfix {
content: "";
clear: both;
}
ul,
li {
list-style: none;
}
table {
border-collapse: collapse;
width: 100%;
}
.ul,
.ol {
margin: 0;
padding: 0;
list-style: none;
}
.d-flex {
display: flex !important;
}
.d-block {
display: block;
}
.flex-wrap {
flex-wrap: wrap !important;
}
.text-center {
text-align: center !important;
}
.align-items {
align-items: center !important;
}
.space-between {
justify-content: space-between !important;
}
.space-center {
justify-content: center !important;
}
.d-block {
display: block !important;
}
.flex-direction {
flex-direction: column;
}
.line-clamp-1 {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-4 {
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-5 {
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
overflow: hidden;
}
.container {
width: 1220px;
padding: 0 10px;
margin: 0 auto;
}
.swiper-button-next,
.swiper-button-prev {
width: 50px;
height: 50px;
box-shadow: 0 0 6px 0px rgba(200, 200, 200, 1);
border-radius: 50%;
background: #f5f5f5;
display: flex;
align-items: center;
justify-content: center;
}
.swiper-button-next::after,
.swiper-button-prev::after {
font-size: 18px;
color: #000;
}
.header {
background: #fff;
.logo {
display: block;
width: 160px;
img {
display: block;
width: 100%;
height: 100%;
}
}
.list-menu {
.item {
padding: 30px 0;
margin-right: 45px;
position: relative;
font-size: 15px;
&.active,
&:hover {
background: var(--color-active);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
&::before {
display: block;
}
}
&::before {
position: absolute;
content: "";
left: 0;
bottom: 0;
height: 3px;
width: 100%;
background: linear-gradient(90deg, #1fa5f1 0%, #2257bb 100%);
border-radius: 20px;
display: none;
}
}
}
.box-translate {
border: none;
outline: none;
font-weight: bold;
}
}
.homepage {
.banner {
background: url(../images/banner_home.png) no-repeat;
width: 100%;
background-size: 100%;
min-height: 654px;
position: relative;
.text {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 690px;
color: #fff;
font-size: 40px;
font-weight: 700;
text-transform: capitalize;
text-align: center;
}
}
.featured-clients {
margin: 80px 0;
.title {
font-size: 36px;
font-weight: 700;
text-transform: capitalize;
background: var(--color-active);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 12px;
}
.content-left {
width: 450px;
.txt {
font-size: 16px;
font-weight: 400;
line-height: 22px;
color: #555;
}
}
.content-right {
.item {
margin-left: 50px;
height: 35px;
display: block;
img {
width: 100%;
height: 100%;
display: block;
}
}
}
}
.box-product {
background: url(../images/background_product.png) no-repeat;
background-size: cover;
margin-bottom: 80px;
.main-title {
margin-bottom: 30px;
}
.title {
font-size: 36px;
font-weight: 700;
background: linear-gradient(90deg, #1fa5f1 0%, #2257bb 10%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 10px;
}
.content-left {
width: 50%;
img {
width: 410px;
display: block;
margin: 0 auto;
}
}
.content-right {
width: calc(50% + 50px);
margin-right: -50px;
}
.item {
width: calc(100% / 2 - 50px);
margin-right: 50px;
margin-bottom: 50px;
.logo {
display: block;
height: calc(100% - 81px);
img {
display: block;
}
}
.txt {
margin-top: 24px;
height: 57px;
}
&.xstore {
.logo {
padding-top: 10px;
}
}
}
}
.box-service {
position: relative;
padding-bottom: 100px;
&::before {
position: absolute;
content: "";
left: 0;
top: 50%;
background: url(../images/before-service.png) no-repeat;
transform: translate(0, -50%);
height: 260px;
width: 200px;
opacity: 0.3;
}
.title {
font-size: 36px;
font-weight: 700;
background: linear-gradient(90deg, #1fa5f1 0%, #2257bb 10%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 20px;
}
.content-service {
margin-right: -20px;
}
.item-service {
width: calc(100% / 3 - 20px);
margin-right: 20px;
padding: 20px;
background: linear-gradient(0deg, rgba(224, 236, 255, 0.6) 0%, rgba(182, 211, 255, 0) 150.42%);
border-radius: 12px;
border: 1px solid #1fa5f1;
.box-image {
width: 80px;
height: 80px;
margin-bottom: 15px;
background: linear-gradient(0deg, rgba(94, 120, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 150.42%);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
img {
display: block;
width: 50px;
height: 50px;
opacity: 1;
object-fit: contain;
}
}
.cnt {
b {
font-size: 16px;
margin-bottom: 12px;
display: block;
}
p {
color: #555;
font-size: 14px;
display: block;
margin-bottom: 10px;
height: 55px;
}
}
.link {
background: var(--Linear, linear-gradient(180deg, #1d8bca 0%, #0c588b 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
}
.box-article {
background: url(../images/background_article.png) no-repeat;
background-size: 100%;
border-radius: 50px 0px;
min-height: 647px;
.main-title {
padding: 75px 0 30px 0;
.title {
font-size: 36px;
font-weight: 700;
background: var(--Linear, linear-gradient(90deg, #1fa5f1 0%, #2257bb 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.view-all {
border-radius: 50px;
padding: 10px 40px;
font-weight: bold;
font-size: 16px;
background: linear-gradient(90deg, #1fa5f1 0%, #2257bb 150%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
border: 1px solid #1fa5f1;
&:hover {
background: linear-gradient(90deg, #1fa5f1 0%, #2257bb 150%);
-webkit-text-fill-color: #fff;
}
}
}
.item-article {
width: 100%;
}
.content-article {
margin-bottom: 100px;
}
.swiper-button-next {
left: 60px;
top: 90%;
}
.swiper-button-prev {
left: 2px;
top: 90%;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
border: 1px solid #1fa5f1;
&::after {
background: linear-gradient(90deg, #1fa5f1 0%, #2257bb 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
}
.item-article {
background: #fff;
border-radius: 8px;
box-shadow: 0px 0px 6.7px 0px rgba(135, 135, 135, 0.25);
width: calc(100% / 3 - 16px);
.image-article {
width: 100%;
display: block;
height: 240px;
border-radius: 8px 8px 0px 0px;
overflow: hidden;
margin-bottom: 12px;
img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
}
.content-article {
padding: 12px;
.name {
margin-bottom: 12px;
span {
font-weight: 700;
}
}
.icon-link {
width: 24px;
height: 24px;
border-radius: 50%;
background: #d9d9d9;
display: flex;
align-items: center;
justify-content: center;
i {
font-size: 13px;
transform: rotate(-45deg);
}
}
}
.summary {
font-size: 13px;
color: #555;
font-weight: 400;
line-height: 18px;
}
}
}
.footer {
.contact-us {
background: #fff;
padding: 60px 0;
.title {
font-size: 28px;
text-transform: capitalize;
text-align: center;
margin-bottom: 20px;
font-weight: 400;
}
}
.form-contact {
margin: 0 auto;
width: 795px;
}
.input-contact {
width: 100%;
height: 52px;
border: 2px solid #1fa5f1;
border-radius: 50px;
padding: 0 25px;
opacity: 0.4;
outline: 0;
&::placeholder {
font-size: 16px;
}
&:focus {
opacity: 1;
}
}
.content-contact {
width: 100%;
position: relative;
}
.btn-submit {
position: absolute;
width: 38px;
height: 38px;
border-radius: 50%;
background: linear-gradient(90deg, #1fa5f1 0%, #2257bb 100%);
text-align: center;
line-height: 38px;
right: 10px;
top: 7px;
i {
color: #fff;
}
}
.main-footer {
background: #f8f8f8;
padding: 35px 0;
position: relative;
&::before {
position: absolute;
content: "";
left: 0;
top: 0;
background: linear-gradient(90deg, #1fa5f1 0%, #2257bb 100%);
width: 100%;
height: 2px;
}
}
.item-footer {
width: calc(100% / 4 - 30px);
margin-right: 30px;
.title {
margin-bottom: 25px;
display: block;
font-size: 16px;
}
p {
margin-bottom: 15px;
color: #606060;
font-size: 13px;
}
a {
display: block;
margin-bottom: 15px;
color: #606060;
font-size: 13px;
&:hover {
font-weight: 700;
background: var(--color-active);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
}
.footer-bottom {
border-top: 1px solid #d9d9d9;
padding: 15px 0;
background: #f8f8f8;
p {
color: #606060;
font-size: 13px;
}
}
}
// contact us
.relative {
position: relative;
}
.banner-contact-us {
background: url(../images/banner_contactus.png) no-repeat;
background-size: 100%;
width: 100%;
height: 570px;
.relative {
height: 100%;
}
.title-banner {
position: absolute;
left: 0;
top: 50%;
transform: translate(0, -50%);
width: 630px;
h1 {
font-size: 38px;
font-weight: 700;
text-transform: capitalize;
color: #0c588b;
font-weight: 700;
margin-bottom: 15px;
}
p {
font-size: 20px;
color: #0c588b;
text-transform: capitalize;
font-weight: 400;
}
}
}
.trusted-partner {
margin: 60px 0 80px 0;
.partler-left {
width: 50%;
margin-right: 25px;
}
.partler-right {
width: calc(50% - 23px);
}
.title {
font-size: 32px;
font-weight: 700;
background: var(--color-active);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 20px;
}
.content {
p {
font-size: 15px;
color: #555;
margin-bottom: 20px;
line-height: 27px;
}
}
}
.company-culture {
margin-bottom: 80px;
.title {
background: var(--color-active);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 32px;
font-weight: 700;
text-align: center;
margin-bottom: 20px;
}
.note {
font-size: 16px;
margin-bottom: 40px;
text-align: center;
}
}
.page-product {
.title {
background: var(--Linear, linear-gradient(90deg, #1fa5f1 0%, #2257bb 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 36px;
font-weight: 700;
text-align: center;
margin: 60px 0 10px 0;
}
.note-product {
font-size: 16px;
color: #555;
text-align: center;
margin-bottom: 40px;
}
.item-product {
width: calc(100% / 2 - 20px);
margin-bottom: 20px;
margin-right: 20px;
padding: 20px;
border-radius: 20px;
}
}