Browse Source

Espace de démonstration

Mise en place de l'espace de démo pour que les utilisateurs et potentiels futurs boulangers puissent se connecter et tester facilement la plateforme.
prodstable
keun 7 years ago
parent
commit
4330c4dae4
23 changed files with 528 additions and 290 deletions
  1. +9
    -6
      backend/controllers/CronController.php
  2. +12
    -3
      backend/views/layouts/main.php
  3. +7
    -0
      backend/views/site/login.php
  4. +4
    -4
      backend/views/user/index.php
  5. BIN
      backend/web/.sass-cache/c8fef7d48da4dc7f024edc2b0fada9d8d6de5dac/screen.scssc
  6. +187
    -170
      backend/web/css/screen.css
  7. +14
    -0
      backend/web/sass/screen.scss
  8. +49
    -2
      common/helpers/Url.php
  9. +3
    -0
      environments/demo/backend/config/params-local.php
  10. +21
    -0
      environments/demo/backend/web/index.php
  11. +3
    -0
      environments/demo/common/config/params-local.php
  12. +3
    -0
      environments/demo/console/config/main-local.php
  13. +3
    -0
      environments/demo/console/config/params-local.php
  14. +3
    -0
      environments/demo/frontend/config/params-local.php
  15. +21
    -0
      environments/demo/frontend/web/index.php
  16. +32
    -0
      environments/demo/yii
  17. +10
    -3
      frontend/views/layouts/main.php
  18. +3
    -0
      frontend/views/site/cgv.php
  19. +8
    -0
      frontend/views/site/login.php
  20. +45
    -36
      frontend/views/site/signup.php
  21. BIN
      frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/screen.scssc
  22. +79
    -66
      frontend/web/css/screen.css
  23. +12
    -0
      frontend/web/sass/screen.scss

+ 9
- 6
backend/controllers/CronController.php View File

]; ];
} }
public function actionInitBddDemo($key = '')
{
if($key == '45432df6e842ac71aa0b5bb6b9f25d44')
{
}
}
public function actionSendCommandes($key = '') public function actionSendCommandes($key = '')
{ {
if($key == '64ac0bdab7e9f5e48c4d991ec5201d57') if($key == '64ac0bdab7e9f5e48c4d991ec5201d57')
} }
}
}
} }
} }

+ 12
- 3
backend/views/layouts/main.php View File

</head> </head>
<body> <body>
<?php $this->beginBody() ?> <?php $this->beginBody() ?>
<div class="wrap"> <div class="wrap">
<?php <?php
NavBar::begin([ NavBar::begin([
?> ?>


<div class="container-fluid container-body"> <div class="container-fluid container-body">
<?php if(YII_ENV == 'dev'): ?>
<div id="env-dev">Dév.</div>
<?php if(YII_ENV == 'dev' || YII_ENV == 'demo'): ?>
<div id="env-dev"><?php if(YII_ENV == 'dev'): ?>Dév.<?php elseif(YII_ENV == 'demo'): ?>Démo<?php endif; ?></div>
<?php endif; ?> <?php endif; ?>
<?php if(!Yii::$app->user->isGuest): ?> <?php if(!Yii::$app->user->isGuest): ?>
<div class="nom-boulange"> <div class="nom-boulange">
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>
<?php if(YII_ENV == 'demo'): ?>
<div id="block-demo">
<div class="container-fluid">
<span class="glyphicon glyphicon-eye-open"></span> <strong>Espace de démonstration</strong> :
Testez la plateforme sans avoir à vous inscrire. Les données sont réinitialisées quotidiennement &bull; <?= Html::a('Retour', Url::env('prod', 'frontend')) ?>
</div>
</div>
<?php endif; ?>
<?= Breadcrumbs::widget([ <?= Breadcrumbs::widget([
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
]) ?> ]) ?>

+ 7
- 0
backend/views/site/login.php View File



<div class="row"> <div class="row">
<div class="col-lg-5"> <div class="col-lg-5">
<?php if(YII_ENV == 'demo') : ?>
<div class="alert alert-warning">
Identifiant : <strong>boulanger@laboiteapain.net</strong><br />
Mot de passe : <strong>laboiteapain</strong>
</div>
<?php endif; ?>
<?php $form = ActiveForm::begin(['id' => 'login-form']); ?> <?php $form = ActiveForm::begin(['id' => 'login-form']); ?>
<?= $form->field($model, 'email') ?> <?= $form->field($model, 'email') ?>
<?= $form->field($model, 'password')->passwordInput() ?> <?= $form->field($model, 'password')->passwordInput() ?>

+ 4
- 4
backend/views/user/index.php View File

$this->title = 'Utilisateurs'; $this->title = 'Utilisateurs';
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="user-index">



<div class="user-index">
<h1> <h1>
<?= Html::encode($this->title) ?> <?= Html::encode($this->title) ?>
<?= Html::a('Ajouter', ['create'], ['class' => 'btn btn-primary']) ?> <?= Html::a('Ajouter', ['create'], ['class' => 'btn btn-primary']) ?>
<?= Html::a('<span class="glyphicon glyphicon-envelope"></span> Liste des emails', ['mail'], ['class' => 'btn btn-default']) ?> <?= Html::a('<span class="glyphicon glyphicon-envelope"></span> Liste des emails', ['mail'], ['class' => 'btn btn-default']) ?>
</h1> </h1>
<?= GridView::widget([ <?= GridView::widget([
'dataProvider' => $dataProvider, 'dataProvider' => $dataProvider,
'filterModel' => true, 'filterModel' => true,
else { else {
$html .= 'Aucune commande' ; $html .= 'Aucune commande' ;
} }
return $html ; return $html ;
}, },
], ],
], ],
], ],
]); ?> ]); ?>

