Browse Source

Intégration Souke

feature/souke
Guillaume Bourgeois 8 months ago
parent
commit
62a2ee1903
16 changed files with 138 additions and 118 deletions
  1. +1
    -1
      common/mail/createUserAdmin-html.php
  2. +1
    -1
      common/mail/creditUser-html.php
  3. +1
    -1
      common/mail/creditUser-text.php
  4. +1
    -1
      common/mail/layouts/html.php
  5. +1
    -1
      common/mail/newPasswordUserAdmin-html.php
  6. +1
    -1
      common/mail/newPasswordUserAdmin-text.php
  7. +3
    -3
      frontend/controllers/SiteController.php
  8. +2
    -2
      frontend/views/site/_about_few_numbers.php
  9. +1
    -1
      frontend/views/site/_cgv_content.php
  10. +47
    -39
      frontend/web/css/screen.css
  11. +1
    -1
      frontend/web/sass/screen.scss
  12. +2
    -2
      producer/controllers/SiteController.php
  13. +4
    -0
      producer/views/site/index.php
  14. +68
    -64
      producer/web/css/screen.css
  15. BIN
      producer/web/img/betterave.png
  16. +4
    -0
      producer/web/sass/_layout.scss

+ 1
- 1
common/mail/createUserAdmin-html.php View File

@@ -43,7 +43,7 @@ use yii\helpers\Html;
<p>Bonjour <?= Html::encode($user->name); ?>,</p>

<p>Votre producteur <strong><?= Html::encode($producer->name); ?></strong> vient
de créer un compte pour vous sur le site <a href="http://www.souke.fr/site/login">Souke</a>.</p>
de créer un compte pour vous sur le site <a href="https://www.souke.fr/site/login">Souke</a>.</p>

<p><strong>Ce compte vous permet de passer vos commandes chez ce producteur.</strong></p>


+ 1
- 1
common/mail/creditUser-html.php View File

@@ -45,7 +45,7 @@ use yii\helpers\Html;
<p>Bonjour <?= Html::encode($user->name); ?>,</p>

<p>Votre producteur <strong><?= Html::encode($producer->name); ?></strong> vient
de <?php if($type == Payment::TYPE_CREDIT): ?>créditer<?php else: ?>débiter<?php endif; ?> votre compte de <strong><?= Price::format($amount); ?></strong> sur le site <a href="http://www.souke.fr/">Souke</a>.</p>
de <?php if($type == Payment::TYPE_CREDIT): ?>créditer<?php else: ?>débiter<?php endif; ?> votre compte de <strong><?= Price::format($amount); ?></strong> sur le site <a href="https://www.souke.fr/">Souke</a>.</p>

<p>Votre compte est désormais à <strong><?= Price::format($credit); ?></strong><br />
<a href="<?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['credit/history','slug_producer' => $producer->slug]) ?>">Cliquez ici</a> pour voir l'historique de votre crédit.</p>

+ 1
- 1
common/mail/creditUser-text.php View File

@@ -43,7 +43,7 @@ use domain\Payment\Payment;

Bonjour <?= $user->name; ?>,</p>

Votre producteur <?= $producer->name; ?> vient de <?php if($type == Payment::TYPE_CREDIT): ?>créditer<?php else: ?>débiter<?php endif; ?> votre compte de <?= Price::format($amount); ?> sur le site http://www.souke.fr/
Votre producteur <?= $producer->name; ?> vient de <?php if($type == Payment::TYPE_CREDIT): ?>créditer<?php else: ?>débiter<?php endif; ?> votre compte de <?= Price::format($amount); ?> sur le site https://www.souke.fr/

Votre compte est désormais à : <?= Price::format($credit); ?>.
Suivez ce lien pour voir l'historique de votre crédit : <?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['credit/history','slug_producer' => $producer->slug]) ?>">

+ 1
- 1
common/mail/layouts/html.php View File

