Browse Source

Améliorer le thème front

prodstable
keun 8 years ago
parent
commit
5674e4c49a
11 changed files with 409 additions and 305 deletions
  1. +17
    -19
      frontend/views/commande/_form.php
  2. +39
    -0
      frontend/views/commande/_liste_etablissements.php
  3. +1
    -3
      frontend/views/commande/create.php
  4. +13
    -47
      frontend/views/commande/index.php
  5. +2
    -2
      frontend/views/commande/update.php
  6. BIN
      frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/_systeme_commandes.scssc
  7. BIN
      frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/screen.scssc
  8. +216
    -165
      frontend/web/css/screen.css
  9. +3
    -3
      frontend/web/js/lechatdesnoisettes.js
  10. +117
    -66
      frontend/web/sass/_systeme_commandes.scss
  11. +1
    -0
      frontend/web/sass/screen.scss

+ 17
- 19
frontend/views/commande/_form.php View File

?> ?>
<div class="commande-form"> <div class="commande-form">


<h2>Boulangerie</h2>
<h2>Je choisis ma boulangerie</h2>
<?php if(count($etablissements)): ?> <?php if(count($etablissements)): ?>
<?php //if(!$id_etablissement): ?>
<div class="alert alert-info">Choisissez la boulangerie dans laquelle vous souhaitez passer commande.</div>
<?php //endif; ?>
<div class="blocs">
<?php foreach($etablissements as $e): ?>
<a class="bloc <?php if($e['id'] == $id_etablissement): ?>selected<?php endif; ?>" href="<?= Yii::$app->urlManager->createUrl(['commande/create', 'id_etablissement' => $e['id']]) ?>">
<span class="nom"><?= Html::encode($e['nom']) ?></span><br />
<span class="adresse">à <?= Html::encode($e['ville']) ?></span>
</a>
<?php endforeach; ?>
</div>
<?=
$this->render('_liste_etablissements.php',[
'etablissements' => $etablissements,
'context' => 'commande',
'id_etablissement' => $id_etablissement
]) ;
?>
<div class="clr"></div> <div class="clr"></div>
<?php else: ?> <?php else: ?>
<div class="alert alert-info">Veuiller <a href="<?= Yii::$app->urlManager->createUrl(['commande/index']) ; ?>">ajouter une boulangerie</a> à votre tableau de bord avant de passer commande.</div> <div class="alert alert-info">Veuiller <a href="<?= Yii::$app->urlManager->createUrl(['commande/index']) ; ?>">ajouter une boulangerie</a> à votre tableau de bord avant de passer commande.</div>
<?php if($id_etablissement): ?> <?php if($id_etablissement): ?>
<h2>Pour quelle date ?</h2>
<h2>Date de commande</h2>


<?= $form->field($model, 'id_production')->label('')->hiddenInput(); ?> <?= $form->field($model, 'id_production')->label('')->hiddenInput(); ?>




<div class="clr"></div> <div class="clr"></div>


<!--<h2>Où souhaitez-vous récupérer votre commande ?</h2>-->
<div id="depots">
<h2>Je choisis un dépôt</h2>
<?= <?=
$form->field($model, 'id_point_vente') $form->field($model, 'id_point_vente')
->label('Où souhaitez-vous récupérer votre commande ?')
->label('')
->hiddenInput(); ->hiddenInput();
//->dropDownList($points_vente) ; //->dropDownList($points_vente) ;
?> ?>
?> ?>
</ul> </ul>
<div class="clr"></div> <div class="clr"></div>

</div>
<div id="produits"> <div id="produits">
<strong id="label-produits">Quels produits désirez-vous ?</strong>
<h2>Mes produits</h2>


<?php // confiance ?> <?php // confiance ?>
<input type="hidden" id="confiance" value="<?php echo (int) Yii::$app->user->identity->confiance; ?>" /> <input type="hidden" id="confiance" value="<?php echo (int) Yii::$app->user->identity->confiance; ?>" />
<?php endif; ?> <?php endif; ?>


<div id="pain"> <div id="pain">
<h2>Pain</h2>
<div class="alert alert-warning indisponible">Pain indisponible pour ce point de vente</div> <div class="alert alert-warning indisponible">Pain indisponible pour ce point de vente</div>
<table class="table table-bordered" id="table-produits"> <table class="table table-bordered" id="table-produits">
<thead> <thead>

+ 39
- 0
frontend/views/commande/_liste_etablissements.php View File

<?php

use yii\helpers\Html ;

?>
<div class="liste-etablissements">
<?php if(count($etablissements)): ?>
<?php foreach($etablissements as $e): ?>
<div class="col-md-6 boulangerie <?php if(isset($id_etablissement) && $e['id'] == $id_etablissement): ?>selected<?php endif; ?>">
<div class="panel panel-default">
<div class="panel-heading">
<?php if(isset($e['photo']) && strlen($e['photo'])): ?>
<img class="img-back" src="./uploads/<?= $e['photo'] ?>" />
<?php endif; ?>
</div>
<div class="panel-body">
<h3 class="panel-title">
<?php echo Html::encode($e['nom']); ?>
</h3>
<div class="localite"> à <?php echo Html::encode($e['ville']).' ('.Html::encode($e['code_postal']).')'; ?></div>
<?php if(isset($id_etablissement) && $e['id'] == $id_etablissement): ?>
<span class="glyphicon glyphicon-check"></span>
<?php endif; ?>
<?php if($context == 'index'): ?>
<a href="<?= Yii::$app->urlManager->createUrl(['commande/remove-etablissement','id'=>$e['id']]); ?>" class="btn btn-xs btn-default remove"><span class="glyphicon glyphicon-remove"></span></a>
<?php endif; ?>
<?php if($context == 'index'): ?>
<a class="btn btn-primary" href="<?= Yii::$app->urlManager->createUrl(['commande/create', 'id_etablissement' => $e['id']]) ?>">Commander</a>
<?php elseif($context == 'commande'): ?>
<a class="btn btn-primary" href="<?= Yii::$app->urlManager->createUrl(['commande/create', 'id_etablissement' => $e['id']]) ?>">Sélectionner</a>
<?php endif; ?>
</div>
</div>
</div>
<?php endforeach; ?>
<?php endif; ?>
</div>

+ 1
- 3
frontend/views/commande/create.php View File

/* @var $model app\models\Produit */ /* @var $model app\models\Produit */


$this->title = 'Passer une commande'; $this->title = 'Passer une commande';
//$this->params['breadcrumbs'][] = ['label' => 'Produits', 'url' => ['index']];
//$this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="commande-create"> <div class="commande-create">
<h1 class="title-systeme-commande"><img class="icon" src="<?php echo Yii::$app->urlManager->getBaseUrl(); ?>/img/order.png" alt="" /> <?= Html::encode($this->title) ?></h1>
<h1 class="title-systeme-commande"><span class="glyphicon glyphicon-plus"></span> <?= Html::encode($this->title) ?></h1>