</div> </div>

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


+ 187
- 170
backend/web/css/screen.css
File diff suppressed because it is too large
View File


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

} }
} }


#block-demo {
padding: 10px 0px ;
background-color: $color2 ;
color: $color1;
text-align: left ;
margin-bottom: 20px ;
border: solid 1px lighten($color1,10) ;
@include border-radius(5px) ;
a {
text-decoration: underline ;
}
}

#env-dev { #env-dev {
font-family: 'comfortaabold' ; font-family: 'comfortaabold' ;
text-align: center ; text-align: center ;

+ 49
- 2
common/helpers/Url.php View File

$server_name = Yii::$app->getRequest()->serverName ; $server_name = Yii::$app->getRequest()->serverName ;
if($server_name == 'localhost') if($server_name == 'localhost')
{ {
return '../../frontend/web/' ;
return 'http://localhost/reservation_pain/frontend/web/' ;
} }
elseif($server_name == 'www.laboiteapain.net' || elseif($server_name == 'www.laboiteapain.net' ||
$server_name == 'boulanger.laboiteapain.net') $server_name == 'boulanger.laboiteapain.net')
{ {
return 'http://dev.laboiteapain.net/' ; return 'http://dev.laboiteapain.net/' ;
} }
elseif($server_name == 'demo.laboiteapain.net' ||
$server_name == 'boulanger-demo.laboiteapain.net')
{
return 'http://demo.laboiteapain.net/' ;
}
} }
public static function backend() public static function backend()
$server_name = Yii::$app->getRequest()->serverName ; $server_name = Yii::$app->getRequest()->serverName ;
if($server_name == 'localhost') if($server_name == 'localhost')
{ {
return '../../backend/web/' ;
return 'http://localhost/reservation_pain/backend/web/' ;
} }
elseif($server_name == 'www.laboiteapain.net' || elseif($server_name == 'www.laboiteapain.net' ||
$server_name == 'boulanger.laboiteapain.net') $server_name == 'boulanger.laboiteapain.net')
{ {
return 'http://boulanger-dev.laboiteapain.net/' ; return 'http://boulanger-dev.laboiteapain.net/' ;
} }
elseif($server_name == 'demo.laboiteapain.net' ||
$server_name == 'boulanger-demo.laboiteapain.net')
{
return 'http://boulanger-demo.laboiteapain.net/' ;
}
} }
public static function env($env, $section)
{
$server_name = Yii::$app->getRequest()->serverName ;
if($section == 'backend')
{
if($server_name == 'localhost')
{
return 'http://localhost/reservation_pain/backend/web/' ;
}
else {
if($env == 'prod')
{
return 'http://boulanger.laboiteapain.net/' ;
}
else {
return 'http://boulanger-'.$env.'.laboiteapain.net/' ;
}
}
}
else {
if($server_name == 'localhost')
{
return 'http://localhost/reservation_pain/frontend/web/' ;
}
else {
if($env == 'prod')
{
return 'http://www.laboiteapain.net/' ;
}
else {
return 'http://'.$env.'.laboiteapain.net/' ;
}
}
}
}
} }

