Преглед изворни кода

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.
master
keun пре 8 година
родитељ
комит
4330c4dae4
23 измењених фајлова са 528 додато и 290 уклоњено
  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 Прегледај датотеку

@@ -40,6 +40,14 @@ class CronController extends BackendController
];
}
public function actionInitBddDemo($key = '')
{
if($key == '45432df6e842ac71aa0b5bb6b9f25d44')
{
}
}
public function actionSendCommandes($key = '')
{
if($key == '64ac0bdab7e9f5e48c4d991ec5201d57')
@@ -118,12 +126,7 @@ class CronController extends BackendController
}
}
}
}
}

+ 12
- 3
backend/views/layouts/main.php Прегледај датотеку

@@ -28,7 +28,6 @@ AppAsset::register($this);
</head>
<body>
<?php $this->beginBody() ?>
<div class="wrap">
<?php
NavBar::begin([
@@ -143,8 +142,8 @@ AppAsset::register($this);
?>

<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 if(!Yii::$app->user->isGuest): ?>
<div class="nom-boulange">
@@ -184,6 +183,16 @@ AppAsset::register($this);
<?php endif; ?>
</div>
<?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([
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
]) ?>

+ 7
- 0
backend/views/site/login.php Прегледај датотеку

@@ -14,6 +14,13 @@ $this->params['breadcrumbs'][] = $this->title;

<div class="row">
<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']); ?>
<?= $form->field($model, 'email') ?>
<?= $form->field($model, 'password')->passwordInput() ?>

+ 4
- 4
backend/views/user/index.php Прегледај датотеку

@@ -11,14 +11,15 @@ use common\models\Commande ;
$this->title = 'Utilisateurs';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="user-index">


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

</div>

BIN
backend/web/.sass-cache/c8fef7d48da4dc7f024edc2b0fada9d8d6de5dac/screen.scssc Прегледај датотеку


+ 187
- 170
backend/web/css/screen.css
Разлика између датотеке није приказан због своје велике величине
Прегледај датотеку


+ 14
- 0
backend/web/sass/screen.scss Прегледај датотеку

@@ -27,6 +27,20 @@ a {
}
}

#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 {
font-family: 'comfortaabold' ;
text-align: center ;

+ 49
- 2
common/helpers/Url.php Прегледај датотеку

@@ -17,7 +17,7 @@ class Url
$server_name = Yii::$app->getRequest()->serverName ;
if($server_name == 'localhost')
{
return '../../frontend/web/' ;
return 'http://localhost/reservation_pain/frontend/web/' ;
}
elseif($server_name == 'www.laboiteapain.net' ||
$server_name == 'boulanger.laboiteapain.net')
@@ -29,6 +29,11 @@ class Url
{
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()
@@ -36,7 +41,7 @@ class Url
$server_name = Yii::$app->getRequest()->serverName ;
if($server_name == 'localhost')
{
return '../../backend/web/' ;
return 'http://localhost/reservation_pain/backend/web/' ;
}
elseif($server_name == 'www.laboiteapain.net' ||
$server_name == 'boulanger.laboiteapain.net')
@@ -48,5 +53,47 @@ class Url
{
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 Прегледај датотеку

@@ -0,0 +1,3 @@
<?php
return [
];

+ 21
- 0
environments/demo/backend/web/index.php Прегледај датотеку

@@ -0,0 +1,21 @@
<?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 Прегледај датотеку

@@ -0,0 +1,3 @@
<?php
return [
];

+ 3
- 0
environments/demo/console/config/main-local.php Прегледај датотеку

@@ -0,0 +1,3 @@
<?php
return [
];

+ 3
- 0
environments/demo/console/config/params-local.php Прегледај датотеку

@@ -0,0 +1,3 @@
<?php
return [
];

+ 3
- 0
environments/demo/frontend/config/params-local.php Прегледај датотеку

@@ -0,0 +1,3 @@
<?php
return [
];

+ 21
- 0
environments/demo/frontend/web/index.php Прегледај датотеку

@@ -0,0 +1,21 @@
<?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 Прегледај датотеку

@@ -0,0 +1,32 @@
#!/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 Прегледај датотеку

@@ -35,14 +35,21 @@ AppAsset::register($this);
<body class="<?php if($is_home): echo 'home' ; endif; ?><?php if(!Yii::$app->user->isGuest): ?> connected<?php endif; ?>">
<?php $this->beginBody() ?>
<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">
<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; ?>
<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="" />
<!--La boîte à pain-->
</a>
<nav class="">
<ul class="nav nav-pills">

+ 3
- 0
frontend/views/site/cgv.php Прегледај датотеку

@@ -1,3 +1,6 @@
<?php
$this->title = 'Conditions générales de service';
?>

<div class="container content-text">

+ 8
- 0
frontend/views/site/login.php Прегледај датотеку

@@ -16,6 +16,14 @@ $this->params['breadcrumbs'][] = $this->title;
<div class="row">
<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>
<?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']); ?>
<?= $form->field($model, 'email') ?>
<?= $form->field($model, 'password')->passwordInput() ?>

+ 45
- 36
frontend/views/site/signup.php Прегледај датотеку

@@ -14,46 +14,55 @@ $this->params['breadcrumbs'][] = $this->title;
<div class="row">
<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 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 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>

BIN
frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/screen.scssc Прегледај датотеку


+ 79
- 66
frontend/web/css/screen.css Прегледај датотеку

@@ -178,17 +178,30 @@ ul li {
}

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

/* line 229, ../sass/screen.scss */
/* line 241, ../sass/screen.scss */
#content {
position: relative;
padding: 20px 0px;
@@ -259,12 +272,12 @@ ul li {
padding-top: 35px;
min-height: 500px;
}
/* line 236, ../sass/screen.scss */
/* line 248, ../sass/screen.scss */
#content h1#title-site {
font-family: "comfortaalight";
font-size: 50px;
}
/* line 243, ../sass/screen.scss */
/* line 255, ../sass/screen.scss */
#content h2 {
color: black;
padding-bottom: 15px;
@@ -275,16 +288,16 @@ ul li {
position: relative;
margin-top: 30px;
}
/* line 254, ../sass/screen.scss */
/* line 266, ../sass/screen.scss */
#content h3 {
color: black;
font-size: 20px;
}
/* line 262, ../sass/screen.scss */
/* line 274, ../sass/screen.scss */
#content #description img {
width: 100%;
}
/* line 267, ../sass/screen.scss */
/* line 279, ../sass/screen.scss */
#content #main-img {
max-width: 100%;
border: solid 1px #e0e0e0;
@@ -293,76 +306,76 @@ ul li {
-webkit-border-radius: 5px;
border-radius: 5px;
}
/* line 274, ../sass/screen.scss */
/* line 286, ../sass/screen.scss */
#content #row-presentation {
text-align: center;
}
/* line 276, ../sass/screen.scss */
/* line 288, ../sass/screen.scss */
#content #row-presentation h1 {
color: black;
}
/* line 279, ../sass/screen.scss */
/* line 291, ../sass/screen.scss */
#content #row-presentation strong {
font-family: "myriadpro-light";
font-size: 20px;
color: #B17A48;
}
/* line 286, ../sass/screen.scss */
/* line 298, ../sass/screen.scss */
#content #row-signup {
text-align: center;
margin-top: 40px;
}
/* line 290, ../sass/screen.scss */
/* line 302, ../sass/screen.scss */
#content #row-signup a.btn {
padding: 13px 32px;
font-size: 25px;
}
/* line 296, ../sass/screen.scss */
/* line 308, ../sass/screen.scss */
#content #row-clients-boulanger {
margin-bottom: 50px;
text-align: center;
}
/* line 299, ../sass/screen.scss */
/* line 311, ../sass/screen.scss */
#content #row-clients-boulanger h2 {
text-align: center;
margin-bottom: 15px;
padding-bottom: 0px;
}
/* line 303, ../sass/screen.scss */
/* line 315, ../sass/screen.scss */
#content #row-clients-boulanger h2 img {
height: 70px;
margin-bottom: 60px;
}
/* line 309, ../sass/screen.scss */
/* line 321, ../sass/screen.scss */
#content #row-clients-boulanger ul {
text-align: left;
margin-left: 20%;
}
/* line 312, ../sass/screen.scss */
/* line 324, ../sass/screen.scss */
#content #row-clients-boulanger ul li {
list-style-type: circle;
color: #BB8757;
}
/* line 318, ../sass/screen.scss */
/* line 330, ../sass/screen.scss */
#content #row-clients-boulanger #clients {
border-right: dotted 1px gray;
}
/* line 324, ../sass/screen.scss */
/* line 336, ../sass/screen.scss */
#content #row-clients-boulanger .boulanger .prix span {
background-color: #F8F1DD;
}
/* line 327, ../sass/screen.scss */
/* line 339, ../sass/screen.scss */
#content #row-clients-boulanger .boulanger .prix span a {
color: #BB8757;
text-decoration: none;
}
/* line 335, ../sass/screen.scss */
/* line 347, ../sass/screen.scss */
#content #row-clients-boulanger .prix {
padding-top: 15px;
font-size: 18px;
text-align: center;
}
/* line 340, ../sass/screen.scss */
/* line 352, ../sass/screen.scss */
#content #row-clients-boulanger .prix span {
color: #BB8757;
border: solid 1px #BB8757;
@@ -377,7 +390,7 @@ ul li {
-webkit-border-radius: 5px;
border-radius: 5px;
}
/* line 355, ../sass/screen.scss */
/* line 367, ../sass/screen.scss */
#content #row-clients-boulanger #periode-essai {
margin-top: 8px;
text-align: center;
@@ -385,50 +398,50 @@ ul li {
color: gray;
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 {
color: black;
}
/* line 371, ../sass/screen.scss */
/* line 383, ../sass/screen.scss */
#content #modal-tarifs .exemple {
color: gray;
}

