瀏覽代碼

Distinction visuelle entre la section prod et la section dév

Ajout du mot "Dév." à côté du logo lorsque l'on est dans l'environnement de développement.
master
keun 7 年之前
父節點
當前提交
fb172020de
共有 8 個文件被更改,包括 287 次插入227 次删除
  1. +4
    -0
      backend/views/layouts/main.php
  2. 二進制
      backend/web/.sass-cache/c8fef7d48da4dc7f024edc2b0fada9d8d6de5dac/screen.scssc
  3. +182
    -169
      backend/web/css/screen.css
  4. +12
    -0
      backend/web/sass/screen.scss
  5. +4
    -1
      frontend/views/layouts/main.php
  6. 二進制
      frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/screen.scssc
  7. +70
    -57
      frontend/web/css/screen.css
  8. +15
    -0
      frontend/web/sass/screen.scss

+ 4
- 0
backend/views/layouts/main.php 查看文件

</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 endif; ?>
<?php if(!Yii::$app->user->isGuest): ?> <?php if(!Yii::$app->user->isGuest): ?>
<div class="nom-boulange"> <div class="nom-boulange">
<?php if(Yii::$app->user->identity->status == User::STATUS_BOULANGER): ?> <?php if(Yii::$app->user->identity->status == User::STATUS_BOULANGER): ?>

二進制
backend/web/.sass-cache/c8fef7d48da4dc7f024edc2b0fada9d8d6de5dac/screen.scssc 查看文件


+ 182
- 169
backend/web/css/screen.css
文件差異過大導致無法顯示
查看文件


+ 12
- 0
backend/web/sass/screen.scss 查看文件

} }
} }


#env-dev {
font-family: 'comfortaabold' ;
text-align: center ;
font-size: 18px ;
padding: 5px 10px ;
color: white ;
position: fixed ;
top: 9px ;
left: 66px ;
z-index: 1031 ;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus { .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
background-color: $color1 ; background-color: $color1 ;
border: solid 1px $color1 ; border: solid 1px $color1 ;

+ 4
- 1
frontend/views/layouts/main.php 查看文件

</head> </head>
<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>
<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 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--> <!--La boîte à pain-->

二進制
frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/screen.scssc 查看文件


+ 70
- 57
frontend/web/css/screen.css 查看文件

position: relative; position: relative;
} }
/* line 158, ../sass/screen.scss */ /* line 158, ../sass/screen.scss */
#header #env-dev {
font-family: "comfortaabold";
text-align: center;
font-size: 18px;
padding-top: 10px;
padding-bottom: 10px;
color: #BB8757;
background-color: transparent;
position: absolute;
top: 18px;
left: 79px;
}
/* line 171, ../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 166, ../sass/screen.scss */
/* line 179, ../sass/screen.scss */
#header #link-home img { #header #link-home img {
height: 60px; height: 60px;
margin-bottom: 5px; margin-bottom: 5px;
} }
/* line 172, ../sass/screen.scss */
/* line 185, ../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 177, ../sass/screen.scss */
/* line 190, ../sass/screen.scss */
#header nav { #header nav {
padding-top: 22px; padding-top: 22px;
} }
/* line 179, ../sass/screen.scss */
/* line 192, ../sass/screen.scss */
#header nav ul { #header nav ul {
float: right; float: right;
} }
/* line 182, ../sass/screen.scss */
/* line 195, ../sass/screen.scss */
#header nav ul li a { #header nav ul li a {
text-decoration: none; text-decoration: none;
color: #505050; color: #505050;
} }
/* line 185, ../sass/screen.scss */
/* line 198, ../sass/screen.scss */
#header nav ul li a.active { #header nav ul li a.active {
background-color: white; background-color: white;
} }
/* line 189, ../sass/screen.scss */
/* line 202, ../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 199, ../sass/screen.scss */
/* line 212, ../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 216, ../sass/screen.scss */
/* line 229, ../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 223, ../sass/screen.scss */
/* line 236, ../sass/screen.scss */
#content h1#title-site { #content h1#title-site {
font-family: "comfortaalight"; font-family: "comfortaalight";
font-size: 50px; font-size: 50px;
} }
/* line 230, ../sass/screen.scss */
/* line 243, ../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 241, ../sass/screen.scss */
/* line 254, ../sass/screen.scss */
#content h3 { #content h3 {
color: black; color: black;
font-size: 20px; font-size: 20px;
} }
/* line 249, ../sass/screen.scss */
/* line 262, ../sass/screen.scss */
#content #description img { #content #description img {
width: 100%; width: 100%;
} }
/* line 254, ../sass/screen.scss */
/* line 267, ../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 261, ../sass/screen.scss */
/* line 274, ../sass/screen.scss */
#content #row-presentation { #content #row-presentation {
text-align: center; text-align: center;
} }
/* line 265, ../sass/screen.scss */
/* line 278, ../sass/screen.scss */
#content #row-signup { #content #row-signup {
text-align: center; text-align: center;
margin-top: 40px; margin-top: 40px;
} }
/* line 269, ../sass/screen.scss */
/* line 282, ../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 275, ../sass/screen.scss */
/* line 288, ../sass/screen.scss */
#content #row-clients-boulanger { #content #row-clients-boulanger {
margin-bottom: 50px; margin-bottom: 50px;
} }
/* line 277, ../sass/screen.scss */
/* line 290, ../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 281, ../sass/screen.scss */
/* line 294, ../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 287, ../sass/screen.scss */
/* line 300, ../sass/screen.scss */
#content #row-clients-boulanger ul { #content #row-clients-boulanger ul {
text-align: center; text-align: center;
} }
/* line 289, ../sass/screen.scss */
/* line 302, ../sass/screen.scss */
#content #row-clients-boulanger ul li { #content #row-clients-boulanger ul li {
list-style-type: none; list-style-type: none;
} }
/* line 294, ../sass/screen.scss */
/* line 307, ../sass/screen.scss */
#content #row-clients-boulanger #clients { #content #row-clients-boulanger #clients {
border-right: dotted 1px gray; border-right: dotted 1px gray;
} }
/* line 298, ../sass/screen.scss */
/* line 311, ../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 303, ../sass/screen.scss */
/* line 316, ../sass/screen.scss */
#content #row-clients-boulanger .prix span { #content #row-clients-boulanger .prix span {
color: #BB8757; color: #BB8757;
background-color: #F8F1DD; background-color: #F8F1DD;
-webkit-border-radius: 10px; -webkit-border-radius: 10px;
border-radius: 10px; border-radius: 10px;
} }
/* line 317, ../sass/screen.scss */
/* line 330, ../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;
font-family: "comfortaaregular"; font-family: "comfortaaregular";
} }


/* line 329, ../sass/screen.scss */
/* line 342, ../sass/screen.scss */
#content #contact { #content #contact {
display: none; display: none;
} }
/* line 333, ../sass/screen.scss */
/* line 346, ../sass/screen.scss */
#content #contact .icon { #content #contact .icon {
width: 55px; width: 55px;
top: -15px; top: -15px;
margin-left: -70px; margin-left: -70px;
} }
/* line 342, ../sass/screen.scss */
/* line 355, ../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 347, ../sass/screen.scss */
/* line 360, ../sass/screen.scss */
#content #contact .form-group { #content #contact .form-group {
text-align: center; text-align: center;
} }
/* line 351, ../sass/screen.scss */
/* line 364, ../sass/screen.scss */
#content #contact .img-right { #content #contact .img-right {
float: right; float: right;
} }
/* line 354, ../sass/screen.scss */
/* line 367, ../sass/screen.scss */
#content #contact .img-right img { #content #contact .img-right img {
width: 300px; width: 300px;
} }