+ 3
- 0
environments/demo/backend/config/params-local.php View File

<?php
return [
];

+ 21
- 0
environments/demo/backend/web/index.php View File

<?php

date_default_timezone_set('Europe/Paris');

defined('YII_DEBUG') or define('YII_DEBUG', false);
defined('YII_ENV') or define('YII_ENV', 'demo');

require(__DIR__ . '/../../vendor/autoload.php');
require(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php');
require(__DIR__ . '/../../common/config/bootstrap.php');
require(__DIR__ . '/../config/bootstrap.php');

$config = yii\helpers\ArrayHelper::merge(
require(__DIR__ . '/../../common/config/main.php'),
require(__DIR__ . '/../../common/config/main-local.php'),
require(__DIR__ . '/../config/main.php'),
require(__DIR__ . '/../config/main-local.php')
);

$application = new yii\web\Application($config);
$application->run();

+ 3
- 0
environments/demo/common/config/params-local.php View File

<?php
return [
];

+ 3
- 0
environments/demo/console/config/main-local.php View File

<?php
return [
];

+ 3
- 0
environments/demo/console/config/params-local.php View File

<?php
return [
];

+ 3
- 0
environments/demo/frontend/config/params-local.php View File

<?php
return [
];

+ 21
- 0
environments/demo/frontend/web/index.php View File

<?php

date_default_timezone_set('Europe/Paris');

defined('YII_DEBUG') or define('YII_DEBUG', false);
defined('YII_ENV') or define('YII_ENV', 'demo');

require(__DIR__ . '/../../vendor/autoload.php');
require(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php');
require(__DIR__ . '/../../common/config/bootstrap.php');
require(__DIR__ . '/../config/bootstrap.php');

$config = yii\helpers\ArrayHelper::merge(
require(__DIR__ . '/../../common/config/main.php'),
require(__DIR__ . '/../../common/config/main-local.php'),
require(__DIR__ . '/../config/main.php'),
require(__DIR__ . '/../config/main-local.php')
);

$application = new yii\web\Application($config);
$application->run();

+ 32
- 0
environments/demo/yii View File

#!/usr/bin/env php
<?php
/**
* Yii console bootstrap file.
*
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/

defined('YII_DEBUG') or define('YII_DEBUG', false);
defined('YII_ENV') or define('YII_ENV', 'prod');

// fcgi doesn't have STDIN and STDOUT defined by default
defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
defined('STDOUT') or define('STDOUT', fopen('php://stdout', 'w'));

require(__DIR__ . '/vendor/autoload.php');
require(__DIR__ . '/vendor/yiisoft/yii2/Yii.php');
require(__DIR__ . '/common/config/bootstrap.php');
require(__DIR__ . '/console/config/bootstrap.php');

$config = yii\helpers\ArrayHelper::merge(
require(__DIR__ . '/common/config/main.php'),
require(__DIR__ . '/common/config/main-local.php'),
require(__DIR__ . '/console/config/main.php'),
require(__DIR__ . '/console/config/main-local.php')
);

$application = new yii\console\Application($config);
$exitCode = $application->run();
exit($exitCode);

+ 10
- 3
frontend/views/layouts/main.php View File

<body class="<?php if($is_home): echo 'home' ; endif; ?><?php if(!Yii::$app->user->isGuest): ?> connected<?php endif; ?>"> <body class="<?php if($is_home): echo 'home' ; endif; ?><?php if(!Yii::$app->user->isGuest): ?> connected<?php endif; ?>">
<?php $this->beginBody() ?> <?php $this->beginBody() ?>
<div id="back"></div> <div id="back"></div>
<?php if(YII_ENV == 'demo'): ?>
<div id="block-demo">
<div class="container">
<span class="glyphicon glyphicon-eye-open"></span> <strong>Espace de démonstration</strong> :
Testez la plateforme sans avoir à vous inscrire. Les données sont réinitialisées quotidiennement &bull; <?= Html::a('Retour', Url::env('prod', 'frontend')) ?>
</div>
</div>
<?php endif; ?>
<header id="header"> <header id="header">
<div class="container"> <div class="container">
<?php if(YII_ENV == 'dev'): ?>
<div id="env-dev">Dév.</div>
<?php if(YII_ENV == 'dev' || YII_ENV == 'demo'): ?>
<div id="env-dev"><?php if(YII_ENV == 'dev'): ?>Dév.<?php elseif(YII_ENV == 'demo'): ?>Démo<?php endif; ?></div>
<?php endif; ?> <?php endif; ?>
<a id="link-home" href="<?php if(Yii::$app->user->isGuest): echo Yii::$app->urlManager->createUrl('site/index') ; else: echo Yii::$app->urlManager->createUrl('commande/index') ; endif; ?>"> <a id="link-home" href="<?php if(Yii::$app->user->isGuest): echo Yii::$app->urlManager->createUrl('site/index') ; else: echo Yii::$app->urlManager->createUrl('commande/index') ; endif; ?>">
<img class="icon" src="<?php echo Yii::$app->urlManager->getBaseUrl(); ?>/img/laboulange3.png" alt="" /> <img class="icon" src="<?php echo Yii::$app->urlManager->getBaseUrl(); ?>/img/laboulange3.png" alt="" />
<!--La boîte à pain-->
</a> </a>
<nav class=""> <nav class="">
<ul class="nav nav-pills"> <ul class="nav nav-pills">

+ 3
- 0
frontend/views/site/cgv.php View File

<?php
$this->title = 'Conditions générales de service';
?>


<div class="container content-text"> <div class="container content-text">

+ 8
- 0
frontend/views/site/login.php View File

<div class="row"> <div class="row">
<div class="col-lg-5"> <div class="col-lg-5">
<p>Pas encore de compte ? <a class="" href="<?php echo Yii::$app->urlManager->createUrl('site/signup') ; ?>">Je m'inscris</a></p> <p>Pas encore de compte ? <a class="" href="<?php echo Yii::$app->urlManager->createUrl('site/signup') ; ?>">Je m'inscris</a></p>
<?php if(YII_ENV == 'demo') : ?>
<div class="alert alert-warning">
Identifiant : <strong>boulanger@laboiteapain.net</strong><br />
Mot de passe : <strong>laboiteapain</strong>
</div>
<?php endif; ?>
<?php $form = ActiveForm::begin(['id' => 'login-form']); ?> <?php $form = ActiveForm::begin(['id' => 'login-form']); ?>
<?= $form->field($model, 'email') ?> <?= $form->field($model, 'email') ?>
<?= $form->field($model, 'password')->passwordInput() ?> <?= $form->field($model, 'password')->passwordInput() ?>

+ 45
- 36
frontend/views/site/signup.php View File

<div class="row"> <div class="row">
<div class="col-lg-5"> <div class="col-lg-5">
<?php $form = ActiveForm::begin(['id' => 'form-signup','enableClientValidation'=> false]); ?>
<?= $form->field($model, 'email') ?>
<?= $form->field($model, 'password')->passwordInput() ?>
<?= $form->field($model, 'nom') ?>
<?= $form->field($model, 'prenom') ?>
<?= $form->field($model, 'telephone') ?>
<?php //$form->field($model, 'is_boulanger')->checkbox() ?>
<div id="client-boulanger" class="btn-group" data-toggle="buttons">
<label class="btn btn-default <?php if($model->option_client_boulanger == 'client' || !$model->option_client_boulanger): ?>active<?php endif; ?>">
<input type="radio" name="SignupForm[option_client_boulanger]" value="client" id="option-client" autocomplete="off" <?php if($model->option_client_boulanger == 'client' || !$model->option_client_boulanger): ?>checked<?php endif; ?>> Je suis client
</label>
<label class="btn btn-default <?php if($model->option_client_boulanger == 'boulanger'): ?>active<?php endif; ?>">
<input type="radio" name="SignupForm[option_client_boulanger]" value="boulanger" id="option-boulanger" autocomplete="off" <?php if($model->option_client_boulanger == 'boulanger'): ?>checked<?php endif; ?>> Je suis boulanger
</label>
</div>
<div id="champs-boulanger">
<?= $form->field($model, 'nom_magasin') ?>
<?= $form->field($model, 'siret') ?>
<?= $form->field($model, 'code_postal') ?>
<?= $form->field($model, 'ville') ?>
<?= $form->field($model, 'cgv')->checkbox()->label('J\'accepte les <a data-toggle="modal" data-target="#modal-cgv" href="javascript:void(0);">conditions générales de service</a>') ?>
<?php if(YII_ENV == 'demo'): ?>
<div class="alert alert-warning">
Les inscriptions sont désactivées sur l'espace de démonstration. Utilisez
les identifiants indiqués sur la page de <?= Html::a('connexion', Yii::$app->urlManager->createUrl(['site/login'])); ?> pour vous identifier.
</div> </div>
<div id="champs-client">
<?= $form->field($model, 'id_etablissement')->dropDownList($data_etablissements_dispos, ['prompt' => '--','encode' => false,'options' => $options_etablissements_dispos]) ?>
<div id="bloc-code-acces">
<?= $form->field($model, 'code',[
'inputTemplate' => '<div class="input-group"><span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>{input}</div>',
<?php else: ?>
<?php $form = ActiveForm::begin(['id' => 'form-signup','enableClientValidation'=> false]); ?>
<?= $form->field($model, 'email') ?>
<?= $form->field($model, 'password')->passwordInput() ?>
<?= $form->field($model, 'nom') ?>
<?= $form->field($model, 'prenom') ?>
<?= $form->field($model, 'telephone') ?>
<?php //$form->field($model, 'is_boulanger')->checkbox() ?>


])
->label('Code')
->hint('Renseignez-vous auprès de votre boulangerie pour qu\'elle vous fournisse le code d\'accès') ; ?>
<div id="client-boulanger" class="btn-group" data-toggle="buttons">
<label class="btn btn-default <?php if($model->option_client_boulanger == 'client' || !$model->option_client_boulanger): ?>active<?php endif; ?>">
<input type="radio" name="SignupForm[option_client_boulanger]" value="client" id="option-client" autocomplete="off" <?php if($model->option_client_boulanger == 'client' || !$model->option_client_boulanger): ?>checked<?php endif; ?>> Je suis client
</label>
<label class="btn btn-default <?php if($model->option_client_boulanger == 'boulanger'): ?>active<?php endif; ?>">
<input type="radio" name="SignupForm[option_client_boulanger]" value="boulanger" id="option-boulanger" autocomplete="off" <?php if($model->option_client_boulanger == 'boulanger'): ?>checked<?php endif; ?>> Je suis boulanger
</label>
</div> </div>
</div>

<div id="champs-boulanger">
<?= $form->field($model, 'nom_magasin') ?>
<?= $form->field($model, 'siret') ?>
<?= $form->field($model, 'code_postal') ?>
<?= $form->field($model, 'ville') ?>
<?= $form->field($model, 'cgv')->checkbox()->label('J\'accepte les <a data-toggle="modal" data-target="#modal-cgv" href="javascript:void(0);">conditions générales de service</a>') ?>
</div>
<div id="champs-client">
<?= $form->field($model, 'id_etablissement')->dropDownList($data_etablissements_dispos, ['prompt' => '--','encode' => false,'options' => $options_etablissements_dispos]) ?>
<div id="bloc-code-acces">
<?= $form->field($model, 'code',[
'inputTemplate' => '<div class="input-group"><span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>{input}</div>',

])
->label('Code')
->hint('Renseignez-vous auprès de votre boulangerie pour qu\'elle vous fournisse le code d\'accès') ; ?>
</div>
</div>

<div class="form-group" id="boutons-inscrire">
<?= Html::submitButton("S'inscrire", ['class' => 'btn btn-primary', 'name' => 'signup-button']) ?>
</div>
<?php ActiveForm::end(); ?>
<?php endif; ?>
<div class="form-group" id="boutons-inscrire">
<?= Html::submitButton("S'inscrire", ['class' => 'btn btn-primary', 'name' => 'signup-button']) ?>
</div>
<?php ActiveForm::end(); ?>
</div> </div>
</div> </div>
</div> </div>

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


+ 79
- 66
frontend/web/css/screen.css View File

} }


/* line 148, ../sass/screen.scss */ /* line 148, ../sass/screen.scss */
#block-demo {
padding: 10px 0px;
background-color: #BB8757;
color: white;
text-align: center;
}
/* line 154, ../sass/screen.scss */
#block-demo a {
color: white;
text-decoration: underline;
}

