Commit 307d3af9 authored by andre's avatar andre

новая верстка блога

parent 5b4b8ff0
<?php
namespace common\modules\blog\assets;
use yii\web\AssetBundle;
class GeneratorAsset extends AssetBundle
{
public $sourcePath = '@common/modules/blog/assets/src';
public $css = [
'css/style_add.css',
'css/style_add_2.css',
'css/style_add_3.css',
'css/style_add_4.css',
'css/style_add_5.css',
'css/style_add_6.css',
'css/style_add_7.css',
'css/style_add_22.05.16.css',
];
public $js = [
'js/generator.js',
];
public $depends = [
'yii\web\JqueryAsset',
'yii\bootstrap\BootstrapAsset',
// 'backend\assets\AppAsset'
];
}
.clear {
clear: both;
}
.support_form {
width: 760px;
padding: 30px;
padding-bottom: 40px;
color: #525252;
}
.popup_2 .popup__title {
font-size: 38px;
font-weight: bold;
color: #344555;
text-align: left;
}
.support_form_left {
width: 45%;
float: left;
padding-right: 15px;
}
.support_form_right {
width: 55%;
float: right;
padding-left: 15px;
}
.popup_2 p {
font-size: 17px;
color: #525252;
line-height: 22px;
font-weight: 400;
}
.support_form .support_block__link_pv {
margin-top: 10px;
}
.popup_2 input:not([type="radio"]):not([type="checkbox"]){
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-o-border-radius: 10px;
-ms-border-radius: 10px;
width: 100%;
}
.popup_2 input {
margin-bottom: 10px;
}
.popup_2 input:not(:last-child) {
margin-bottom: 30px;
}
.popup_2 .checkbox:not(checked) + label {
position: relative;
padding: 6px 0px 0px 28px;
margin-bottom: 30px;
}
.popup_2 label {
margin-bottom: 10px;
}
.support_form_left2 {
float: left;
width: 50%;
padding-right: 15px;
}
.support_form_right2 {
float: right;
width: 50%;
padding-left: 15px;
margin-bottom: 30px;
}
.popup_2 .sect_cont_form__textarea {
background-color: #f1f1f1;
height: 170px;
width: 100%;
line-height: 24px;
resize: none;
}
.file-upload_block_cs2 {
height: 170px;
background-color: #f8f8f8;
padding-top: 30px;
border: 2px solid #f1f1f1;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-o-border-radius: 10px;
-ms-border-radius: 10px;
}
.file-upload_block_cs2 .filename_cs {
background-color: #f8f8f8;
margin-bottom: 0px !important;
}
.button-lg {
padding-left: 30px;
padding-right: 30px;
width: auto;
}
.blog_form {
width: 820px;
padding: 30px;
padding-bottom: 40px;
color: #525252;
}
.blog_form_left {
width: 280px;
float: left;
padding-right: 18px;
}
.blog_form_right {
width: 340px;
float: left;
font-size: 15px;
}
.blog_form_right p {
font-size: 15px;
}
.blog_lmg {
float: right;
}
.blog_form_2 {
width: 670px;
padding: 30px;
padding-bottom: 40px;
color: #525252;
}
.blog_form_left50 {
float: left;
width: 50%;
padding-right: 15px;
}
.blog_form_right50 {
float: right;
width: 50%;
padding-left: 15px;
}
.registration_form {
width: 940px;
padding: 0;
color: #525252;
}
.popup__title2 {
display: block;
background-color: #3a4447;
padding: 30px;
font-size: 25px;
line-height: 30px;
color: #fff;
-moz-border-radius: 6px 6px 0 0;
-webkit-border-radius: 6px 6px 0 0;
-o-border-radius: 6px 6px 0 0;
-ms-border-radius: 6px 6px 0 0;
margin-top: -1px;
}
.validreg_form2 {
padding: 30px;
}
.registration_form .mfp-close {
color: #fff;
}
.registration_form_left {
width: 40%;
float: left;
padding-right: 15px;
}
.registration_form_right {
width: 60%;
float: right;
padding-left: 15px;
}
.save-button-lg {
height: 60px;
font-size: 24px;
margin-bottom: 30px;
}
.popup__title3 {
font-size: 25px;
line-height: 27px;
font-weight: bold;
margin-bottom: 18px;
display: block;
}
.registration_form p {
font-size: 16px;
color: #3c4755;
line-height: 27px;
font-weight: 400;
}
.registration_form input:not([type="radio"]):not([type="checkbox"]), select.input_st {
width: 100%;
}
.registration_form input:not(:last-child) {
margin-bottom: 20px;
}
.red_text {
color: #bb6e6e;
}
.registration_form_img img {
width: 100%;
}
.registration_form2 {
width: 700px;
}
.registration_form_left50 {
float: left;
width: 50%;
padding-right: 35px;
}
.registration_form_right50 {
float: right;
width: 50%;
padding-left: 35px;
}
.button_social a:hover {
opacity: 0.8;
}
.input_st_wr {
padding: 0 10px;
background: #F5F5F5;
border-radius: 50px;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
-o-border-radius: 50px;
-ms-border-radius: 50px;
margin-bottom: 20px;
}
.input_st_wr .input_st {
margin: 0;
}
@media only screen and (max-width: 992px) {
.registration_form, .blog_form_2, .blog_form, .support_form {
width: 100%;
height: auto;
}
.popup_2 .popup__title {
font-size: 32px;
}
}
@media only screen and (max-width: 820px) {
.blog_lmg {
display: none;
}
}
@media only screen and (max-width: 767px) {
.form_resp {
float: none;
width: 100%;
padding-left: 0;
padding-right: 0;
}
.support_form_right {
margin-bottom: 20px;
}
}
@media only screen and (max-width: 479px) {
.popup_2 .popup__title {
font-size: 22px;
}
.blog_form_right {
width: 100%;
}
}
\ No newline at end of file
.top_line {
background-color: #232323;
min-height: 44px;
padding-top: 8px;
padding-bottom: 8px;
}
.top_line span {
font-size: 13px;
line-height: 26px;
color: #737373;
padding-right: 8px;
}
.top_line strong {
font-size: 18px;
line-height: 26px;
color: #737373;
padding-right: 15px;
}
.top_line a {
text-decoration: none;
font-size: 13px;
line-height: 26px;
color: #7bd9ff;
}
.top_line a:hover {
border-bottom: 1px dotted #7bd9ff;
}
.top_line .name_text {
color: #bfc0c0;
}
.top_line i {
color: #bfc0c0;
}
.top_line a i {
color: #7bd9ff;
}
.top_line .label {
position: absolute;
top: -4px;
left: 15px;
font-size: 9px;
font-weight: normal;
}
.top_line .glyphicon-bell {
margin-right: 41px;
margin-top: 5px;
}
.top_line_right {
text-align: right;
}
.client_interface {
background-color: #fff;
padding-top: 40px;
}
.client_interface h2 {
font-size: 29px;
color: #2d3642;
margin-top: 20px;
margin-bottom: 10px;
}
.logo_taskon {
padding-top: 10px;
float: right;
}
.logo_taskon span {
display: block;
padding-top: 20px;
font-size: 13px;
color: #7e8792;
float: left;
padding-right: 30px;
}
.right_box_top {
margin-bottom: 20px;
}
.btn-success-2 {
background-color: #7cb336;
border-color: #7cb336;
margin-bottom: 10px;
color: #fff;
}
.btn-success-2:hover {
background-color: #96cc50;
border-color: #96cc50;
color: #fff;
}
.btn-success-2:focus {
color: #fff;
}
.btn-default-2 {
background-color: #919699;
border-color: #919699;
font-size: 15px;
line-height:15px ;
padding: 6px 7px;
color: #fff !important;
}
.btn-default-2:hover {
background-color: #919699;
color: #fff;
}
.btn-default-2.active {
background-color: #919699;
color: #fff;
}
.btn-size-2 {
font-size: 19px;
border-color: #ccc;
padding: 6px 20px;
padding-bottom: 7px;
}
.panel-group-2 {
font-size: 14px;
}
.panel-group-2 .panel {
border-radius: 0px !important;
background-color: #f2f2f2;
border: none;
margin-top: 0 !important;
}
.panel-group-2 .panel-heading {
border-bottom: 1px solid #c4c4c4;
background-color: #f5f5f5;
}
.w100pr {
width: 100%;
margin-bottom: 5px;
}
.panel-group-2 .panel-collapse {
background-color: #fff;
}
.gray_box_2 {
border-left: 3px solid #f5f5f5;
}
.pink_box_2 {
border-left: 3px solid #ffe5cc;
}
.color_on_cursor:hover {
background-color: #ffffdb;
}
.panel-group-2 a:hover {
text-decoration: none;
}
.panel-group-2 .glyphicon, .panel-group-2 .caret {
color: #919699;
}
.caret {
border-top: 4px solid #919699;
border-right: 4px solid transparent;
border-bottom: 0 dotted;
border-left: 4px solid transparent;
}
.arrov_poz span {
display: block;
float: none;
margin-bottom: 3px;
}
.caret_top {
border-top: 0 dotted;
border-bottom: 4px solid #919699;
content: "";
}
.table_header .box_td p {
margin: 0;
color: #2d3642;
font-size: 14px;
}
.table_header strong {
font-size: 14px;
}
.box_td {
width: 140px;
vertical-align: middle;
}
.box_td p {
margin: 0;
color: #737373;
}
.box_td p strong {
margin: 0;
color: #737373;
}
.box_td span {
color: #a3a3a3;
}
.panel-title2, .panel-title2 a {
color: #6a6d6f;
margin: 0;
}
.box_td_fir {
width: 70px;
}
.box_td_fir span {
color: #737373;
}
.w100pr {
width: 100%;
margin-bottom: 5px;
}
.box_td_fir .arrov_poz {
padding-top: 2px;
width: 25px;
}
.box_td_cont {
padding-right: 30px;
}
.box_td_cont p {
margin: 0;
}
.green_text, .green_text strong {
color: #b2cf9b !important;
}
.gray_box {
border-left: 3px solid #f5f5f5;
}
.green_text {
color: #b2cf9b !important;
}
.align_right {
text-align: right;
}
.logo_taskon {
padding-top: 10px;
float: right;
}
.logo_taskon span {
display: block;
padding-top: 20px;
font-size: 13px;
color: #7e8792;
float: left;
padding-right: 30px;
}
.logo_taskon a {
display: block;
float: left;
}
.tooltip_wr {
position: relative;
}
.tooltip_cont {
cursor: pointer;
}
.tooltip_box {
background: url(../images_new/tooltip_bg.png) no-repeat center center;
width: 180px;
height: 75px;
display: none;
position: absolute;
top: -77px;
left: -80px;
color: #3c4755;
font-family: "RobotoLight";
font-size: 14px;
line-height: 21px;
text-align: center;
padding-top: 20px;
}
.tooltip_wr:hover .tooltip_box{
display: block;
}
.separator_close {
display: block;
background-color: #dfe3e6;
height: 35px;
text-align: center;
line-height: 36px;
color: #45494d;
border-bottom: 1px solid #b9c1c4;
font-size: 13px;
text-transform: uppercase;
}
.separator_close:hover {
color: #45494d;
text-decoration: none;
background-color: #cdd1d5;
}
.panel-body-ex-1 {
border-left: 3px solid #fff;
padding: 8px 15px 5px 15px;
border-bottom: 1px solid #f2f2f2;
}
.panel-body-ex-1 label.btn {
display: inline-block;
padding: 0;
width: 13px;
height: 13px;
border: 1px solid #919699;
border-radius: 1px;
margin-top: 10px;
margin-right: 15px;
}
.text-mes {
float: left;
}
.panel-body-ex-2 .text-mes p {
line-height: 26px;
font-size: 13px;
color: #999999;
padding: 0;
margin: 0;
}
.panel-body-ex-1 label.btn.active {
background-image: url('../images_new/panel-body-label-bg-act.jpg');
background-repeat: no-repeat;
}
.panel-body-ex-2 label.btn {
border: 1px solid #b1b7bb;
margin-top: 7px;
}
.no_pad {
padding: 0 !important;
border: none !important;
}
.table-responsive-conf {
overflow-x: inherit ;
}
@media only screen and (max-width: 992px) {
.box_td {
min-width: 120px;
}
.top_line_right {
text-align: left;
}
}
@media only screen and (max-width: 767px) {
.logo_taskon {
float: left;
padding-top: 0;
}
.box_td_cont {
min-width: 400px;
white-space: normal;
}
.box_td_fir {
min-width: 70px;
}
.text-mes {
width: 90%;
}
.tooltip_box {
left: -150px;
}
}
@media only screen and (max-width: 479px) {
.top_line strong {
font-size: 14px;
padding-right: 8px;
}
.resp_hidden {
display: none;
}
}
\ No newline at end of file
.btn_show_more_wr {
text-align: center;
padding-top: 50px;
padding-bottom: 10px;
}
.btn_show_more {
font-weight: bold;
font-size: 18px;
line-height: 20px;
color: #fff;
background-color: #ff6e6e;
background: linear-gradient(to top, #e73601, #ff6e6e);
border-radius: 35px;
text-align: center;
padding: 20px 25px;
display: inline-block;
border: none;
outline: none;
text-decoration: none;
}
.btn_show_more:hover, .btn_show_more:active, .btn_show_more:focus {
text-decoration: none;
color: #fff;
background-color: #e73601;
background: linear-gradient(to top, #ff6e6e, #e73601);
}
.btn_show_more img {
margin-right: 16px;
}
.btn_show_more span {
position: relative;
top: 2px;
}
.icon_social_btn {
width: 40px;
height: 40px;
border: none;
outline: none;
background-color: #49acc5;
display: inline-block;
margin: 2px;
background-position: center 10px;
background-repeat: no-repeat;
border-radius: 100%;
}
.icon_social_btn:hover {
background-color: #fee025;
background-position: center -30px;
}
.icon_social_g {
background-image: url(/images_new_22.05.16/icon_social_g.png);
}
.icon_social_tw {
background-image: url(/images_new_22.05.16/icon_social_tw.png);
}
.icon_social_tw:hover {
background-position: center -32px;
}
.icon_social_f {
background-image: url(/images_new_22.05.16/icon_social_f.png);
}
.icon_social_f:hover {
background-position: center -28px;
}
.icon_social_b {
background-image: url(/images_new_22.05.16/icon_social_b.png);
}
.icon_social_inst {
background-image: url(/images_new_22.05.16/icon_social_inst.png);
}
.icon_social_yt {
background-image: url(/images_new_22.05.16/icon_social_yt.png);
background-position: center 8px;
}
.icon_social_yt:hover {
background-position: center -29px;
}
.sidebar_btn_2 {
min-width: 170px;
text-align: center;
font-weight: bold;
font-size: 14px;
line-height: 18px;
color: #fff;
background-color: #49acc6;
background: linear-gradient(to top, #49acc6, #48bedc);
border-radius: 35px;
text-align: center;
padding: 15px 25px;
display: inline-block;
border: none;
outline: none;
text-decoration: none;
margin-bottom: 16px;
}
.sidebar_btn_2:hover, .sidebar_btn_2:active, .sidebar_btn_2:focus {
text-decoration: none;
color: #2d3642;
background-color: #fdd101;
background: linear-gradient(to top, #fdd101, #fff04d);
}
.toltip_btn {
position: relative;
}
.toltip_btn .blog_toltip_right {
display: none;
width: 209px;
height: 66px;
line-height: 17px;
color: #3c4755;
background: url(/images/blog_toltip_right.png) no-repeat center center;
text-align: left;
font-size: 14px;
font-family: "RobotoLight";
position: absolute;
padding: 14px 30px 14px 20px;
left: -215px;
top: -10px;
}
.toltip_btn:hover .blog_toltip_right, .toltip_btn:focus .blog_toltip_right {
display: block;
}
.checkbox_btn {
vertical-align: top;
width: 17px;
height: 17px;
margin: 0 3px 0 0;
}
.checkbox_btn + label {
cursor: pointer;
margin-bottom: 10px;
}
.checkbox_btn:not(checked) {
position: absolute;
opacity: 0;
}
.checkbox_btn:not(checked) + label {
position: relative;
padding: 0 0 0 60px;
background-color: #49acc5;
line-height: 22px;
padding: 10px 25px;
color: #fff;
font-weight: bold;
font-size: 14px;
width: 100%;
border-radius: 25px;
}
.checkbox_btn:checked + label {
background-color: #fee22b;
color: #2d3642;
}
.checkbox_btn:not(checked) + label:hover {
background-color: #fee22b;
color: #2d3642;
}
.checkbox_btn:not(checked) + label:before {
content: '';
position: absolute;
top: 9px;
right: 10px;
width: 25px;
height: 25px;
border-radius: 100%;
background: #2689a2;
}
.checkbox_btn:not(checked) + label:after {
content: '';
position: absolute;
top: 17px;
right: 16px;
width: 12px;
height: 9px;
background: url(/images_new_22.05.16/icon_checkbox_btn.png) 0 0 no-repeat;
opacity: 0;
}
.checkbox_btn:checked + label:before {
background: #686029 !important;
}
.checkbox_btn:checked + label:after {
opacity: 1;
}
.checkbox_btn:hover + label:before {
background-color: #c8b21f;
}
@media only screen and (max-width: 969px) {
}
@media only screen and (max-width: 767px) {
}
@media only screen and (max-width: 479px) {
}
\ No newline at end of file
.container_white {
background-color: #fff;
padding-top: 40px;
font-size: 14px;
color: #484a4e;
line-height: 18px;
}
.container_white p:not(:last-child) {
margin-bottom: 7px;
}
.container_white h2 {
font-size: 29px;
color: #2d3642;
margin-top: 20px;
margin-bottom: 10px;
font-weight: bold;
}
.container_white strong {
font-size: 14px;
}
.container_white .form-control {
display: block;
width: 100%;
height: 26px;
padding: 2px 4px;
font-size: 12px;
border-radius: 2px;
float: left;
margin-right: 10px;
margin-bottom: 20px;
line-height: 16px;
}
.label_p, .label_p strong {
color: #2f3336;
font-size: 14px;
line-height: 16px;
margin-bottom: 10px;
}
.important_box {
background-color: #e85656;
height: 28px;
width: 96px;
border-radius: 2px;
position: relative;
margin-bottom: 15px;
}
.important_box .important_button {
height: 20px;
width: 24px;
background-color: #fff;
border-radius: 2px;
background-image:url('../images_new/important_button.png');
background-repeat: no-repeat;
background-position: 9px 7px;
cursor: pointer;
position: absolute;
right: 4px;
top: 4px;
}
.important_box .important_button:hover {
background-color: #ffea00;
}
.important_button_active {
right: auto;
left: 4px;
}
.important_box p {
font-size: 12px;
color: #fff;
}
.important_button_text_1 {
padding-left: 12px;
padding-top: 5px;
}
.important_button_text_2 {
padding-left: 32px;
padding-top: 5px;
display: none;
}
.important_button_text_active {
background-color: #919597;
}
.important_button_text_active .important_button_text_1{
display: none;
}
.important_button_text_active .important_button_text_2{
display: block;
}
.text_box_form textarea {
width: 100%;
height: 120px;
resize: none;
padding: 15px;
border: 1px solid #cbcbcb;
border-radius: 0 0 3px 3px;
color: #484a4e;
font-size: 14px;
line-height: 18px;
margin-bottom: 15px;
}
.gray_button {
color: #5e5e5e !important;
background-color: #efefef;
padding: 5px 10px;
font-size: 14px;
line-height: 18px;
border: none;
border-radius: 3px;
outline: none;
margin-bottom: 15px;
}
.gray_button:hover {
background-color: #d1d1d1;
}
.gray_button i {
margin-left: 10px;
}
.panel-body.panel-body-ex-3 {
border: none;
border-left: 7px solid #ffb6b6;
box-shadow: -1px 1px 1px 1px #f2f2f2;
background-color: #fff;
margin-top: 20px;
margin-bottom: 20px;
}
.text-mes p span {
color: #999999;
}
.text-mes p {
margin: 0 !important;
}
.text_box_form_bg {
background-color: #f5f5f5;
padding: 15px;
}
.file_box_wr .glyphicon-file {
font-size: 16px;
color: #ccd0d5;
}
.color_gray {
color: #999;
}
.file_box_wr {
margin-bottom: 10px;
}
.gray_button_poz {
margin-right: 17px;
margin-top: 7px;
}
.commentary_col {
background-color: #f5f5f5;
padding: 15px 20px;
margin-top: 10px;
margin-bottom: 20px;
}
.commentary_box img {
margin-right: 10px;
padding: 1px;
border: 1px solid #ccc;
margin-bottom: 12px;
margin-top: 5px;
}
.commentary_box_ok {
color: #7cb336;
text-decoration: underline;
}
.commentary_box_ok:hover {
color: #7cb336;
text-decoration: none;
}
.commentary_box_dell {
color: #424a4e;
text-decoration: underline;
}
.commentary_box_dell:hover {
color: #424a4e;
text-decoration: none;
}
.line_3 {
border-bottom: 1px solid #d9d9d9;
margin: 10px 0;
}
.marg_l_20 {
margin-left: 20px;
}
.marg_l_40 {
margin-left: 40px;
}
.marg_l_60 {
margin-left: 60px;
}
.commentary_box .glyphicon-file {
font-size: 16px;
color: #ccd0d5;
padding-right: 5px;
}
.commentary_box_ok {
margin-top: 5px;
display: inline-block;
}
.dropdown_file {
position: relative;
cursor: pointer;
}
.dropdown_box_file {
position: absolute;
z-index: 2;
right: -20px;
top: 0px;
display: none;
padding-top: 30px;
}
.dropdown_box_file:before {
position: absolute;
content: '';
right: 35px;
top: 25px;
width: 0px;
height: 0px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid #484a4e;
}
.dropdown_box_file ul {
display: block;
overflow-y: auto;
overflow-x: hidden;
width: 260px;
height: 300px;
padding: 10px;
background-color: #484a4e;
border-radius: 3px;
}
.dropdown_box_file li {
padding-left: 22px;
color: #fff;
font-size: 12px;
margin: 6px 0;
position: relative;
}
.dropdown_box_file li a {
color: #fff;
}
.dropdown_box_file li .glyphicon {
font-size: 16px;
position: absolute;
top: 3px;
left: 0;
color: #ccd0d5;
}
.dropdown_file:hover .dropdown_box_file {
display: block;
}
.dropdown_box_file ::-webkit-scrollbar{
background: #5e6166;
width: 10px;
}
.dropdown_box_file ::-webkit-scrollbar-thumb{background: #e5e5e5;}
@media only screen and (max-width: 992px) {
}
@media only screen and (max-width: 767px) {
}
@media only screen and (max-width: 479px) {
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
.tab_item {
position: relative;
}
.contact_map_btn {
position: absolute;
top: 40px;
}
.map_btn {
height: 41px;
background-color: #f9f9f9;
color: #a2a2a2;
font: 15px/20px 'RobotoRegular', Arial,sans-serif;
width: 265px;
padding: 8px 20px 12px 45px;
text-decoration: none;
display: block;
position: relative;
}
.map_btn span {
border-bottom: 2px dotted transparent;
}
.map_btn:focus {
color: #a2a2a2;
text-decoration: none;
}
.map_btn:hover {
color: #2d3642;
background: #ffb500;
background: linear-gradient(to top, #ffb500, #ffe400);
text-decoration: none;
}
.map_btn:hover span {
border-bottom: 2px dotted #36404e;
}
.map_btn:hover:before {
background-position: 0 100%;
}
.map_btn:before {
content: '';
display: block;
position: absolute;
top: 11px;
left: 15px;
height: 19px;
width: 21px;
background-position: 0px 0px;
background-repeat: no-repeat;
}
.map_btn_1:before {
background-image: url(../images_new/images/map_btn_1.png);
}
.map_btn_2:before {
background-image: url(../images_new/images/map_btn_2.png);
}
.map_btn_2:hover:before {
background-position: 0 100%;
top: 9px;
}
.popup__title_2 {
font-size: 31px;
color: #344555;
text-align: left;
display: block;
margin-bottom: 25px;
}
.map_form_button {
width: 178px;
height: 50px;
border-radius: 50px;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
-o-border-radius: 50px;
-ms-border-radius: 50px;
text-align: center;
color: #655d04 !important;
font-family: "RobotoBold";
font-size: 20px;
background-image: linear-gradient(to top, #fdd000 0%, #fff04e 100%);
box-shadow: 2px 3.5px 5px rgba(0, 0, 0, 0.12);
color: #908505;
border: none;
border-bottom: 4px solid #D2BF00;
line-height: 43px;
display: inline-block;
margin: 20px 0px 0px;
cursor: pointer;
opacity: 1;
margin-right: 10px;
}
.map_form_button:last-child {
margin-right: 0;
}
.map_form_button:hover, .map_form_button:focus {
background-image: linear-gradient(to top, #fde654 0%, #fef77d 100%);
box-shadow: 2px 3.5px 5px rgba(0, 0, 0, 0.12);
color: #908505;
border-bottom: 4px solid #D2BF00;
text-decoration: none;
}
.map_form_button:active {
background-image: linear-gradient(to top, #f4db15 0%, #fbd20d 100%);
box-shadow: 2px 3.5px 5px rgba(0, 0, 0, 0.12);
color: #908505;
border: none;
border-top: 4px solid #D2BF00;
text-decoration: none;
}
.simple_btn_close {
position: static;
}
.mfp-close {
cursor: pointer;
}
@media only screen and (max-width: 969px) {
}
@media only screen and (max-width: 767px) {
}
@media only screen and (max-width: 479px) {
}
\ No newline at end of file
...@@ -26,25 +26,40 @@ use common\modules\languages\models\Languages; ...@@ -26,25 +26,40 @@ use common\modules\languages\models\Languages;
<?php if($tags) : ?> <?php if($tags) : ?>
<div class="sidebar_module"> <div class="sidebar_module">
<h2><?=\Yii::t('blog', 'Categories');?></h2> <h2><?=\Yii::t('blog', 'Categories');?></h2>
<div class="sidebar_module_body"> <!-- <div class="sidebar_module_body">-->
<!---->
<!-- --><?php //foreach ($tags as $tag) : ?>
<!-- -->
<!-- <a href="--><?//=$tag->url;?><!--" class="cat_link_mod">--><?//=$tag->name?><!--</a> -->
<!---->
<!-- --><?php //endforeach; ?>
<!---->
<!-- </div>-->
<!-- add 22.05.16 -->
<div class="categories_form">
<form>
<?php foreach ($tags as $tag) : ?> <?php foreach ($tags as $tag) : ?>
<a href="<?=$tag->url;?>" class="cat_link_mod"><?=$tag->name?></a> <input type="checkbox" class="checkbox_btn" id="checkbox-<?= $tag->id ?>">
<label for="checkbox-<?= $tag->id ?>"><?= $tag->name ?></label>
<?php endforeach; ?> <?php endforeach; ?>
</form>
</div> </div>
<!-- add 22.05.16 -->
</div> </div>
<?php endif; ?> <?php endif; ?>
<br/><br/>
<div class="sidebar_module"> <div class="sidebar_module">
<div class="sidebar_module_body"> <div class="sidebar_module_body">
<a href="#feedback" class="sidebar_btn popup-form"> <!-- add 22.05.16 -->
<?=\Yii::t('blog', 'Offer a subject');?> <a href="#blog_form_2" class="sidebar_btn_2 toltip_btn popup-form">
<div class="blog_toltip_right"><?=\Yii::t('blog', 'Offer a subject and we will publish about it')?></div> Предложить тему
<div class="blog_toltip_right"><?= \Yii::t('blog', 'Offer a subject and we will publish about it') ?></div>
</a> </a>
<a href="#article" class="sidebar_btn popup-form"><?=\Yii::t('blog', 'Send an article')?></a> <a href="#blog_form" class="sidebar_btn_2 popup-form"><?= \Yii::t('blog', 'Send an article') ?></a>
<!-- add 22.05.16 -->
</div> </div>
</div> </div>
...@@ -77,15 +92,18 @@ use common\modules\languages\models\Languages; ...@@ -77,15 +92,18 @@ use common\modules\languages\models\Languages;
<div class="sidebar_module"> <div class="sidebar_module">
<h2><?=\Yii::t('blog', 'Follow us!')?></h2> <h2><?=\Yii::t('blog', 'Follow us!')?></h2>
<div class="sidebar_module_body"> <div class="sidebar_module_body">
<ul class="sidebar_social"> <!-- add 22.05.16 -->
<?php $s = Settings::getValue('social-link-fb'); if($s): ?><li><a href="<?=$s?>" class="sidebar_social_fb"></a></li><? endif; ?> <ul class="article_short_social">
<!-- <li><a href="#" class="sidebar_social_ok"></a></li> --> <li>
<?php $s = Settings::getValue('social-link-twitter'); if($s): ?><li><a href="<?=$s?>" class="sidebar_social_tw"></a></li><? endif; ?> <?php $s = Settings::getValue('social-link-google'); if($s): ?><a class="icon_social_btn icon_social_g" href="<?= $s ?>"></a><? endif ?>
<?php $s = Settings::getValue('social-link-google'); if($s): ?><li><a href="<?=$s?>" class="sidebar_social_gp"></a></li><? endif; ?> <?php $s = Settings::getValue('social-link-twitter'); if($s): ?><a class="icon_social_btn icon_social_tw" href="<?= $s ?>"></a><? endif ?>
<?php $s = Settings::getValue('social-link-youtube'); if($s): ?><li><a href="<?=$s?>" class="sidebar_social_yt"></a></li><? endif; ?> <?php $s = Settings::getValue('social-link-fb'); if($s): ?><a class="icon_social_btn icon_social_f" href="<?= $s ?>"></a><? endif ?>
<?php $s = Settings::getValue('social-link-vk'); if($s): ?><li><a href="<?=$s?>" class="sidebar_social_vk"></a></li><? endif; ?> <?php $s = Settings::getValue('social-link-vk'); if($s): ?><a class="icon_social_btn icon_social_b" href="<?= $s ?>"></a><? endif ?>
<?php $s = Settings::getValue('social-link-instagram'); if($s): ?><li><a href="<?=$s?>" class="sidebar_social_inst"></a></li><? endif; ?> <?php $s = Settings::getValue('social-link-instagram'); if($s): ?><a class="icon_social_btn icon_social_inst" href="<?= $s ?>"></a><? endif ?>
<?php $s = Settings::getValue('social-link-youtube'); if($s): ?><a class="icon_social_btn icon_social_yt" href="<?= $s ?>"></a><? endif ?>
</li>
</ul> </ul>
<!-- add 22.05.16 -->
</div> </div>
</div> </div>
</aside> </aside>
......
...@@ -4,10 +4,14 @@ use yii\helpers\Html; ...@@ -4,10 +4,14 @@ use yii\helpers\Html;
use yii\helpers\Url; use yii\helpers\Url;
use common\modules\blog\models\Post; use common\modules\blog\models\Post;
use common\modules\blog\assets\GeneratorAsset;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $model common\modules\blog\models\Post */ /* @var $model common\modules\blog\models\Post */
GeneratorAsset::register($this);
$this->registerJs("initScrollPager()", yii\web\View::POS_END); $this->registerJs("initScrollPager()", yii\web\View::POS_END);
?> ?>
...@@ -26,11 +30,15 @@ $this->registerJs("initScrollPager()", yii\web\View::POS_END); ...@@ -26,11 +30,15 @@ $this->registerJs("initScrollPager()", yii\web\View::POS_END);
<div class="loaded"> <div class="loaded">
</div> </div>
<div class="load-box"> <!-- <div class="load-box">-->
<a href="<?=Url::to(['/blog/post/load']);?>" class="sidebar_btn" id="load-post" data-offset="<?=Post::PAGE_SIZE?>" style="display:block; margin: 0 auto;"><?=\Yii::t('blog', 'Load more')?></a> <!-- <a href="--><?//=Url::to(['/blog/post/load']);?><!--" class="sidebar_btn" id="load-post" data-offset="--><?//=Post::PAGE_SIZE?><!--" style="display:block; margin: 0 auto;">--><?//=\Yii::t('blog', 'Load more')?><!--</a>-->
<!-- <div class="loading-post"></div>-->
<!-- </div>-->
<div class="btn_show_more_wr">
<a href="<?= Url::to(['/blog/post/load']) ?>" class="btn_show_more" id="load-post" data-offset="<?=Post::PAGE_SIZE?>"><span><img src="images_new_22.05.16/btn_show_more_arrow.png" height="18" width="18" alt=""></span><?= \Yii::t('blog', 'Load more') ?></a>
<div class="loading-post"></div> <div class="loading-post"></div>
</div> </div>
<?php endif; ?> <?php endif; ?>
<?=$this->render('_subscribe', ['title' => 'Страница Блог'])?> <?=$this->render('_subscribe', ['title' => 'Страница Блог'])?>
......
...@@ -2,10 +2,13 @@ ...@@ -2,10 +2,13 @@
use yii\helpers\Html; use yii\helpers\Html;
use yii\helpers\Url; use yii\helpers\Url;
use common\modules\blog\assets\GeneratorAsset;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $model common\modules\blog\models\Post */ /* @var $model common\modules\blog\models\Post */
GeneratorAsset::register($this);
$this->registerJs(" $this->registerJs("
$('.article_short_txt').find('img').click(function() { $('.article_short_txt').find('img').click(function() {
$.magnificPopup.open({ $.magnificPopup.open({
......
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