diff --git a/common/modules/comment/widgets/views/_question_comment_view.php b/common/modules/comment/widgets/views/_question_comment_view.php index 3486d25..a7cf110 100644 --- a/common/modules/comment/widgets/views/_question_comment_view.php +++ b/common/modules/comment/widgets/views/_question_comment_view.php @@ -22,20 +22,28 @@ } ?>
-
- getAuthor(' (Гость)') ?> -
-
user ) && !empty($model->user->userInfo->image) ) ? $model->user->minImg($model->user->userInfo->image, 48, 48) : '/images/ico-profile.png') ?>
- user ) && !empty($model->user->userInfo->image) ) ? $model->user->minImg($model->user->userInfo->image, 48, 48) : '/images/ico-profile.png') ?>
+
+
+ getAuthor(' (Гость)') ?> + +
+ +
Pro
-
formatter->asDate($model->date_add, 'php:d.m.Y') ?>
+ ?> +
+

formatter->asDate($model->date_add, 'php:d.m.Y') ?>

+
+formatter->asDate($model->date_add, 'php:d.m.Y') ?> +
- text ?> +
Вопрос
+
text ?>
child )) { @@ -53,7 +61,7 @@ ]); } ?> -
+
buttons[ 'delete' ] )) { echo Html::a(( $model->user_id != NULL && $model->user_id == \Yii::$app->user->id ) ? 'Удалить' : 'Пожаловаться ', $model->buttons[ 'delete' ], [ 'class' => 'artbox_comment_delete_answer' ]); diff --git a/common/modules/comment/widgets/views/list-comment-question.php b/common/modules/comment/widgets/views/list-comment-question.php index ef10628..06b91ba 100644 --- a/common/modules/comment/widgets/views/list-comment-question.php +++ b/common/modules/comment/widgets/views/list-comment-question.php @@ -19,7 +19,7 @@ 'itemView' => '_question_comment_view', 'options' => [ 'tag' => 'ul', - 'class' => 'proektant-comments style', + 'class' => 'proektant-comments tender_list_comm_ style', ], 'itemOptions' => [ 'tag' => 'li', diff --git a/frontend/views/tender/view.php b/frontend/views/tender/view.php index 6a4e948..3b33bfb 100755 --- a/frontend/views/tender/view.php +++ b/frontend/views/tender/view.php @@ -300,7 +300,7 @@ $this->title = 'My Yii Application'; 'tag' => 'span', ], 'options' => [ - 'class' => 'proektant-comments-wr style', + 'class' => 'proektant-comments-wr fix_te style', ], ]); ?> diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index aece6be..7c1a26d 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -3305,7 +3305,7 @@ ul.proektant-comments {margin-top: 15px} float: left; list-style: none; border-bottom: 1px solid #dcdcdc; - padding-bottom: 17px; + padding-bottom: 20px; margin-top: 27px; } .proektant-comments li:first-child{margin-top: 0} @@ -7099,17 +7099,26 @@ li.active-menu-admin:hover a .ico_num { border: 1px solid #0072bc !important; color: #0072bc !important; } -._fix_errors_tender .get-list-new:hover { +._fix_errors_tender .get-list-new:hover, .fix_te .artbox_comment_reply_answer:hover { background: #148ad6 !important; border: 1px solid #148ad6 !important; color: #fff !important; } +.fix_te .artbox_comment_delete_answer:hover { + background: #f10b00; + color: #fff !important; +} ._fix_errors_tender .get-list-new:focus {box-shadow: none} -._fix_errors_tender .get-list-new:active { +._fix_errors_tender .get-list-new:active, .fix_te .artbox_comment_reply_answer:active { background: #0054a6 !important; border: 1px solid #0054a6 !important; color: #fff !important; } +.fix_te .artbox_comment_delete_answer:active { + background: #D60D04 !important; + border: 1px solid #D60D04 !important; + color: #fff !important; +} .project_owner_control { position: relative; float: right; @@ -8037,6 +8046,3 @@ li.active-menu-admin:hover a .ico_num { display: none; } .tender_questions_ .input-blocks-comm-button {margin-top: 20px} -.hidden { - display: none; -} \ No newline at end of file -- libgit2 0.21.4