/* line 160, ../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 154, ../sass/screen.scss */
/* line 166, ../sass/screen.scss */
#header .container { #header .container {
position: relative; position: relative;
} }
/* line 158, ../sass/screen.scss */
/* line 170, ../sass/screen.scss */
#header #env-dev { #header #env-dev {
font-family: "comfortaabold"; font-family: "comfortaabold";
text-align: center; text-align: center;
top: 18px; top: 18px;
left: 79px; left: 79px;
} }
/* line 171, ../sass/screen.scss */
/* line 183, ../sass/screen.scss */
#header #link-home { #header #link-home {
position: absolute; position: absolute;
top: 10px; top: 10px;
font-size: 22px; font-size: 22px;
color: black; color: black;
} }
/* line 179, ../sass/screen.scss */
/* line 191, ../sass/screen.scss */
#header #link-home img { #header #link-home img {
height: 60px; height: 60px;
margin-bottom: 5px; margin-bottom: 5px;
} }
/* line 185, ../sass/screen.scss */
/* line 197, ../sass/screen.scss */
#header #link-espace-boulanger { #header #link-espace-boulanger {
border-left: solid 1px #e0e0e0; border-left: solid 1px #e0e0e0;
color: #BB8757; color: #BB8757;
} }
/* line 190, ../sass/screen.scss */
/* line 202, ../sass/screen.scss */
#header nav { #header nav {
padding-top: 22px; padding-top: 22px;
} }
/* line 192, ../sass/screen.scss */
/* line 204, ../sass/screen.scss */
#header nav ul { #header nav ul {
float: right; float: right;
} }
/* line 195, ../sass/screen.scss */
/* line 207, ../sass/screen.scss */
#header nav ul li a { #header nav ul li a {
text-decoration: none; text-decoration: none;
color: #505050; color: #505050;
} }
/* line 198, ../sass/screen.scss */
/* line 210, ../sass/screen.scss */
#header nav ul li a.active { #header nav ul li a.active {
background-color: white; background-color: white;
} }
/* line 202, ../sass/screen.scss */
/* line 214, ../sass/screen.scss */
#header nav ul li a:hover { #header nav ul li a:hover {
color: black; color: black;
background-color: white; background-color: white;
} }
/* line 212, ../sass/screen.scss */
/* line 224, ../sass/screen.scss */
#header #link-logout .nom { #header #link-logout .nom {
color: gray; color: gray;
font-size: 10px; font-size: 10px;
top: -4px; top: -4px;
} }