@@ -96,7 +96,7 @@ use yii\helpers\Html;
<?= $content ?>
</div>
<div id="footer">
<a href="http://www.souke.fr/">Souke</a>
<a href="https://www.souke.fr/">Souke</a>
<div class="baseline">Plateforme de gestion de commandes</div>
</div>
<?php $this->endBody() ?>

+ 1
- 1
common/mail/newPasswordUserAdmin-html.php View File

@@ -43,7 +43,7 @@ use yii\helpers\Html;
<p>Bonjour <?= Html::encode($user->name); ?>,</p>

<p>Votre producteur <strong><?= Html::encode($producer->name); ?></strong> vient
de générer un nouveau mot de passe pour vous sur le site <a href="http://www.souke.fr/">Souke</a>.</p>
de générer un nouveau mot de passe pour vous sur le site <a href="https://www.souke.fr/">Souke</a>.</p>

<p>Voici vos nouveaux identifiants de connexion :<br />
Identifiant : <strong><?= Html::encode($user->email); ?></strong><br />

+ 1
- 1
common/mail/newPasswordUserAdmin-text.php View File

@@ -41,7 +41,7 @@ termes.
Bonjour <?= $user->name ?>,

Votre producteur "<?= $producer->name ?>" vient
de générer un nouveau mot de passe pour vous sur le site http://www.souke.fr/.
de générer un nouveau mot de passe pour vous sur le site https://www.souke.fr/.

Voici vos nouveaux identifiants de connexion :
Identifiant : <?= $user->email; ?>

+ 3
- 3
frontend/controllers/SiteController.php View File

@@ -184,7 +184,7 @@ class SiteController extends FrontendController