/* line 378, ../sass/screen.scss */
/* line 390, ../sass/screen.scss */
#content #contact {
display: none;
}
/* line 382, ../sass/screen.scss */
/* line 394, ../sass/screen.scss */
#content #contact .icon {
width: 55px;
top: -15px;
margin-left: -70px;
}
/* line 391, ../sass/screen.scss */
/* line 403, ../sass/screen.scss */
#content #contact .form-control:focus {
/*@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px $jaune) ;
border-color: $jaune ;*/
}
/* line 396, ../sass/screen.scss */
/* line 408, ../sass/screen.scss */
#content #contact .form-group {
text-align: center;
}
/* line 400, ../sass/screen.scss */
/* line 412, ../sass/screen.scss */
#content #contact .img-right {
float: right;
}
/* line 403, ../sass/screen.scss */
/* line 415, ../sass/screen.scss */
#content #contact .img-right img {
width: 300px;
}

/* line 410, ../sass/screen.scss */
/* line 422, ../sass/screen.scss */
.form-control:focus {
/*@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px $jaune) ;
border-color: $jaune ;*/
}

/* line 415, ../sass/screen.scss */
/* line 427, ../sass/screen.scss */
#footer {
position: absolute;
bottom: 0px;
@@ -441,7 +454,7 @@ ul li {
padding-top: 30px;
padding-bottom: 60px;
}
/* line 429, ../sass/screen.scss */
/* line 441, ../sass/screen.scss */
#footer a {
font-family: "myriadpro-regular";
color: #7e7e7e;
@@ -454,29 +467,29 @@ ul li {
border-right: solid 1px #7e7e7e;
border-right: solid 1px white;
}
/* line 440, ../sass/screen.scss */
/* line 452, ../sass/screen.scss */
#footer a:hover {
color: gray;
}
/* line 444, ../sass/screen.scss */
/* line 456, ../sass/screen.scss */
#footer a:last-child {
border: 0px none;
}

