Commit 467b8c08 authored by andre's avatar andre

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

parent 2f9e2fb3
......@@ -9,7 +9,6 @@ class GeneratorAsset extends AssetBundle
public $sourcePath = '@common/modules/faq/assets/src';
public $css = [
// 'css/reset.css',
'css/generator.css',
'css/style.css',
];
......
a,abbr,acronym,address,applet,article,aside,audio,b,blockquote,big,body,center,canvas,caption,cite,code,command,datalist,dd,del,details,dfn,dl,div,dt,em,embed,fieldset,figcaption,figure,font,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,keygen,label,legend,li,meter,nav,object,ol,output,p,pre,progress,q,s,samp,section,small,span,source,strike,strong,sub,sup,table,tbody,tfoot,thead,th,tr,tdvideo,tt,u,ul,var{background:transparent;border:0 none;font-size:100%;margin:0;padding:0;border:0;outline:0;vertical-align:top;}ol, ul {list-style:none;}blockquote, q {quotes:none;}table, table td {padding:0;border:none;border-collapse:collapse;}img {vertical-align:top;}embed {vertical-align:top;}input[type=text], textarea{ outline:none;border-radius:0;}
article,aside,audio,canvas,command,datalist,details,embed,figcaption,figure,footer,header,hgroup,keygen,meter,nav,output,progress,section,source,video{display:block}mark,rp,rt,ruby,summary,time{display:inline}
\ No newline at end of file
......@@ -2666,3 +2666,13 @@ textarea::-moz-placeholder{
width: 100%;
outline: none;
}
.faq-text{
color: rgb(10, 10, 10);
margin-bottom: 40px;
line-height: 26px;
}
.reference_list{
line-height: 26px;
}
\ No newline at end of file
......@@ -31,7 +31,9 @@ GeneratorAsset::register($this);
<div class="reference_left_box">
<h2><?= $model->lang->title;?></h2>
<div class="faq-text">
<?= $model->lang->text?>
</div>
<? if(!$model->alreadyVoted()): ?>
<?php echo $this->render('_yes_no_form', ['model' => $form])?>
......
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