Commit 33111aad authored by andre's avatar andre

перенос модуля faq с task-on.ru. правки css

parent 087a3298
......@@ -31,6 +31,3 @@
background: #fff;
}
.icon_video, .icon_info_2 {
float: left;
}
\ No newline at end of file
......@@ -990,13 +990,13 @@ textarea {
.radio_wr:last-child {
margin-right: 0;
}
.radio {
.radio_2 {
vertical-align: top;
width: 17px;
height: 17px;
margin: 0 3px 0 0;
}
.radio + label {
.radio_2 + label {
cursor: pointer;
height: 52px;
background-color: #67ac1d;
......@@ -2112,6 +2112,47 @@ footer .phone_hover_head {
padding-right: 45px;
}
::-webkit-input-placeholder{
color:#8d8d8d;
-webkit-transition: text-indent .5s ease, color .5s ease;
transition: text-indent .5s ease, color .5s ease;
}
input::-moz-placeholder{
color:#8d8d8d;
opacity:1;
}
textarea::-moz-placeholder{
color: #8d8d8d;
opacity: 1;
}
::ms-input-placeholder{
color:#8d8d8d;
}
[placeholder]:focus::-webkit-input-placeholder{
text-indent:10em;
color:transparent;
}
.has-error input, .has-error textarea {
background-image: none !important;
box-shadow: inset 0 0 5px 1px #d10000 !important;
border: none !important;
}
.has-error .help-block {
color: #d10000;
font-size: 12px;
line-height: 12px;
font-style: italic;
margin-top: -18px;
font-weight: bold;
}
/*ol {*/
/*counter-reset:li; !* Инициализируем счетчик *!*/
/*padding:0; !* Удаляем установленное по умолчанию левое поле*!*/
......@@ -2608,3 +2649,7 @@ footer .phone_hover_head {
/*.has-error label {*/
/*color: inherit !important;*/
/*}*/
.icon_video, .icon_info_2 {
float: left;
}
\ No newline at end of file
......@@ -8,12 +8,12 @@ use yii\helpers\Url;
<form action="<?= Url::toRoute(['/faq/faq/vote-faq', 'content_id' => $model->content_id]) ?>">
<div class="radio_wr">
<input type="radio" class="radio radio_like" id="radio-1" name="radio" checked>
<input type="radio" class="radio_2 radio_like" id="radio-1" name="radio" checked>
<label for="radio-1"><span class="icon_like"></span>Да</label>
</div>
<div class="radio_wr">
<input type="radio" class="radio radio_not_like" id="radio-2" name="radio">
<input type="radio" class="radio_2 radio_not_like" id="radio-2" name="radio">
<label for="radio-2"><span class="icon_not_like"></span>Нет</label>
</div>
......
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