public function actionAbout()
{
$aboutFewNumbers = Yii::$app->cache->getOrSet('about_few_numbers1', function () {
$aboutFewNumbers = Yii::$app->cache->getOrSet('about_few_numbers3', function () {
$producerModule = $this->getProducerModule();
$pointSaleModule = $this->getPointSaleModule();
$userModule = $this->getUserModule();
@@ -196,7 +196,7 @@ class SiteController extends FrontendController
$countPointSalesActive = $pointSaleModule->countPointSalesActiveLastThreeMonths();
$countUsersActive = $userModule->countUsersActiveLastThreeMonths();
$averageOrdersPerDay = $orderModule->countGlobalUserOrdersAverageLastSevenDays();
$averageTurnover = $orderModule->getAverageTurnoverLastThreeMonths();
$turnoverLastThirtyDays = $orderModule->getRepository()->getTurnoverLastThirtyDays();
$resultMatomoApiVisitSummary = json_decode(file_get_contents(Yii::$app->parameterBag->get('matomoApiVisitSummaryUrl')));
$numberVisitsByDay = $resultMatomoApiVisitSummary->nb_uniq_visitors / 30;

@@ -205,7 +205,7 @@ class SiteController extends FrontendController
'countPointSalesActive' => $countPointSalesActive,
'countUsersActive' => $countUsersActive,
'averageOrdersPerDay' => $averageOrdersPerDay,
'averageTurnover' => $averageTurnover,
'turnoverLastThirtyDays' => $turnoverLastThirtyDays,
'numberVisitsByDay' => $numberVisitsByDay,
'timeSavedByProducersAverage' => $timeSavedByProducersAverage,
'countProducersWithOptionTimeSaved' => $countProducersWithOptionTimeSaved

+ 2
- 2
frontend/views/site/_about_few_numbers.php View File

@@ -14,8 +14,8 @@
<?= few_numbers_item(few_numbers_format_number($averageOrdersPerDay), 'Commandes clients / jour', 'en moyenne sur les 7 derniers jours'); ?>
</div>
<div class="row">
<?= few_numbers_item(few_numbers_format_number($numberVisitsByDay), 'Visiteurs / jour', 'le mois dernier'); ?>
<?= few_numbers_item(few_numbers_format_number($averageTurnover).' €', 'CA producteurs / mois', 'moyenne sur les 3 derniers mois'); ?>
<?= few_numbers_item(few_numbers_format_number($numberVisitsByDay), 'Visiteurs / jour', 'en moyenne sur les 30 derniers jours'); ?>
<?= few_numbers_item(few_numbers_format_number($turnoverLastThirtyDays).' €', 'CA total producteurs', 'sur les 30 derniers jours'); ?>
</div>
<?php if($countProducersWithOptionTimeSaved): ?>
<!--<div class="row">

+ 1
- 1
frontend/views/site/_cgv_content.php View File

@@ -45,7 +45,7 @@ termes.
souhaitant être référencé sur le site internet de la Société (le « <strong>Producteur</strong> »).</p>

<h2>1. Objet</h2>
<p>La Société édite le site internet <a href="http://www.souke.fr">http://www.souke.fr</a>
<p>La Société édite le site internet <a href="https://www.souke.fr">https://www.souke.fr</a>
(le « <strong>Site</strong> ») permettant la mise en relation des utilisateurs
du Site avec les Producteurs inscrits sur le Site afin de faciliter leur commande
auprès de leur producteur. Les présentes Conditions ont pour objet de définir

+ 47
- 39
frontend/web/css/screen.css View File

@@ -937,7 +937,7 @@ section#header-title h1 .glyphicon {
}
/* line 939, ../sass/screen.scss */
#content .site-about #few-numbers .item .detail {
color: black;
color: gray;
}
/* line 945, ../sass/screen.scss */
#content .site-about #carousel-producers-testimonials {
@@ -2134,48 +2134,56 @@ termes.
*/
@media screen and (max-width: 991px) {
/* line 43, ../sass/_responsive.scss */
.container-nav-user-top {
padding: 0px;
margin: 0px;
width: 100%;
max-width: none;
}

/* line 50, ../sass/_responsive.scss */
#header {
position: relative;
text-align: center;
padding: 10px 0px;
}
/* line 48, ../sass/_responsive.scss */
/* line 55, ../sass/_responsive.scss */
#header #the-header {
width: 100%;
}
/* line 52, ../sass/_responsive.scss */
/* line 59, ../sass/_responsive.scss */
#header #link-home {
position: relative;
top: 0px;
display: inline-block;
}
/* line 57, ../sass/_responsive.scss */
/* line 64, ../sass/_responsive.scss */
#header #link-home img {
margin-bottom: 0px;
}
/* line 62, ../sass/_responsive.scss */
/* line 69, ../sass/_responsive.scss */
#header .navbar-toggler {
position: absolute;
top: 25px;
right: 0px;
background-color: white;
}
/* line 69, ../sass/_responsive.scss */
/* line 76, ../sass/_responsive.scss */
#header nav {
width: 100%;
height: auto;
}
/* line 73, ../sass/_responsive.scss */
/* line 80, ../sass/_responsive.scss */
#header nav .navbar-collapse {
border: 0px none;
}
/* line 77, ../sass/_responsive.scss */
/* line 84, ../sass/_responsive.scss */
#header nav .collapse {
position: relative;
top: 0px;
left: 0px;
}
/* line 82, ../sass/_responsive.scss */
/* line 89, ../sass/_responsive.scss */
#header nav .collapse ul {
position: relative;
display: block;
@@ -2183,12 +2191,12 @@ termes.
margin-top: 20px;
border: 0px none;
}
/* line 89, ../sass/_responsive.scss */
/* line 96, ../sass/_responsive.scss */
#header nav .collapse ul li {
display: block;
float: none;
}
/* line 93, ../sass/_responsive.scss */
/* line 100, ../sass/_responsive.scss */
#header nav .collapse ul li a {
font-family: 'worksans_regular';
display: block;
@@ -2196,137 +2204,137 @@ termes.
margin: 0px;
border-bottom: 0px none;
}
/* line 100, ../sass/_responsive.scss */
/* line 107, ../sass/_responsive.scss */
#header nav .collapse ul li a.active {
border-bottom: 0px none;
background-color: #e4ac07;
color: white;
}