<?= $this->render('_form', [ <?= $this->render('_form', [
'model' => $model, 'model' => $model,

+ 13
- 47
frontend/views/commande/index.php View File



<div id="index-commande"> <div id="index-commande">


<h1 class="title-systeme-commande"><img class="icon" src="<?php echo Yii::$app->urlManager->getBaseUrl(); ?>/img/order.png" alt="" /> Tableau de bord</h1>
<h1 class="title-systeme-commande"><span class="glyphicon glyphicon-th-list"></span> Tableau de bord</h1>


<h2>Boulangeries</h2> <h2>Boulangeries</h2>


<div id="liste-boulangeries"> <div id="liste-boulangeries">
<!--<div id="bloc-liste-boulangeries" class="col-md-6">-->
<?php if(count($etablissements)): ?>
<?php foreach($etablissements as $e): ?>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<?php if(isset($e['photo']) && strlen($e['photo'])): ?>
<img class="img-back" src="./uploads/<?= $e['photo'] ?>" />
<?php endif; ?>
</div>
<div class="panel-body">
<h3 class="panel-title">
<?php echo Html::encode($e['nom']); ?>
</h3>
<div class="localite"> à <?php echo Html::encode($e['ville']).' ('.Html::encode($e['code_postal']).')'; ?></div>
<a href="<?= Yii::$app->urlManager->createUrl(['commande/remove-etablissement','id'=>$e['id']]); ?>" class="btn btn-xs btn-default remove"><span class="glyphicon glyphicon-remove"></span></a>
<a class="btn btn-primary" href="<?= Yii::$app->urlManager->createUrl(['commande/create', 'id_etablissement' => $e['id']]) ?>">Commander</a>
<?php if(strlen($e['logo'])): ?>
<img class="logo" src="uploads/<?= Html::encode($e['logo']); ?>" />
<?php endif; ?>
</div>
</div>
</div>
<?php endforeach; ?>
<?php else: ?>
<!--<div class="alert alert-info">Aucune boulangerie</div>-->
<?php endif; ?>
</div>
<?=
$this->render('_liste_etablissements.php',[
'etablissements' => $etablissements,
'context' => 'index'
]) ;
?>
<div class="col-md-6" id="bloc-add-etablissement"> <div class="col-md-6" id="bloc-add-etablissement">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"><span class="glyphicon glyphicon-plus"></span> Ajouter une boulangerie</h3> <h3 class="panel-title"><span class="glyphicon glyphicon-plus"></span> Ajouter une boulangerie</h3>
<?php ActiveForm::end(); ?> <?php ActiveForm::end(); ?>
</div> </div>
</div> </div>
</div> </div>
<!--</div>-->
<div class="clr"></div>

<!--<div class="accueil">
<a class="btn btn-primary btn-lg" href="<?php echo Yii::$app->urlManager->createUrl(['commande/create']); ?>">Passer une commande</a>
</div>-->
<div class="clr"></div>
</div>


<h2>Historique</h2> <h2>Historique</h2>
<?php if(count($commandes)): ?> <?php if(count($commandes)): ?>
<?php if($commande_ok): ?> <?php if($commande_ok): ?>
<div class="alert alert-success"> <div class="alert alert-success">
<div class="icon"></div> <div class="icon"></div>
Votre commande a bien été prise en compte !
<?php if($pate_deja_petrie): ?>
<br /><strong>Cette fournée étant déjà pétrie, la livraison se fera suivant les stocks disponibles. Merci pour votre compréhension.</strong>
<?php endif; ?>
Votre commande a bien été prise en compte.
</div> </div>
<?php endif; ?> <?php endif; ?>
<?php elseif($c->production->date <= $date_limite): ?>En cours de préparation <?php elseif($c->production->date <= $date_limite): ?>En cours de préparation
<?php else: ?> <?php else: ?>
<!-- <a href="<?php echo Yii::$app->urlManager->createUrl(['commande/update','id'=>$c->id]) ; ?>" class="btn btn-default"><span class="glyphicon glyphicon-pencil"></span> Modifier</a>-->
<div class="btn-group"> <div class="btn-group">
<a href="<?php echo Yii::$app->urlManager->createUrl(['commande/update','id'=>$c->id, 'id_etablissement'=>$c->production->etablissement->id]) ; ?>" class="btn btn-default"><span class="glyphicon glyphicon-pencil"></span> Modifier</a> <a href="<?php echo Yii::$app->urlManager->createUrl(['commande/update','id'=>$c->id, 'id_etablissement'=>$c->production->etablissement->id]) ; ?>" class="btn btn-default"><span class="glyphicon glyphicon-pencil"></span> Modifier</a>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
</tbody> </tbody>
</table> </table>
<?php else: ?> <?php else: ?>
<p>Vous n'avez pas encore passé de commandes</p>
<div class="alert alert-info">Vous n'avez pas encore passé de commandes</div>
<?php endif; ?> <?php endif; ?>


</div> </div>

+ 2
- 2
frontend/views/commande/update.php View File

?> ?>
<div class="commande-update"> <div class="commande-update">


<h1 class="title-systeme-commande"><img class="icon" src="<?php echo Yii::$app->urlManager->getBaseUrl(); ?>/img/order.png" alt="" /> <?= Html::encode($this->title) ?></h1>
<h1 class="title-systeme-commande"><span class="glyphicon glyphicon-pencil"></span> <?= Html::encode($this->title) ?></h1>
<?php if($commande_introuvable): ?>
<?php if($commande_introuvable): ?>
<div class="alert alert-danger">Cette commande est introuvable</div><br /> <div class="alert alert-danger">Cette commande est introuvable</div><br />
<a class="btn btn-default" href="<?php echo Yii::$app->urlManager->createUrl(['commande/index']); ?>">Retour</a> <a class="btn btn-default" href="<?php echo Yii::$app->urlManager->createUrl(['commande/index']); ?>">Retour</a>
<?php else: ?> <?php else: ?>

BIN
frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/_systeme_commandes.scssc View File


BIN
frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/screen.scssc View File


+ 216
- 165
frontend/web/css/screen.css View File

font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
/* line 25, ../sass/screen.scss */
/* line 26, ../sass/screen.scss */
html { html {
height: 100%; height: 100%;
} }


/* line 29, ../sass/screen.scss */
/* line 30, ../sass/screen.scss */
body { body {
position: relative; position: relative;
color: #505050; color: #505050;
padding: 0; padding: 0;
} }


/* line 39, ../sass/screen.scss */
/* line 40, ../sass/screen.scss */
strong { strong {
font-weight: bold; font-weight: bold;
} }


/* line 43, ../sass/screen.scss */
/* line 44, ../sass/screen.scss */
#main a { #main a {
color: #505050; color: #505050;
text-decoration: underline; text-decoration: underline;
} }
/* line 47, ../sass/screen.scss */
/* line 48, ../sass/screen.scss */
#main a:focus, #main a:active { #main a:focus, #main a:active {
outline-color: gray; outline-color: gray;
color: black; color: black;
} }
/* line 52, ../sass/screen.scss */
/* line 53, ../sass/screen.scss */
#main a:hover { #main a:hover {
color: black; color: black;
} }
/* line 56, ../sass/screen.scss */
/* line 57, ../sass/screen.scss */
#main a.btn { #main a.btn {
text-decoration: none; text-decoration: none;
} }
/* line 60, ../sass/screen.scss */
/* line 61, ../sass/screen.scss */
#main a.btn-primary { #main a.btn-primary {
background-color: #BB8757; background-color: #BB8757;
border: solid 1px #BB8757; border: solid 1px #BB8757;
color: white; color: white;
} }
/* line 65, ../sass/screen.scss */
/* line 66, ../sass/screen.scss */
#main a.btn-primary:hover, #main a.btn-primary:active, #main a.btn-primary:focus { #main a.btn-primary:hover, #main a.btn-primary:active, #main a.btn-primary:focus {
background-color: #b17a48; background-color: #b17a48;
border: solid 1px #BB8757; border: solid 1px #BB8757;
} }


