Files
hurasoft_nextjs/src/styles/style.scss
2025-03-16 22:33:24 +07:00

1125 lines
25 KiB
SCSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");
:root {
--color-btn: #2cb2ff;
--color-title: #00578a;
}
::-webkit-scrollbar-track {
background-color: #f5f5f5;
border-radius: 10px;
}
::-webkit-scrollbar {
width: 7px;
background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb {
background: #2cb2ff;
border-radius: 20px;
background-image: -webkit-gradient(
linear,
0 0,
0 100%,
color-stop(0.7, #2cb2ff),
color-stop(0.5, transparent),
to(transparent)
);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Plus Jakarta Sans", sans-serif;
}
body {
color: #000;
font-family: "Plus Jakarta Sans", sans-serif;
margin: 0 auto;
background: #f4f8fb;
font-weight: 400;
font-size: 14px;
}
html {
font-size: 100%;
font-family: "Plus Jakarta Sans", sans-serif;
}
img {
max-width: 100%;
height: auto;
}
a {
text-decoration: none;
color: #000;
&:hover {
color: var(--color-title);
}
}
.clearfix {
content: "";
clear: both;
}
ul,
li {
list-style: none;
}
table {
border-collapse: collapse;
width: 100%;
}
.ul,
.ol {
margin: 0;
padding: 0;
list-style: none;
}
.container {
width: 1220px;
padding: 0 10px;
margin: 0 auto;
}
.icon_2024 {
background: url("/images/icon_2024.png") no-repeat;
display: block;
background-size: 90px 16px;
&.global {
width: 16px;
height: 16px;
background-position: 0 0;
}
&.phone {
margin-right: 5px;
width: 18px;
height: 18px;
background-position: -17px 1px;
}
&.blog {
margin-right: 1px;
width: 14px;
height: 14px;
background-position: -39px -1px;
}
&.map {
width: 14px;
height: 14px;
background-position: -56px 0;
}
&.email {
width: 17px;
height: 14px;
background-position: -73px 0;
}
}
.header {
.content-header-main {
padding: 20px 0;
}
.logo {
width: 152px;
height: 24px;
display: block;
img {
width: 100%;
height: 100%;
display: block;
}
}
.menu-right {
.item {
padding-left: 15px;
margin-left: 15px;
position: relative;
font-weight: 500;
cursor: pointer;
&::before {
position: absolute;
content: "";
width: 1px;
height: 6px;
background: rgba(0, 0, 0, 0.2);
left: 0;
top: 50%;
transform: translate(0, -50%);
}
&:last-child {
&::before {
display: none;
}
}
&:first-child {
&::before {
display: none;
}
}
&::after {
position: absolute;
content: "";
left: 0;
bottom: -17px;
width: 100%;
height: 20px;
display: none;
}
&:hover {
font-weight: 600;
&::after {
display: block;
}
}
&.active {
.title {
color: var(--color-btn);
font-weight: 700;
}
.hover-menu {
opacity: 1;
visibility: visible;
}
}
}
}
.hover-menu {
box-shadow: 0px 0px 8px 2px #2cb2ff1f;
position: absolute;
left: -30px;
top: 30px;
width: 410px;
height: 240px;
border-radius: 15px;
background: #fff;
display: flex;
flex-wrap: wrap;
opacity: 0;
visibility: hidden;
}
.item-menu {
width: 50%;
border-right: 1px solid #f4f8fb;
border-bottom: 1px solid #f4f8fb;
padding: 10px;
display: flex;
align-items: center;
&.chatngay {
.icon {
height: 22px;
}
}
.icon {
height: 16px;
display: block;
margin-bottom: 10px;
img {
display: block;
height: 100%;
width: auto;
object-fit: contain;
}
}
.top {
width: calc(100% - 38px);
margin-right: 10px;
}
.more {
display: block;
width: 28px;
height: 28px;
color: var(--color-btn);
border: 1px solid var(--color-btn);
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
i {
color: var(--color-btn);
}
&:hover {
background: var(--color-btn);
i {
color: #fff;
}
}
}
.txt {
font-size: 13px;
line-height: 16px;
font-weight: 300;
}
}
}
.homepage {
.box-slogan {
padding: 80px 0 110px 0;
.content-slogan {
width: 780px;
margin: 0 auto;
}
.main-sologan {
font-size: 48px;
font-weight: bold;
color: #00578a;
text-transform: uppercase;
height: 120px;
text-align: center;
}
.note {
margin: 30px auto;
width: 380px;
font-size: 16px;
color: #a1a1a1;
text-align: center;
font-weight: 500;
line-height: 22px;
}
.btn-contact {
background: var(--color-btn);
color: #fff;
margin-right: 15px;
&:hover {
background: var(--color-title);
}
}
.btn-product {
color: var(--color-btn);
width: 166px;
i {
margin-left: 5px;
}
&:hover {
background: var(--color-btn);
color: #fff;
}
}
}
.box-customer {
padding-bottom: 80px;
.title {
font-size: 16px;
text-align: center;
font-weight: 500;
margin-bottom: 25px;
}
.navheight {
display: flex;
align-items: center;
justify-content: center;
width: 825px;
margin: 0 auto;
gap: 15px;
}
}
.box-product {
margin-bottom: 100px;
.title {
margin-bottom: 30px;
font-size: 24px;
font-weight: 700;
text-align: center;
color: var(--color-title);
text-transform: uppercase;
}
.list-product {
margin-right: -15px;
}
}
.box-article {
.title {
text-align: center;
font-size: 24px;
font-weight: 700;
color: var(--color-title);
text-transform: uppercase;
margin-bottom: 20px;
}
.content-item-article {
background: #fff;
padding: 30px;
border-radius: 15px;
}
.info {
width: calc(50% - 40px);
margin-right: 40px;
}
.image-right {
width: calc(50% - 40px);
margin-left: 40px;
img {
width: 100%;
height: 100%;
display: block;
border-radius: 20px;
background: #f4f8fb;
}
}
.tag-blog {
width: 74px;
height: 28px;
background: var(--color-title);
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 14px;
font-weight: 500;
text-transform: uppercase;
margin-bottom: 25px;
}
.name {
font-size: 24px;
font-weight: 700;
margin-bottom: 24px;
}
.summary {
font-size: 14px;
line-height: 20px;
margin-bottom: 20px;
}
.more {
font-size: 16px;
color: var(--color-btn);
text-transform: uppercase;
margin-bottom: 30px;
display: block;
i {
margin-left: 10px;
}
&:hover {
font-weight: 700;
}
}
.name-author {
color: var(--color-btn);
margin-left: 5px;
}
.time {
margin-top: 7px;
color: #afafaf;
i {
margin-right: 5px;
}
}
}
}
.btn {
height: 42px;
border: 1px solid #2cb2ff;
width: 140px;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
border-radius: 5px;
text-transform: uppercase;
font-weight: 500;
}
.caret {
display: inline-block;
width: 2px;
background-color: #00578a;
animation: blink-caret 0.7s steps(1) infinite;
height: 1em; /* Chiều cao tương ứng với font chữ */
vertical-align: bottom;
}
/* Hiệu ứng nhấp nháy của caret */
@keyframes blink-caret {
50% {
background-color: transparent;
}
}
.navheight .item-big {
position: relative;
width: 115px;
height: 45px;
overflow: hidden;
}
.navheight .item {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
transition:
opacity 0.8s ease,
transform 0.8s ease;
transform: translateY(100%);
}
.navheight .item img {
display: block;
width: 100%;
height: 22px;
object-fit: contain;
}
.navheight .item.active {
opacity: 1;
transform: translateY(0);
}
.navheight .item.previous {
opacity: 0;
transform: translateY(-170%);
}
.item-product {
width: calc(25% - 15px);
margin-right: 15px;
background: #fff;
border-radius: 15px;
padding: 15px;
box-shadow: 0px 0px 8px 2px #2cb2ff1f;
cursor: pointer;
&:hover {
outline: 1px solid var(--color-btn);
}
&.chatngay {
.icon img {
height: 35px;
}
}
.icon {
width: 110px;
height: 25px;
display: block;
img {
height: 25px;
display: block;
width: auto;
-o-object-fit: contain;
object-fit: contain;
}
}
.txt {
margin-top: 20px;
height: 100px;
font-size: 14px;
margin-bottom: 28px;
line-height: 20px;
}
.more {
font-size: 16px;
color: var(--color-btn);
text-transform: uppercase;
i {
margin-left: 10px;
}
&:hover {
font-weight: 700;
}
}
}
.footer {
margin-top: 50px;
background: #1d1d1d;
.main-footer {
padding: 25px 0;
border-bottom: 1px solid #ffffff1a;
}
.item-footer {
width: calc(100% / 4);
.title {
font-size: 16px;
font-weight: 600;
color: #fff;
margin-bottom: 15px;
}
.link {
color: #adadad;
display: block;
margin-bottom: 13px;
&:hover {
color: #fff;
text-decoration: underline;
}
}
}
.bottom-footer {
padding: 20px 0;
color: #adadad;
}
}
.page-job {
.container-job {
padding: 20px 10px;
width: 794px;
margin: 0 auto;
.note {
width: 408px;
margin: 0 auto;
text-align: center;
color: #a1a1a1;
font-size: 16px;
font-weight: 500;
}
.btn-job {
padding: 0 15px;
background: var(--color-btn);
width: 170px;
margin: 35px auto 67px auto;
color: #fff;
i {
margin-left: 7px;
}
&:hover {
border: 1px solid var(--color-btn);
color: var(--color-btn);
background: #fff;
}
}
.content {
img {
display: block;
margin-bottom: 40px;
border-radius: 20px;
}
h2 {
font-size: 20px;
font-weight: 700;
margin-bottom: 15px;
}
p {
font-size: 14px;
line-height: 25px;
margin-bottom: 30px;
}
}
}
.content-form-job {
position: relative;
width: 100%;
height: 292px;
border-radius: 20px;
overflow: hidden;
.title {
position: absolute;
left: 20px;
top: 50%;
transform: translate(0, -50%);
}
h3 {
font-size: 20px;
font-weight: 700;
}
.btn-job {
margin: 20px 0 0 0;
}
}
.title {
padding-top: 80px;
font-size: 38px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
color: var(--color-title);
width: 450px;
margin: 0 auto 30px auto;
span {
font-size: 14px;
margin-left: 5px;
font-weight: 400;
}
}
.item-job {
padding: 20px;
display: flex;
align-items: center;
justify-content: space-between;
background: #fff;
border-radius: 8px;
margin-bottom: 15px;
cursor: pointer;
&:hover {
box-shadow: 0px 0px 8px 2px #2cb2ff1f;
}
.job-left {
display: flex;
align-items: center;
}
.name {
margin-right: 15px;
max-width: 300px;
font-weight: 700;
&:hover {
color: var(--color-title);
}
}
.time {
color: #828797;
}
.localhost {
margin-right: 40px;
color: #828797;
}
.more {
font-weight: 700;
display: flex;
align-items: center;
i {
margin-top: 3.8px;
margin-left: 4px;
}
}
}
.content-job {
.left-job {
width: 190px;
margin-top: 40px;
margin-right: 20px;
}
.right-job {
width: calc(100% - 190px - 20px);
}
.item {
padding-bottom: 15px;
margin-bottom: 15px;
border-bottom: 1px solid #ebebeb;
&:last-child {
border-bottom: 0;
}
p {
font-size: 13px;
font-weight: 400;
color: #828797;
margin-bottom: 5px;
}
b {
font-size: 16px;
font-weight: 500;
color: #828797;
}
}
.list-tab {
height: 45px;
margin-bottom: 20px;
.item-tab {
width: 170px;
height: 100%;
display: block;
font-size: 16px;
font-weight: 500;
line-height: 45px;
margin-right: 10px;
&.active,
&:hover {
color: #000;
border-bottom: 1px solid #000;
}
}
}
.content-tab {
display: none;
&.active {
display: block;
}
b {
display: block;
margin-bottom: 15px;
}
p {
line-height: 22px;
margin-bottom: 10px;
}
ul {
margin-bottom: 20px;
}
li {
list-style: inside;
line-height: 22px;
margin-bottom: 5px;
}
h2,
h2,
h3 {
font-size: 14px;
margin-bottom: 15px;
text-align: left;
padding-top: 0;
}
}
.apply-job {
display: block;
width: 100%;
line-height: 42px;
background: var(--color-title);
color: #fff;
font-size: 16px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
border: 1px solid var(--color-title);
&:hover {
background: #fff;
color: var(--color-title);
}
}
.btn-submit {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
background: var(--color-title);
color: #fff;
font-weight: 700;
i {
margin-left: 5px;
}
&:hover {
background: var(--color-btn);
border: 1px solid var(--color-btn);
}
}
}
}
.item-form {
margin-bottom: 20px;
width: 100%;
.input-item {
background: #f4f8fb;
width: 100%;
height: 40px;
padding: 0 15px;
border: 1px solid #c8c8c8;
border-radius: 5px;
&:focus-within {
border: 1px solid var(--color-title);
outline: 1px solid var(--color-title);
}
}
label {
margin-bottom: 7px;
display: block;
span {
color: #ea1313;
}
}
textarea.input-item {
height: 127px;
padding: 15px;
}
.ghichu {
color: #828797;
font-size: 13px;
margin-bottom: 10px;
display: block;
}
}
.item-upload {
padding: 15px;
border: 1px solid #ebebeb;
margin-bottom: 10px;
border-radius: 5px;
.upload-left {
width: calc(100% - 130px);
margin-right: 15px;
.name-up {
font-size: 14px;
margin-bottom: 0 !important;
margin-left: 5px;
}
.gray {
margin-top: 5px;
margin-bottom: 0 !important;
font-size: 13px;
color: #828797;
}
}
.upload-right {
width: 102px;
height: 36px;
line-height: 35px;
border-radius: 5px;
border: 1px solid #000;
text-align: center;
font-weight: 600;
.btn-upload {
display: block;
width: 100%;
height: 100%;
border-radius: 5px;
&:hover {
background: var(--color-title);
border: 1px solid var(--color-title);
color: #fff;
}
}
}
}
.page-article {
.main-title {
margin: 60px 0;
p {
font-size: 16px;
font-weight: 500;
}
h2 {
font-weight: 700;
font-size: 48px;
text-transform: uppercase;
}
}
.box-big-article {
.box-big {
width: 70%;
margin-right: 15px;
}
.box-small {
width: calc(30% - 15px);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.item-article {
width: 100%;
margin-right: 0;
margin-bottom: 0;
}
}
.box-big {
.item-article {
width: 100%;
height: 100%;
border-radius: 20px;
overflow: hidden;
position: relative;
&::after {
position: absolute;
content: "";
left: 0;
bottom: 0;
width: 100%;
height: 230px;
background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 77.09%);
border-radius: 0 0 20px 20px;
z-index: 1;
}
&:hover {
&::after {
opacity: 0.5;
}
}
}
.image-article {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 20px;
display: block;
img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 20px;
transform: scale(1);
transition: 0.3s;
}
&:hover {
img {
transform: scale(1.05);
transition: 0.3s;
}
}
}
.info {
position: absolute;
bottom: 25px;
left: 25px;
z-index: 2;
width: calc(100% - 25px);
}
.time {
color: #fff;
font-size: 16px;
margin-bottom: 15px;
i {
margin-right: 5px;
}
}
.name-article {
font-size: 28px;
color: #fff;
font-weight: 700;
}
}
.box-small {
.image-article {
height: 202px;
}
}
.list-article {
margin-top: 30px;
margin-right: -15px;
}
.btn-more {
background: var(--color-title);
width: 162px;
margin: 0 auto;
color: #fff;
text-transform: unset;
&:hover {
background: var(--color-btn);
}
}
.content-article-detail {
width: 795px;
padding: 0 10px;
margin: 40px auto;
.time {
font-size: 16px;
text-align: center;
}
.title-article {
font-size: 48px;
font-weight: 700;
text-align: center;
margin-bottom: 30px;
}
}
}
.item-article {
width: calc(100% / 3 - 15px);
margin-right: 15px;
margin-bottom: 30px;
.image-article {
width: 100%;
height: 275px;
overflow: hidden;
display: block;
border-radius: 12px;
margin-bottom: 10px;
img {
width: 100%;
height: 100%;
display: block;
border-radius: 12px;
object-fit: cover;
transform: scale(1);
transition: 0.3s;
}
&:hover img {
transform: scale(1.05);
}
}
.time {
color: #afafaf;
font-size: 13px;
font-weight: 400;
margin-bottom: 5px;
}
.name-article {
font-size: 16px;
font-weight: 600;
}
}
.box-article-related {
margin-top: 50px;
.box-title {
h2 {
font-size: 28px;
font-weight: 700;
}
a {
font-size: 14px;
font-weight: 700;
}
}
}
.page-contact {
margin: 40px 0;
.contact-left {
width: 500px;
margin-right: 20px;
.title-contact {
font-size: 48px;
font-weight: 700;
color: var(--color-title);
text-transform: uppercase;
}
}
.contact-right {
width: 500px;
background: #fff;
padding: 20px;
border-radius: 15px;
}
.list-info {
margin-top: 20px;
.item {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.icon {
width: 30px;
height: 30px;
background: var(--color-title);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
}
.txt {
margin-left: 10px;
span {
padding: 0 5px;
}
}
}
.box-form b {
margin-bottom: 20px;
text-align: center;
font-size: 20px;
font-weight: 700;
display: block;
}
.item-form {
margin-bottom: 10px;
}
.input-item {
background: #fff;
}
.btn-submit {
width: 170px;
margin: 0 auto;
background: var(--color-btn);
color: #fff;
i {
font-size: 13px;
margin-left: 5px;
}
&:hover {
background: var(--color-title);
}
}
}
.footer .item-footer.big {
width: 50%;
}
@media only screen and (max-width: 768px) {
.page-job .container-job {
width: 100%;
}
}