/* line 112, ../sass/_responsive.scss */
/* line 119, ../sass/_responsive.scss */
#content {
padding-top: 20px;
padding-bottom: 20px;
}
/* line 117, ../sass/_responsive.scss */
/* line 124, ../sass/_responsive.scss */
#content .panel.panel-padding-large .panel-body {
padding: 20px;
}

/* line 123, ../sass/_responsive.scss */
/* line 130, ../sass/_responsive.scss */
#footer a {
padding: 0px 5px;
}

/* line 128, ../sass/_responsive.scss */
/* line 135, ../sass/_responsive.scss */
.site-producers #wrapper-producers-map {
display: none;
}
}
@media screen and (max-width: 768px) {
/* line 136, ../sass/_responsive.scss */
/* line 143, ../sass/_responsive.scss */
#main {
padding-bottom: 0px;
min-height: 550px;
}
/* line 140, ../sass/_responsive.scss */
/* line 147, ../sass/_responsive.scss */
#main .container {
padding-left: 15px;
padding-right: 15px;
}

/* line 146, ../sass/_responsive.scss */
/* line 153, ../sass/_responsive.scss */
#footer {
position: relative;
}
/* line 149, ../sass/_responsive.scss */
/* line 156, ../sass/_responsive.scss */
#footer .bull {
display: none;
}
/* line 153, ../sass/_responsive.scss */
/* line 160, ../sass/_responsive.scss */
#footer a {
display: block;
text-align: center;
}

/* line 161, ../sass/_responsive.scss */
/* line 168, ../sass/_responsive.scss */
.site-iamproducer .panel .hook {
margin-bottom: 25px;
}
/* line 164, ../sass/_responsive.scss */
/* line 171, ../sass/_responsive.scss */
.site-iamproducer .panel .hook br {
display: none;
}
/* line 168, ../sass/_responsive.scss */
/* line 175, ../sass/_responsive.scss */
.site-iamproducer .panel .hook .word-animate {
font-size: 20px;
}
/* line 174, ../sass/_responsive.scss */
/* line 181, ../sass/_responsive.scss */
.site-iamproducer .panel .links a {
display: block;
margin-bottom: 5px;
}
/* line 181, ../sass/_responsive.scss */
/* line 188, ../sass/_responsive.scss */
.site-iamproducer .producer, .site-iamproducer .users {
padding-right: 0px;
}
/* line 185, ../sass/_responsive.scss */
/* line 192, ../sass/_responsive.scss */
.site-iamproducer .users {
padding-left: 0px;
}
/* line 188, ../sass/_responsive.scss */
/* line 195, ../sass/_responsive.scss */
.site-iamproducer .users .panel {
margin-bottom: 0px;
}

/* line 195, ../sass/_responsive.scss */
/* line 202, ../sass/_responsive.scss */
.site-producers #wrapper-producers-list {
padding: 0px;
}
/* line 200, ../sass/_responsive.scss */
/* line 207, ../sass/_responsive.scss */
.site-producers #wrapper-producers-list #producers-list .panel .panel-body {
text-align: center;
}
/* line 203, ../sass/_responsive.scss */
/* line 210, ../sass/_responsive.scss */
.site-producers #wrapper-producers-list #producers-list .panel .panel-body .logo {
display: none;
}
/* line 211, ../sass/_responsive.scss */
/* line 218, ../sass/_responsive.scss */
.site-producers #producers-map {
display: none;
}

/* line 217, ../sass/_responsive.scss */
/* line 224, ../sass/_responsive.scss */
.site-about .col-md-8, .site-about .col-md-4 {
padding: 0px;
}

/* line 223, ../sass/_responsive.scss */
/* line 230, ../sass/_responsive.scss */
.site-contact .col-lg-5 {
padding: 0px;
}
/* line 227, ../sass/_responsive.scss */
/* line 234, ../sass/_responsive.scss */
.site-contact .alert-dark {
margin-top: 20px;
}

/* line 233, ../sass/_responsive.scss */
/* line 240, ../sass/_responsive.scss */
#content .site-service #panel-go-further {
margin-bottom: 0px;
}
/* line 236, ../sass/_responsive.scss */
/* line 243, ../sass/_responsive.scss */
#content .site-service #panel-go-further a {
display: block;
margin-bottom: 5px;
}