/* line 72, ../sass/screen.scss */
/* line 73, ../sass/screen.scss */
p { p {
padding-bottom: 20px; padding-bottom: 20px;
line-height: 21px; line-height: 21px;
} }


/* line 77, ../sass/screen.scss */
/* line 78, ../sass/screen.scss */
ul { ul {
padding-left: 20px; padding-left: 20px;
list-style-type: disc; list-style-type: disc;
margin-bottom: 10px; margin-bottom: 10px;
} }
/* line 82, ../sass/screen.scss */
/* line 83, ../sass/screen.scss */
ul li { ul li {
padding-left: 5px; padding-left: 5px;
} }


/* line 87, ../sass/screen.scss */
/* line 88, ../sass/screen.scss */
.clr { .clr {
clear: both; clear: both;
} }


/* line 91, ../sass/screen.scss */
/* line 92, ../sass/screen.scss */
.btn { .btn {
background-image: none; background-image: none;
} }


/* line 95, ../sass/screen.scss */
/* line 96, ../sass/screen.scss */
#main .alert { #main .alert {
background-image: none; background-image: none;
background-color: white; background-color: white;
border-bottom-width: 3px; border-bottom-width: 3px;
} }


/* line 103, ../sass/screen.scss */
/* line 104, ../sass/screen.scss */
.alert.alert-warning a { .alert.alert-warning a {
color: #8a6d3b; color: #8a6d3b;
} }


/* line 112, ../sass/screen.scss */
/* line 113, ../sass/screen.scss */
#main { #main {
position: relative; position: relative;
padding-bottom: 150px; padding-bottom: 150px;
} }
/* line 115, ../sass/screen.scss */
/* line 116, ../sass/screen.scss */
#main .inner { #main .inner {
width: 960px; width: 960px;
margin: 0px auto; margin: 0px auto;
} }


/* line 121, ../sass/screen.scss */
/* line 122, ../sass/screen.scss */
#header { #header {
z-index: 100; z-index: 100;
border-bottom: solid 1px #e0e0e0; border-bottom: solid 1px #e0e0e0;
background-color: #f8f1dd; background-color: #f8f1dd;
height: 86px; height: 86px;
} }
/* line 142, ../sass/screen.scss */
/* line 143, ../sass/screen.scss */
#header .container { #header .container {
position: relative; position: relative;
} }
/* line 147, ../sass/screen.scss */
/* line 148, ../sass/screen.scss */
#header #link-home { #header #link-home {
/*position: fixed ; /*position: fixed ;
z-index: 1000 ; z-index: 1000 ;
font-size: 22px; font-size: 22px;
color: black; color: black;
} }
/* line 168, ../sass/screen.scss */
/* line 169, ../sass/screen.scss */
#header #link-home img { #header #link-home img {
height: 60px; height: 60px;
margin-bottom: 5px; margin-bottom: 5px;
} }
/* line 174, ../sass/screen.scss */
/* line 175, ../sass/screen.scss */
#header #link-espace-boulanger { #header #link-espace-boulanger {
border-left: solid 1px #e0e0e0; border-left: solid 1px #e0e0e0;
} }
/* line 178, ../sass/screen.scss */
/* line 179, ../sass/screen.scss */
#header nav { #header nav {
padding-top: 22px; padding-top: 22px;
} }
/* line 180, ../sass/screen.scss */
/* line 181, ../sass/screen.scss */
#header nav ul { #header nav ul {
float: right; float: right;
} }
/* line 183, ../sass/screen.scss */
/* line 184, ../sass/screen.scss */
#header nav ul li a { #header nav ul li a {
text-decoration: none; text-decoration: none;
color: #505050; color: #505050;
} }
/* line 186, ../sass/screen.scss */
/* line 187, ../sass/screen.scss */
#header nav ul li a.active { #header nav ul li a.active {
background-color: white; background-color: white;
border: 1px solid #e0e0e0; border: 1px solid #e0e0e0;
} }
/* line 191, ../sass/screen.scss */
/* line 192, ../sass/screen.scss */
#header nav ul li a:hover { #header nav ul li a:hover {
color: black; color: black;
background-color: transparent; background-color: transparent;
} }
/* line 201, ../sass/screen.scss */
/* line 202, ../sass/screen.scss */
#header #link-logout .nom { #header #link-logout .nom {
font-size: 10px; font-size: 10px;
/*position: relative ; /*position: relative ;
top: -3px ;*/ top: -3px ;*/
} }