/* line 229, ../sass/screen.scss */
/* line 241, ../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 236, ../sass/screen.scss */
/* line 248, ../sass/screen.scss */
#content h1#title-site { #content h1#title-site {
font-family: "comfortaalight"; font-family: "comfortaalight";
font-size: 50px; font-size: 50px;
} }
/* line 243, ../sass/screen.scss */
/* line 255, ../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 254, ../sass/screen.scss */
/* line 266, ../sass/screen.scss */
#content h3 { #content h3 {
color: black; color: black;
font-size: 20px; font-size: 20px;
} }
/* line 262, ../sass/screen.scss */
/* line 274, ../sass/screen.scss */
#content #description img { #content #description img {
width: 100%; width: 100%;
} }
/* line 267, ../sass/screen.scss */
/* line 279, ../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 274, ../sass/screen.scss */
/* line 286, ../sass/screen.scss */
#content #row-presentation { #content #row-presentation {
text-align: center; text-align: center;
} }
/* line 276, ../sass/screen.scss */
/* line 288, ../sass/screen.scss */
#content #row-presentation h1 { #content #row-presentation h1 {
color: black; color: black;
} }
/* line 279, ../sass/screen.scss */
/* line 291, ../sass/screen.scss */
#content #row-presentation strong { #content #row-presentation strong {
font-family: "myriadpro-light"; font-family: "myriadpro-light";
font-size: 20px; font-size: 20px;
color: #B17A48; color: #B17A48;
} }
/* line 286, ../sass/screen.scss */
/* line 298, ../sass/screen.scss */
#content #row-signup { #content #row-signup {
text-align: center; text-align: center;
margin-top: 40px; margin-top: 40px;
} }
/* line 290, ../sass/screen.scss */
/* line 302, ../sass/screen.scss */
#content #row-signup a.btn { #content #row-signup a.btn {
padding: 13px 32px; padding: 13px 32px;
font-size: 25px; font-size: 25px;
} }
/* line 296, ../sass/screen.scss */
/* line 308, ../sass/screen.scss */
#content #row-clients-boulanger { #content #row-clients-boulanger {
margin-bottom: 50px; margin-bottom: 50px;
text-align: center; text-align: center;
} }
/* line 299, ../sass/screen.scss */
/* line 311, ../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 303, ../sass/screen.scss */
/* line 315, ../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 309, ../sass/screen.scss */
/* line 321, ../sass/screen.scss */
#content #row-clients-boulanger ul { #content #row-clients-boulanger ul {
text-align: left; text-align: left;
margin-left: 20%; margin-left: 20%;
} }
/* line 312, ../sass/screen.scss */
/* line 324, ../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 318, ../sass/screen.scss */
/* line 330, ../sass/screen.scss */
#content #row-clients-boulanger #clients { #content #row-clients-boulanger #clients {
border-right: dotted 1px gray; border-right: dotted 1px gray;
} }
/* line 324, ../sass/screen.scss */
/* line 336, ../sass/screen.scss */
#content #row-clients-boulanger .boulanger .prix span { #content #row-clients-boulanger .boulanger .prix span {
background-color: #F8F1DD; background-color: #F8F1DD;
} }
/* line 327, ../sass/screen.scss */
/* line 339, ../sass/screen.scss */
#content #row-clients-boulanger .boulanger .prix span a { #content #row-clients-boulanger .boulanger .prix span a {
color: #BB8757; color: #BB8757;
text-decoration: none; text-decoration: none;
} }
/* line 335, ../sass/screen.scss */
/* line 347, ../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;
text-align: center; text-align: center;
} }
/* line 340, ../sass/screen.scss */
/* line 352, ../sass/screen.scss */
#content #row-clients-boulanger .prix span { #content #row-clients-boulanger .prix span {
color: #BB8757; color: #BB8757;
border: solid 1px #BB8757; border: solid 1px #BB8757;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
border-radius: 5px; border-radius: 5px;
} }
/* line 355, ../sass/screen.scss */
/* line 367, ../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 365, ../sass/screen.scss */
/* line 377, ../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 371, ../sass/screen.scss */
/* line 383, ../sass/screen.scss */
#content #modal-tarifs .exemple { #content #modal-tarifs .exemple {
color: gray; color: gray;
} }