/* line 244, ../sass/_responsive.scss */
/* line 251, ../sass/_responsive.scss */
#page-producer .buttons-login-signup {
display: block;
margin-bottom: 20px;
text-align: center;
}
/* line 249, ../sass/_responsive.scss */
/* line 256, ../sass/_responsive.scss */
#page-producer .buttons-login-signup a {
float: none;
}

+ 1
- 1
frontend/web/sass/screen.scss View File

@@ -937,7 +937,7 @@ section#header-title {
}

.detail {
color: black;
color: gray;
}
}
}

+ 2
- 2
producer/controllers/SiteController.php View File

@@ -232,13 +232,13 @@ class SiteController extends ProducerBaseController
$userProducer->bookmark = 1;
$this->setFlash(
'success',
'Le producteur <strong>' . Html::encode($producer->name) . '</strong> vient d\'être ajouté à vos favoris.'
'Le producteur <strong>' . Html::encode($producer->name) . '</strong> vient d\'être ajouté à votre liste de producteurs.'
);
} else {
$userProducer->bookmark = 0;
$this->setFlash(
'success',
'Le producteur <strong>' . Html::encode($producer->name) . '</strong> vient d\'être supprimé de vos favoris.'
'Le producteur <strong>' . Html::encode($producer->name) . '</strong> vient d\'être supprimé de votre liste de producteurs.'
);
}
$userProducer->save();

+ 4
- 0
producer/views/site/index.php View File

@@ -63,6 +63,10 @@ $this->setPageTitle(Html::encode($producer->type . ' à ' . $producer->city));
<div class="description">
<?= $producer->description; ?>
</div>
<?php else: ?>
<div class="alert alert-dark">
Bienvenue sur la boutique <strong><?= Html::encode($producer->name) ?></strong>.
</div>
<?php endif; ?>
<div class="clr"></div>
</div>

+ 68
- 64
producer/web/css/screen.css View File

@@ -72,54 +72,58 @@ termes.
/* line 38, ../sass/_layout.scss */
body {
background-color: #f4efe8 !important;
/*background-image: url('../img/betterave.png');
background-repeat: no-repeat;
background-size: 90% auto;
background-position: center;*/
font-family: 'worksans_regular' !important;
color: #333;
line-height: 20px;
font-size: 14px;
}

/* line 46, ../sass/_layout.scss */
/* line 50, ../sass/_layout.scss */
.clr {
clear: both;
}

/* line 50, ../sass/_layout.scss */
/* line 54, ../sass/_layout.scss */
.panel {
margin-bottom: 30px;
}
/* line 52, ../sass/_layout.scss */
/* line 56, ../sass/_layout.scss */
.panel strong {
font-weight: bold;
}

/* line 57, ../sass/_layout.scss */
/* line 61, ../sass/_layout.scss */
.modal-backdrop.in {
z-index: 10;
}

/* line 62, ../sass/_layout.scss */
/* line 66, ../sass/_layout.scss */
#section-user-top .navbar-default {
background-color: white;
}

/* line 67, ../sass/_layout.scss */
/* line 71, ../sass/_layout.scss */
#main {
position: relative;
}

/* line 71, ../sass/_layout.scss */
/* line 75, ../sass/_layout.scss */
ul.pagination {
text-align: center;
display: block;
margin-top: 50px;
}
/* line 76, ../sass/_layout.scss */
/* line 80, ../sass/_layout.scss */
ul.pagination li {
display: inline-block;
margin-left: 4px;
margin-right: 4px;
}
/* line 81, ../sass/_layout.scss */
/* line 85, ../sass/_layout.scss */
ul.pagination li a {
font-family: 'worksans_semibold';
font-size: 1.5em;
@@ -132,7 +136,7 @@ ul.pagination li a {
background-color: #b7ab9b;
color: white !important;
}
/* line 92, ../sass/_layout.scss */
/* line 96, ../sass/_layout.scss */
ul.pagination li.active a,
ul.pagination li a:hover,
ul.pagination li a:focus,
@@ -140,48 +144,48 @@ ul.pagination li a:active {
background-color: #ee6f42;
color: white !important;
}
/* line 100, ../sass/_layout.scss */
/* line 104, ../sass/_layout.scss */
ul.pagination li.disabled {
display: none;
}
/* line 105, ../sass/_layout.scss */
/* line 109, ../sass/_layout.scss */
ul.pagination li.prev a, ul.pagination li.next a {
border: solid 1px #b7ab9b;
color: #b7ab9b !important;
background-color: white !important;
}

/* line 116, ../sass/_layout.scss */
/* line 120, ../sass/_layout.scss */
.product-name-description-block .name {
font-family: "worksans_semibold";
color: black;
font-size: 1.4em;
line-height: 1.6em;
}
/* line 123, ../sass/_layout.scss */
/* line 127, ../sass/_layout.scss */
.product-name-description-block .other {
font-family: "worksans_regular";
color: black;
font-weight: bold;
font-size: 17px;
}
/* line 130, ../sass/_layout.scss */
/* line 134, ../sass/_layout.scss */
.product-name-description-block .description,
.product-name-description-block .description-long {
color: gray;
}
/* line 136, ../sass/_layout.scss */
/* line 140, ../sass/_layout.scss */
.product-name-description-block .description-long .content {
display: none;
}

/* line 142, ../sass/_layout.scss */
/* line 146, ../sass/_layout.scss */
#header {
text-align: center;
padding: 0px;
position: relative;
}
/* line 148, ../sass/_layout.scss */
/* line 152, ../sass/_layout.scss */
#header #logo {
position: absolute;
top: 90px;
@@ -196,7 +200,7 @@ ul.pagination li.prev a, ul.pagination li.next a {
text-align: center;
overflow: hidden;
}
/* line 160, ../sass/_layout.scss */
/* line 164, ../sass/_layout.scss */
#header #logo img {
position: absolute;
top: 50%;
@@ -205,55 +209,55 @@ ul.pagination li.prev a, ul.pagination li.next a {
max-width: 160px;
max-height: 160px;
}
/* line 170, ../sass/_layout.scss */
/* line 174, ../sass/_layout.scss */
#header.without-logo #title {
padding-left: 30px;
}
/* line 174, ../sass/_layout.scss */
/* line 178, ../sass/_layout.scss */
#header #title {
text-align: left;
padding-left: 246px;
padding-top: 20px;
padding-bottom: 20px;
}
/* line 180, ../sass/_layout.scss */
/* line 184, ../sass/_layout.scss */
#header #title h1 {
font-family: 'worksans_extrabold';
font-size: 2.2rem;
margin-bottom: 2px;
}
/* line 185, ../sass/_layout.scss */
/* line 189, ../sass/_layout.scss */
#header #title h1 a.producer-name {
text-decoration: none;
color: #ee6f42;
}
/* line 190, ../sass/_layout.scss */
/* line 194, ../sass/_layout.scss */
#header #title h1 .bookmark {
color: #b7ab9b;
font-size: 0.7em;
}
/* line 196, ../sass/_layout.scss */
/* line 200, ../sass/_layout.scss */
#header #title h2 {
font-family: 'worksans_regular';
text-transform: uppercase;
font-size: 1.1rem;
}
/* line 201, ../sass/_layout.scss */
/* line 205, ../sass/_layout.scss */
#header #title h2 .location {
text-transform: none;
font-family: 'worksans_bold';
}
/* line 205, ../sass/_layout.scss */
/* line 209, ../sass/_layout.scss */
#header #title h2 .location .bi {
position: relative;
left: 1px;
}
/* line 213, ../sass/_layout.scss */
/* line 217, ../sass/_layout.scss */
#header nav#main-nav {
background-color: #ece4d8;
margin-top: 0px;
}
/* line 219, ../sass/_layout.scss */
/* line 223, ../sass/_layout.scss */
#header nav#main-nav ul li a {
display: inline-block;
padding: 8px 15px;
@@ -264,11 +268,11 @@ ul.pagination li.prev a, ul.pagination li.next a {
-webkit-box-shadow: -20px 0px 20px 0px #ece4d8 inset;
box-shadow: -20px 0px 20px 0px #ece4d8 inset;
}
/* line 227, ../sass/_layout.scss */
/* line 231, ../sass/_layout.scss */
#header nav#main-nav ul li a .bi {
margin-right: 3px;
}
/* line 231, ../sass/_layout.scss */
/* line 235, ../sass/_layout.scss */
#header nav#main-nav ul li a span.label {
display: inline-block;
position: relative;
@@ -286,7 +290,7 @@ ul.pagination li.prev a, ul.pagination li.next a {
text-transform: uppercase;
border: solid 1px transparent;
}
/* line 248, ../sass/_layout.scss */
/* line 252, ../sass/_layout.scss */
#header nav#main-nav ul li a.active,
#header nav#main-nav ul li a:hover {
color: white;
@@ -294,16 +298,16 @@ ul.pagination li.prev a, ul.pagination li.next a {
-webkit-box-shadow: none;
box-shadow: none;
}
/* line 253, ../sass/_layout.scss */
/* line 257, ../sass/_layout.scss */
#header nav#main-nav ul li a.active span.label-success,
#header nav#main-nav ul li a:hover span.label-success {
border: solid 1px white !important;
}
/* line 259, ../sass/_layout.scss */
/* line 263, ../sass/_layout.scss */
#header nav#main-nav ul.submenu {
background-color: white;
}
/* line 263, ../sass/_layout.scss */
/* line 267, ../sass/_layout.scss */
#header nav#main-nav ul.submenu li a {
background-color: white;
font-size: 0.9em;
@@ -312,34 +316,34 @@ ul.pagination li.prev a, ul.pagination li.next a {
box-shadow: none;
border-bottom: solid 2px #f4efe8;
}
/* line 269, ../sass/_layout.scss */
/* line 273, ../sass/_layout.scss */
#header nav#main-nav ul.submenu li a span.label {
background-color: white;
border: solid 1px #b7ab9b;
color: #b7ab9b;
}
/* line 276, ../sass/_layout.scss */
/* line 280, ../sass/_layout.scss */
#header nav#main-nav ul.submenu li a.active,
#header nav#main-nav ul.submenu li a:hover {
color: black;
background-color: white;
border-bottom: solid 2px #b7ab9b !important;
}
/* line 286, ../sass/_layout.scss */
/* line 290, ../sass/_layout.scss */
#header nav#main-nav #user {
color: #ee6f42;
float: right;
padding: 10px;
}

/* line 294, ../sass/_layout.scss */
/* line 298, ../sass/_layout.scss */
#main {
padding: 0px;
padding-top: 38px;
margin-bottom: 50px;
background-color: white;
}
/* line 300, ../sass/_layout.scss */
/* line 304, ../sass/_layout.scss */
#main #banner {
height: 180px;
overflow: hidden;
@@ -347,7 +351,7 @@ ul.pagination li.prev a, ul.pagination li.next a {
background-size: cover;
background-position: center;
}
/* line 308, ../sass/_layout.scss */
/* line 312, ../sass/_layout.scss */
#main #infos-producer {
display: none;
padding: 5px 10px;
@@ -357,78 +361,78 @@ ul.pagination li.prev a, ul.pagination li.next a {
border-bottom: solid 1px #e0e0e0;
color: gray;
}
/* line 317, ../sass/_layout.scss */
/* line 321, ../sass/_layout.scss */
#main #infos-producer strong {
font-weight: bold;
}
/* line 321, ../sass/_layout.scss */
/* line 325, ../sass/_layout.scss */
#main #infos-producer .favorite {
float: right;
color: gray;
}
/* line 324, ../sass/_layout.scss */
/* line 328, ../sass/_layout.scss */
#main #infos-producer .favorite a {
color: black;
}
/* line 330, ../sass/_layout.scss */
/* line 334, ../sass/_layout.scss */
#main h2#page-title {
margin-top: 0px;
font-family: "worksans_bold";
font-size: 30px;
line-height: 40px;
}
/* line 341, ../sass/_layout.scss */
/* line 345, ../sass/_layout.scss */
#main #content {
padding: 40px;
min-height: 300px;
}
/* line 345, ../sass/_layout.scss */
/* line 349, ../sass/_layout.scss */
#main #content h1, #main #content h2, #main #content h3, #main #content h4, #main #content h5, #main #content h6 {
font-family: "worksans_bold";
margin-bottom: 20px;
color: black;
}
/* line 350, ../sass/_layout.scss */
/* line 354, ../sass/_layout.scss */
#main #content h1.first, #main #content h2.first, #main #content h3.first, #main #content h4.first, #main #content h5.first, #main #content h6.first {
margin-top: 0px;
}
/* line 355, ../sass/_layout.scss */
/* line 359, ../sass/_layout.scss */
#main #content h1 {
font-size: 30px;
}
/* line 359, ../sass/_layout.scss */
/* line 363, ../sass/_layout.scss */
#main #content h2 {
font-size: 25px;
}
/* line 363, ../sass/_layout.scss */
/* line 367, ../sass/_layout.scss */
#main #content h3 {
font-size: 1.4em;
text-align: left;
margin-bottom: 30px;
}
/* line 368, ../sass/_layout.scss */
/* line 372, ../sass/_layout.scss */
#main #content h3 span {
padding-top: 14px;
color: black;
}
/* line 374, ../sass/_layout.scss */
/* line 378, ../sass/_layout.scss */
#main #content h4 {
font-size: 20px;
}
/* line 378, ../sass/_layout.scss */
/* line 382, ../sass/_layout.scss */
#main #content h5 {
font-size: 18px;
}
/* line 382, ../sass/_layout.scss */
/* line 386, ../sass/_layout.scss */
#main #content h6 {
font-size: 16px;
}
/* line 388, ../sass/_layout.scss */
/* line 392, ../sass/_layout.scss */
#main #content form .form-group .hint-block {
color: gray;
}