/* line 217, ../sass/screen.scss */
/* line 218, ../sass/screen.scss */
#content { #content {
position: relative; position: relative;
padding: 20px 0px; padding: 20px 0px;
padding-top: 35px; padding-top: 35px;
min-height: 500px; min-height: 500px;
} }
/* line 224, ../sass/screen.scss */
/* line 225, ../sass/screen.scss */
#content h1#title-site { #content h1#title-site {
font-family: "comfortaalight"; font-family: "comfortaalight";
font-size: 50px; font-size: 50px;
} }
/* line 231, ../sass/screen.scss */
/* line 232, ../sass/screen.scss */
#content h2 { #content h2 {
color: black; color: black;
padding-bottom: 15px; padding-bottom: 15px;
position: relative; position: relative;
margin-top: 30px; margin-top: 30px;
} }
/* line 242, ../sass/screen.scss */
/* line 243, ../sass/screen.scss */
#content h3 { #content h3 {
color: black; color: black;
font-size: 20px; font-size: 20px;
} }
/* line 250, ../sass/screen.scss */
/* line 251, ../sass/screen.scss */
#content #description img { #content #description img {
width: 100%; width: 100%;
} }
/* line 255, ../sass/screen.scss */
/* line 256, ../sass/screen.scss */
#content #main-img { #content #main-img {
max-width: 100%; max-width: 100%;
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
border-radius: 5px; border-radius: 5px;
} }
/* line 262, ../sass/screen.scss */
/* line 263, ../sass/screen.scss */
#content #row-presentation { #content #row-presentation {
text-align: center; text-align: center;
} }
/* line 266, ../sass/screen.scss */
/* line 267, ../sass/screen.scss */
#content #row-signup { #content #row-signup {
text-align: center; text-align: center;
margin-top: 20px; margin-top: 20px;
} }
/* line 271, ../sass/screen.scss */
/* line 272, ../sass/screen.scss */
#content #row-clients-boulanger { #content #row-clients-boulanger {
margin-bottom: 50px; margin-bottom: 50px;
} }
/* line 273, ../sass/screen.scss */
/* line 274, ../sass/screen.scss */
#content #row-clients-boulanger h2 { #content #row-clients-boulanger h2 {
text-align: center; text-align: center;
margin-bottom: 15px; margin-bottom: 15px;
padding-bottom: 0px; padding-bottom: 0px;
} }
/* line 277, ../sass/screen.scss */
/* line 278, ../sass/screen.scss */
#content #row-clients-boulanger h2 img { #content #row-clients-boulanger h2 img {
height: 70px; height: 70px;
margin-bottom: 60px; margin-bottom: 60px;
} }
/* line 283, ../sass/screen.scss */
/* line 284, ../sass/screen.scss */
#content #row-clients-boulanger ul { #content #row-clients-boulanger ul {
text-align: center; text-align: center;
} }
/* line 285, ../sass/screen.scss */
/* line 286, ../sass/screen.scss */
#content #row-clients-boulanger ul li { #content #row-clients-boulanger ul li {
list-style-type: none; list-style-type: none;
} }
/* line 290, ../sass/screen.scss */
/* line 291, ../sass/screen.scss */
#content #row-clients-boulanger #clients { #content #row-clients-boulanger #clients {
border-right: dotted 1px gray; border-right: dotted 1px gray;
} }
/* line 294, ../sass/screen.scss */
/* line 295, ../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 303, ../sass/screen.scss */
/* line 304, ../sass/screen.scss */
#content #contact { #content #contact {
display: none; display: none;
} }
/* line 307, ../sass/screen.scss */
/* line 308, ../sass/screen.scss */
#content #contact .icon { #content #contact .icon {
width: 55px; width: 55px;
top: -15px; top: -15px;
margin-left: -70px; margin-left: -70px;
} }
/* line 316, ../sass/screen.scss */
/* line 317, ../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 321, ../sass/screen.scss */
/* line 322, ../sass/screen.scss */
#content #contact .form-group { #content #contact .form-group {
text-align: center; text-align: center;
} }
/* line 325, ../sass/screen.scss */
/* line 326, ../sass/screen.scss */
#content #contact .img-right { #content #contact .img-right {
float: right; float: right;
} }
/* line 328, ../sass/screen.scss */
/* line 329, ../sass/screen.scss */
#content #contact .img-right img { #content #contact .img-right img {
width: 300px; width: 300px;
} }


/* line 335, ../sass/screen.scss */
/* line 336, ../sass/screen.scss */
.form-control:focus { .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 340, ../sass/screen.scss */
/* line 341, ../sass/screen.scss */
#footer { #footer {
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
padding-top: 30px; padding-top: 30px;
padding-bottom: 60px; padding-bottom: 60px;
} }
/* line 356, ../sass/screen.scss */
/* line 357, ../sass/screen.scss */
#footer a { #footer a {
color: #7e7e7e; color: #7e7e7e;
color: white; color: white;
border-right: solid 1px #7e7e7e; border-right: solid 1px #7e7e7e;
border-right: solid 1px white; border-right: solid 1px white;
} }
/* line 365, ../sass/screen.scss */
/* line 366, ../sass/screen.scss */
#footer a:hover { #footer a:hover {
color: gray; color: gray;
} }
/* line 369, ../sass/screen.scss */
/* line 370, ../sass/screen.scss */
#footer a:last-child { #footer a:last-child {
border: 0px none; border: 0px none;
} }


/* line 375, ../sass/screen.scss */
/* line 376, ../sass/screen.scss */
#content #mentions { #content #mentions {
padding-top: 20px; padding-top: 20px;
} }
/* line 378, ../sass/screen.scss */
/* line 379, ../sass/screen.scss */
#content #mentions div.content { #content #mentions div.content {
width: 60%; width: 60%;
font-size: 90%; font-size: 90%;
} }
/* line 383, ../sass/screen.scss */
/* line 384, ../sass/screen.scss */
#content #mentions p { #content #mentions p {
padding-bottom: 15px; padding-bottom: 15px;
} }
/* line 387, ../sass/screen.scss */
/* line 388, ../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 395, ../sass/screen.scss */
/* line 396, ../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 406, ../sass/screen.scss */
/* line 407, ../sass/screen.scss */
.mentions #main, .mentions body { .mentions #main, .mentions body {
background-color: white; background-color: white;
} }


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


/* line 418, ../sass/screen.scss */
/* line 419, ../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 422, ../sass/screen.scss */
/* line 423, ../sass/screen.scss */
#profil-user .form-group label { #profil-user .form-group label {
cursor: pointer; cursor: pointer;
} }
/* line 427, ../sass/screen.scss */
/* line 428, ../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 430, ../sass/screen.scss */
/* line 431, ../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 436, ../sass/screen.scss */
/* line 437, ../sass/screen.scss */
#profil-user p.strong { #profil-user p.strong {
font-weight: bold; font-weight: bold;
} }


/* signup */ /* signup */
/* line 445, ../sass/screen.scss */
/* line 446, ../sass/screen.scss */
#form-signup #champs-boulanger { #form-signup #champs-boulanger {
display: none; display: none;
} }
text-transform: uppercase; text-transform: uppercase;
} }


