Skip to content

Commit 14a3d6d

Browse files
committed
add offline city map
1 parent 76aa2e8 commit 14a3d6d

File tree

7 files changed

+512
-130
lines changed

7 files changed

+512
-130
lines changed

landing_page/mainpage/js/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
class LearnPython {
23

34
constructor() {

landing_page/mainpage/static/css/style.css

Lines changed: 212 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4013,6 +4013,7 @@ ul.installment-plan li:before {
40134013
.price-list {
40144014
display: flex;
40154015
flex-direction: row;
4016+
justify-content: center;
40164017
margin: 0 -25px;
40174018
}
40184019

@@ -4103,7 +4104,14 @@ ul.installment-plan li:before {
41034104

41044105
.price-second .price-list .price-item {
41054106
padding: 20px;
4106-
margin: 15px;
4107+
margin: 15px 100px;
4108+
}
4109+
4110+
@media (max-width: 1300px){
4111+
.price-second .price-list .price-item {
4112+
padding: 20px;
4113+
margin: 15px;
4114+
}
41074115
}
41084116

41094117
.price-second .price-item.payment-after {
@@ -4125,6 +4133,209 @@ ul.installment-plan li:before {
41254133
border-box: none;
41264134
background: #ffffff;
41274135
}
4136+
.offline-map{
4137+
padding: 100px 0;
4138+
}
4139+
4140+
.offline-map .pc-section-header{
4141+
padding-bottom: 67px;
4142+
}
4143+
4144+
.offline-map-wrapper{
4145+
display: flex;
4146+
flex-direction: row;
4147+
justify-content: flex-start;
4148+
align-items: stretch;
4149+
}
4150+
4151+
.offline-map-city-list{
4152+
width: 737px;
4153+
height: 826px;
4154+
flex-shrink: 0;
4155+
background-color: #333333;
4156+
display: flex;
4157+
flex-direction: row;
4158+
justify-content: flex-end;
4159+
padding: 44px 25px 0 0;
4160+
4161+
}
4162+
4163+
.offline_city_content_wrapper h3{
4164+
font-family: 'Ubuntu', sans-serif;
4165+
font-style: normal;
4166+
font-weight: 700;
4167+
font-size: 32px;
4168+
line-height: 1;
4169+
text-transform: uppercase;
4170+
color: #333333;
4171+
margin: 0 0 34px;
4172+
}
4173+
4174+
.offline_city_content_list{
4175+
display: flex;
4176+
flex-direction: row;
4177+
justify-content: space-between;
4178+
margin: 0 -15px;
4179+
}
4180+
4181+
.offline_city_content_item{
4182+
width: calc(100%/2 - 30px);
4183+
margin: 0 15px;
4184+
}
4185+
4186+
.offline_city_content_item button{
4187+
width: 100%;
4188+
height: 46px;
4189+
display: flex;
4190+
flex-direction: row;
4191+
justify-content: center;
4192+
align-items: center;
4193+
background-color: #2D9CDB;
4194+
font-family: 'Ubuntu', sans-serif;
4195+
font-style: normal;
4196+
font-weight: 700;
4197+
font-size: 16px;
4198+
line-height: 1;
4199+
text-align: center;
4200+
color: #FFFFFF;
4201+
border-radius: 54px;
4202+
border: none;
4203+
outline: none;
4204+
cursor: pointer;
4205+
transition: box-shadow 0.2s;
4206+
}
4207+
4208+
.offline_city_content_item button:hover{
4209+
box-shadow: 0 3px 0 #2e729e;
4210+
}
4211+
4212+
.offline_city_content_item button:disabled{
4213+
background-color: #D3D3D3;
4214+
color: #7B7B7B;
4215+
cursor: auto;
4216+
}
4217+
4218+
.offline_city_content_item button:disabled:hover{
4219+
box-shadow: none;
4220+
}
4221+
4222+
.offline_city_content_item .title{
4223+
font-family: 'Ubuntu', sans-serif;
4224+
font-style: normal;
4225+
font-weight: 700;
4226+
font-size: 16px;
4227+
line-height: 18px;
4228+
color: #333333;
4229+
margin: 0 0 5px;
4230+
}
4231+
4232+
.offline_city_content_item .offline_date{
4233+
font-family: 'Ubuntu', sans-serif;
4234+
font-style: normal;
4235+
font-weight: 400;
4236+
font-size: 16px;
4237+
line-height: 18px;
4238+
color: #333333;
4239+
margin: 0 0 10px;
4240+
}
4241+
4242+
.offline_city_content_item .offline_price{
4243+
font-family: 'Ubuntu', sans-serif;
4244+
font-style: normal;
4245+
font-weight: 700;
4246+
font-size: 28px;
4247+
line-height: 32px;
4248+
color: #333333;
4249+
margin: 0 0 6px;
4250+
}
4251+
4252+
.offline_city_content_item .decr-price{
4253+
text-decoration: none;
4254+
display: block;
4255+
font-family: 'Ubuntu', sans-serif;
4256+
font-style: normal;
4257+
font-weight: 400;
4258+
font-size: 16px;
4259+
line-height: 18px;
4260+
color: #333333;
4261+
margin: 0 0 33px;
4262+
}
4263+
4264+
#offline-map {
4265+
width: 100%;
4266+
height: 826px;
4267+
}
4268+
4269+
#offline-map .ymaps-2-1-78-balloon,
4270+
#offline-map .ymaps-2-1-78-balloon *,
4271+
#offline-map .ymaps-2-1-78-balloon *:before,
4272+
#offline-map .ymaps-2-1-78-balloon *:after {
4273+
box-sizing: border-box !important;
4274+
}
4275+
4276+
#offline-map .ymaps-2-1-78-balloon__tail:after{
4277+
display: none;
4278+
}
4279+
4280+
#offline-map .ymaps-2-1-78-balloon__close+.ymaps-2-1-78-balloon__content{
4281+
padding: 0 !important;
4282+
}
4283+
4284+
#offline-map .ymaps-2-1-78-balloon__content {
4285+
padding: 0 !important;
4286+
}
4287+
4288+
#offline-map .ymaps-2-1-78-balloon__content > ymaps[id] {
4289+
/*width: 100% !important;*/
4290+
/*height: 100% !important;*/
4291+
/*overflow: visible !important;*/
4292+
padding: 30px;
4293+
}
4294+
4295+
#offline-map .ymaps-2-1-78-balloon__layout{
4296+
width: 100%;
4297+
height: 100%;
4298+
}
4299+
4300+
.city-list{
4301+
list-style: none;
4302+
margin: 0;
4303+
padding: 0 370px 0 0;
4304+
4305+
}
4306+
4307+
.city-list ::-webkit-scrollbar-thumb {
4308+
background: red;
4309+
border-radius: 10px;
4310+
}
4311+
4312+
.simplebar-scrollbar::before {
4313+
background-color: rgba(45, 156, 219, 0.6);
4314+
border-radius: 12px;
4315+
height: 472px;
4316+
}
4317+
4318+
.city-list li a{
4319+
display: block;
4320+
text-decoration: none;
4321+
font-family: 'Ubuntu', sans-serif;
4322+
font-style: normal;
4323+
font-weight: 700;
4324+
font-size: 36px;
4325+
line-height: 1.2;
4326+
text-transform: uppercase;
4327+
color: #FFFFFF;
4328+
padding: 16px 0;
4329+
}
4330+
4331+
.city-list li a.active{
4332+
color: #F2C94C;
4333+
}
4334+
4335+
.city-list li a:hover{
4336+
color: #F2C94C;
4337+
}
4338+
41284339

41294340
@media (max-width: 992px) {
41304341
.labor-program .schedule-item h4 {
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)