Commit 4e3963e5 authored by john's avatar john

Merge branch 't_3031'

3104
parents 46d743cb 4ed7a1be
...@@ -6,19 +6,32 @@ use yii\web\AssetBundle; ...@@ -6,19 +6,32 @@ use yii\web\AssetBundle;
class GeneratorAsset extends AssetBundle class GeneratorAsset extends AssetBundle
{ {
public $sourcePath = '@common/modules/faq/assets/src';
public $sourcePath = '@common/modules/faq/assets/src';
public $css = [ public $css = [
'css/generator.css', 'css/generator.css',
'css/style.css', 'css/style.css',
'css/responsive.css', 'css/responsive.css',
//
'css/faq.css',
"css/editormd.css",
"css/vendor.min.css",
"css/styles.css",
"css/setup_recomends.css",
"/plugins/tooltipster-master/tooltipster.css",
]; ];
public $js = [ public $js = [
'js/generator.js', 'js/generator.js',
//
'js/faq.js',
'js/owl.js',
'js/accordion.js',
'/plugins/tooltipster-master/jquery.tooltipster.js',
]; ];
public $depends = [ public $depends = [
'yii\web\JqueryAsset', 'yii\web\JqueryAsset',
'yii\bootstrap\BootstrapAsset', 'yii\bootstrap\BootstrapAsset',
// 'backend\assets\AppAsset' // 'backend\assets\AppAsset'
]; ];
} }
This diff is collapsed.
.faq_sec ol {
list-style: none;
}
.faq_sec img {
max-width: 100%;
}
.faq_sec p img ,
.faq_sec li img {
margin-top: 20px;
margin-bottom: 20px
}
\ No newline at end of file
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600);
.faq_sec .mb50 {
margin-bottom: 50px;
}
.faq_sec .mb60 {
margin-bottom: 60px;
}
.faq_sec {
font-size: 17px;
line-height: 28px;
font-family: "RobotoRegular" !important;
color: #0a0a0a !important;
}
.faq_sec a {
text-decoration: none;
color: #009ad4;
}
.faq_sec a:hover {
text-decoration: none;
color: #323232;
}
.faq_sec p {
font-size: 17px;
line-height: 28px;
color: #0a0a0a !important;
}
.faq_sec h1,
.faq_sec h2,
.faq_sec h3,
.faq_sec h4,
.faq_sec h5,
.faq_sec h6,
.faq_sec .h1,
.faq_sec .h2,
.faq_sec .h3,
.faq_sec .h4,
.faq_sec .h5,
.faq_sec .h6 {
color: #243340;
/*line-height: 1.15;
font-weight: 500;
font-family: "RobotoRegular" !important;*/
}
.faq_sec h2,
.faq_sec .h2{
font-size: 35px;
line-height: 47px;
margin-bottom: 35px;
font-family: "RobotoRegular" !important;
}
.faq_sec h3,
.faq_sec .h3{
font-size: 35px;
line-height: 51px;
margin-bottom: 30px;
}
.faq_sec h4,
.faq_sec .h4{
font-size: 18px;
line-height: 24px;
margin-bottom: 20px;
}
.faq_sec h5,
.faq_sec .h5{
font-size: 30px;
line-height: 47px;
margin-bottom: 30px;
color: #243340;
}
.faq_sec iframe {
margin-bottom: 20px;
}
.faq_sec ul:not([class]), .faq_sec ol:not([class]) {
margin-bottom: 20px;
font-size: 17px;
line-height: 28px;
list-style: none;
}
.faq_sec ol:not([class]) {
counter-reset: myCounter;
padding-left: 45px;
list-style: none;
}
.faq_sec ol:not([class])>li {
position: relative;
padding-bottom: 21px;
}
.faq_sec ol:not([class])>li:before {
counter-increment: myCounter;
content: counter(myCounter);
position: absolute;
top: 0px;
left: -40px;
font-family: "RobotoBold";
background: #67ac1d;
display: inline-block;
text-align: center;
font-size: 11px;
line-height: 28px;
width: 28px;
height: 28px;
border: none;
color: #ffffff;
border-radius: 100%;
}
.faq_sec img {
max-width: 100%;
height: auto;
margin-bottom: 40px;
}
blockquote{
padding: 25px 35px;
position: relative;
/*font-style: italic;*/
font-size: 14px;
line-height: 24px;
color: #050505;
border-radius: 0 5px 5px 0;
background-color: #bce094;
}
blockquote:not(:last-child){
margin-bottom: 20px;
}
blockquote:before{
content: '';
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 7px;
background-color: #67ac1d;
}
blockquote.pink {
background-color: #ffb0ae;
}
blockquote.pink:before{
background-color: #ff5b57;
}
blockquote.blue {
background-color: #bde7e5;
}
blockquote.blue:before{
background-color: #2a8e89;
}
mark:before {
content: 'Документация для разработчика';
font-size: 22px;
line-height: 47px;
color: #243340;
font-family: "RobotoBold";
margin-bottom: 25px;
display: block;
padding-left: 50px;
background: url(/images/mark_icon.png) 0 8px no-repeat;
}
mark {
display: block;
padding: 35px 30px;
color: #243340;
background-color: #f3f5f7;
border-radius: 10px;
}
mark * {
background-color: transparent;
}
.faq_sec .reference_list {
list-style: none;
padding-left: 0;
}
.faq_sec .reference_list li {
margin-bottom: 12px;
}
.faq_sec .reference_list a{
color: #009ad4;
font-size: 14px;
line-height: 20px;
text-decoration: none;
}
.faq_sec .reference_list a:hover {
color: #323232;
text-decoration: none;
}
.rubric_icon {
margin-top: 8px;
}
.reference_right_box input:not([type="radio"]):not([type="checkbox"]) {
border: none;
height: 43px;
border-radius: 3px;
font-size: 16px !important;
font-family: "RobotoRegular" !important;
margin-bottom: 20px;
width: 100%;
outline: none;
padding-left: 15px;
padding-right: 15px;
}
.reference_right_box textarea {
font-size: 16px !important;
font-family: "RobotoRegular" !important;
padding-left: 15px;
padding-right: 15px;
outline: none;
margin-bottom: 20px;
}
.btn_green_sm {
display: inline-block;
outline: none;
background-color: #67ac1d;
color: #fff;
font-size: 16px;
line-height: 20px;
text-align: center;
padding: 12px 20px;
border-radius: 5px;
margin-bottom: 10px;
border: none;
font-family: "Open Sans" !important;
font-weight: 600;
}
.btn_green_sm:hover{
background-color: #7bd619;
color: #fff;
}
.blockquote_box:before {
content: '';
position: absolute;
top: 16px;
left: 15px;
display: block;
background: url(/images/blockquote_info_icon.png) 0px 0px no-repeat;
width: 27px;
height: 27px;
}
.blockquote_box {
position: relative;
display: block;
padding: 15px 20px 25px 55px;
margin-left: -15px;
margin-right: -15px;
border-radius: 10px 10px 5px 5px;
background: #f3f5f7 url(/images/blockquote_box_line.png) 0 100% no-repeat;
margin-bottom: 20px;
}
.btn_info_box {
height: 94px;
display: block;
position: relative;
margin-left: -15px;
margin-right: -15px;
}
.btn_info_box span {
top: 50%;
right: 0;
left: auto;
position: absolute;
display: block;
font-family: "RobotoBold";
z-index: 4;
padding-left: 20px;
padding-right: 80px;
font-size: 18px;
line-height: 24px;
color: #243340;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
-o-transform: translate(0, -50%);
transform: translate(0, -50%);
}
.btn_info_box:after {
content: '';
display: block;
position: absolute;
z-index: 2;
left: 15px;
right: 0;
top: 7px;
height: 77px;
border-radius: 0 5px 5px 70px;
background: #f3f5f7 url(/images/btn_info_box_icon_arrow.png) calc(100% - 20px) center no-repeat;
-webkit-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.btn_info_box:before {
content: '';
display: block;
z-index: 3;
position: absolute;
top: 0;
left: 0;
height: 94px;
width: 115px;
background: url(/images/btn_info_box_icon.png) 0 0 no-repeat;
}
.btn_info_box:hover:after {
background-position: calc(100% - 8px) center;
}
@media only screen and (max-width: 970px) and (min-width: 768px) {
.btn_info_box span {
font-size: 16px;
line-height: 20px;
}
}
.faq_sec .way {
font-size: 13px;
color: #b4b4b4;
}
.faq_sec .way span {
padding: 0 15px;
}
.faq_sec .way a:hover{
color: #323232;
}
.faq_sec .rubric_list {
list-style: none;
padding-left: 0px;
font-size: 17px;
line-height: 28px;
}
.reference_right_box {
margin-top: 12px;
}
@media only screen and (max-width: 768px) {
.btn_info_box,
.blockquote_box {
margin-left: 0;
margin-right: 0;
}
}
.top_line_inf2 {
min-height: 44px;
background-color: #051922;
}
.top_line_inf2 ul {
margin-bottom: 0 !important;
padding-left: 0 !important;
}
.top_line_icon {
display: block;
position: absolute;
left: 0px;
top: 50%;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
-o-transform: translate(0, -50%);
transform: translate(0, -50%);
}
.icon_info_new {
width: 24px;
height: 24px;
background: url(/images/icon_info_new.png) 0 0 no-repeat;
}
.icon_video_new {
width: 23px;
height: 18px;
background: url(/images/icon_video_new.png) 0 0 no-repeat;
}
.icon_doc_new {
width:18px;
height: 24px;
background: url(/images/icon_doc_new.png) 0 0 no-repeat;
}
.top_line_inf2 li {
display: inline-block;
border-right: 1px solid #0e3242;
position: relative;
margin-left: 20px;
}
.top_line_inf2 li:last-child {
border: none;
}
.top_line_inf2 li a {
color: #fffcf4;
font-size: 13px;
line-height: 25px;
padding: 10px 20px;
padding-left: 35px;
display: inline-block;
text-decoration: none;
-webkit-transition: all 0s;
-o-transition: all 0s;
transition: all 0s;
}
.top_line_inf2 li:first-child {
margin-left: 0px;
}
.top_line_inf2 li a:hover {
text-decoration: none;
color: #6def0d;
}
.top_line_inf2 li a:hover span {
background-position: 0 100%;
}
.top_line_inf2 li.active a {
text-decoration: none;
color: #6def0d;
}
.top_line_inf2 li.active a span {
background-position: 0 100%;
}
.top_line_inf2 li.active:after {
position: absolute;
content: '';
left: 50%;
margin-left: -3px;
bottom: -6px;
width: 0px;
height: 0px;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid #051922;
}
@media only screen and (max-width: 1000px) {
.top_line_inf2 li {
display: block;
margin-left: 0;
}
}
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
$('.set > li.active').find('.set_in').css({display: 'block'});
if($('.set').length){
$(".set > li > a").on("click", function(){
if($(this).parent().hasClass('active')){
$(this).parent().removeClass("active");
$(this).siblings('.set_in').slideUp(200);
//$(".set > a i").removeClass("fa-minus").addClass("fa-plus");
}else{
//$(".set > a i").removeClass("fa-minus").addClass("fa-plus");
//$(this).find("i").removeClass("fa-plus").addClass("fa-minus");
$(".set > li> a").parent().removeClass("active");
//$(this).addClass("active");
$(this).parent().addClass("active");
$('.set_in').slideUp(200);
$(this).siblings('.set_in').slideDown(200);
}
});
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment