Browse Source

Merge branch 'prix_libre' into dev

refactoring
Guillaume Bourgeois 6 years ago
parent
commit
ed72193306
14 changed files with 182 additions and 143 deletions
  1. +13
    -7
      backend/views/etablissement/facturation.php
  2. +1
    -1
      backend/views/layouts/main.php
  3. +2
    -2
      backend/views/site/index.php
  4. BIN
      backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/screen.scssc
  5. +21
    -13
      backend/web/css/screen.css
  6. +12
    -0
      backend/web/sass/screen.scss
  7. +1
    -1
      common/models/Etablissement.php
  8. +4
    -0
      frontend/models/SignupForm.php
  9. +3
    -3
      frontend/views/site/_cgv_content.php
  10. +3
    -6
      frontend/views/site/_tarifs_producteur.php
  11. +8
    -6
      frontend/views/site/index.php
  12. +5
    -0
      frontend/views/site/signup.php
  13. +95
    -94
      frontend/web/css/screen.css
  14. +14
    -10
      frontend/web/sass/screen.scss

+ 13
- 7
backend/views/etablissement/facturation.php View File

use common\models\Etablissement ; use common\models\Etablissement ;
use yii\bootstrap\ActiveForm; use yii\bootstrap\ActiveForm;


$this->title = 'Facturation';
$this->title = 'Mon abonnement';
$this->params['breadcrumbs'][] = 'Administration' ; $this->params['breadcrumbs'][] = 'Administration' ;
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;


?> ?>


<h1>Facturation</h1>
<h1>Mon abonnement</h1>


<p class=""> <p class="">
Vous seuls savez ce que vous apporte cet outil et dans quelle mesure vous souhaitez le soutenir.<br /> Vous seuls savez ce que vous apporte cet outil et dans quelle mesure vous souhaitez le soutenir.<br />
<?php if($alert_prix_libre): ?> <?php if($alert_prix_libre): ?>
<div class="alert alert-success"> <div class="alert alert-success">
Le prix libre a bien été mis à jour.
Le montant de votre abonnement a bien été mis à jour.
<?php if($etablissement->prix_libre != 0): ?> <?php if($etablissement->prix_libre != 0): ?>
Vos prochaines factures mensuelles auront un montant de <strong><?= number_format(Html::encode($etablissement->prix_libre),2).' € TTC' ; ?></strong>.
Vos prochaines factures mensuelles auront un montant de <strong><?= number_format(Html::encode($etablissement->prix_libre),2).' € HT' ; ?></strong>.
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>
<?php $form = ActiveForm::begin([ <?php $form = ActiveForm::begin([
'layout' => 'horizontal',
//'layout' => 'vertical',
'fieldConfig' => [ 'fieldConfig' => [
'template' => "{label}\n{beginWrapper}\n{input}\n{hint}\n{error}\n{endWrapper}", 'template' => "{label}\n{beginWrapper}\n{input}\n{hint}\n{error}\n{endWrapper}",
'horizontalCssClasses' => [ 'horizontalCssClasses' => [
], ],
]); ?> ]); ?>
<?= $form->field($etablissement, 'prix_libre')->textInput()->label('Prix libre<br /><span>€ TTC / mois</span>') ?>
<?= $form->field($etablissement, 'prix_libre',[
'inputTemplate' => '<div class="input-group">{input}<span class="input-group-addon"><span class="glyphicon glyphicon-euro"></span> HT / mois</span></div>',
])
->label('Prix libre'); ?>
<div class="form-group field-user-prix_libre"> <div class="form-group field-user-prix_libre">
<label class="control-label col-sm-2" for=""></label> <label class="control-label col-sm-2" for=""></label>
</div> </div>




<!--
<h2>Dernières factures</h2> <h2>Dernières factures</h2>
<?= GridView::widget([ <?= GridView::widget([
'dataProvider' => $datas_factures, 'dataProvider' => $datas_factures,
} }
] ]
], ],
]); ?>
]); ?>

-->

+ 1
- 1
backend/views/layouts/main.php View File

'visible' => !Yii::$app->user->isGuest 'visible' => !Yii::$app->user->isGuest
], ],
[ [
'label' => '<span class="glyphicon glyphicon-euro"></span> Facturation',
'label' => '<span class="glyphicon glyphicon-euro"></span> Mon abonnement',
'url' => ['/etablissement/facturation'], 'url' => ['/etablissement/facturation'],
'visible' => !Yii::$app->user->isGuest, 'visible' => !Yii::$app->user->isGuest,
], ],

+ 2
- 2
backend/views/site/index.php View File

</div> </div>
</div> </div>


<!-- Facturation -->
<!-- Mon abonnement -->
<div class="" id="facturation"> <div class="" id="facturation">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"> <h3 class="panel-title">
Facturation
Mon abonnement
<?= Html::a('Voir',['etablissement/facturation'],['class' => 'btn btn-default btn-xs']) ; ?> <?= Html::a('Voir',['etablissement/facturation'],['class' => 'btn btn-default btn-xs']) ; ?>
</h3> </h3>
</div> </div>

BIN
backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/screen.scssc View File


+ 21
- 13
backend/web/css/screen.css View File

#estimation-facture label span { #estimation-facture label span {
font-size: 16px; font-size: 16px;
} }
/* line 1334, ../sass/screen.scss */
/* line 1335, ../sass/screen.scss */
#estimation-facture .field-etablissement-prix_libre .input-group {
width: 200px;
}
/* line 1341, ../sass/screen.scss */
#estimation-facture .field-user-prix_libre label {
display: none;
}
/* line 1346, ../sass/screen.scss */
#estimation-facture #etablissement-prix_libre { #estimation-facture #etablissement-prix_libre {
width: 100px; width: 100px;
height: 60px; height: 60px;
text-align: center; text-align: center;
} }


/* line 1344, ../sass/screen.scss */
/* line 1356, ../sass/screen.scss */
.developpement-index ul#tabs-statuts-developpements { .developpement-index ul#tabs-statuts-developpements {
margin-bottom: 30px; margin-bottom: 30px;
border-bottom: solid 3px #BB8757; border-bottom: solid 3px #BB8757;
} }
/* line 1348, ../sass/screen.scss */
/* line 1360, ../sass/screen.scss */
.developpement-index ul#tabs-statuts-developpements a { .developpement-index ul#tabs-statuts-developpements a {
text-transform: uppercase; text-transform: uppercase;
} }
/* line 1351, ../sass/screen.scss */
/* line 1363, ../sass/screen.scss */
.developpement-index ul#tabs-statuts-developpements .active { .developpement-index ul#tabs-statuts-developpements .active {
border: 0px none; border: 0px none;
background: none; background: none;
} }
/* line 1354, ../sass/screen.scss */
/* line 1366, ../sass/screen.scss */
.developpement-index ul#tabs-statuts-developpements .active a { .developpement-index ul#tabs-statuts-developpements .active a {
background-color: #BB8757; background-color: #BB8757;
color: white; color: white;
} }
/* line 1362, ../sass/screen.scss */
/* line 1374, ../sass/screen.scss */
.developpement-index #tab-developpements .btn-group-priorite { .developpement-index #tab-developpements .btn-group-priorite {
width: 100%; width: 100%;
margin-bottom: 5px; margin-bottom: 5px;
} }
/* line 1366, ../sass/screen.scss */
/* line 1378, ../sass/screen.scss */
.developpement-index #tab-developpements .btn-group-priorite .btn-priorite { .developpement-index #tab-developpements .btn-group-priorite .btn-priorite {
display: block; display: block;
float: none; float: none;
width: 100%; width: 100%;
} }
/* line 1373, ../sass/screen.scss */
/* line 1385, ../sass/screen.scss */
.developpement-index #tab-developpements .label-priorite { .developpement-index #tab-developpements .label-priorite {
display: block; display: block;
width: 100%; width: 100%;
} }


/* stats */ /* stats */
/* line 1386, ../sass/screen.scss */
/* line 1398, ../sass/screen.scss */
.stats-produits #nav-year { .stats-produits #nav-year {
float: right; float: right;
} }
/* line 1391, ../sass/screen.scss */
/* line 1403, ../sass/screen.scss */
.stats-produits tr.mois th { .stats-produits tr.mois th {
text-align: center; text-align: center;
} }
/* line 1396, ../sass/screen.scss */
/* line 1408, ../sass/screen.scss */
.stats-produits tr.sub-head th { .stats-produits tr.sub-head th {
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
} }
/* line 1402, ../sass/screen.scss */
/* line 1414, ../sass/screen.scss */
.stats-produits td.nom { .stats-produits td.nom {
text-transform: uppercase; text-transform: uppercase;
} }
/* line 1406, ../sass/screen.scss */
/* line 1418, ../sass/screen.scss */
.stats-produits td.align-center { .stats-produits td.align-center {
text-align: center; text-align: center;
} }

+ 12
- 0
backend/web/sass/screen.scss View File

} }
} }
.field-etablissement-prix_libre {
.input-group {
width: 200px ;
}
}
.field-user-prix_libre {
label {
display: none ;
}
}
#etablissement-prix_libre { #etablissement-prix_libre {
width: 100px ; width: 100px ;
height: 60px ; height: 60px ;

+ 1
- 1
common/models/Etablissement.php View File



public function getPrixLibre() { public function getPrixLibre() {
if (!is_null($this->prix_libre)) { if (!is_null($this->prix_libre)) {
return number_format($this->prix_libre, 2, ',', false) . ' €';
return number_format($this->prix_libre, 2, ',', false) . ' € HT';
} }
} }

+ 4
- 0
frontend/models/SignupForm.php View File

public $cgv; public $cgv;
public $code; public $code;
public $type; public $type;
public $prix_libre ;


/** /**
* @inheritdoc * @inheritdoc
$this->addError($attribute, 'Code incorrect'); $this->addError($attribute, 'Code incorrect');
} }
}], }],
['prix_libre', 'number'],
]; ];
} }


$etablissement->heure_limite_commande = 20; $etablissement->heure_limite_commande = 20;
$etablissement->delai_commande = 1; $etablissement->delai_commande = 1;
$etablissement->gratuit = 1; $etablissement->gratuit = 1;
$etablissement->prix_libre = (float) abs($this->prix_libre);
$etablissement->slug = \common\helpers\Url::slugify($this->nom_magasin) ; $etablissement->slug = \common\helpers\Url::slugify($this->nom_magasin) ;


// génération d'un code // génération d'un code
'ville' => 'Commune', 'ville' => 'Commune',
'id_etablissement' => 'Producteur', 'id_etablissement' => 'Producteur',
'type' => 'Type d\'établissement', 'type' => 'Type d\'établissement',
'prix_libre' => 'Prix libre'
]; ];
} }



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



<h2>8. Redevances d'utilisation du Site</h2> <h2>8. Redevances d'utilisation du Site</h2>
<p>La création d’un compte et l’utilisation de la partie du Site réservée aux Boulangers <p>La création d’un compte et l’utilisation de la partie du Site réservée aux Boulangers
implique le paiement mensuel par les Boulangers d’un montant équivalent à deux (2) %
du chiffre d’affaires mensuel réalisé à partir des commandes enregistrées sur le Site.
La Société émettra à l’issue de chaque mois une facture au Boulanger, payable
implique le paiement mensuel par les Boulangers d'un montant (HT) défini par eux-même dans
la section Facturation. Si ce montant est supérieur à 0€, la Société émettra à l’issue
de chaque mois une facture au Boulanger, payable
par virement bancaire ou par chèque dans les trente (30) jours à compter par virement bancaire ou par chèque dans les trente (30) jours à compter
de la date d’émission de la facture. Tout défaut ou retard de paiement emportera de la date d’émission de la facture. Tout défaut ou retard de paiement emportera
immédiatement application de pénalités de retard à un taux qui est de trois fois immédiatement application de pénalités de retard à un taux qui est de trois fois

+ 3
- 6
frontend/views/site/_tarifs_producteur.php View File

<h4 class="modal-title" id="myModalLabel">Tarifs</h4> <h4 class="modal-title" id="myModalLabel">Tarifs</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="alert alert-warning"><em>La boîte à pain</em> fonctionne grâce à un système de <strong>facturation mensuelle</strong> basée
sur le chiffre d'affaire réalisé à partir des commandes enregistrées sur la plateforme. Fonctionner ainsi permet de faire contribuer chaque
producteur à la hauteur de son utilisation de la plateforme.</div>
<div class="commission"><span><strong>2 %</strong> du chiffre d'affaire TTC</span></div>
<div class="exemple">Exemple : si pour un mois donné, vous avez comptabilisé <em>2500 € TTC</em> de chiffre d'affaire réalisé sur la plateforme,
vous recevrez une facture d'un montant de <em>50 € TTC</em> pour ce mois.</div>
<p><em>La boîte à pain</em> fonctionne grâce à un système d'abonnement à <strong>prix libre</strong>.
Chaque producteur définit lui-même le prix mensuel (HT) de son abonnement à la plateforme, selon son intérêt et le soutien qu'il veut apporter. Ce montant est modifiable à tout moment dans la section <em>Mon abonnement</em> de l'interface d'administration.</p>
<p>Toutes les demandes de formation ou de développement spécifique feront l'objet d'un devis.</p>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Fermer</button> <button type="button" class="btn btn-default" data-dismiss="modal">Fermer</button>

+ 8
- 6
frontend/views/site/index.php View File

<img class="img" src="<?= Yii::$app->urlManager->getBaseUrl(); ?>/img/clients.png" id="img-clients" /> <img class="img" src="<?= Yii::$app->urlManager->getBaseUrl(); ?>/img/clients.png" id="img-clients" />
<span>Clients</span> <span>Clients</span>
</h2> </h2>
<p><em>Réservez vos produits en ligne et récupérez votre commande
chez votre producteur ou dans un dépôt près de chez vous.</em></p>
<p>Réservez vos produits en ligne et récupérez votre commande
chez votre producteur ou dans un dépôt près de chez vous.</p>
<ul> <ul>
<li>Garantie d'avoir vos produits</li> <li>Garantie d'avoir vos produits</li>
<li>Moyen simple de commander</li> <li>Moyen simple de commander</li>
<li>Possibilité de choisir un dépôt proche de chez soi</li> <li>Possibilité de choisir un dépôt proche de chez soi</li>
</ul> </ul>
<div class="prix"> <div class="prix">
<span>Gratuit</span>
<div>Gratuit</div>
</div> </div>
</div> </div>
<div class="col-md-6 boulanger"> <div class="col-md-6 boulanger">
<h2> <h2>
<img class="img" src="<?= Yii::$app->urlManager->getBaseUrl(); ?>/img/boulanger1.png" id="img-boulanger" /> <img class="img" src="<?= Yii::$app->urlManager->getBaseUrl(); ?>/img/boulanger1.png" id="img-boulanger" />
<span>Producteur</span>
<span>Producteurs</span>
</h2> </h2>


<p><em>Simplifiez la gestion de vos commandes et optimisez votre production.</em></p>
<p>Simplifiez la gestion de vos commandes et optimisez votre production.</p>


<ul> <ul>
<li>Prise de commande en ligne automatisée</li> <li>Prise de commande en ligne automatisée</li>
</ul> </ul>


<div class="prix"> <div class="prix">
<span><a data-toggle="modal" data-target="#modal-tarifs" href="javascript:void(0);">Commission : 2% du CA</a></span>
<a data-toggle="modal" data-target="#modal-tarifs" href="javascript:void(0);">Abonnement à <strong>prix libre</strong><br />
Formation & développement spécifique <strong>sur devis</strong>
</a>
</div> </div>
</div> </div>
</div> </div>

+ 5
- 0
frontend/views/site/signup.php View File

<?= $form->field($model, 'siret') ?> <?= $form->field($model, 'siret') ?>
<?= $form->field($model, 'code_postal') ?> <?= $form->field($model, 'code_postal') ?>
<?= $form->field($model, 'ville') ?> <?= $form->field($model, 'ville') ?>
<?= $form->field($model, 'prix_libre',[
'inputTemplate' => '<div class="input-group">{input}<span class="input-group-addon"><span class="glyphicon glyphicon-euro"></span></span></div>',
])
->label('Prix libre HT / mois')
->hint('Laissez ce champs vide si vous souhaitez dans un premier temps simplement tester la plateforme. Une fois l\'outil mis en place dans votre structure, vous pourrez modifier ce coût dans la section "Mon abonnement" de votre panneau d\'administration.') ; ?>
<?= $form->field($model, 'cgv')->checkbox()->label('J\'accepte les <a class="btn btn-xs btn-default" data-toggle="modal" data-target="#modal-cgv" href="javascript:void(0);">conditions générales de service</a> et les <a class="btn btn-xs btn-default" data-toggle="modal" data-target="#modal-tarifs" href="javascript:void(0);">conditions tarifaires</a> (prix libre).') ?> <?= $form->field($model, 'cgv')->checkbox()->label('J\'accepte les <a class="btn btn-xs btn-default" data-toggle="modal" data-target="#modal-cgv" href="javascript:void(0);">conditions générales de service</a> et les <a class="btn btn-xs btn-default" data-toggle="modal" data-target="#modal-tarifs" href="javascript:void(0);">conditions tarifaires</a> (prix libre).') ?>
</div> </div>
<div id="champs-client"> <div id="champs-client">

+ 95
- 94
frontend/web/css/screen.css View File

} }
/* line 412, ../sass/screen.scss */ /* line 412, ../sass/screen.scss */
#content #row-clients-boulanger h2 { #content #row-clients-boulanger h2 {
text-align: center;
margin-bottom: 10px; margin-bottom: 10px;
} }
/* line 414, ../sass/screen.scss */
/* line 415, ../sass/screen.scss */
#content #row-clients-boulanger h2 .img { #content #row-clients-boulanger h2 .img {
height: 50px;
height: 35px;
} }
/* line 417, ../sass/screen.scss */
/* line 418, ../sass/screen.scss */
#content #row-clients-boulanger h2 span { #content #row-clients-boulanger h2 span {
margin-left: 10px; margin-left: 10px;
font-size: 25px; font-size: 25px;
position: relative; position: relative;
top: 5px; top: 5px;
} }
/* line 425, ../sass/screen.scss */
/* line 426, ../sass/screen.scss */
#content #row-clients-boulanger ul { #content #row-clients-boulanger ul {
text-align: left; text-align: left;
} }
/* line 427, ../sass/screen.scss */
/* line 428, ../sass/screen.scss */
#content #row-clients-boulanger ul li { #content #row-clients-boulanger ul li {
list-style-type: circle; list-style-type: circle;
color: #BB8757; color: #BB8757;
} }
/* line 433, ../sass/screen.scss */
/* line 434, ../sass/screen.scss */
#content #row-clients-boulanger p { #content #row-clients-boulanger p {
padding-bottom: 4px; padding-bottom: 4px;
} }
/* line 439, ../sass/screen.scss */
#content #row-clients-boulanger .boulanger .prix span {
/* line 440, ../sass/screen.scss */
#content #row-clients-boulanger .boulanger .prix a {
background-color: #F8F1DD; background-color: #F8F1DD;
}
/* line 442, ../sass/screen.scss */
#content #row-clients-boulanger .boulanger .prix span a {
color: #BB8757; color: #BB8757;
text-decoration: none; text-decoration: none;
} }
/* line 450, ../sass/screen.scss */
/* line 448, ../sass/screen.scss */
#content #row-clients-boulanger .prix { #content #row-clients-boulanger .prix {
padding-top: 15px; padding-top: 15px;
font-size: 18px; font-size: 18px;
} }
/* line 454, ../sass/screen.scss */
#content #row-clients-boulanger .prix span {
/* line 452, ../sass/screen.scss */
#content #row-clients-boulanger .prix a, #content #row-clients-boulanger .prix div {
text-decoration: none;
text-align: center;
display: block;
color: #BB8757; color: #BB8757;
border: solid 1px #BB8757; border: solid 1px #BB8757;
font-weight: normal; font-weight: normal;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
border-radius: 5px; border-radius: 5px;
} }
/* line 469, ../sass/screen.scss */
/* line 473, ../sass/screen.scss */
#content #row-clients-boulanger #periode-essai { #content #row-clients-boulanger #periode-essai {
margin-top: 8px; margin-top: 8px;
text-align: center; text-align: center;
color: gray; color: gray;
font-family: "comfortaaregular"; font-family: "comfortaaregular";
} }
/* line 479, ../sass/screen.scss */
/* line 483, ../sass/screen.scss */
#content #btn-demo:hover, #content #btn-demo:focus, #content #btn-demo:active { #content #btn-demo:hover, #content #btn-demo:focus, #content #btn-demo:active {
color: black; color: black;
} }
/* line 485, ../sass/screen.scss */
/* line 489, ../sass/screen.scss */
#content #modal-tarifs .commission { #content #modal-tarifs .commission {
text-align: center; text-align: center;
font-size: 20px; font-size: 20px;
text-transform: uppercase; text-transform: uppercase;
margin-bottom: 20px; margin-bottom: 20px;
} }
/* line 491, ../sass/screen.scss */
/* line 495, ../sass/screen.scss */
#content #modal-tarifs .commission span { #content #modal-tarifs .commission span {
padding: 10px 20px; padding: 10px 20px;
border: solid 1px black; border: solid 1px black;
-webkit-border-radius: 10px; -webkit-border-radius: 10px;
border-radius: 10px; border-radius: 10px;
} }
/* line 497, ../sass/screen.scss */
/* line 501, ../sass/screen.scss */
#content #modal-tarifs .exemple { #content #modal-tarifs .exemple {
color: gray; color: gray;
} }


/* line 504, ../sass/screen.scss */
/* line 508, ../sass/screen.scss */
#content #contact { #content #contact {
display: none; display: none;
} }
/* line 508, ../sass/screen.scss */
/* line 512, ../sass/screen.scss */
#content #contact .icon { #content #contact .icon {
width: 55px; width: 55px;
top: -15px; top: -15px;
margin-left: -70px; margin-left: -70px;
} }
/* line 517, ../sass/screen.scss */
/* line 521, ../sass/screen.scss */
#content #contact .form-control:focus { #content #contact .form-control:focus {
/*@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px $jaune) ; /*@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px $jaune) ;
border-color: $jaune ;*/ border-color: $jaune ;*/
} }
/* line 522, ../sass/screen.scss */
/* line 526, ../sass/screen.scss */
#content #contact .form-group { #content #contact .form-group {
text-align: center; text-align: center;
} }
/* line 526, ../sass/screen.scss */
/* line 530, ../sass/screen.scss */
#content #contact .img-right { #content #contact .img-right {
float: right; float: right;
} }
/* line 529, ../sass/screen.scss */
/* line 533, ../sass/screen.scss */
#content #contact .img-right img { #content #contact .img-right img {
width: 300px; width: 300px;
} }


/* line 536, ../sass/screen.scss */
/* line 540, ../sass/screen.scss */
#favorite-producers { #favorite-producers {
background-color: #BB8757; background-color: #BB8757;
border-top: solid 1px #e0e0e0; border-top: solid 1px #e0e0e0;
padding-top: 20px; padding-top: 20px;
margin: 0px; margin: 0px;
} }
/* line 543, ../sass/screen.scss */
/* line 547, ../sass/screen.scss */
#favorite-producers h2 { #favorite-producers h2 {
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
color: #F8F1DD; color: #F8F1DD;
margin-left: 15px; margin-left: 15px;
margin-bottom: 15px; margin-bottom: 15px;
} }
/* line 554, ../sass/screen.scss */
/* line 558, ../sass/screen.scss */
#favorite-producers .col-md-12, #favorite-producers .col-md-6, #favorite-producers .col-md-3 { #favorite-producers .col-md-12, #favorite-producers .col-md-6, #favorite-producers .col-md-3 {
float: left; float: left;
} }
/* line 558, ../sass/screen.scss */
/* line 562, ../sass/screen.scss */
#favorite-producers .col-md-12 .producer { #favorite-producers .col-md-12 .producer {
background-size: 920px auto; background-size: 920px auto;
} }
/* line 561, ../sass/screen.scss */
/* line 565, ../sass/screen.scss */
#favorite-producers .col-md-6 .producer { #favorite-producers .col-md-6 .producer {
background-size: 460px auto; background-size: 460px auto;
} }
/* line 565, ../sass/screen.scss */
/* line 569, ../sass/screen.scss */
#favorite-producers .col-md-3 .producer { #favorite-producers .col-md-3 .producer {
background-size: 230px auto; background-size: 230px auto;
} }
/* line 569, ../sass/screen.scss */
/* line 573, ../sass/screen.scss */
#favorite-producers .producer { #favorite-producers .producer {
position: relative; position: relative;
height: 100px; height: 100px;
background-repeat: no-repeat; background-repeat: no-repeat;
border: solid 1px #F8F1DD; border: solid 1px #F8F1DD;
} }
/* line 580, ../sass/screen.scss */
/* line 584, ../sass/screen.scss */
#favorite-producers .producer a { #favorite-producers .producer a {
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
border-color: #F8F1DD; border-color: #F8F1DD;
color: #BB8757; color: #BB8757;
} }
/* line 589, ../sass/screen.scss */
/* line 593, ../sass/screen.scss */
#favorite-producers .producer a:hover { #favorite-producers .producer a:hover {
background-color: #fafafa; background-color: #fafafa;
border-color: #F8F1DD; border-color: #F8F1DD;
color: #BB8757; color: #BB8757;
} }
/* line 597, ../sass/screen.scss */
/* line 601, ../sass/screen.scss */
#favorite-producers #discover { #favorite-producers #discover {
padding-bottom: 20px; padding-bottom: 20px;
text-align: center; text-align: center;
} }
/* line 601, ../sass/screen.scss */
/* line 605, ../sass/screen.scss */
#favorite-producers #discover p { #favorite-producers #discover p {
padding-bottom: 0px; padding-bottom: 0px;
color: #F8F1DD; color: #F8F1DD;
} }
/* line 606, ../sass/screen.scss */
/* line 610, ../sass/screen.scss */
#favorite-producers #discover .btn { #favorite-producers #discover .btn {
background-color: #F8F1DD; background-color: #F8F1DD;
color: #BB8757; color: #BB8757;
border: solid 1px #F8F1DD; border: solid 1px #F8F1DD;
} }


/* line 615, ../sass/screen.scss */
/* line 619, ../sass/screen.scss */
#footer { #footer {
width: 100%; width: 100%;
background-color: #F8F1DD; background-color: #F8F1DD;
padding-top: 30px; padding-top: 30px;
padding-bottom: 17px; padding-bottom: 17px;
} }
/* line 623, ../sass/screen.scss */
/* line 627, ../sass/screen.scss */
#footer a { #footer a {
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
color: #7e7e7e; color: #7e7e7e;
border-right: solid 1px #7e7e7e; border-right: solid 1px #7e7e7e;
border-right: solid 1px white; border-right: solid 1px white;
} }
/* line 634, ../sass/screen.scss */
/* line 638, ../sass/screen.scss */
#footer a:hover { #footer a:hover {
color: gray; color: gray;
} }
/* line 638, ../sass/screen.scss */
/* line 642, ../sass/screen.scss */
#footer a:last-child { #footer a:last-child {
border: 0px none; border: 0px none;
} }
/* line 644, ../sass/screen.scss */
/* line 648, ../sass/screen.scss */
#footer #code-source img { #footer #code-source img {
height: 20px; height: 20px;
} }


/* line 650, ../sass/screen.scss */
/* line 654, ../sass/screen.scss */
#content #mentions { #content #mentions {
padding-top: 20px; padding-top: 20px;
} }
/* line 653, ../sass/screen.scss */
/* line 657, ../sass/screen.scss */
#content #mentions div.content { #content #mentions div.content {
width: 60%; width: 60%;
font-size: 90%; font-size: 90%;
} }
/* line 658, ../sass/screen.scss */
/* line 662, ../sass/screen.scss */
#content #mentions p { #content #mentions p {
padding-bottom: 15px; padding-bottom: 15px;
} }
/* line 662, ../sass/screen.scss */
/* line 666, ../sass/screen.scss */
#content #mentions h2 { #content #mentions h2 {
color: black; color: black;
padding-bottom: 40px; padding-bottom: 40px;
line-height: 35px; line-height: 35px;
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
} }
/* line 670, ../sass/screen.scss */
/* line 674, ../sass/screen.scss */
#content #mentions h3 { #content #mentions h3 {
font-family: "comfortaaregular"; font-family: "comfortaaregular";
font-size: 18px; font-size: 18px;
color: black; color: black;
} }


/* line 681, ../sass/screen.scss */
/* line 685, ../sass/screen.scss */
.mentions #main, .mentions body { .mentions #main, .mentions body {
background-color: white; background-color: white;
} }


/* line 686, ../sass/screen.scss */
/* line 690, ../sass/screen.scss */
.vegas-loading { .vegas-loading {
display: none; display: none;
} }


/* line 693, ../sass/screen.scss */
/* line 697, ../sass/screen.scss */
#profil-user .form-group.field-user-no_mail label { #profil-user .form-group.field-user-no_mail label {
font-weight: normal; font-weight: normal;
} }
/* line 697, ../sass/screen.scss */
/* line 701, ../sass/screen.scss */
#profil-user .form-group label { #profil-user .form-group label {
cursor: pointer; cursor: pointer;
} }
/* line 702, ../sass/screen.scss */
/* line 706, ../sass/screen.scss */
#profil-user #mails-jours-prod .form-group { #profil-user #mails-jours-prod .form-group {
float: left; float: left;
margin-right: 15px; margin-right: 15px;
} }
/* line 705, ../sass/screen.scss */
/* line 709, ../sass/screen.scss */
#profil-user #mails-jours-prod .form-group label { #profil-user #mails-jours-prod .form-group label {
font-weight: normal; font-weight: normal;
} }
/* line 711, ../sass/screen.scss */
/* line 715, ../sass/screen.scss */
#profil-user p.strong { #profil-user p.strong {
font-weight: bold; font-weight: bold;
} }


/* login */ /* login */
/* line 720, ../sass/screen.scss */
/* line 724, ../sass/screen.scss */
.site-login .col-lg-5 { .site-login .col-lg-5 {
margin: 0px auto; margin: 0px auto;
float: none; float: none;
} }


/* signup */ /* signup */
/* line 728, ../sass/screen.scss */
/* line 732, ../sass/screen.scss */
.modal-backdrop { .modal-backdrop {
z-index: 999; z-index: 999;
} }


/* line 733, ../sass/screen.scss */
/* line 737, ../sass/screen.scss */
.site-signup .col-lg-5 { .site-signup .col-lg-5 {
margin: 0px auto; margin: 0px auto;
float: none; float: none;
} }


/* line 743, ../sass/screen.scss */
/* line 747, ../sass/screen.scss */
#modal-cgv .modal-body h2 { #modal-cgv .modal-body h2 {
margin-bottom: 5px; margin-bottom: 5px;
padding-bottom: 0px; padding-bottom: 0px;
margin-top: 0px; margin-top: 0px;
} }


/* line 753, ../sass/screen.scss */
/* line 757, ../sass/screen.scss */
#form-signup #client-boulanger { #form-signup #client-boulanger {
margin-bottom: 30px; margin-bottom: 30px;
} }
/* line 758, ../sass/screen.scss */
/* line 762, ../sass/screen.scss */
#form-signup #signupform-id_etablissement option:disabled { #form-signup #signupform-id_etablissement option:disabled {
font-weight: bold; font-weight: bold;
color: black; color: black;
} }
/* line 764, ../sass/screen.scss */
/* line 768, ../sass/screen.scss */
#form-signup #champs-boulanger { #form-signup #champs-boulanger {
display: none; display: none;
} }
/* line 768, ../sass/screen.scss */
/* line 772, ../sass/screen.scss */
#form-signup #boutons-inscrire { #form-signup #boutons-inscrire {
margin-top: 30px; margin-top: 30px;
} }


/* line 773, ../sass/screen.scss */
/* line 777, ../sass/screen.scss */
#col-left { #col-left {
padding: 0px; padding: 0px;
z-index: 15; z-index: 15;
} }
/* line 777, ../sass/screen.scss */
/* line 781, ../sass/screen.scss */
#col-left .affix { #col-left .affix {
width: 25%; width: 25%;
border-right: solid 1px #e0e0e0; border-right: solid 1px #e0e0e0;
background-color: #FAFAFA; background-color: #FAFAFA;
height: 100%; height: 100%;
} }
/* line 784, ../sass/screen.scss */
/* line 788, ../sass/screen.scss */
#col-left #link-home { #col-left #link-home {
text-decoration: none; text-decoration: none;
font-size: 22px; font-size: 22px;
padding: 10px; padding: 10px;
background-color: #F8F1DD; background-color: #F8F1DD;
} }
/* line 792, ../sass/screen.scss */
/* line 796, ../sass/screen.scss */
#col-left #link-home img { #col-left #link-home img {
height: 50px; height: 50px;
margin-bottom: 5px; margin-bottom: 5px;
float: left; float: left;
} }
/* line 798, ../sass/screen.scss */
/* line 802, ../sass/screen.scss */
#col-left #link-home .text { #col-left #link-home .text {
padding-left: 62px; padding-left: 62px;
} }
/* line 801, ../sass/screen.scss */
/* line 805, ../sass/screen.scss */
#col-left #link-home .text .bap { #col-left #link-home .text .bap {
font-family: "comfortaalight"; font-family: "comfortaalight";
font-size: 24px; font-size: 24px;
} }
/* line 806, ../sass/screen.scss */
/* line 810, ../sass/screen.scss */
#col-left #link-home .text .plateforme { #col-left #link-home .text .plateforme {
font-size: 17px; font-size: 17px;
font-family: "myriadpro-light"; font-family: "myriadpro-light";
color: #BB8757; color: #BB8757;
} }
/* line 814, ../sass/screen.scss */
/* line 818, ../sass/screen.scss */
#col-left h2 { #col-left h2 {
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
color: black; color: black;
margin-bottom: 10px; margin-bottom: 10px;
padding: 15px 0px 5px 15px; padding: 15px 0px 5px 15px;
} }
/* line 822, ../sass/screen.scss */
/* line 826, ../sass/screen.scss */
#col-left #links { #col-left #links {
background-color: white; background-color: white;
margin-bottom: 20px; margin-bottom: 20px;
} }
/* line 828, ../sass/screen.scss */
/* line 832, ../sass/screen.scss */
#col-left #links ul li a { #col-left #links ul li a {
text-align: center; text-align: center;
border-right: solid 1px #e0e0e0; border-right: solid 1px #e0e0e0;
} }
/* line 832, ../sass/screen.scss */
/* line 836, ../sass/screen.scss */
#col-left #links ul li a:hover { #col-left #links ul li a:hover {
background-color: #BB8757; background-color: #BB8757;
color: white; color: white;
} }
/* line 838, ../sass/screen.scss */
/* line 842, ../sass/screen.scss */
#col-left #links ul li:last-child a { #col-left #links ul li:last-child a {
border-right: 0px none; border-right: 0px none;
} }
/* line 848, ../sass/screen.scss */
/* line 852, ../sass/screen.scss */
#col-left #producteurs nav.nav-producteurs ul li a { #col-left #producteurs nav.nav-producteurs ul li a {
padding-left: 50px; padding-left: 50px;
height: 40px; height: 40px;
} }
/* line 854, ../sass/screen.scss */
/* line 858, ../sass/screen.scss */
#col-left #producteurs nav.nav-producteurs ul li.active a { #col-left #producteurs nav.nav-producteurs ul li.active a {
background-color: #BB8757; background-color: #BB8757;
position: relative; position: relative;
color: white; color: white;
} }
/* line 859, ../sass/screen.scss */
/* line 863, ../sass/screen.scss */
#col-left #producteurs nav.nav-producteurs ul li.active a:after { #col-left #producteurs nav.nav-producteurs ul li.active a:after {
right: -40px; right: -40px;
top: 50%; top: 50%;
border-width: 20px; border-width: 20px;
margin-top: -20px; margin-top: -20px;
} }
/* line 878, ../sass/screen.scss */
/* line 882, ../sass/screen.scss */
#col-left ul { #col-left ul {
list-style-type: none; list-style-type: none;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
/* line 882, ../sass/screen.scss */
/* line 886, ../sass/screen.scss */
#col-left ul li { #col-left ul li {
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
/* line 885, ../sass/screen.scss */
/* line 889, ../sass/screen.scss */
#col-left ul li a { #col-left ul li a {
text-decoration: none; text-decoration: none;
font-family: "comfortaaregular"; font-family: "comfortaaregular";
display: block; display: block;
color: black; color: black;
} }
/* line 895, ../sass/screen.scss */
/* line 899, ../sass/screen.scss */
#col-left ul li a span.nom, #col-left ul li a span.libelle { #col-left ul li a span.nom, #col-left ul li a span.libelle {
display: none; display: none;
} }
/* line 902, ../sass/screen.scss */
/* line 906, ../sass/screen.scss */
#col-left p { #col-left p {
padding: 20px; padding: 20px;
padding-top: 0px; padding-top: 0px;
color: gray; color: gray;
} }


