Browse Source

[Boutique] Liens mentions légales & CGV

feature/rotating_product
Guillaume Bourgeois 6 months ago
parent
commit
32b96a02c3
3 changed files with 27 additions and 37 deletions
  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 View File

.credit-history #credit-user, .credit-history #credit-user,
.credit-history #content .table span.payment-positive, .credit-history #content .table span.payment-positive,
.order-order #main #app-order-order #steps ul li .info-step, .order-order #main #app-order-order #steps ul li .info-step,
.block-date .month{
.block-date .month,
#footer-producer a {
color: <?= $mainColor ?> color: <?= $mainColor ?>
} }
#header nav#main-nav ul a.active, #header nav#main-nav ul a.active,


<?= $content ?> <?= $content ?>
</section> </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> </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"> <footer id="footer" class="container">
<div class="content"> <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> <a href="<?php echo \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/cgv']); ?>">CGS</a>
</div> </div>
</footer> </footer>

+ 9
- 11
producer/web/css/screen.css View File

#main { #main {
padding: 0px; padding: 0px;
padding-top: 38px; padding-top: 38px;
margin-bottom: 50px;
margin-bottom: 30px;
background-color: white; background-color: white;
} }
/* line 309, ../sass/_layout.scss */ /* line 309, ../sass/_layout.scss */


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


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

+ 2
- 4
producer/web/sass/_layout.scss View File

#main { #main {
padding: 0px ; padding: 0px ;
padding-top: 38px; padding-top: 38px;
margin-bottom: 50px;
margin-bottom: 30px;
background-color: white ; background-color: white ;
#banner { #banner {
} }


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

Loading…
Cancel
Save