TPS_web_october/themes/tps/assets/css/components/3-page/service.scss

148 lines
3.6 KiB
SCSS
Raw Normal View History

2022-09-12 06:02:53 +00:00
// Service =================
.service.page {
padding: 50px 0 100px;
.service {
&_info {
position: relative;
top: unset;
left: unset;
bottom: unset;
right: unset;
2022-12-05 18:10:04 +00:00
display: block;
p {
font-weight: 400;
font-size: 18px;
line-height: 30px;
margin-bottom: 30px;
b {
font-weight: 600;
}
strong {
font-weight: 600;
2023-01-13 14:11:27 +00:00
position: relative;
padding-left: 15px;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 5px;
height: 100%;
background: $main-color;
}
2022-12-05 18:10:04 +00:00
}
}
2022-09-12 06:02:53 +00:00
}
&_block {
overflow-x: auto;
-ms-overflow-style: none;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
&_txt {
font-weight: 400;
2022-12-05 18:10:04 +00:00
font-size: 18px;
line-height: 30px;
2022-09-12 06:02:53 +00:00
margin-bottom: 30px;
2022-12-05 18:10:04 +00:00
b {
font-weight: 600;
}
2022-09-12 06:02:53 +00:00
}
&_box {
display: flex;
2022-12-05 18:10:04 +00:00
// width: calc(100% + 420px);
2022-09-12 06:02:53 +00:00
2022-12-05 18:10:04 +00:00
// .slick-list {
// padding: 0 420px 0 0 !important;
// }
2022-09-12 06:02:53 +00:00
// .slick-initialized .slick-slide {
// display: block;
// padding: 20px;
// }
&-item {
width: calc(470px - 30px);
margin-right: 30px;
&-photo {
width: 100%;
2022-12-05 18:10:04 +00:00
height: 300px;
2022-09-12 06:02:53 +00:00
img {
@include ImgCov;
}
}
&-title {
font-weight: 700;
2022-12-05 18:10:04 +00:00
font-size: 27px;
2022-09-12 06:02:53 +00:00
line-height: 36px;
margin: 30px 0 20px;
}
}
}
&_list {
margin-bottom: 30px;
position: relative;
li {
margin-bottom: 15px;
padding-left: 35px;
position: relative;
&::before {
content: '';
position: absolute;
2022-12-05 18:10:04 +00:00
top: 5px;
2022-09-12 06:02:53 +00:00
left: 0px;
background: url("../images/svg/circle.svg") no-repeat center;
background-size: contain;
width: 20px;
height: 20px;
}
&::after {
content: '';
position: absolute;
top: 27px;
left: 9px;
height: calc(100% + 10px);
width: 1px;
border-left: 2px dashed #C4DAF0;
border-right: none;
border-top: none;
border-bottom: none;
z-index: -1;
}
&:last-child {
&::after {
display: none;
}
}
p {
font-weight: 400;
2022-12-05 18:10:04 +00:00
font-size: 16px;
line-height: 30px;
2022-09-12 06:02:53 +00:00
}
}
}
}
}