/* line 378, ../sass/screen.scss */
/* line 390, ../sass/screen.scss */
#content #contact { #content #contact {
display: none; display: none;
} }
/* line 382, ../sass/screen.scss */
/* line 394, ../sass/screen.scss */
#content #contact .icon { #content #contact .icon {
width: 55px; width: 55px;
top: -15px; top: -15px;
margin-left: -70px; margin-left: -70px;
} }
/* line 391, ../sass/screen.scss */
/* line 403, ../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 396, ../sass/screen.scss */
/* line 408, ../sass/screen.scss */
#content #contact .form-group { #content #contact .form-group {
text-align: center; text-align: center;
} }
/* line 400, ../sass/screen.scss */
/* line 412, ../sass/screen.scss */
#content #contact .img-right { #content #contact .img-right {
float: right; float: right;
} }
/* line 403, ../sass/screen.scss */
/* line 415, ../sass/screen.scss */
#content #contact .img-right img { #content #contact .img-right img {
width: 300px; width: 300px;
} }


/* line 410, ../sass/screen.scss */
/* line 422, ../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 415, ../sass/screen.scss */
/* line 427, ../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 429, ../sass/screen.scss */
/* line 441, ../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 440, ../sass/screen.scss */
/* line 452, ../sass/screen.scss */
#footer a:hover { #footer a:hover {
color: gray; color: gray;
} }
/* line 444, ../sass/screen.scss */
/* line 456, ../sass/screen.scss */
#footer a:last-child { #footer a:last-child {
border: 0px none; border: 0px none;
} }