/* line 910, ../sass/screen.scss */
/* line 914, ../sass/screen.scss */
#content .header-title { #content .header-title {
height: 79px; height: 79px;
padding: 20px 20px; padding: 20px 20px;
-webkit-box-shadow: 0px 0px 8px #e0e0e0; -webkit-box-shadow: 0px 0px 8px #e0e0e0;
box-shadow: 0px 0px 8px #e0e0e0; box-shadow: 0px 0px 8px #e0e0e0;
} }
/* line 922, ../sass/screen.scss */
/* line 926, ../sass/screen.scss */
#content .header-title h1 { #content .header-title h1 {
color: black; color: black;
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
font-size: 25px; font-size: 25px;
text-transform: uppercase; text-transform: uppercase;
} }
/* line 930, ../sass/screen.scss */
/* line 934, ../sass/screen.scss */
#content .header-title h2 { #content .header-title h2 {
color: gray; color: gray;
text-transform: none; text-transform: none;
line-height: 20px; line-height: 20px;
} }


/* line 941, ../sass/screen.scss */
/* line 945, ../sass/screen.scss */
.header-etablissement { .header-etablissement {
z-index: 1; z-index: 1;
} }
/* line 943, ../sass/screen.scss */
/* line 947, ../sass/screen.scss */
.header-etablissement #block-main-img { .header-etablissement #block-main-img {
height: 144px; height: 144px;
overflow: hidden; overflow: hidden;
} }
/* line 947, ../sass/screen.scss */
/* line 951, ../sass/screen.scss */
.header-etablissement #block-main-img #main-img { .header-etablissement #block-main-img #main-img {
width: 100%; width: 100%;
height: auto; height: auto;
-webkit-border-radius: 0px; -webkit-border-radius: 0px;
border-radius: 0px; border-radius: 0px;
} }
/* line 956, ../sass/screen.scss */
/* line 960, ../sass/screen.scss */
.header-etablissement h1 { .header-etablissement h1 {
font-family: "comfortaaregular"; font-family: "comfortaaregular";
text-align: center; text-align: center;
top: 30px; top: 30px;
left: 40px; left: 40px;
} }
/* line 963, ../sass/screen.scss */
/* line 967, ../sass/screen.scss */
.header-etablissement h1 span { .header-etablissement h1 span {
background-color: rgba(255, 255, 255, 0.8); background-color: rgba(255, 255, 255, 0.8);
padding: 10px 30px; padding: 10px 30px;
border: dotted 1px black; border: dotted 1px black;
} }


/* line 974, ../sass/screen.scss */
/* line 978, ../sass/screen.scss */
nav#menu-etablissement { nav#menu-etablissement {
border-bottom: solid 1px #e0e0e0; border-bottom: solid 1px #e0e0e0;
} }
/* line 978, ../sass/screen.scss */
/* line 982, ../sass/screen.scss */
nav#menu-etablissement ul li { nav#menu-etablissement ul li {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
} }
/* line 981, ../sass/screen.scss */
/* line 985, ../sass/screen.scss */
nav#menu-etablissement ul li a { nav#menu-etablissement ul li a {
border-right: solid 1px #e0e0e0; border-right: solid 1px #e0e0e0;
text-decoration: none; text-decoration: none;
-webkit-border-radius: 0px; -webkit-border-radius: 0px;
border-radius: 0px; border-radius: 0px;
} }
/* line 986, ../sass/screen.scss */
/* line 990, ../sass/screen.scss */
nav#menu-etablissement ul li a:hover { nav#menu-etablissement ul li a:hover {
background-color: #BB8757; background-color: #BB8757;
color: white; color: white;

+ 14
- 10
frontend/web/sass/screen.scss View File

margin-bottom: 50px ; margin-bottom: 50px ;
h2 { h2 {
text-align: center ;
margin-bottom: 10px ; margin-bottom: 10px ;
.img { .img {
height: 50px ;
height: 35px ;
} }
span { span {
margin-left: 10px ; margin-left: 10px ;
.boulanger { .boulanger {
.prix { .prix {
span {
a {
background-color: $color2 ; background-color: $color2 ;
a {
color: $color1 ;
text-decoration: none ;
}
color: $color1 ;
text-decoration: none ;
} }
} }
} }
.prix { .prix {
padding-top: 15px ; padding-top: 15px ;
font-size: 18px ; font-size: 18px ;
span {
a, div {
text-decoration: none ;
text-align: center ;
display: block ;
color: $color1 ; color: $color1 ;
//background-color: $color2 ;
border: solid 1px $color1 ; border: solid 1px $color1 ;
font-weight: normal ; font-weight: normal ;
font-size: 18px ; font-size: 18px ;
padding-bottom: 7px ; padding-bottom: 7px ;
@include border-radius(5px) ; @include border-radius(5px) ;
} }
span {
}
} }
#periode-essai { #periode-essai {

Loading…
Cancel
Save