/* line 27, ../sass/_systeme_commandes.scss */
#index-commande {
position: relative;
/* line 33, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie {
padding-left: 0px;
padding-right: 30px;
} }
/* line 30, ../sass/_systeme_commandes.scss */
#index-commande #logout {
position: absolute;
/*top: 45px ;
right: 93px ;*/
top: 0;
right: 0;
z-index: 10;
/* line 37, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie.selected .panel {
border-bottom: solid 3px #BB8757;
} }
/* line 39, ../sass/_systeme_commandes.scss */
#index-commande .accueil {
text-align: center;
padding-bottom: 20px;
}
/* line 50, ../sass/_systeme_commandes.scss */
#index-commande #liste-boulangeries .panel-heading {
/* line 41, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie .panel-heading {
height: 200px; height: 200px;
overflow: hidden; overflow: hidden;
padding: 0px; padding: 0px;
background: none; background: none;
background-color: #F8F1DD; background-color: #F8F1DD;
} }
/* line 56, ../sass/_systeme_commandes.scss */
#index-commande #liste-boulangeries .panel-heading .img-back {
/* line 48, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie .panel-heading .img-back {
width: 100%; width: 100%;
height: auto; height: auto;
position: relative; position: relative;
top: -50%; top: -50%;
} }
/* line 65, ../sass/_systeme_commandes.scss */
#index-commande #liste-boulangeries .panel-body {
/* line 57, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie .panel-body {
position: relative; position: relative;
width: 100%; width: 100%;
height: 120px; height: 120px;
max-height: 120px; max-height: 120px;
text-align: center; text-align: center;
} }
/* line 72, ../sass/_systeme_commandes.scss */
#index-commande #liste-boulangeries .panel-body h3 {
/* line 64, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie .panel-body h3 {
margin-bottom: 4px; margin-bottom: 4px;
} }
/* line 76, ../sass/_systeme_commandes.scss */
#index-commande #liste-boulangeries .panel-body .localite {
/* line 68, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie .panel-body .localite {
color: gray; color: gray;
margin-bottom: 10px; margin-bottom: 10px;
} }
/* line 82, ../sass/_systeme_commandes.scss */
#index-commande #liste-boulangeries .panel-body .remove {
/* line 73, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie .panel-body .glyphicon-check {
color: #BB8757;
font-size: 40px;
position: absolute;
top: 34px;
left: 32px;
}
/* line 81, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie .panel-body .remove {
position: absolute; position: absolute;
top: 10px; top: 10px;
right: 10px; right: 10px;
} }
/* line 88, ../sass/_systeme_commandes.scss */
#index-commande #liste-boulangeries .panel-body .logo {
/* line 87, ../sass/_systeme_commandes.scss */
.liste-etablissements .boulangerie .panel-body .logo {
display: none; display: none;
width: 150px; width: 150px;
position: absolute; position: absolute;
background-color: white; background-color: white;
padding: 10px 20px; padding: 10px 20px;
} }
/* line 105, ../sass/_systeme_commandes.scss */

/* line 101, ../sass/_systeme_commandes.scss */
#index-commande {
position: relative;
}
/* line 104, ../sass/_systeme_commandes.scss */
#index-commande #logout {
position: absolute;
/*top: 45px ;
right: 93px ;*/
top: 0;
right: 0;
z-index: 10;
}
/* line 113, ../sass/_systeme_commandes.scss */
#index-commande .accueil {
text-align: center;
padding-bottom: 20px;
}
/* line 118, ../sass/_systeme_commandes.scss */
#index-commande #bloc-add-etablissement {
padding-left: 0px;
padding-right: 30px;
}
/* line 122, ../sass/_systeme_commandes.scss */
#index-commande #bloc-add-etablissement .help-block { #index-commande #bloc-add-etablissement .help-block {
padding-bottom: 0px; padding-bottom: 0px;
} }
/* line 109, ../sass/_systeme_commandes.scss */
/* line 126, ../sass/_systeme_commandes.scss */
#index-commande #bloc-add-etablissement .field-addetablissementform-id_etablissement { #index-commande #bloc-add-etablissement .field-addetablissementform-id_etablissement {
width: 80%; width: 80%;
float: left; float: left;
} }
/* line 114, ../sass/_systeme_commandes.scss */
/* line 131, ../sass/_systeme_commandes.scss */
#index-commande #bloc-add-etablissement .btn { #index-commande #bloc-add-etablissement .btn {
float: right; float: right;
position: relative; position: relative;
top: 20px; top: 20px;
} }
/* line 120, ../sass/_systeme_commandes.scss */
/* line 137, ../sass/_systeme_commandes.scss */
#index-commande #bloc-add-etablissement .panel-heading { #index-commande #bloc-add-etablissement .panel-heading {
background: none; background: none;
background-color: white; background-color: white;
cursor: pointer; cursor: pointer;
} }
/* line 126, ../sass/_systeme_commandes.scss */
/* line 143, ../sass/_systeme_commandes.scss */
#index-commande #bloc-add-etablissement .panel-body { #index-commande #bloc-add-etablissement .panel-body {
display: none; display: none;
} }
/* line 132, ../sass/_systeme_commandes.scss */
/* line 149, ../sass/_systeme_commandes.scss */
#index-commande #addetablissementform-id_etablissement option:disabled { #index-commande #addetablissementform-id_etablissement option:disabled {
font-weight: bold; font-weight: bold;
color: black; color: black;
} }
/* line 139, ../sass/_systeme_commandes.scss */
/* line 156, ../sass/_systeme_commandes.scss */
#index-commande #historique-commandes .statut, #index-commande #historique-commandes .montant { #index-commande #historique-commandes .statut, #index-commande #historique-commandes .montant {
width: 175px; width: 175px;
} }
/* line 142, ../sass/_systeme_commandes.scss */
/* line 159, ../sass/_systeme_commandes.scss */
#index-commande #historique-commandes .montant { #index-commande #historique-commandes .montant {
width: 100px; width: 100px;
} }
/* line 149, ../sass/_systeme_commandes.scss */
/* line 166, ../sass/_systeme_commandes.scss */
#index-commande #historique-commandes .localite { #index-commande #historique-commandes .localite {
font-size: 11px; font-size: 11px;
lin-height: 11px; lin-height: 11px;
} }
/* line 154, ../sass/_systeme_commandes.scss */
/* line 171, ../sass/_systeme_commandes.scss */
#index-commande #historique-commandes a { #index-commande #historique-commandes a {
text-decoration: none; text-decoration: none;
} }