/* line 450, ../sass/screen.scss */
/* line 462, ../sass/screen.scss */
#content #mentions { #content #mentions {
padding-top: 20px; padding-top: 20px;
} }
/* line 453, ../sass/screen.scss */
/* line 465, ../sass/screen.scss */
#content #mentions div.content { #content #mentions div.content {
width: 60%; width: 60%;
font-size: 90%; font-size: 90%;
} }
/* line 458, ../sass/screen.scss */
/* line 470, ../sass/screen.scss */
#content #mentions p { #content #mentions p {
padding-bottom: 15px; padding-bottom: 15px;
} }
/* line 462, ../sass/screen.scss */
/* line 474, ../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 470, ../sass/screen.scss */
/* line 482, ../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 481, ../sass/screen.scss */
/* line 493, ../sass/screen.scss */
.mentions #main, .mentions body { .mentions #main, .mentions body {
background-color: white; background-color: white;
} }


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


/* line 493, ../sass/screen.scss */
/* line 505, ../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 497, ../sass/screen.scss */
/* line 509, ../sass/screen.scss */
#profil-user .form-group label { #profil-user .form-group label {
cursor: pointer; cursor: pointer;
} }
/* line 502, ../sass/screen.scss */
/* line 514, ../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 505, ../sass/screen.scss */
/* line 517, ../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 511, ../sass/screen.scss */
/* line 523, ../sass/screen.scss */
#profil-user p.strong { #profil-user p.strong {
font-weight: bold; font-weight: bold;
} }