/* line 361, ../sass/screen.scss */
/* line 374, ../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 366, ../sass/screen.scss */
/* line 379, ../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 382, ../sass/screen.scss */
/* line 395, ../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 391, ../sass/screen.scss */
/* line 404, ../sass/screen.scss */
#footer a:hover { #footer a:hover {
color: gray; color: gray;
} }
/* line 395, ../sass/screen.scss */
/* line 408, ../sass/screen.scss */
#footer a:last-child { #footer a:last-child {
border: 0px none; border: 0px none;
} }


/* line 401, ../sass/screen.scss */
/* line 414, ../sass/screen.scss */
#content #mentions { #content #mentions {
padding-top: 20px; padding-top: 20px;
} }
/* line 404, ../sass/screen.scss */
/* line 417, ../sass/screen.scss */
#content #mentions div.content { #content #mentions div.content {
width: 60%; width: 60%;
font-size: 90%; font-size: 90%;
} }
/* line 409, ../sass/screen.scss */
/* line 422, ../sass/screen.scss */
#content #mentions p { #content #mentions p {
padding-bottom: 15px; padding-bottom: 15px;
} }
/* line 413, ../sass/screen.scss */
/* line 426, ../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 421, ../sass/screen.scss */
/* line 434, ../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 432, ../sass/screen.scss */
/* line 445, ../sass/screen.scss */
.mentions #main, .mentions body { .mentions #main, .mentions body {
background-color: white; background-color: white;
} }


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


/* line 444, ../sass/screen.scss */
/* line 457, ../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 448, ../sass/screen.scss */
/* line 461, ../sass/screen.scss */
#profil-user .form-group label { #profil-user .form-group label {
cursor: pointer; cursor: pointer;
} }
/* line 453, ../sass/screen.scss */
/* line 466, ../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 456, ../sass/screen.scss */
/* line 469, ../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 462, ../sass/screen.scss */
/* line 475, ../sass/screen.scss */
#profil-user p.strong { #profil-user p.strong {
font-weight: bold; font-weight: bold;
} }


/* login */ /* login */
/* line 471, ../sass/screen.scss */
/* line 484, ../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 479, ../sass/screen.scss */
/* line 492, ../sass/screen.scss */
.modal-backdrop { .modal-backdrop {
z-index: -1; z-index: -1;
} }


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


/* line 494, ../sass/screen.scss */
/* line 507, ../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 504, ../sass/screen.scss */
/* line 517, ../sass/screen.scss */
#form-signup #client-boulanger { #form-signup #client-boulanger {
margin-bottom: 30px; margin-bottom: 30px;
} }
/* line 509, ../sass/screen.scss */
/* line 522, ../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 515, ../sass/screen.scss */
/* line 528, ../sass/screen.scss */
#form-signup #champs-boulanger { #form-signup #champs-boulanger {
display: none; display: none;
} }
/* line 519, ../sass/screen.scss */
/* line 532, ../sass/screen.scss */
#form-signup #boutons-inscrire { #form-signup #boutons-inscrire {
margin-top: 30px; margin-top: 30px;
} }

+ 15
- 0
frontend/web/sass/screen.scss 查看文件

.container { .container {
position: relative ; position: relative ;
} }
#env-dev {
font-family: 'comfortaabold' ;
text-align: center ;
font-size: 18px ;
padding-top: 10px ;
padding-bottom: 10px ;
color: $color1 ;
background-color: transparent ;
position: absolute ;
top: 18px ;
left: 79px ;
}


#link-home { #link-home {
position: absolute ; position: absolute ;
} }
} }




@import "_systeme_commandes.scss" ; @import "_systeme_commandes.scss" ;
@import "_responsive.scss" ; @import "_responsive.scss" ;



Loading…
取消
儲存