/* line 161, ../sass/_systeme_commandes.scss */
/* line 178, ../sass/_systeme_commandes.scss */
.commande-form { .commande-form {
min-height: 600px; min-height: 600px;
padding-bottom: 60px; padding-bottom: 60px;
} }
/* line 166, ../sass/_systeme_commandes.scss */
/* line 183, ../sass/_systeme_commandes.scss */
.commande-form h2 { .commande-form h2 {
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
} }
/* line 170, ../sass/_systeme_commandes.scss */
/* line 187, ../sass/_systeme_commandes.scss */
.commande-form #infos-importantes.alert-warning { .commande-form #infos-importantes.alert-warning {
float: right; float: right;
} }
/* line 176, ../sass/_systeme_commandes.scss */
/* line 193, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .ui-datepicker { .commande-form #datepicker-production .ui-datepicker {
float: left; float: left;
margin-right: 20px; margin-right: 20px;
font-size: 20px;
}
/* line 199, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .ui-datepicker-header {
background-color: #BB8757;
}
/* line 203, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .ui-datepicker-title {
color: white;
}
/* line 209, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .ui-datepicker-prev:hover,
.commande-form #datepicker-production .ui-datepicker-next:hover {
border: 0px none;
background: none;
} }
/* line 181, ../sass/_systeme_commandes.scss */
/* line 215, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .ui-helper-clearfix:after { .commande-form #datepicker-production .ui-helper-clearfix:after {
clear: none; clear: none;
} }
/* line 185, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .alert-info {
float: left;
/* line 220, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .ui-datepicker-calendar a {
text-decoration: none;
background-color: #F8F1DD;
} }
/* line 190, ../sass/_systeme_commandes.scss */
/* line 223, ../sass/_systeme_commandes.scss */
.commande-form #datepicker-production .ui-datepicker-calendar a.ui-state-hover, .commande-form #datepicker-production .ui-datepicker-calendar a.ui-state-active {
background-color: #BB8757;
color: white;
border-color: #cdc3b7;
}
/* line 232, ../sass/_systeme_commandes.scss */
.commande-form #has-commande-en-cours { .commande-form #has-commande-en-cours {
margin-top: 15px; margin-top: 15px;
} }
/* line 193, ../sass/_systeme_commandes.scss */
/* line 235, ../sass/_systeme_commandes.scss */
.commande-form #has-commande-en-cours a { .commande-form #has-commande-en-cours a {
color: #a94442; color: #a94442;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
} }
/* line 200, ../sass/_systeme_commandes.scss */
/* line 242, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_production {
display: none;
}
/* line 246, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_point_vente { .commande-form .field-commande-id_point_vente {
margin-top: 30px; margin-top: 30px;
} }
/* line 204, ../sass/_systeme_commandes.scss */
/* line 250, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_production { .commande-form .field-commande-id_production {
margin-bottom: 0px; margin-bottom: 0px;
} }
/* line 206, ../sass/_systeme_commandes.scss */
/* line 252, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_production label { .commande-form .field-commande-id_production label {
margin-bottom: 0px; margin-bottom: 0px;
} }
/* line 210, ../sass/_systeme_commandes.scss */
/* line 256, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_production .help-block { .commande-form .field-commande-id_production .help-block {
margin-bottom: 0px; margin-bottom: 0px;
} }
/* line 215, ../sass/_systeme_commandes.scss */
/* line 261, ../sass/_systeme_commandes.scss */
.commande-form .field-commande-id_point_vente {
display: none;
}
/* line 265, ../sass/_systeme_commandes.scss */
.commande-form .blocs { .commande-form .blocs {
list-style-type: none; list-style-type: none;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
/* line 220, ../sass/_systeme_commandes.scss */
/* line 270, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc { .commande-form .blocs .bloc {
text-decoration: none; text-decoration: none;
width: 268px; width: 268px;
cursor: pointer; cursor: pointer;
float: left; float: left;
background-color: #f9f9f9; background-color: #f9f9f9;
background-color: white;
border: 1px solid #d8d8d8; border: 1px solid #d8d8d8;
} }
/* line 234, ../sass/_systeme_commandes.scss */
/* line 285, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc .nom { .commande-form .blocs .bloc .nom {
font-family: "comfortaalight"; font-family: "comfortaalight";
font-size: 20px; font-size: 20px;
} }
/* line 240, ../sass/_systeme_commandes.scss */
/* line 291, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc .adresse { .commande-form .blocs .bloc .adresse {
color: gray; color: gray;
font-size: 13px; font-size: 13px;
line-height: 16px; line-height: 16px;
} }
/* line 246, ../sass/_systeme_commandes.scss */
/* line 297, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc .horaires { .commande-form .blocs .bloc .horaires {
margin-top: 7px; margin-top: 7px;
} }
/* line 248, ../sass/_systeme_commandes.scss */
/* line 299, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc .horaires .jour { .commande-form .blocs .bloc .horaires .jour {
font-weight: bold; font-weight: bold;
display: none; display: none;
} }
/* line 254, ../sass/_systeme_commandes.scss */
/* line 305, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc.selected { .commande-form .blocs .bloc.selected {
border-left: solid 5px black;
-moz-box-shadow: 0px 0px 5px #d8d8d8;
-webkit-box-shadow: 0px 0px 5px #d8d8d8;
box-shadow: 0px 0px 5px #d8d8d8;
border-left: solid 5px #BB8757;
} }
/* line 258, ../sass/_systeme_commandes.scss */
/* line 309, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc.selected .contenu { .commande-form .blocs .bloc.selected .contenu {
position: relative; position: relative;
left: -4px; left: -4px;
} }
/* line 264, ../sass/_systeme_commandes.scss */
/* line 315, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc:hover { .commande-form .blocs .bloc:hover {
-moz-box-shadow: 0px 0px 5px #d8d8d8; -moz-box-shadow: 0px 0px 5px #d8d8d8;
-webkit-box-shadow: 0px 0px 5px #d8d8d8; -webkit-box-shadow: 0px 0px 5px #d8d8d8;
box-shadow: 0px 0px 5px #d8d8d8; box-shadow: 0px 0px 5px #d8d8d8;
} }
/* line 269, ../sass/_systeme_commandes.scss */
/* line 320, ../sass/_systeme_commandes.scss */
.commande-form .blocs .bloc.disabled { .commande-form .blocs .bloc.disabled {
display: none; display: none;
} }
/* line 276, ../sass/_systeme_commandes.scss */
/* line 327, ../sass/_systeme_commandes.scss */
.commande-form #produits { .commande-form #produits {
margin-top: 15px; margin-top: 15px;
} }
/* line 279, ../sass/_systeme_commandes.scss */
/* line 330, ../sass/_systeme_commandes.scss */
.commande-form #produits #label-produits { .commande-form #produits #label-produits {
display: block; display: block;
margin-bottom: 5px; margin-bottom: 5px;
} }
/* line 284, ../sass/_systeme_commandes.scss */
/* line 335, ../sass/_systeme_commandes.scss */
.commande-form #produits .table { .commande-form #produits .table {
margin-top: 7px; margin-top: 7px;
} }
/* line 287, ../sass/_systeme_commandes.scss */
/* line 338, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .illu { .commande-form #produits .table .illu {
float: left; float: left;
height: auto; height: auto;
width: 70px; width: 70px;
margin-right: 15px; margin-right: 15px;
} }
/* line 294, ../sass/_systeme_commandes.scss */
/* line 345, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .photo { .commande-form #produits .table .photo {
float: right; float: right;
margin-left: 10px; margin-left: 10px;
width: 200px; width: 200px;
} }
/* line 300, ../sass/_systeme_commandes.scss */
/* line 351, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .nom { .commande-form #produits .table .nom {
font-family: "comfortaalight"; font-family: "comfortaalight";
font-weight: bold; font-weight: bold;
text-transform: uppercase; text-transform: uppercase;
font-size: 18px; font-size: 18px;
} }
/* line 307, ../sass/_systeme_commandes.scss */
/* line 358, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .description { .commande-form #produits .table .description {
font-style: italic; font-style: italic;
} }
/* line 311, ../sass/_systeme_commandes.scss */
/* line 362, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .recette { .commande-form #produits .table .recette {
font-size: 12px; font-size: 12px;
} }
/* line 315, ../sass/_systeme_commandes.scss */
/* line 366, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .input-group { .commande-form #produits .table .input-group {
width: 133px; width: 133px;
} }
/* line 317, ../sass/_systeme_commandes.scss */
/* line 368, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .input-group .quantity { .commande-form #produits .table .input-group .quantity {
text-align: center; text-align: center;
} }
/* line 322, ../sass/_systeme_commandes.scss */
/* line 373, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .colonne-quantite, .commande-form #produits .table .prix-unit, .commande-form #produits .table .total { .commande-form #produits .table .colonne-quantite, .commande-form #produits .table .prix-unit, .commande-form #produits .table .total {
width: 150px; width: 150px;
text-align: center; text-align: center;
} }
/* line 327, ../sass/_systeme_commandes.scss */
/* line 378, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td#total-commande, .commande-form #produits .table td#total-commande-vrac, .commande-form #produits .table td.total { .commande-form #produits .table td#total-commande, .commande-form #produits .table td#total-commande-vrac, .commande-form #produits .table td.total {
text-align: center; text-align: center;
} }
/* line 331, ../sass/_systeme_commandes.scss */
/* line 382, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .epuise { .commande-form #produits .table .epuise {
display: none; display: none;
text-transform: uppercase; text-transform: uppercase;
font-size: 16px; font-size: 16px;
text-align: center; text-align: center;
} }
/* line 340, ../sass/_systeme_commandes.scss */
/* line 391, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .quantite-restante { .commande-form #produits .table .quantite-restante {
font-size: 12px; font-size: 12px;
margin-top: 8px; margin-top: 8px;
} }
/* line 344, ../sass/_systeme_commandes.scss */
/* line 395, ../sass/_systeme_commandes.scss */
.commande-form #produits .table .quantite-restante .nb { .commande-form #produits .table .quantite-restante .nb {
font-weight: bold; font-weight: bold;
} }
/* line 349, ../sass/_systeme_commandes.scss */
/* line 400, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td.produit, .commande-form #produits .table th.produit { .commande-form #produits .table td.produit, .commande-form #produits .table th.produit {
width: 70%; width: 70%;
} }
/* line 353, ../sass/_systeme_commandes.scss */
/* line 404, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td.prix-unit, .commande-form #produits .table th.prix-unit { .commande-form #produits .table td.prix-unit, .commande-form #produits .table th.prix-unit {
width: 10%; width: 10%;
} }
/* line 357, ../sass/_systeme_commandes.scss */
/* line 408, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td.colonne-quantite, .commande-form #produits .table th.colonne-quantite { .commande-form #produits .table td.colonne-quantite, .commande-form #produits .table th.colonne-quantite {
width: 10%; width: 10%;
} }
/* line 361, ../sass/_systeme_commandes.scss */
/* line 412, ../sass/_systeme_commandes.scss */
.commande-form #produits .table td.total, .commande-form #produits .table th.total { .commande-form #produits .table td.total, .commande-form #produits .table th.total {
width: 10%; width: 10%;
} }
/* line 367, ../sass/_systeme_commandes.scss */
/* line 418, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed { .commande-form #bar-fixed {
position: fixed; position: fixed;
bottom: 0px; bottom: 0px;
background-color: #F9F9F9; background-color: #F9F9F9;
text-align: center; text-align: center;
} }
/* line 381, ../sass/_systeme_commandes.scss */
/* line 432, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed #total-commande-bottom { .commande-form #bar-fixed #total-commande-bottom {
background-color: white; background-color: white;
-moz-border-radius: 20px; -moz-border-radius: 20px;
padding: 5px 25px; padding: 5px 25px;
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
} }
/* line 388, ../sass/_systeme_commandes.scss */
/* line 439, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .valider-commande, .commande-form #bar-fixed .btn-commentaire { .commande-form #bar-fixed .valider-commande, .commande-form #bar-fixed .btn-commentaire {
float: right; float: right;
} }
/* line 392, ../sass/_systeme_commandes.scss */
/* line 443, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .btn-commentaire { .commande-form #bar-fixed .btn-commentaire {
margin-right: 10px; margin-right: 10px;
} }
/* line 396, ../sass/_systeme_commandes.scss */
/* line 447, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .btn-retour, .commande-form #bar-fixed .annuler-commande { .commande-form #bar-fixed .btn-retour, .commande-form #bar-fixed .annuler-commande {
float: left; float: left;
margin-right: 5px; margin-right: 5px;
} }
/* line 401, ../sass/_systeme_commandes.scss */
/* line 452, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .annuler-commande { .commande-form #bar-fixed .annuler-commande {
color: #b92c28; color: #b92c28;
background-color: white; background-color: white;
} }
/* line 406, ../sass/_systeme_commandes.scss */
/* line 457, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed #total-commande-bottom { .commande-form #bar-fixed #total-commande-bottom {
display: none; display: none;
font-weight: bold; font-weight: bold;
font-family: "comfortaalight"; font-family: "comfortaalight";
font-size: 24px; font-size: 24px;
} }
/* line 413, ../sass/_systeme_commandes.scss */
/* line 464, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed .field-commande-commentaire { .commande-form #bar-fixed .field-commande-commentaire {
display: none; display: none;
} }


/* line 421, ../sass/_systeme_commandes.scss */
/* line 472, ../sass/_systeme_commandes.scss */
.ui-datepicker .ui-widget-header { .ui-datepicker .ui-widget-header {
background: none; background: none;
background-color: gray; background-color: gray;
color: black; color: black;
font-weight: normal; font-weight: normal;
} }
/* line 429, ../sass/_systeme_commandes.scss */
/* line 480, ../sass/_systeme_commandes.scss */
.ui-datepicker .ui-datepicker-current-day a, .ui-datepicker .ui-datepicker-current-day a,
.ui-datepicker a.ui-state-hover { .ui-datepicker a.ui-state-hover {
background: none; background: none;

+ 3
- 3
frontend/web/js/lechatdesnoisettes.js View File

if($('.commande-form').size()) { if($('.commande-form').size()) {
// affichage des différentes parties du formulaire // affichage des différentes parties du formulaire
if(!$('#commande-id_production').val()) { if(!$('#commande-id_production').val()) {
$('.field-commande-id_point_vente, #points-vente, #produits, .valider-commande, #info-horaire-retrait-commande, .btn-commentaire').hide() ;
$('#depots, #points-vente, #produits, .valider-commande, #info-horaire-retrait-commande, .btn-commentaire').hide() ;
} }
else if(!$('#commande-id_point_vente').val()) { else if(!$('#commande-id_point_vente').val()) {
$('#produits, .valider-commande, .btn-commentaire').hide() ; $('#produits, .valider-commande, .btn-commentaire').hide() ;
$('#has-commande-en-cours').show() ; $('#has-commande-en-cours').show() ;
has_commande_en_cours = true ; has_commande_en_cours = true ;
$('.field-commande-id_point_vente, #points-vente, #produits, #info-horaire-retrait-commande').hide() ;
$('#depots, #points-vente, #produits, #info-horaire-retrait-commande').hide() ;
} }
}) ; }) ;
$('#commande-id_point_vente').val('') ; $('#commande-id_point_vente').val('') ;
// affichage points de vente // affichage points de vente
$('.field-commande-id_point_vente, #points-vente, #info-horaire-retrait-commande').fadeIn() ;
$('#depots, #points-vente, #info-horaire-retrait-commande').fadeIn() ;
} }
} }