/* line 396, ../sass/_layout.scss */
/* line 400, ../sass/_layout.scss */
#footer-producer {
text-align: center;
position: absolute;
@@ -436,39 +440,39 @@ ul.pagination li.prev a, ul.pagination li.next a {
left: 0px;
width: 100%;
}
/* line 403, ../sass/_layout.scss */
/* line 407, ../sass/_layout.scss */
#footer-producer a {
color: #ee6f42;
}
/* line 405, ../sass/_layout.scss */
/* line 409, ../sass/_layout.scss */
#footer-producer a:active {
text-decoration: underline;
}

/* line 411, ../sass/_layout.scss */
/* line 415, ../sass/_layout.scss */
#footer {
display: none;
height: 100px;
float: right;
text-align: center;
}
/* line 417, ../sass/_layout.scss */
/* line 421, ../sass/_layout.scss */
#footer .content {
padding-top: 20px;
color: black;
}
/* line 421, ../sass/_layout.scss */
/* line 425, ../sass/_layout.scss */
#footer .content a {
color: black;
font-size: 18px;
padding-left: 10px;
padding-right: 10px;
}
/* line 427, ../sass/_layout.scss */
/* line 431, ../sass/_layout.scss */
#footer .content a:hover {
text-decoration: underline;
}
/* line 434, ../sass/_layout.scss */
/* line 438, ../sass/_layout.scss */
#footer #code-source img {
height: 20px;
}

BIN
producer/web/img/betterave.png View File

Before After
Width: 2448  |  Height: 2101  |  Size: 140KB

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

@@ -37,6 +37,10 @@ termes.

body {
background-color: $color-gray-light !important;
/*background-image: url('../img/betterave.png');
background-repeat: no-repeat;
background-size: 90% auto;
background-position: center;*/
font-family: 'worksans_regular' !important;
color: #333 ;
line-height: 20px ;

Loading…
Cancel
Save