/* line 450, ../sass/screen.scss */
/* line 462, ../sass/screen.scss */
#content #mentions {
padding-top: 20px;
}
/* line 453, ../sass/screen.scss */
/* line 465, ../sass/screen.scss */
#content #mentions div.content {
width: 60%;
font-size: 90%;
}
/* line 458, ../sass/screen.scss */
/* line 470, ../sass/screen.scss */
#content #mentions p {
padding-bottom: 15px;
}
/* line 462, ../sass/screen.scss */
/* line 474, ../sass/screen.scss */
#content #mentions h2 {
color: black;
padding-bottom: 40px;
@@ -484,7 +497,7 @@ ul li {
line-height: 35px;
font-family: "myriadpro-regular";
}
/* line 470, ../sass/screen.scss */
/* line 482, ../sass/screen.scss */
#content #mentions h3 {
font-family: "comfortaaregular";
font-size: 18px;
@@ -493,58 +506,58 @@ ul li {
color: black;
}

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

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

/* line 493, ../sass/screen.scss */
/* line 505, ../sass/screen.scss */
#profil-user .form-group.field-user-no_mail label {
font-weight: normal;
}
/* line 497, ../sass/screen.scss */
/* line 509, ../sass/screen.scss */
#profil-user .form-group label {
cursor: pointer;
}
/* line 502, ../sass/screen.scss */
/* line 514, ../sass/screen.scss */
#profil-user #mails-jours-prod .form-group {
float: left;
margin-right: 15px;
}
/* line 505, ../sass/screen.scss */
/* line 517, ../sass/screen.scss */
#profil-user #mails-jours-prod .form-group label {
font-weight: normal;
}
/* line 511, ../sass/screen.scss */
/* line 523, ../sass/screen.scss */
#profil-user p.strong {
font-weight: bold;
}

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

/* signup */
/* line 528, ../sass/screen.scss */
/* line 540, ../sass/screen.scss */
.modal-backdrop {
z-index: -1;
}

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

/* line 543, ../sass/screen.scss */
/* line 555, ../sass/screen.scss */
#modal-cgv .modal-body h2 {
margin-bottom: 5px;
padding-bottom: 0px;
@@ -552,20 +565,20 @@ ul li {
margin-top: 0px;
}

/* line 553, ../sass/screen.scss */
/* line 565, ../sass/screen.scss */
#form-signup #client-boulanger {
margin-bottom: 30px;
}
/* line 558, ../sass/screen.scss */
/* line 570, ../sass/screen.scss */
#form-signup #signupform-id_etablissement option:disabled {
font-weight: bold;
color: black;
}
/* line 564, ../sass/screen.scss */
/* line 576, ../sass/screen.scss */
#form-signup #champs-boulanger {
display: none;
}
/* line 568, ../sass/screen.scss */
/* line 580, ../sass/screen.scss */
#form-signup #boutons-inscrire {
margin-top: 30px;
}

+ 12
- 0
frontend/web/sass/screen.scss Прегледај датотеку

@@ -145,6 +145,18 @@ ul {
}
}

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

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

Loading…
Откажи
Сачувај