Commit 57c10be35e1536e1859b1b531210d120437523d3
1 parent
1eb074d1
Веталь
Showing
2 changed files
with
33 additions
and
1 deletions
Show diff stats
frontend/views/catalog/products.php
@@ -70,7 +70,7 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[ | @@ -70,7 +70,7 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[ | ||
70 | <div class="both"></div> | 70 | <div class="both"></div> |
71 | </nav> | 71 | </nav> |
72 | 72 | ||
73 | -<div class="text_seo"> | 73 | +<div class="text_seo hidden_seo"> |
74 | <div> | 74 | <div> |
75 | <?= Seo::widget([ 'row'=>'seo_text'])?> | 75 | <?= Seo::widget([ 'row'=>'seo_text'])?> |
76 | </div> | 76 | </div> |
frontend/web/css/style.dev.css
@@ -1579,4 +1579,36 @@ input.custom-radio + label:hover { | @@ -1579,4 +1579,36 @@ input.custom-radio + label:hover { | ||
1579 | 1579 | ||
1580 | .blog-show-img{ | 1580 | .blog-show-img{ |
1581 | padding-right: 20px; | 1581 | padding-right: 20px; |
1582 | +} | ||
1583 | + | ||
1584 | +.text_seo.hidden_seo{ | ||
1585 | + height: 178px; | ||
1586 | + overflow: hidden; | ||
1587 | + position: relative; | ||
1588 | + | ||
1589 | +} | ||
1590 | +.text_seo.hidden_seo div { | ||
1591 | + height: 162px; | ||
1592 | + overflow: hidden; | ||
1593 | +} | ||
1594 | +.text_seo.hidden_seo a { | ||
1595 | + position: absolute; | ||
1596 | + bottom: 0; | ||
1597 | + right: 0; | ||
1598 | + font-size: 16px; | ||
1599 | +} | ||
1600 | +.text_seo.hidden_seo a:before { | ||
1601 | + content: ''; | ||
1602 | + display: block; | ||
1603 | + position: absolute; | ||
1604 | + bottom: 0; | ||
1605 | + right: 0; | ||
1606 | + left: 0; | ||
1607 | + height: 50px; | ||
1608 | + background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%); | ||
1609 | + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, #fff)); | ||
1610 | + background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%); | ||
1611 | + background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%); | ||
1612 | + background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%); | ||
1613 | + background: linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 100%); | ||
1582 | } | 1614 | } |
1583 | \ No newline at end of file | 1615 | \ No newline at end of file |