/* login */ /* login */
/* line 520, ../sass/screen.scss */
/* line 532, ../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 528, ../sass/screen.scss */
/* line 540, ../sass/screen.scss */
.modal-backdrop { .modal-backdrop {
z-index: -1; z-index: -1;
} }


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


/* line 543, ../sass/screen.scss */
/* line 555, ../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 553, ../sass/screen.scss */
/* line 565, ../sass/screen.scss */
#form-signup #client-boulanger { #form-signup #client-boulanger {
margin-bottom: 30px; margin-bottom: 30px;
} }
/* line 558, ../sass/screen.scss */
/* line 570, ../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 564, ../sass/screen.scss */
/* line 576, ../sass/screen.scss */
#form-signup #champs-boulanger { #form-signup #champs-boulanger {
display: none; display: none;
} }
/* line 568, ../sass/screen.scss */
/* line 580, ../sass/screen.scss */
#form-signup #boutons-inscrire { #form-signup #boutons-inscrire {
margin-top: 30px; margin-top: 30px;
} }

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

} }
} }


#block-demo {
padding: 10px 0px ;
background-color: $color1 ;
color: white;
text-align: center ;
a {
color: white ;
text-decoration: underline ;
}
}

#header { #header {
z-index: 100 ; z-index: 100 ;
border-bottom: solid 1px $gris1 ; border-bottom: solid 1px $gris1 ;

Loading…
Cancel
Save