+ 117
- 66
frontend/web/sass/_systeme_commandes.scss View File

} }




.liste-etablissements {
#bloc-liste-boulangeries {

}

.boulangerie {
padding-left: 0px ;
padding-right: 30px ;

&.selected .panel {
border-bottom: solid 3px $color1 ;
}
.panel-heading {

height: 200px ;
overflow: hidden ;
padding: 0px ;
background: none ;
background-color: #F8F1DD ;
.img-back {
//display: none ;
width: 100% ;
height: auto ;
position: relative;
top: -50% ;
}
}

.panel-body {
position: relative ;
width: 100% ;
height: 120px ;
max-height: 120px;
text-align: center ;

h3 {
margin-bottom: 4px ;
}

.localite {
color: gray ;
margin-bottom: 10px ;
}

.glyphicon-check {
color: $color1 ;
font-size: 40px ;
position: absolute ;
top: 34px ;
left: 32px ;
}
.remove {
position: absolute ;
top: 10px;
right: 10px ;
}

.logo {
display: none ;
width: 150px ;
position: absolute ;
top: -40px ;
left: 50% ;
margin-left: -75px ;
background-color: white ;
padding: 10px 20px ;
}
}
}
}

#index-commande { #index-commande {
position: relative ; position: relative ;
padding-bottom: 20px; padding-bottom: 20px;
} }
#liste-boulangeries {
#bloc-liste-boulangeries {
//border-right: solid 1px #e0e0e0 ;
}

