Merge branch 'wordpress' of https://github.com/Teqniksoft/LawCarta_book into wordpress

This commit is contained in:
g
2020-09-14 17:56:02 +03:00
21 changed files with 187 additions and 51 deletions

View File

@@ -573,6 +573,12 @@ a:focus {
color: #aaa; }
.front-accordion .form-group.checkbox-label.pl {
padding-left: 30px; }
.front-accordion .form-group.checkbox-label .restrict-tipsy {
padding-left: 17px;
font-weight: 600;
font-size: 11px;
margin-bottom: -5px;
color: #8b8b8b; }
.front-accordion .buttons-control {
text-align: center;
padding: 5px 0 10px; }
@@ -604,6 +610,23 @@ blockquote {
blockquote {
padding: 10px 40px; } }
.text-page {
margin: 0 15px;
padding-bottom: 10px; }
@media (min-width: 769px) {
.text-page {
margin: 0 auto; } }
.text-page.blog {
margin: 0 auto;
max-width: 830px;
padding: 0 15px; }
.text-page.blog img {
max-width: 100%; }
.text-page.blog img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto; }
/* Icons. */
@font-face {
font-family: lawcarta;
@@ -613,7 +636,8 @@ blockquote {
font-style: normal; }
[class^="icon-"],
[class*=" icon-"] {
[class*=" icon-"],
.mx-icon-calendar {
font-family: lawcarta;
speak: none;
font-style: normal;
@@ -879,7 +903,8 @@ header {
header .cont .header-menu.static {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto; }
flex: 0 0 auto;
padding-left: 3px; }
header .cont .header-menu.center {
text-align: center; }
header .cont .sign-block {
@@ -920,10 +945,10 @@ header {
display: inline-block;
zoom: 1;
vertical-align: top;
font-size: 15px;
font-size: 14px;
text-transform: uppercase;
height: 15px;
margin: 0 3px;
margin: 0 1px;
position: relative; }
header .header-menu ul li.guest-data {
display: none; }
@@ -937,7 +962,7 @@ header {
header .header-menu ul li a {
position: relative;
display: block;
padding: 0 5px 6px;
padding: 0 4px 6px;
line-height: 1;
font-weight: normal;
border-bottom: 3px solid transparent;
@@ -1765,6 +1790,8 @@ footer {
.main-page .promo-header {
padding: 30px 0 20px;
text-align: center; }
.main-page .promo-header.small {
padding-top: 0; }
.main-page .promo-header h3 {
color: #7a724e;
font-size: 24px;
@@ -1775,6 +1802,8 @@ footer {
@media (min-width: 769px) {
.main-page .promo-header {
padding: 50px 0 20px; }
.main-page .promo-header.small {
padding-top: 0; }
.main-page .promo-header h3 {
font-size: 30px; } }
.main-page .promo-header.facebook h3 {
@@ -2661,7 +2690,7 @@ footer {
margin: 0;
padding: 0;
font-weight: bold;
font-size: 46px;
font-size: 39px;
line-height: 1;
padding: 0 0 15px; }
@media (min-width: 480px) {
@@ -2672,7 +2701,7 @@ footer {
font-size: 96px;
padding: 0 0 25px; } }
.blog-page .bp-list-header p {
font-size: 20px;
font-size: 18px;
line-height: 26px;
font-weight: 100; }
@media (min-width: 768px) {
@@ -2704,17 +2733,9 @@ footer {
.blog-page .bp-list-tabs ul li {
display: block;
float: left;
margin: 0 10px 10px 0; }
.blog-page .bp-list-tabs ul li:nth-child(2) {
clear: both; }
@media (min-width: 480px) {
.blog-page .bp-list-tabs ul li {
width: 48%;
margin: 0 1% 10px;
clear: none; }
.blog-page .bp-list-tabs ul li:nth-child(2) {
clear: none; } }
@media (min-width: 768px) {
width: 48%;
margin: 0 1% 10px; }
@media (min-width: 540px) {
.blog-page .bp-list-tabs ul li {
width: 25%;
margin: 0; } }
@@ -2731,7 +2752,8 @@ footer {
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
font-weight: 600;
position: relative;
padding: 0 10px; }
padding: 0 10px;
white-space: nowrap; }
.blog-page .bp-list-tabs ul li a:hover {
text-decoration: none;
z-index: 5;
@@ -2759,6 +2781,9 @@ footer {
.blog-page .bp-list-tabs ul li a {
height: 60px;
line-height: 60px;
font-size: 16px; } }
@media (min-width: 768px) {
.blog-page .bp-list-tabs ul li a {
font-size: 20px; } }
@media (min-width: 992px) {
.blog-page .bp-list-tabs ul li a {
@@ -2782,7 +2807,8 @@ footer {
margin: 0 auto 20px;
max-width: 100%;
position: relative;
padding-bottom: 70px; }
padding-bottom: 70px;
height: 260px; }
@media (min-width: 540px) {
.blog-page .bp-block {
width: 46%;
@@ -2804,7 +2830,8 @@ footer {
height: 100%;
z-index: 1;
background-position: center center;
background-size: 0, 0; }
background-repeat: no-repeat;
background-size: cover; }
.blog-page .bp-block .bp-img:after {
content: "";
display: block;
@@ -2814,40 +2841,39 @@ footer {
width: 100%;
height: 100%;
background: rgba(24, 102, 198, 0.7); }
@media (min-width: 540px) {
.blog-page .bp-block .bp-img {
background-size: cover; } }
.blog-page .bp-block .bp-title {
display: block;
z-index: 3;
font-weight: bold;
font-size: 26px;
font-size: 24px;
line-height: 28px;
width: 100%;
padding: 10px 15px;
color: #FFFFFF;
position: relative; }
position: absolute;
left: 10px;
top: 10px;
right: 10px;
bottom: 80px;
text-align: center; }
.blog-page .bp-block .bp-title .cont-overflow {
position: absolute;
left: 0;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
max-height: 146px;
overflow: hidden;
width: 100%;
padding: 4px 0; }
@media (min-width: 540px) {
.blog-page .bp-block .bp-title {
font-size: 32px;
line-height: 32px;
position: absolute;
left: 10px;
top: 10px;
right: 10px;
bottom: 80px;
text-align: center;
width: auto; }
font-size: 28px;
line-height: 32px; }
.blog-page .bp-block .bp-title .cont-overflow {
position: absolute;
left: 0;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
max-height: 228px;
padding: 5px 0;
overflow: hidden;
width: 100%; } }
max-height: 264px; } }
@media (min-width: 992px) {
.blog-page .bp-block .bp-title {
font-size: 32px; } }
.blog-page .bp-block .bp-description {
display: block;
position: absolute;
@@ -2881,3 +2907,41 @@ footer {
.blog-page .cat-all .bp-block {
display: block; }
.features-list {
background: #e6ebf2;
padding: 20px 0 1px;
font-weight: 300;
font-size: 14px;
line-height: 18px;
color: #616161;
word-spacing: 0;
margin: 0 0 50px; }
.features-list .cont {
max-width: 1230px;
padding: 0 10px; }
.features-list .fl-block {
display: block;
width: 100%;
word-spacing: normal;
padding: 0 20px;
margin-bottom: 30px; }
.features-list .fl-block .fl-title {
font-weight: 600;
margin: 7px 0;
color: #7a724e; }
.features-list .fl-block .fl-img img {
width: 50px; }
@media (min-width: 480px) {
.features-list {
font-size: 17px;
line-height: 21px; }
.features-list .fl-block .fl-img img {
width: auto; } }
@media (min-width: 768px) {
.features-list {
padding: 50px 0 30px; }
.features-list .fl-block {
display: inline-block;
width: 49%;
vertical-align: top; } }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@@ -0,0 +1,3 @@
<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.64516 32.5161H2.32259C1.04168 32.5161 0 33.5578 0 34.8387V67.3548C0 68.6357 1.04168 69.6774 2.32259 69.6774H24.8539C25.747 71.1209 27.3101 72 29.0323 72C30.7545 72 32.3176 71.1209 33.2106 69.6774H60.3871C61.668 69.6774 62.7097 68.6357 62.7097 67.3548V51.0968H63.871C67.0726 51.0968 69.6774 48.492 69.6774 45.2903V25.5484C70.9583 25.5484 72 24.5067 72 23.2258V20.9032C72 19.6223 70.9583 18.5806 69.6774 18.5806V2.32258C69.6774 1.04168 68.6357 0 67.3548 0H60.3871C59.1062 0 58.0645 1.04168 58.0645 2.32258V13.4547L52.9014 8.29161L43.7098 4.84374C43.3568 4.71252 42.9875 4.64516 42.6112 4.64516C40.8867 4.64516 39.4839 6.048 39.4839 7.77252C39.4839 8.14877 39.5512 8.5169 39.6836 8.86994L43.1303 18.0627L44.5924 19.5248C44.3055 19.9115 44.129 20.3853 44.129 20.9032V23.2258C44.129 24.5067 45.1707 25.5484 46.4516 25.5484V27.871H34.2406C32.0969 27.871 30.0797 28.6955 28.5515 30.1935H20.9032V3.48387C20.9032 1.5631 19.3401 0 17.4194 0H12.7742C10.8534 0 9.29033 1.5631 9.29033 3.48387V6.06077L7.28362 6.56245C5.73097 6.95148 4.64516 8.34155 4.64516 9.94297V14.8227C4.64516 16.1501 5.38258 17.345 6.57175 17.9385L7.85497 18.5806L6.57059 19.2228C5.38258 19.8174 4.64516 21.0112 4.64516 22.3386V25.5484H6.96774V22.3386C6.96774 21.8961 7.21394 21.4978 7.60994 21.3004L9.29033 20.4596V30.1935H6.96774C5.68684 30.1935 4.64516 31.2352 4.64516 32.5161ZM17.2103 39.4839L16.4357 44.129H13.759L12.9844 39.4839H17.2103ZM18.5806 37.1613H11.6117V16.2581H18.5806V37.1613ZM6.96774 9.94297C6.96774 9.40877 7.33006 8.94542 7.848 8.81535L9.29033 8.45535V16.7017L7.60994 15.8621C7.21394 15.6646 6.96774 15.2663 6.96774 14.8239V9.94297ZM12.7742 2.32258H17.4194C18.0592 2.32258 18.5806 2.844 18.5806 3.48387V13.9355H11.6129V3.48387C11.6129 2.844 12.1343 2.32258 12.7742 2.32258ZM18.727 44.5111L19.6061 39.2354C20.3714 38.8545 20.9032 38.0717 20.9032 37.1613V32.5161H27.871V62.7097H6.96774V32.5161H9.29033V37.1613C9.29033 38.0717 9.8222 38.8545 10.5875 39.2342L11.4666 44.5099C11.6535 45.6352 12.6174 46.4516 13.7578 46.4516H13.9355V51.0968H16.2581V46.4516H16.4357C17.5761 46.4516 18.54 45.6352 18.727 44.5111ZM30.1936 62.0408C31.2828 60.977 32.7147 60.3871 34.2406 60.3871H53.4194V32.5161H55.7419V62.7097H30.1936V62.0408ZM30.1936 59.1492V31.8461C31.284 30.7835 32.7159 30.1935 34.2406 30.1935H51.0968V58.0645H34.2406C32.796 58.0645 31.4117 58.4466 30.1936 59.1492ZM46.6386 8.42284L50.1619 9.74439L44.5843 15.3221L43.2627 11.7987L46.6386 8.42284ZM55.0614 18.5806L49.8356 13.3548L52.2581 10.9324L59.9063 18.5806H55.0614ZM45.7711 17.4194L48.1935 14.9969L51.7773 18.5806H46.9324L45.7711 17.4194ZM41.8065 7.77252C41.8065 7.23252 42.3836 6.82839 42.8946 7.01884L44.2498 7.52748L42.3662 9.4111L41.8575 8.05587C41.8239 7.96529 41.8065 7.8689 41.8065 7.77252ZM62.7097 16.2581H67.3548V18.5806H63.1905L60.3871 15.7773V2.32258H67.3548V4.64516H62.7097V6.96774H67.3548V9.29032H65.0323V11.6129H67.3548V13.9355H62.7097V16.2581ZM46.4516 20.9032H69.6774V23.2258H46.4505L46.4516 20.9032ZM62.7097 48.7742V34.8387C62.7097 33.5578 61.668 32.5161 60.3871 32.5161H58.0645C58.0645 31.2352 57.0228 30.1935 55.7419 30.1935H53.4194C53.4194 28.9126 52.3777 27.871 51.0968 27.871H48.7742V25.5484H67.3548V45.2903C67.3548 47.2111 65.7917 48.7742 63.871 48.7742H62.7097ZM26.2661 67.3548H2.32259V34.8387H4.64516V62.7097C4.64516 63.9906 5.68684 65.0323 6.96774 65.0323H55.7419C57.0228 65.0323 58.0645 63.9906 58.0645 62.7097V34.8387H60.3871V67.3548H31.7985L31.3548 68.2421C30.9124 69.127 30.0228 69.6774 29.0323 69.6774C28.0417 69.6774 27.1521 69.127 26.7097 68.2421L26.2661 67.3548ZM49.0651 31.9354H32.8071V41.2258H49.0651V31.9354ZM46.7426 38.9032H35.1297V34.258H46.7426V38.9032ZM44.42 45.8709V43.5483H49.0651V45.8709H44.42ZM42.0965 43.5483H32.8062V45.8709H42.0965V43.5483ZM32.8071 48.1933H49.0651V50.5159H32.8071V48.1933ZM49.0651 52.8383H32.8071V55.1609H49.0651V52.8383ZM9.58131 52.8383H25.8394V55.1609H9.58131V52.8383ZM25.8394 57.4837H9.58131V59.8063H25.8394V57.4837ZM18.8716 48.1933H25.8394V50.5159H18.8716V48.1933ZM25.8394 43.5483H21.1942V45.8709H25.8394V43.5483Z" fill="#246CB5"/>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -0,0 +1,3 @@
<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.64516 32.5161H2.32259C1.04168 32.5161 0 33.5578 0 34.8387V67.3548C0 68.6357 1.04168 69.6774 2.32259 69.6774H24.8539C25.747 71.1209 27.3101 72 29.0323 72C30.7545 72 32.3176 71.1209 33.2106 69.6774H60.3871C61.668 69.6774 62.7097 68.6357 62.7097 67.3548V51.0968H63.871C67.0726 51.0968 69.6774 48.492 69.6774 45.2903V25.5484C70.9583 25.5484 72 24.5067 72 23.2258V20.9032C72 19.6223 70.9583 18.5806 69.6774 18.5806V2.32258C69.6774 1.04168 68.6357 0 67.3548 0H60.3871C59.1062 0 58.0645 1.04168 58.0645 2.32258V13.4547L52.9014 8.29161L43.7098 4.84374C43.3568 4.71252 42.9875 4.64516 42.6112 4.64516C40.8867 4.64516 39.4839 6.048 39.4839 7.77252C39.4839 8.14877 39.5512 8.5169 39.6836 8.86994L43.1303 18.0627L44.5924 19.5248C44.3055 19.9115 44.129 20.3853 44.129 20.9032V23.2258C44.129 24.5067 45.1707 25.5484 46.4516 25.5484V27.871H34.2406C32.0969 27.871 30.0797 28.6955 28.5515 30.1935H20.9032V3.48387C20.9032 1.5631 19.3401 0 17.4194 0H12.7742C10.8534 0 9.29033 1.5631 9.29033 3.48387V6.06077L7.28362 6.56245C5.73097 6.95148 4.64516 8.34155 4.64516 9.94297V14.8227C4.64516 16.1501 5.38258 17.345 6.57175 17.9385L7.85497 18.5806L6.57059 19.2228C5.38258 19.8174 4.64516 21.0112 4.64516 22.3386V25.5484H6.96774V22.3386C6.96774 21.8961 7.21394 21.4978 7.60994 21.3004L9.29033 20.4596V30.1935H6.96774C5.68684 30.1935 4.64516 31.2352 4.64516 32.5161ZM17.2103 39.4839L16.4357 44.129H13.759L12.9844 39.4839H17.2103ZM18.5806 37.1613H11.6117V16.2581H18.5806V37.1613ZM6.96774 9.94297C6.96774 9.40877 7.33006 8.94542 7.848 8.81535L9.29033 8.45535V16.7017L7.60994 15.8621C7.21394 15.6646 6.96774 15.2663 6.96774 14.8239V9.94297ZM12.7742 2.32258H17.4194C18.0592 2.32258 18.5806 2.844 18.5806 3.48387V13.9355H11.6129V3.48387C11.6129 2.844 12.1343 2.32258 12.7742 2.32258ZM18.727 44.5111L19.6061 39.2354C20.3714 38.8545 20.9032 38.0717 20.9032 37.1613V32.5161H27.871V62.7097H6.96774V32.5161H9.29033V37.1613C9.29033 38.0717 9.8222 38.8545 10.5875 39.2342L11.4666 44.5099C11.6535 45.6352 12.6174 46.4516 13.7578 46.4516H13.9355V51.0968H16.2581V46.4516H16.4357C17.5761 46.4516 18.54 45.6352 18.727 44.5111ZM30.1936 62.0408C31.2828 60.977 32.7147 60.3871 34.2406 60.3871H53.4194V32.5161H55.7419V62.7097H30.1936V62.0408ZM30.1936 59.1492V31.8461C31.284 30.7835 32.7159 30.1935 34.2406 30.1935H51.0968V58.0645H34.2406C32.796 58.0645 31.4117 58.4466 30.1936 59.1492ZM46.6386 8.42284L50.1619 9.74439L44.5843 15.3221L43.2627 11.7987L46.6386 8.42284ZM55.0614 18.5806L49.8356 13.3548L52.2581 10.9324L59.9063 18.5806H55.0614ZM45.7711 17.4194L48.1935 14.9969L51.7773 18.5806H46.9324L45.7711 17.4194ZM41.8065 7.77252C41.8065 7.23252 42.3836 6.82839 42.8946 7.01884L44.2498 7.52748L42.3662 9.4111L41.8575 8.05587C41.8239 7.96529 41.8065 7.8689 41.8065 7.77252ZM62.7097 16.2581H67.3548V18.5806H63.1905L60.3871 15.7773V2.32258H67.3548V4.64516H62.7097V6.96774H67.3548V9.29032H65.0323V11.6129H67.3548V13.9355H62.7097V16.2581ZM46.4516 20.9032H69.6774V23.2258H46.4505L46.4516 20.9032ZM62.7097 48.7742V34.8387C62.7097 33.5578 61.668 32.5161 60.3871 32.5161H58.0645C58.0645 31.2352 57.0228 30.1935 55.7419 30.1935H53.4194C53.4194 28.9126 52.3777 27.871 51.0968 27.871H48.7742V25.5484H67.3548V45.2903C67.3548 47.2111 65.7917 48.7742 63.871 48.7742H62.7097ZM26.2661 67.3548H2.32259V34.8387H4.64516V62.7097C4.64516 63.9906 5.68684 65.0323 6.96774 65.0323H55.7419C57.0228 65.0323 58.0645 63.9906 58.0645 62.7097V34.8387H60.3871V67.3548H31.7985L31.3548 68.2421C30.9124 69.127 30.0228 69.6774 29.0323 69.6774C28.0417 69.6774 27.1521 69.127 26.7097 68.2421L26.2661 67.3548ZM49.0651 31.9354H32.8071V41.2258H49.0651V31.9354ZM46.7426 38.9032H35.1297V34.258H46.7426V38.9032ZM44.42 45.8709V43.5483H49.0651V45.8709H44.42ZM42.0965 43.5483H32.8062V45.8709H42.0965V43.5483ZM32.8071 48.1933H49.0651V50.5159H32.8071V48.1933ZM49.0651 52.8383H32.8071V55.1609H49.0651V52.8383ZM9.58131 52.8383H25.8394V55.1609H9.58131V52.8383ZM25.8394 57.4837H9.58131V59.8063H25.8394V57.4837ZM18.8716 48.1933H25.8394V50.5159H18.8716V48.1933ZM25.8394 43.5483H21.1942V45.8709H25.8394V43.5483Z" fill="#9a8982"/>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.0 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.0 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -238,5 +238,13 @@ function get_lawcarta_ga_config(){
return $res;
}
add_filter( 'post_thumbnail_html', 'remove_width_attribute', 10 );
add_filter( 'image_send_to_editor', 'remove_width_attribute', 10 );
function remove_width_attribute( $html ) {
$html = preg_replace( '/(width|height)="\d*"\s/', "", $html );
return $html;
}

View File

@@ -4,8 +4,8 @@
?>
<div class="content no-pb">
<div class="top-panel empty"></div>
<div class="cont back-white">
<div class="text-page">
<div class="cont">
<div class="text-page blog">
<h1><?=get_the_title($post); ?></h1>
<br>
<?=get_the_content(null,false, $post); ?>

View File

@@ -389,3 +389,6 @@ footer.v2 {
.pc-slider .splide__arrow--next, .pc-slider .splide__arrow--prev {
background-image: url("../img/promo-calendar/arrow.svg"); }
.features-list .fl-block .fl-title {
color: #246CB5; }

File diff suppressed because one or more lines are too long

View File

@@ -520,6 +520,27 @@ ul.tabset-tabs li {
.main-page .mp-serve .serve-col:hover .normal {
color: #fff; }
.pc-slider .serve-col {
border: 2px solid #69a7ec; }
.pc-slider .serve-col .sc-author-text {
color: #454545; }
.pc-slider .serve-col .sc-author-text .quote-icon {
background-image: url("../img/promo-calendar/quote.svg"); }
.pc-slider .serve-col .sc-author {
color: #4F4F4F; }
.pc-slider .slider-header {
color: #134D94; }
@media (min-width: 769px) {
.pc-slider .slider-header {
color: #246CB5; } }
.pc-slider .splide__arrow--next, .pc-slider .splide__arrow--prev {
background-image: url("../img/promo-calendar/arrow.svg"); }
.features-list .fl-block .fl-title {
color: #246CB5; }
h1 .header-number {
color: #ff6b00; }
@@ -640,6 +661,10 @@ h1, .sign-page h1 {
.student-casebook-title .sct-bg {
background: #fff; }
.student-casebook-title .current-chapter {
background: #f0f0f0;
color: #333; }
.casebook-top-options .dropdown .button.xl.white {
background: none;
border: 2px solid #fff;

File diff suppressed because one or more lines are too long