Website/public/assets/scss/_custom.scss
2025-04-08 14:37:17 +07:00

915 lines
19 KiB
SCSS

@use "utils" as *;
.title-color {
color: var(--tg-color-gray-8);
}
.title-center {
text-align: center;
}
.float-img {
@media not #{$xs} {
float: left;
padding-right: 30px;
padding-bottom: 30px;
}
@media #{$xs} {
float: none;
width: 100%;
}
}
.btn-custom {
user-select: none;
-moz-user-select: none;
background: var(--tg-theme-primary) none repeat scroll 0 0;
border: medium none;
@include border-radius(10px);
color: var(--tg-color-white-default);
cursor: pointer;
display: inline-flex;
align-items: center;
font-size: 14px;
font-weight: 700;
letter-spacing: 0;
line-height: 1;
margin-bottom: 0;
padding: 18px 24px;
text-align: center;
text-transform: uppercase;
touch-action: manipulation;
@include transition(0.3s);
vertical-align: middle;
white-space: nowrap;
position: relative;
overflow: hidden;
z-index: 1;
&::before {
content: "";
position: absolute;
-webkit-transition-duration: 800ms;
transition-duration: 800ms;
width: 200%;
height: 200%;
top: 110%;
left: 50%;
background: var(--tg-theme-secondary);
@include transform(translateX(-50%));
@include border-radius(50%);
z-index: -1;
}
&:hover,
&:focus-visible {
color: var(--tg-color-white-default);
background: var(--tg-theme-primary);
&:before {
top: -40%;
}
}
}
.input-style {
margin-bottom: 20px;
display: flex;
align-items: center;
@media #{$xs} {
display: block;
}
label {
display: inline-block;
width: 120px;
text-align: left;
margin-right: 10px;
}
input {
border-radius: 10px;
padding: 8px 12px;
margin-right: 10px;
}
}
.btn-input {
user-select: none;
-moz-user-select: none;
background: var(--tg-theme-primary) none repeat scroll 0 0;
border: medium none;
color: var(--tg-color-white-default);
cursor: pointer;
padding: 9px 12px;
border-radius: 10px;
@include transition(0.3s);
white-space: nowrap;
position: relative;
overflow: hidden;
z-index: 1;
&::before {
content: "";
position: absolute;
-webkit-transition-duration: 800ms;
transition-duration: 800ms;
width: 200%;
height: 200%;
top: 110%;
left: 50%;
background: var(--tg-theme-secondary);
@include transform(translateX(-50%));
z-index: -1;
}
&:hover,
&:focus-visible {
color: var(--tg-color-white-default);
background: var(--tg-theme-primary);
&:before {
top: -40%;
}
}
}
.report-area {
padding-top: 40px;
}
.report-box {
position: relative;
display: flex;
align-items: flex-start;
gap: 20px;
-ms-box-shadow: 0px 7px 15px 0px rgba(0, 0, 0, 0.05);
-o-box-shadow: 0px 7px 15px 0px rgba(0, 0, 0, 0.05);
box-shadow: 0px 7px 15px 0px rgba(0, 0, 0, 0.05);
border: 1px solid #e5e7e8;
border-radius: 10px;
padding: 30px 30px;
margin-bottom: 30px;
}
.report-graph-size {
width: 100%;
height: 100%;
max-width: 200px;
margin-bottom: 20px;
}
.report-text-title {
font-size: 40px;
font-weight: 600;
letter-spacing: 1px;
word-spacing: 2px;
line-height: 1;
margin-bottom: 2px;
@media #{$xs} {
font-size: 25px;
}
}
.report-text-title-url {
letter-spacing: 0.75px;
font-weight: 500;
line-height: 1;
margin-bottom: 2px;
color: #3b3b3b;
font-style: italic;
@media #{$xs} {
font-size: 15px;
}
}
.report-text {
padding-top: 20px;
font-size: 16px;
font-weight: 500;
line-height: 1.5;
margin-bottom: 15px;
@media #{$xs} {
font-size: 14px;
}
}
.report-button-group {
display: flex;
flex-wrap: wrap;
gap: 10px;
@media #{$md} {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
@media #{$xs} {
display: flex;
flex-direction: column;
gap: 10px;
}
}
.report-button {
border: none;
}
.domain-overview-group {
margin-top: 30px;
}
.domain-overview-item {
background-color: var(--tg-theme-primary);
padding: 20px;
border-radius: 10px;
@media #{$md} {
margin: 10px 0;
}
}
.domain-overview-item h1,
.domain-overview-item h4 {
color: white;
}
.domain-overview-item h4 {
@media #{$lg} {
font-size: 16px;
}
@media #{$md} {
font-size: 24px;
}
}
.table-responsive {
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.table-responsive-portal {
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.report-icon-parent {
text-align: center;
padding: 0;
vertical-align: middle;
.report-icon {
display: inline-block;
width: 26px; // Adjust as needed
height: 26px; // Adjust as needed
line-height: 27px; // Should match the height
text-align: center;
}
}
.report-domain-url {
color: #3b3b3b;
word-break: break-all;
text-align: center;
}
.report-icon {
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
color: var(--tg-color-white-default);
flex: 0 0 auto;
font-size: 14px;
align-self: center;
&.green {
background: #22c55e;
}
&.yellow {
background: #eab308;
&.dashboard {
width: 16px;
height: 16px;
font-size: 8px;
}
}
&.red {
background: #dc2626;
}
}
.report-list .list-wrap {
padding-top: 10px;
display: flex;
flex-direction: column;
gap: 20px 0;
color: #000;
height: 300px;
overflow-y: auto;
}
.report-list .list-wrap li {
display: flex;
align-items: flex-start;
font-weight: 600;
text-transform: capitalize;
gap: 10px;
}
@media (max-width: 767.98px) {
.report-list .list-wrap li {
width: 100%;
}
}
.table-responsive {
text-wrap: nowrap;
overflow-x: auto;
@media #{$md} {
max-width: 690px;
}
@media #{$xs} {
max-width: 450px;
}
@media #{"(max-width: 575px)"} {
max-width: 75vw;
}
}
// cosmetic Report
.header-design img {
position: absolute;
z-index: -1;
}
.header-design img:nth-child(1) {
left: -1%;
top: -10%;
}
@media (max-width: 1500px) {
.header-design img:nth-child(1) {
left: 0;
top: -5%;
}
}
@media (max-width: 991.98px) {
.header-design img:nth-child(1) {
left: 0;
}
}
@media (max-width: 767.98px) {
.header-design img:nth-child(1) {
display: none;
}
}
.header-design img:nth-child(2) {
left: 2%;
top: 6%;
}
@media (max-width: 1500px) {
.header-design img:nth-child(2) {
left: 4%;
top: 4%;
}
}
@media (max-width: 767.98px) {
.header-design img:nth-child(2) {
display: none;
}
}
// Blog Start
.blog-post-content {
display: flex;
flex-direction: column;
}
.blog-post-content img {
align-items: center;
justify-content: center;
width: auto;
height: auto;
padding: 20px 0px;
}
.blog-post-content ul ul {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
.blog-post-content ul li {
display: flex;
align-items: flex-start;
font-size: 20px;
font-weight: 500;
color: var(--tg-theme-secondary);
font-family: var(--tg-heading-font-family);
gap: 12px;
margin-bottom: 10px;
}
@import url("https://fonts.googleapis.com/css2?family=Flaticon&display=swap");
.blog-post-content ul li::before {
content: "\f10b";
width: 26px;
height: 26px;
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: var(--tg-theme-primary);
color: var(--tg-color-white-default);
line-height: 0;
font-size: 18px;
font-family: "Flaticon", sans-serif;
transform: translateY(3px);
}
.blog-post-content ul li:last-child {
margin-bottom: 0;
}
// case study
.case-study-rating i {
color: #f0b90b;
margin-right: 3px;
}
.case-study-link {
color: white;
}
.banner-choice {
background-image: url("/assets/img/banner/banner_bg.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
@media #{$md} {
background-position: left center;
}
}
.case-study-cta-ba {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
& img {
@include border-radius(10px);
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
& video {
@include border-radius(10px);
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
& h3 {
text-align: center;
align-self: center;
display: flex;
color: var(--tg-color-gray-2);
}
}
// atom
.display-none {
display: none;
}
.error-red {
color: rgba(255, 0, 0, 0.8);
}
.text-custom-sizing-h2 {
font-size: 40px;
@media #{$xs} {
font-size: 16px;
color: #000;
}
}
.btn-no-arrow::after {
display: none;
}
// popup
.popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(55, 55, 55, 0.5);
padding: 20px;
border-radius: 10px;
z-index: 1000;
width: 100%;
height: 100%;
display: flex;
& .container {
justify-content: center;
align-items: center;
height: 100%;
display: flex;
flex-direction: column;
gap: 30px;
padding: 0 20px;
}
& .popup-close-btn {
position: absolute;
right: 15px;
top: 28px;
line-height: 30px;
width: 35px;
text-align: center;
font-size: 30px;
color: #fff;
cursor: pointer;
z-index: 10;
-webkit-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
& i[class^="flaticon-"]:before {
font-weight: var(--tg-fw-bold) !important;
}
}
& .call-back-area-custom {
position: relative;
@media #{$md} {
padding: 40px 15px;
}
@media #{$xs} {
padding: 40px 15px;
}
@media #{$smx} {
padding: 40px 5px;
}
}
@media #{$xs} {
& .popup-title {
font-size: 7vw;
margin-right: 20px;
}
}
}
.schedule-content {
display: flex;
& .contact__content {
align-content: center;
}
}
.portfolio__form {
padding: 0px 45px 25px;
gap: 10px;
& .form-grp {
&.select-grp {
position: relative;
@include border-radius(10px);
& select {
background: var(--tg-color-gray-3);
border: none;
@include border-radius(10px);
color: var(--tg-theme-heading);
font-weight: 700;
font-size: 14px;
text-transform: capitalize;
outline: none;
padding: 15px 40px 15px 20px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 100%;
cursor: pointer;
&:hover,
&:focus-visible {
color: var(--tg-color-white-default);
background: var(--tg-theme-secondary);
@include transition(0.3s);
&:before {
top: -40%;
@include transition(0.3s);
}
}
}
&::after {
content: "\f106";
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
font-family: flaticon;
font-weight: 400;
right: 10px;
font-size: 24px;
color: var(--tg-theme-secondary);
}
&:hover::after {
@include transition(0.3s);
color: white;
}
&.selected {
background-color: var(--tg-theme-secondary);
color: white;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
& select {
background-color: transparent;
border: 1px solid #d0d6e1;
color: white;
font-weight: 700;
font-size: 14px;
text-transform: capitalize;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
outline: none;
padding: 15px 40px 15px 20px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 100%;
cursor: pointer;
& option {
color: var(--tg-theme-secondary);
}
}
&::after {
content: "\f106";
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
font-family: flaticon;
font-weight: 400;
right: 10px;
font-size: 24px;
color: white;
}
}
}
}
.portfolio-btn {
background: var(--tg-color-gray-3);
color: var(--tg-theme-secondary);
padding: 16px 24px;
&:hover {
color: var(--tg-color-white-default);
}
&::after {
display: none;
}
&.selected {
background-color: var(--tg-theme-secondary);
color: white;
}
}
}
.btn-nocolor {
background-color: transparent;
border: 1px solid #d0d6e1;
color: #667594;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
font-size: 14px;
&:hover {
background-color: transparent;
border: 1px solid #d0d6e1;
color: white;
}
&::after {
display: none;
}
&.selected {
background-color: var(--tg-theme-secondary);
color: white;
}
}
.blog-gap {
@media #{$xs} {
gap: 30px;
}
&-2 {
gap: 30px 0;
@media #{$xs} {
gap: 30px;
}
}
}
// services
.services-sidebar {
& .list-wrap {
& li {
margin-bottom: 10px;
& a {
@include flexbox();
align-items: center;
justify-content: space-between;
background: transparent;
border: 1px solid #e0eef3;
@include border-radius(4px);
padding: 16px 20px;
font-size: 18px;
font-weight: 500;
color: var(--tg-body-color);
& i {
font-size: 24px;
line-height: 0;
@include transition(0.3s);
}
&:hover {
background: var(--tg-theme-secondary);
color: var(--tg-color-white-default);
border-color: var(--tg-theme-secondary);
& i {
color: var(--tg-color-white-default);
}
}
&.active {
background: var(--tg-theme-secondary);
color: var(--tg-color-white-default);
border-color: var(--tg-theme-secondary);
& i {
color: var(--tg-color-white-default);
}
}
}
&:last-child {
margin-bottom: 0;
}
}
}
}
// portal
.portal-gap {
row-gap: 20px;
}
.portal__area {
padding: 40px 0px 100px 0px;
& .portal-card {
background-color: var(--tg-color-gray-3);
padding: 20px 30px;
border-radius: 20px;
@media #{$xs} {
padding: 20px;
}
}
}
// dashboard
.dashboard-hero {
padding-bottom: 20px;
& .dashboard-hero-payment {
background-color: var(--tg-color-gray-3);
border: #000;
border-radius: 20px;
border-width: 4px;
padding: 20px 30px;
@media #{$xs} {
padding: 20px;
}
& h2 {
font-size: 28px;
@media #{$xs} {
font-size: 22px;
}
}
}
}
.dashboard-heading {
& h2 {
font-size: 52px;
@media #{$xs} {
font-size: 34px;
}
}
@media #{$xs} {
margin-bottom: 20px;
}
}
.dashboard-badge-group {
display: flex;
gap: 10px;
& .dashboard-badge {
background-color: var(--tg-theme-secondary);
color: var(--tg-color-white-default);
font-size: 14px;
font-weight: 700;
padding: 5px 10px;
border-radius: 9999px;
}
}
table.dashboard-table {
border-collapse: separate;
border-radius: 5px;
border-spacing: 5px 0;
min-width: 600px;
thead,
tbody {
th,
td {
padding: 10px;
text-align: left;
border: 1px solid #7e7171;
vertical-align: top;
min-width: 80px;
max-width: 200px;
word-wrap: break-word;
white-space: normal;
// text-overflow: ellipsis;
}
}
thead:after {
line-height: 5px;
content: ".";
color: transparent;
display: block;
}
th,
td {
border-radius: 5px;
font-weight: 400;
}
&.table-log {
th {
font-weight: 700;
}
}
}
.dashboard-icon-parent {
display: flex;
align-items: center;
gap: 4px;
}
.dashboard-icon {
width: 14px;
height: 14px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
color: var(--tg-color-white-default);
flex: 0 0 auto;
font-size: 7px;
align-self: center;
&.yellow {
background: #eab308;
}
}