.panel-heading {
height: 200px ;
overflow: hidden ;
padding: 0px ;
background: none ;
background-color: #F8F1DD ;
.img-back {
//display: none ;
width: 100% ;
height: auto ;
position: relative;
top: -50% ;
}
}
.panel-body {
position: relative ;
width: 100% ;
height: 120px ;
max-height: 120px;
text-align: center ;
h3 {
margin-bottom: 4px ;
}

.localite {
//float: right ;
color: gray ;
margin-bottom: 10px ;
}

.remove {
position: absolute ;
top: 10px;
right: 10px ;
}
.logo {
display: none ;
width: 150px ;
position: absolute ;
top: -40px ;
left: 50% ;
margin-left: -75px ;
background-color: white ;
padding: 10px 20px ;
}
}
}
#bloc-add-etablissement { #bloc-add-etablissement {
padding-left: 0px ;
padding-right: 30px ;
.help-block { .help-block {
padding-bottom: 0px ; padding-bottom: 0px ;
.ui-datepicker { .ui-datepicker {
float: left ; float: left ;
margin-right: 20px ; margin-right: 20px ;
font-size: 20px ;
} }
.ui-datepicker-header {
background-color: $color1 ;
}
.ui-datepicker-title {
color: white
}
.ui-datepicker-prev,
.ui-datepicker-next {
&:hover {
border: 0px none ;
background: none ;
}
}
.ui-helper-clearfix:after { .ui-helper-clearfix:after {
clear: none ; clear: none ;
} }
.alert-info {
float: left ;
}
.ui-datepicker-calendar {
a {
text-decoration: none ;
background-color: $color2 ;
&.ui-state-hover, &.ui-state-active {
background-color: $color1 ;
color: white ;
border-color: #cdc3b7 ;
}
}
}
} }
#has-commande-en-cours { #has-commande-en-cours {
font-weight: bold ; font-weight: bold ;
} }
} }
.field-commande-id_production {
display: none ;
}
.field-commande-id_point_vente { .field-commande-id_point_vente {
margin-top: 30px ; margin-top: 30px ;
margin-bottom: 0px ; margin-bottom: 0px ;
} }
} }
.field-commande-id_point_vente {
display: none ;
}
.blocs { .blocs {
list-style-type: none ; list-style-type: none ;
cursor: pointer ; cursor: pointer ;
float: left ; float: left ;
background-color: #f9f9f9 ; background-color: #f9f9f9 ;
background-color: white ;
border: 1px solid #d8d8d8 ; border: 1px solid #d8d8d8 ;
.nom { .nom {
} }
&.selected { &.selected {
border-left: solid 5px black ;
@include box-shadow(0px 0px 5px #d8d8d8) ;
border-left: solid 5px $color1 ;
//@include box-shadow(0px 0px 5px #d8d8d8) ;
.contenu { .contenu {
position: relative ; position: relative ;

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

$color2: #fff6d5 ; $color2: #fff6d5 ;
$color1: #BB8757 ; $color1: #BB8757 ;
$color2: #F8F1DD ;


@import "_fonts.scss" ; @import "_fonts.scss" ;



Loading…
Cancel
Save