@import "https://fonts.googleapis.com/css?family=Roboto:400,700,500&subset=cyrillic-ext,latin,cyrillic,latin-ext"; .input_bl, .area_bl, .form-comm-wr, .user_name, .user_txt, .comment-panel, .answer-form, .comments-start input, .comments-start textarea, .submit_btn button, .input_bl label { box-sizing: border-box } .comments-border { width: 100%; margin-top: 25px; margin-bottom: 27px; height: 1px; background: #d2d2d2 } .comments-start { width: 730px; margin: 0 auto; font-family: 'Roboto', sans-serif; font-weight: 400; color: #333 } .form-comm-wr { width: 100%; background: #f5f5f5; padding: 20px; float: left } .input_bl { margin-top: 15px; float: left } .area_bl, .input_bl { position: relative } .input_bl input, .input_bl textarea, .answer-form textarea { width: 258px; height: 30px; border: 1px solid #d2d2d2; background: #fff; outline: none !important; border-radius: 4px; padding-left: 10px } .area_bl textarea, .answer-form textarea { resize: none !important; height: 140px; width: 585px; padding-top: 7px } .stars-wr_ { width: 100%; } .input_bl input:focus, .input_bl textarea:focus, .answer-form textarea:focus { box-shadow: 1px 2px 2px 0 rgba(215, 215, 215, 0.75) inset; transition: .1s; border: 1px solid #d2d2d2 !important; } .input_bl label { font-size: 12px; color: #7d7d7d; font-weight: 400; text-transform: uppercase; position: relative; width: 105px; float: left; text-align: right; padding-right: 10px; margin: 9px 0 0 0; } .field-commentmodel-email label { width: 69px } .submit_btn { float: right; margin-top: 27px } .submit_btn button, .answer-form button { padding: 0 17px; height: 32px; font-weight: 500; font-size: 15px; color: #fff; border-top: 0; border-left: 0; border-right: 0; border-bottom: 2px solid #799920; background: #95ba2f; border-radius: 4px; cursor: pointer; outline: none !important } .submit_btn button:hover, .answer-form button:hover { border-bottom: 2px solid #95ba2f } .submit_btn button:active, .answer-form button:active { border-bottom: 2px solid #799920; background: #799920 } .answer-form button { float: right; margin-top: 27px; margin-left: 10px; } .comments-wr, .comment-answer { min-height: 64px; position: relative; float: left; width: 100% } .answer-form { float: left; width: 100% } .answer-form label { position: relative; } .answer-form .required label:before { right: -7px; } .user-ico { width: 80px; height: 80px; float: left; overflow: hidden; border-radius: 50%; position: absolute; top: 0; left: 0 } .user-ico img { width: 100%; height: 100% } .comments-start .user_data { margin-top: -2px; font-size: 12px; color: #636363; border-right: none; } .user_name { margin-top: 6px; font-weight: 700; font-size: 15px } .comments-start .user_name, .comments-start .user_txt, .comments-start .comment-panel, .comments-start .user_data, .comments-start .user_rating { width: 100%; float: left; padding-left: 100px } .user_txt { margin-top: 8px; font-size: 13px; line-height: 18px } .comment-panel { width: 100%; float: left; margin-top: 11px } .comment-panel a:first-child { margin-left: 0 } .btn-comm-answer, .btn-comm-delete { font-size: 13px; color: #799920; border-bottom: 1px dotted #799920 } .btn-comm-answer, .btn-comm-delete, .btn-comm-like, .btn-comm-dislike { float: left; margin-left: 10px; text-decoration: none; margin-top: 11px; } .btn-comm-answer, .btn-comm-delete { height: 16px; line-height: 16px } .btn-comm-answer:hover, .btn-comm-delete:hover { text-decoration: none; border-bottom: 0 } .btn-comm-like, .btn-comm-dislike { width: 14px; height: 16px; background-image: url(../images/like_dislike.png); background-repeat: no-repeat } .btn-comm-like { background-position: 0 0 } .btn-comm-like:hover { background-position: 0 -16px } .btn-comm-dislike:hover { background-position: -14px -16px } .btn-comm-dislike { background-position: -14px 0 } .btn-comm-like:active, .btn-comm-dislike:active { opacity: .7 } .comment-answer { margin-top: 40px } .comment-answer .user-ico { left: 100px } .comment-answer .user_name, .comment-answer .user_txt, .comment-answer .comment-panel, .comment-answer .user_data { padding-left: 200px } .comments-wr { margin-top: 40px } .answer-form { margin-top: 20px } .answer-form textarea { width: 100%; height: 90px } .input_bl.has-error input, .input_bl.has-error textarea, .answer-form .has-error textarea { box-shadow: 1px 2px 2px 0 rgba(212, 0, 0, 0.2) inset; border: 1px solid #cccccc; } .input_bl.has-success input, .input_bl.has-success textarea, .answer-form .has-success textarea { box-shadow: none; border: 1px solid #cccccc; } .required.has-error label { color: #d40000 !important; } .input_bl .help-block, .answer-form .help-block { display: none } .comments-start .required label:before { display: block; content: "*"; color: #d40000; position: absolute; top: 0; right: 3px } .comments-start ul.pagination { list-style: none; text-align: center; margin-top: 40px; width: 100%; float: left } .comments-start ul.pagination li { display: inline } .comments-start ul.pagination li.prev.disabled span { display: none } .comments-start ul.pagination li.next.disabled span { display: none } .comments-start ul.pagination li a { padding: 3px; color: #82a02f; font-size: 15px; margin: 0; text-decoration: none; float: none; border: none; backgroun-color: inherit; } .comments-start ul.pagination li.active a { color: #333; background-color: inherit; } /* Validation error tooltips*/ /*.has-error {*/ /*text-transform: uppercase;*/ /*background: #ececec;*/ /*color: #555;*/ /*cursor: help;*/ /*font-family: "Gill Sans", Impact, sans-serif;*/ /*font-size: 20px;*/ /*margin: 100px 75px 10px 75px;*/ /*padding: 15px 20px;*/ /*position: relative;*/ /*text-align: center;*/ /*width: 200px;*/ /*-webkit-transform: translateZ(0); !* webkit flicker fix *!*/ /*-webkit-font-smoothing: antialiased; !* webkit text rendering fix *!*/ /*}*/ .has-error .help-block { background: #ffffff; bottom: 100%; color: #000000 !important; display: block; left: -25px; margin-bottom: 15px; opacity: 0; padding: 20px; pointer-events: none; position: absolute; width: 100%; -webkit-transform: translateY(10px); -moz-transform: translateY(10px); -ms-transform: translateY(10px); -o-transform: translateY(10px); transform: translateY(10px); -webkit-transition: all .25s ease-out; -moz-transition: all .25s ease-out; -ms-transition: all .25s ease-out; -o-transition: all .25s ease-out; transition: all .25s ease-out; -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28); -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28); -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28); -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28); box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28); } /* This bridges the gap so you can mouse into the tooltip without it disappearing */ .has-error .help-block:before { bottom: -20px; content: " "; display: block; height: 20px; left: 0; position: absolute; width: 100%; } /* CSS Triangles - see Trevor's post */ .has-error .help-block:after { border-left: solid transparent 10px; border-right: solid transparent 10px; border-top: solid #ffffff 10px; bottom: -10px; content: " "; height: 0; left: 50%; margin-left: -13px; position: absolute; width: 0; } .has-error:hover .help-block { opacity: 1; pointer-events: auto; -webkit-transform: translateY(0px); -moz-transform: translateY(0px); -ms-transform: translateY(0px); -o-transform: translateY(0px); transform: translateY(0px); }