From dcabe062b3b8c388e4d063d3550d72660586b9a5 Mon Sep 17 00:00:00 2001 From: Веталь Date: Thu, 19 May 2016 13:32:23 +0300 Subject: [PATCH] test --- common/modules/comment/resources/comment.css | 2 +- common/modules/comment/widgets/views/form-comment-review.php | 2 +- frontend/web/css/style.css | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 137 insertions(+), 2 deletions(-) diff --git a/common/modules/comment/resources/comment.css b/common/modules/comment/resources/comment.css index 2577fa1..e8322d9 100755 --- a/common/modules/comment/resources/comment.css +++ b/common/modules/comment/resources/comment.css @@ -16,4 +16,4 @@ height: 13px; top: 0; cursor: pointer; -} \ No newline at end of file +} diff --git a/common/modules/comment/widgets/views/form-comment-review.php b/common/modules/comment/widgets/views/form-comment-review.php index 229286c..5036d36 100644 --- a/common/modules/comment/widgets/views/form-comment-review.php +++ b/common/modules/comment/widgets/views/form-comment-review.php @@ -26,7 +26,7 @@ if($model->scenario == $model::SCENARIO_GUEST) { echo $form->field($model, 'user_name', [ 'options' => [ - 'class' => 'input-blocks-comm', + 'class' => 'input-blocks-comm fix_marg_', ], 'inputOptions' => [ 'class' => 'custom-input-4', diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 7923f32..eb02199 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -1145,3 +1145,138 @@ input.error_pass{ .portfolio-text-name{ padding: 20px 0; } +/*****comments***/ +.style {} +.new-portf-add-comm { + padding: 24px 20px 30px 20px; + box-sizing: border-box; + margin-top: 10px; + background: #f1f1f1; + width: 100%; + float: left; +} + +.input-blocks-comm { + width: 230px; + float: left; + margin-left: 34px; + position: relative; +} +.input-blocks-comm.fix_marg_ { margin-left: 0;} +.input-blocks-comm label { + font-size: 13px; + color: #454545; + font-weight: 700; +} +.custom-input-4 { + width: 230px; + height: 32px; + border: 0; + box-sizing: border-box; + outline: none; + color: #333; + font-size: 13px; + line-height: 29px; + padding-left: 8px; + margin-top: 5px; +} +.help-block { + width: 320px; + margin-left: -10px; + text-align: center; + position: relative; + border: 1px solid #c1c1c1; + margin-top: 25px; + box-shadow: 3px 3px 7px 0 rgba(200, 200, 200, .5), inset 0 -3px 0 0 #c1c1c1; + padding: 15px 0; + display: none; +} +.has-error .help-block { + display: block; + color: inherit; + background: #fff; +} +.new-portf-add-comm .help-block { + width: 230px; + margin-left: 0; + padding: 16px 10px; + box-sizing: border-box; +} +.help-block:before { + content: ''; + width: 20px; + height: 20px; + background: #fff; + border: 1px solid #c1c1c1; + transform: rotate(45deg); + position: absolute; + top: -12px; + left: 50%; + margin-left: -10px; +} +.help-block:after { + content: ''; + width: 20px; + height: 20px; + transform: rotate(45deg); + position: absolute; + top: -10px; + left: 50%; + margin-left: -10px; + background: #fff; + border: 1px solid #fff; +} +.input-blocks-comm.area-comm { + width: 100%; + margin-left: 0; + margin-top: 10px; + position: relative; +} +.custom-area-4 { + min-height: 142px; + max-height: 142px; + resize: none; + width: 100%; + max-width: 100%; + border: 0; + box-sizing: border-box; + outline: none; + color: #636363; + font-size: 13px; + padding-left: 8px; + padding-top: 8px; + margin-top: 5px; +} +.input-blocks-comm-button { + text-align: right; + margin-top: 16px; + float: left; + width: 100%; +} +.input-blocks-comm-button button { + background: #6a9f33; + color: #fff; + font-size: 13px; + height: 27px; + outline: none; + cursor: pointer; + border-radius: 4px; + padding: 0 17px; + border: 1px solid #6a9f33; +} +.input-blocks-comm-button button:hover {background: #588b22;border: 1px solid #588b22;} +.input-blocks-comm-button button:active {background: #3e6416;border: 1px solid #3e6416;} +.comments-name { + font-weight: normal; + margin-top: -3px; +} +.comments-name a { + color: #0072bc; + text-decoration: none; +} +.comments-name span { + color: inherit; +} +.new-portf-comm-read .comments-name a, .new-portf-comm-read .comments-name span { + font-size: 13px; +} \ No newline at end of file -- libgit2 0.21.4