Ver código fonte

[Boutique] Liens mentions légales & CGV

feature/rotating_product
Guillaume Bourgeois 6 meses atrás
pai
commit
32b96a02c3
3 arquivos alterados com 27 adições e 37 exclusões
  1. +16
    -22
      producer/views/layouts/main.php
  2. +9
    -11
      producer/web/css/screen.css
  3. +2
    -4
      producer/web/sass/_layout.scss

+ 16
- 22
producer/views/layouts/main.php Ver arquivo

@@ -91,7 +91,8 @@ $mainColor = $producer->option_main_color ?: '#ee6f42' ;
.credit-history #credit-user,
.credit-history #content .table span.payment-positive,
.order-order #main #app-order-order #steps ul li .info-step,
.block-date .month{
.block-date .month,
#footer-producer a {
color: <?= $mainColor ?>
}
#header nav#main-nav ul a.active,
@@ -345,31 +346,24 @@ $mainColor = $producer->option_main_color ?: '#ee6f42' ;

<?= $content ?>
</section>

<?php if (strlen($producer->mentions) || strlen($producer->gcs)): ?>
<section id="footer-producer">
<?= Html::encode($producer->name) ?> :
<?php if (strlen($producer->mentions)): ?>
<a href="<?php echo \Yii::$app->urlManager->createUrl(['site/mentions']); ?>">Mentions
légales</a>
<?php endif; ?>
<?php if (strlen($producer->mentions) && strlen($producer->gcs)): ?>
&bull;
<?php endif; ?>
<?php if (strlen($producer->gcs)): ?>
<a href="<?php echo \Yii::$app->urlManager->createUrl(['site/gcs']); ?>">Conditions générales
de vente</a>
<?php endif; ?>
</section>
<?php endif; ?>
</div>

<?php if (strlen($producer->mentions) || strlen($producer->gcs)): ?>
<div id="footer-producer">
<?php if (strlen($producer->mentions)): ?>
<a href="<?php echo \Yii::$app->urlManager->createUrl(['site/mentions']); ?>">Mentions légales</a>
<?php endif; ?>
<?php if (strlen($producer->mentions) && strlen($producer->gcs)): ?> | <?php endif; ?>
<?php if (strlen($producer->gcs)): ?>
<a href="<?php echo \Yii::$app->urlManager->createUrl(['site/gcs']); ?>">Conditions générales de vente</a>
<?php endif; ?>
</div>
<?php endif; ?>

<footer id="footer" class="container">
<div class="content">
<a href="<?php echo \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/index']); ?>">Opendistrib</a>
&bull;
<a href="<?php echo \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/mentions']); ?>">Mentions
légales</a> &bull;
<a href="<?php echo \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/index']); ?>">Souke</a> &bull;
<a href="<?php echo \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/mentions']); ?>">Mentions légales</a> &bull;
<a href="<?php echo \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/cgv']); ?>">CGS</a>
</div>
</footer>

+ 9
- 11
producer/web/css/screen.css Ver arquivo

@@ -345,7 +345,7 @@ ul.pagination li.prev a, ul.pagination li.next a {
#main {
padding: 0px;
padding-top: 38px;
margin-bottom: 50px;
margin-bottom: 30px;
background-color: white;
}
/* line 309, ../sass/_layout.scss */
@@ -439,45 +439,43 @@ ul.pagination li.prev a, ul.pagination li.next a {

/* line 405, ../sass/_layout.scss */
#footer-producer {
margin-bottom: 30px;
text-align: center;
position: absolute;
bottom: 0px;
left: 0px;
width: 100%;
}
/* line 412, ../sass/_layout.scss */
/* line 410, ../sass/_layout.scss */
#footer-producer a {
color: #ee6f42;
}
/* line 414, ../sass/_layout.scss */
/* line 412, ../sass/_layout.scss */
#footer-producer a:active {
text-decoration: underline;
}

/* line 420, ../sass/_layout.scss */
/* line 418, ../sass/_layout.scss */
#footer {
display: none;
height: 100px;
float: right;
text-align: center;
}
/* line 426, ../sass/_layout.scss */
/* line 424, ../sass/_layout.scss */
#footer .content {
padding-top: 20px;
color: black;
}
/* line 430, ../sass/_layout.scss */
/* line 428, ../sass/_layout.scss */
#footer .content a {
color: black;
font-size: 18px;
padding-left: 10px;
padding-right: 10px;
}
/* line 436, ../sass/_layout.scss */
/* line 434, ../sass/_layout.scss */
#footer .content a:hover {
text-decoration: underline;
}
/* line 443, ../sass/_layout.scss */
/* line 441, ../sass/_layout.scss */
#footer #code-source img {
height: 20px;
}

+ 2
- 4
producer/web/sass/_layout.scss Ver arquivo

@@ -303,7 +303,7 @@ ul.pagination {
#main {
padding: 0px ;
padding-top: 38px;
margin-bottom: 50px;
margin-bottom: 30px;
background-color: white ;
#banner {
@@ -403,10 +403,8 @@ ul.pagination {
}

#footer-producer {
margin-bottom: 30px;
text-align: center ;
position: absolute ;
bottom: 0px ;
left: 0px ;
width: 100% ;
a {

Carregando…
Cancelar
Salvar