Browse Source

Intégration Souke

feature/souke
Guillaume Bourgeois 7 months ago
parent
commit
b93079c2dd
18 changed files with 459 additions and 474 deletions
  1. +78
    -66
      common/web/css/screen.css
  2. +47
    -24
      common/web/sass/_common.scss
  3. +3
    -3
      domain/Order/Order/OrderRepository.php
  4. +1
    -1
      domain/Payment/PaymentSolver.php
  5. +1
    -1
      producer/controllers/OrderController.php
  6. +2
    -1
      producer/views/credit/history.php
  7. +12
    -4
      producer/views/layouts/main.php
  8. +72
    -68
      producer/views/order/confirm.php
  9. +10
    -9
      producer/views/order/history.php
  10. +23
    -29
      producer/views/order/order.php
  11. +144
    -162
      producer/web/css/screen.css
  12. +5
    -7
      producer/web/sass/_layout.scss
  13. +1
    -1
      producer/web/sass/_responsive.scss
  14. +13
    -0
      producer/web/sass/credit/_history.scss
  15. +15
    -62
      producer/web/sass/order/_confirm.scss
  16. +27
    -35
      producer/web/sass/order/_order.scss
  17. +4
    -0
      producer/web/sass/site/_index.scss
  18. +1
    -1
      producer/web/sass/subscription/_form.scss

+ 78
- 66
common/web/css/screen.css View File

#main { #main {
/* Boutons */ /* Boutons */
/* Alertes */ /* Alertes */
/* Tableaux */
/* Tables */
/* Formulaires */ /* Formulaires */
} }
/* line 5, ../sass/_common.scss */ /* line 5, ../sass/_common.scss */
#main .alert.alert-dark { #main .alert.alert-dark {
background-color: #ece4d8 !important; background-color: #ece4d8 !important;
} }
/* line 70, ../sass/_common.scss */
#main .table {
border: 0px none;
/* line 67, ../sass/_common.scss */
#main .alert a {
color: black;
}
/* line 71, ../sass/_common.scss */
#main .alert p:last-child {
margin-bottom: 0px;
} }
/* line 73, ../sass/_common.scss */
#main .table.table-striped > tbody > tr:nth-of-type(2n) > *,
/* line 82, ../sass/_common.scss */
#main .table thead tr th { #main .table thead tr th {
font-family: 'worksans_semibold';
}
/* line 92, ../sass/_common.scss */
#main .table.table-striped {
border: 0px none;
}
/* line 95, ../sass/_common.scss */
#main .table.table-striped.table-striped > tbody > tr:nth-of-type(2n) > *,
#main .table.table-striped thead tr th {
background-color: #ece4d8; background-color: #ece4d8;
} }
/* line 78, ../sass/_common.scss */
#main .table.table-striped > tbody > tr:nth-of-type(2n+1) > * {
/* line 100, ../sass/_common.scss */
#main .table.table-striped.table-striped > tbody > tr:nth-of-type(2n+1) > * {
background-color: #f8f7f3; background-color: #f8f7f3;
} }
/* line 82, ../sass/_common.scss */
#main .table thead tr th,
#main .table tbody tr td {
/* line 104, ../sass/_common.scss */
#main .table.table-striped thead tr th,
#main .table.table-striped tbody tr td {
-moz-box-shadow: -20px 0 20px -20px rgba(0, 0, 0, 0.2) inset; -moz-box-shadow: -20px 0 20px -20px rgba(0, 0, 0, 0.2) inset;
-webkit-box-shadow: -20px 0 20px -20px rgba(0, 0, 0, 0.2) inset; -webkit-box-shadow: -20px 0 20px -20px rgba(0, 0, 0, 0.2) inset;
box-shadow: -20px 0 20px -20px rgba(0, 0, 0, 0.2) inset; box-shadow: -20px 0 20px -20px rgba(0, 0, 0, 0.2) inset;
} }
/* line 86, ../sass/_common.scss */
#main .table thead tr th:last-child,
#main .table tbody tr td:last-child {
/* line 108, ../sass/_common.scss */
#main .table.table-striped thead tr th:last-child,
#main .table.table-striped tbody tr td:last-child {
-moz-box-shadow: none; -moz-box-shadow: none;
-webkit-box-shadow: none; -webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* line 92, ../sass/_common.scss */
#main .table thead tr {
/* line 114, ../sass/_common.scss */
#main .table.table-striped thead tr {
border: 0px none; border: 0px none;
} }
/* line 94, ../sass/_common.scss */
#main .table thead tr th {
/* line 116, ../sass/_common.scss */
#main .table.table-striped thead tr th {
border: 0px none; border: 0px none;
padding: 10px 20px; padding: 10px 20px;
} }
/* line 102, ../sass/_common.scss */
#main .table tbody tr {
/* line 124, ../sass/_common.scss */
#main .table.table-striped tbody tr {
border: 0px none; border: 0px none;
} }
/* line 104, ../sass/_common.scss */
#main .table tbody tr td {
/* line 126, ../sass/_common.scss */
#main .table.table-striped tbody tr td {
border: 0px none; border: 0px none;
padding: 20px; padding: 20px;
} }
/* line 114, ../sass/_common.scss */
/* line 137, ../sass/_common.scss */
#main form .control-label { #main form .control-label {
font-family: 'worksans_medium'; font-family: 'worksans_medium';
} }
/* line 118, ../sass/_common.scss */
/* line 141, ../sass/_common.scss */
#main form input[type="text"], #main form input[type="text"],
#main form input[type="email"], #main form input[type="email"],
#main form input[type="password"], #main form input[type="password"],
border-radius: 0px; border-radius: 0px;
border: solid 1px #b7ab9b; border: solid 1px #b7ab9b;
} }
/* line 128, ../sass/_common.scss */
/* line 151, ../sass/_common.scss */
#main form .form-control:hover { #main form .form-control:hover {
border: solid 1px gray; border: solid 1px gray;
} }
/* line 132, ../sass/_common.scss */
/* line 155, ../sass/_common.scss */
#main form .form-control:focus { #main form .form-control:focus {
-moz-box-shadow: 0px 0px 0px 1px #ee6f42; -moz-box-shadow: 0px 0px 0px 1px #ee6f42;
-webkit-box-shadow: 0px 0px 0px 1px #ee6f42; -webkit-box-shadow: 0px 0px 0px 1px #ee6f42;
box-shadow: 0px 0px 0px 1px #ee6f42; box-shadow: 0px 0px 0px 1px #ee6f42;
border: solid 1px #ee6f42; border: solid 1px #ee6f42;
} }
/* line 138, ../sass/_common.scss */
/* line 161, ../sass/_common.scss */
#main form .has-error .control-label { #main form .has-error .control-label {
color: black; color: black;
} }
/* line 142, ../sass/_common.scss */
/* line 165, ../sass/_common.scss */
#main form .has-error .form-control:focus, #main form .has-error .form-control { #main form .has-error .form-control:focus, #main form .has-error .form-control {
-moz-box-shadow: none; -moz-box-shadow: none;
-webkit-box-shadow: none; -webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
border-color: #a94442; border-color: #a94442;
} }
/* line 147, ../sass/_common.scss */
/* line 170, ../sass/_common.scss */
#main form .has-error .help-block-error { #main form .has-error .help-block-error {
color: #a94442; color: #a94442;
} }
/* line 152, ../sass/_common.scss */
/* line 175, ../sass/_common.scss */
#main form .form-buttons { #main form .form-buttons {
text-align: right; text-align: right;
} }


/* Divers */ /* Divers */
/* line 159, ../sass/_common.scss */
/* line 182, ../sass/_common.scss */
.float-left { .float-left {
float: left; float: left;
} }


/* line 163, ../sass/_common.scss */
/* line 186, ../sass/_common.scss */
.float-right { .float-right {
float: right; float: right;
} }


/* line 167, ../sass/_common.scss */
/* line 190, ../sass/_common.scss */
.clr { .clr {
clear: both; clear: both;
} }


/* Navigation utilisateur en haut du site */ /* Navigation utilisateur en haut du site */
/* line 172, ../sass/_common.scss */
/* line 195, ../sass/_common.scss */
.container-nav-user-top { .container-nav-user-top {
position: relative; position: relative;
z-index: 999; z-index: 999;
} }
/* line 176, ../sass/_common.scss */
/* line 199, ../sass/_common.scss */
.container-nav-user-top .nav-user-top { .container-nav-user-top .nav-user-top {
position: absolute; position: absolute;
top: 0px; top: 0px;
background-color: white; background-color: white;
z-index: 100; z-index: 100;
} }
/* line 183, ../sass/_common.scss */
/* line 206, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar { .container-nav-user-top .nav-user-top .navbar {
-moz-border-radius: 0px; -moz-border-radius: 0px;
-webkit-border-radius: 0px; -webkit-border-radius: 0px;
margin: 0px; margin: 0px;
min-height: 0px; min-height: 0px;
} }
/* line 190, ../sass/_common.scss */
/* line 213, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul { .container-nav-user-top .nav-user-top .navbar ul {
position: relative; position: relative;
left: -10px; left: -10px;
} }
/* line 194, ../sass/_common.scss */
/* line 217, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul li { .container-nav-user-top .nav-user-top .navbar ul li {
padding-left: 5px; padding-left: 5px;
} }
/* line 197, ../sass/_common.scss */
/* line 220, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul li a.nav-link { .container-nav-user-top .nav-user-top .navbar ul li a.nav-link {
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
color: black; color: black;
font-size: 16px; font-size: 16px;
} }
/* line 206, ../sass/_common.scss */
/* line 229, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul li a.nav-link:hover, .container-nav-user-top .nav-user-top .navbar ul li a.nav-link:focus, .container-nav-user-top .nav-user-top .navbar ul li a.nav-link.active { .container-nav-user-top .nav-user-top .navbar ul li a.nav-link:hover, .container-nav-user-top .nav-user-top .navbar ul li a.nav-link:focus, .container-nav-user-top .nav-user-top .navbar ul li a.nav-link.active {
background: none; background: none;
color: #ee6f42; color: #ee6f42;
} }
/* line 211, ../sass/_common.scss */
/* line 234, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul li a.nav-link .bi { .container-nav-user-top .nav-user-top .navbar ul li a.nav-link .bi {
color: #ee6f42; color: #ee6f42;
font-size: 16px; font-size: 16px;
position: relative; position: relative;
top: 1px; top: 1px;
} }
/* line 221, ../sass/_common.scss */
/* line 244, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a { .container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a {
padding: 2px 20px; padding: 2px 20px;
} }
/* line 224, ../sass/_common.scss */
/* line 247, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a:hover, .container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a:focus { .container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a:hover, .container-nav-user-top .nav-user-top .navbar ul li .dropdown-menu a:focus {
background-color: #ece4d8; background-color: #ece4d8;
} }
/* line 233, ../sass/_common.scss */
/* line 256, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .dropdown-menu { .container-nav-user-top .nav-user-top .dropdown-menu {
z-index: 9999; z-index: 9999;
} }
/* line 235, ../sass/_common.scss */
/* line 258, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .dropdown-menu .divider.dropdown-header { .container-nav-user-top .nav-user-top .dropdown-menu .divider.dropdown-header {
padding: 0px; padding: 0px;
} }


@media screen and (max-width: 991px) { @media screen and (max-width: 991px) {
/* line 245, ../sass/_common.scss */
/* line 268, ../sass/_common.scss */
.container-nav-user-top { .container-nav-user-top {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
width: 100%; width: 100%;
max-width: none; max-width: none;
} }
/* line 251, ../sass/_common.scss */
/* line 274, ../sass/_common.scss */
.container-nav-user-top .nav-user-top { .container-nav-user-top .nav-user-top {
position: relative; position: relative;
} }
/* line 255, ../sass/_common.scss */
/* line 278, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul { .container-nav-user-top .nav-user-top .navbar ul {
width: 100%; width: 100%;
display: block; display: block;
margin-right: 0px; margin-right: 0px;
text-align: center; text-align: center;
} }
/* line 261, ../sass/_common.scss */
/* line 284, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul li { .container-nav-user-top .nav-user-top .navbar ul li {
display: inline-block; display: inline-block;
} }
/* line 265, ../sass/_common.scss */
/* line 288, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar ul li.nav-item-producers .dropdown-menu { .container-nav-user-top .nav-user-top .navbar ul li.nav-item-producers .dropdown-menu {
right: -95px; right: -95px;
} }
/* line 272, ../sass/_common.scss */
/* line 295, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar .link-text { .container-nav-user-top .nav-user-top .navbar .link-text {
display: none; display: none;
} }
/* line 276, ../sass/_common.scss */
/* line 299, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar .dropdown-menu { .container-nav-user-top .nav-user-top .navbar .dropdown-menu {
position: absolute; position: absolute;
right: 5%; right: 5%;
-webkit-box-shadow: 0px 0px 4px gray; -webkit-box-shadow: 0px 0px 4px gray;
box-shadow: 0px 0px 4px gray; box-shadow: 0px 0px 4px gray;
} }
/* line 285, ../sass/_common.scss */
/* line 308, ../sass/_common.scss */
.container-nav-user-top .nav-user-top .navbar .dropdown-menu li a { .container-nav-user-top .nav-user-top .navbar .dropdown-menu li a {
padding-left: 15px; padding-left: 15px;
} }
} }
/* Block de date */ /* Block de date */
/* line 296, ../sass/_common.scss */
/* line 319, ../sass/_common.scss */
.block-date { .block-date {
margin: 0px auto; margin: 0px auto;
padding-top: 0px; padding-top: 0px;
text-align: center; text-align: center;
} }
/* line 301, ../sass/_common.scss */
/* line 324, ../sass/_common.scss */
.block-date .day { .block-date .day {
text-transform: capitalize; text-transform: capitalize;
line-height: 15px; line-height: 15px;
font-size: 13px; font-size: 13px;
text-transform: uppercase; text-transform: uppercase;
} }
/* line 308, ../sass/_common.scss */
/* line 331, ../sass/_common.scss */
.block-date .num { .block-date .num {
font-size: 30px; font-size: 30px;
line-height: 35px; line-height: 35px;
font-weight: bold; font-weight: bold;
} }
/* line 314, ../sass/_common.scss */
/* line 337, ../sass/_common.scss */
.block-date .month { .block-date .month {
text-transform: uppercase; text-transform: uppercase;
line-height: 15px; line-height: 15px;
} }


/* Page d'erreur */ /* Page d'erreur */
/* line 324, ../sass/_common.scss */
/* line 347, ../sass/_common.scss */
#main #content .site-error .col-lg-6 { #main #content .site-error .col-lg-6 {
margin: 0px auto; margin: 0px auto;
float: none; float: none;
} }
/* line 330, ../sass/_common.scss */
/* line 353, ../sass/_common.scss */
#main #content .site-error .panel .panel-body { #main #content .site-error .panel .panel-body {
padding-bottom: 0px; padding-bottom: 0px;
} }
/* line 334, ../sass/_common.scss */
/* line 357, ../sass/_common.scss */
#main #content .site-error .panel h2 { #main #content .site-error .panel h2 {
text-transform: none; text-transform: none;
font-size: 25px; font-size: 25px;
margin-top: 0px; margin-top: 0px;
margin-bottom: 0px; margin-bottom: 0px;
} }
/* line 342, ../sass/_common.scss */
/* line 365, ../sass/_common.scss */
#main #content .site-error .alert { #main #content .site-error .alert {
padding-bottom: 5px; padding-bottom: 5px;
} }
/* line 345, ../sass/_common.scss */
/* line 368, ../sass/_common.scss */
#main #content .site-error .alert h2 { #main #content .site-error .alert h2 {
margin-top: 5px; margin-top: 5px;
} }
/* line 349, ../sass/_common.scss */
/* line 372, ../sass/_common.scss */
#main #content .site-error .alert p { #main #content .site-error .alert p {
margin-bottom: 15px; margin-bottom: 15px;
} }
/* line 353, ../sass/_common.scss */
/* line 376, ../sass/_common.scss */
#main #content .site-error .alert .btn { #main #content .site-error .alert .btn {
text-decoration: none; text-decoration: none;
} }


/* Paiement */ /* Paiement */
/* line 364, ../sass/_common.scss */
/* line 387, ../sass/_common.scss */
.payment-detail-remaining-surplus { .payment-detail-remaining-surplus {
font-size: 13px; font-size: 13px;
color: gray; color: gray;
} }
/* line 368, ../sass/_common.scss */
/* line 391, ../sass/_common.scss */
.payment-detail-remaining-surplus strong { .payment-detail-remaining-surplus strong {
font-weight: bold; font-weight: bold;
} }

+ 47
- 24
common/web/sass/_common.scss View File

&.alert-dark { &.alert-dark {
background-color: $color-gray !important; background-color: $color-gray !important;
} }

a {
color: black;
}

p:last-child {
margin-bottom: 0px;
}
} }


/* Tableaux */
/* Tables */
$table-striped-bg-factor: black; $table-striped-bg-factor: black;
.table { .table {
border: 0px none;


&.table-striped > tbody > tr:nth-of-type(2n) > *,
thead tr th {
background-color: $color-gray;
thead {
tr {
th {
font-family: 'worksans_semibold';
}
}
} }


&.table-striped > tbody > tr:nth-of-type(2n+1) > * {
background-color: #f8f7f3;
&.table-bordered {
} }


thead tr th,
tbody tr td {
@include box-shadow(-20px 0 20px -20px rgba(0,0,0,0.2) inset);
&.table-striped {
border: 0px none;

&.table-striped > tbody > tr:nth-of-type(2n) > *,
thead tr th {
background-color: $color-gray;
}


&:last-child {
@include box-shadow(none);
&.table-striped > tbody > tr:nth-of-type(2n+1) > * {
background-color: #f8f7f3;
} }
}


thead {
tr {
border: 0px none;
th {
thead tr th,
tbody tr td {
@include box-shadow(-20px 0 20px -20px rgba(0,0,0,0.2) inset);

&:last-child {
@include box-shadow(none);
}
}

thead {
tr {
border: 0px none; border: 0px none;
padding: 10px 20px;
th {
border: 0px none;
padding: 10px 20px;
}
} }
} }
}


tbody {
tr {
border: 0px none;
td {
tbody {
tr {
border: 0px none; border: 0px none;
padding: 20px;
td {
border: 0px none;
padding: 20px;
}
} }
} }
} }

+ 3
- 3
domain/Order/Order/OrderRepository.php View File

} }
elseif($this->isCreditAutoPayment($order) && $amountTotal != 0) { elseif($this->isCreditAutoPayment($order) && $amountTotal != 0) {
if($order->subscription && $order->subscription->auto_payment == 0) { if($order->subscription && $order->subscription->auto_payment == 0) {
$label = 'Crédit désactivé';
$label = 'Cagnotte désactivée';
} }
else { else {
$label = 'Crédit non débité';
$label = 'Cagnotte non débitée';
} }
} }
elseif($amountTotal == 0) { elseif($amountTotal == 0) {
$mainPayment = $this->getMainPayment($order); $mainPayment = $this->getMainPayment($order);
if($mainPayment) { if($mainPayment) {
if($this->paymentSolver->isMeanPaymentCredit($mainPayment)) { if($this->paymentSolver->isMeanPaymentCredit($mainPayment)) {
$label = 'Crédit débité';
$label = 'Cagnotte débitée';
} }
else { else {
$label = MeanPayment::getStrBy($mainPayment->mean_payment); $label = MeanPayment::getStrBy($mainPayment->mean_payment);

+ 1
- 1
domain/Payment/PaymentSolver.php View File

public function getAmount(Payment $payment, bool $format = false): string public function getAmount(Payment $payment, bool $format = false): string
{ {
if ($format) { if ($format) {
return number_format($payment->getAmount(), 2) . ' €';
return number_format($payment->getAmount(), 2, ',', ' ') . ' €';
} else { } else {
return $payment->getAmount(); return $payment->getAmount();
} }

+ 1
- 1
producer/controllers/OrderController.php View File

public function ajaxInfosProducer(Producer $producer) public function ajaxInfosProducer(Producer $producer)
{ {
return [ return [
'order_infos' => $producer->order_infos,
'order_infos' => nl2br($producer->order_infos),
'credit' => $producer->credit, 'credit' => $producer->credit,
'credit_functioning' => $producer->credit_functioning, 'credit_functioning' => $producer->credit_functioning,
'use_credit_checked_default' => $producer->use_credit_checked_default, 'use_credit_checked_default' => $producer->use_credit_checked_default,

+ 2
- 1
producer/views/credit/history.php View File

$paymentManager = PaymentModule::getInstance(); $paymentManager = PaymentModule::getInstance();
$featureChecker = FeatureModule::getInstance()->getChecker(); $featureChecker = FeatureModule::getInstance()->getChecker();
$producer = $this->context->getProducerCurrent(); $producer = $this->context->getProducerCurrent();
$this->setTitle('Cagnotte : <span id="credit-user">' . number_format($creditUser, 2) . ' €</span>');
$this->setTitle('Cagnotte <div id="credit-user">' . number_format($creditUser, 2, ',', ' ') . ' €</div>');
$this->setPageTitle('Crédit'); $this->setPageTitle('Crédit');


if ($featureChecker->isEnabled(Feature::ALIAS_ONLINE_PAYMENT) && $this->context->getProducerCurrent()->online_payment) { if ($featureChecker->isEnabled(Feature::ALIAS_ONLINE_PAYMENT) && $this->context->getProducerCurrent()->online_payment) {
?> ?>


<?= GridView::widget([ <?= GridView::widget([
'summary' => '',
'dataProvider' => $dataProvider, 'dataProvider' => $dataProvider,
'columns' => [ 'columns' => [
[ [

+ 12
- 4
producer/views/layouts/main.php View File

#header #title h2 .location .bi, #header #title h2 .location .bi,
#content a, #content a,
.credit-history #credit-user, .credit-history #credit-user,
.credit-history #content .table span.payment-positive {
.credit-history #content .table span.payment-positive,
.order-order #main #app-order-order #steps ul li .info-step {
color: <?= $mainColor ?> color: <?= $mainColor ?>
} }
#header nav#main-nav ul li.active a, #header nav#main-nav ul li.active a,
#header nav#main-nav ul li a:hover, #header nav#main-nav ul li a:hover,
#header nav#main-nav ul li a span.label-success, #header nav#main-nav ul li a span.label-success,
#main .btn-primary {
#main .btn-primary,
.order-order #main #app-order-order #steps ul li .btn.btn-primary {
background-color: <?= $mainColor ?>; background-color: <?= $mainColor ?>;
} }
#header nav#main-nav { #header nav#main-nav {
box-shadow: 0px 0px 0px 1px <?= $mainColor ?>; box-shadow: 0px 0px 0px 1px <?= $mainColor ?>;
border: solid 1px <?= $mainColor ?>; border: solid 1px <?= $mainColor ?>;
} }
.order-order #main #app-order-order #steps ul li .btn.btn-primary::after {
border-left: 17px solid <?= $mainColor ?>;
}
#header nav#main-nav ul li a span.label.label-success {
border: solid 1px <?= $mainColor ?>;
}
</style> </style>
</head> </head>
<body class="<?= \Yii::$app->controller->id . '-' . \Yii::$app->controller->action->id ?>"> <body class="<?= \Yii::$app->controller->id . '-' . \Yii::$app->controller->action->id ?>">
'label' => '<i class="bi bi-pencil-square"></i> Commander', 'label' => '<i class="bi bi-pencil-square"></i> Commander',
'url' => $this->getUrlManagerProducer()->createUrl(['order/order']), 'url' => $this->getUrlManagerProducer()->createUrl(['order/order']),
'visible' => $producer->option_allow_order_guest || !Yii::$app->user->isGuest, 'visible' => $producer->option_allow_order_guest || !Yii::$app->user->isGuest,
'active' => $this->getControllerAction() == 'order/order',
'active' => in_array($this->getControllerAction(), ['order/order', 'order/confirm']),
], ],
[ [
'label' => '<i class="bi bi-pencil-square"></i> Commander', 'label' => '<i class="bi bi-pencil-square"></i> Commander',
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/producer', 'id' => $this->context->getProducerCurrent()->id, 'return_url' => \Yii::$app->urlManagerProducer->createAbsoluteUrl(['order/order', 'slug_producer' => $this->context->getProducerCurrent()->slug])]), 'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/producer', 'id' => $this->context->getProducerCurrent()->id, 'return_url' => \Yii::$app->urlManagerProducer->createAbsoluteUrl(['order/order', 'slug_producer' => $this->context->getProducerCurrent()->slug])]),
'visible' => !$producer->option_allow_order_guest && \Yii::$app->user->isGuest, 'visible' => !$producer->option_allow_order_guest && \Yii::$app->user->isGuest,
'active' => $this->getControllerAction() == 'order/order',
'active' => in_array($this->getControllerAction(), ['order/order', 'order/confirm']),
], ],
[ [
'label' => '<i class="bi bi-folder2-open"></i> Mes commandes <span class="label label-' . $labelOrders . '">' . $countOrders . '</span>', 'label' => '<i class="bi bi-folder2-open"></i> Mes commandes <span class="label label-' . $labelOrders . '">' . $countOrders . '</span>',

+ 72
- 68
producer/views/order/confirm.php View File

</div> </div>
<?php else: ?> <?php else: ?>
<div class="alert alert-success"> <div class="alert alert-success">
<span class="glyphicon glyphicon-ok glyphicon-big"></span>
<div class="content">
<h3>Votre commande a bien été prise en compte</h3>
<?php if(!Yii::$app->user->isGuest): ?>
<a href="<?= \Yii::$app->urlManagerProducer->createUrl(['order/history']) ?>" class="btn btn-default">
<span class="glyphicon glyphicon-chevron-right"></span>
Voir toutes mes commandes
<h4 class="alert-heading">
<i class="bi bi-check2-square"></i>
Votre commande a bien été prise en compte
</h4>
<?php if(!Yii::$app->user->isGuest): ?>
<p>
<a href="<?= \Yii::$app->urlManagerProducer->createUrl(['order/history']) ?>">
Voir mes commandes
</a> </a>
<?php endif; ?>
</div>
<div class="clr"></div>
</p>
<?php endif; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>


<div class="alert alert-info alert-order-summary"> <div class="alert alert-info alert-order-summary">
<span class="glyphicon glyphicon-list-alt glyphicon-big"></span>
<div class="content">
<h3>Récapitulatif de votre commande</h3>

<div class="row">
<div class="col-md-6">
<ul>
<?php if($order->reference && strlen($order->reference) > 0): ?><li><span class="glyphicon glyphicon-check"></span> Commande N°<strong><?= Html::encode($order->reference); ?></strong></li><?php endif; ?>
<li><span class="glyphicon glyphicon-time"></span>Le <?= date('d/m/Y',strtotime($order->distribution->date)) ?></li>
<li><span class="glyphicon glyphicon-map-marker"></span>
<?php if($order->delivery_home): ?>
Livraison à domicile
<br /><span class="locality"><?= nl2br(Html::encode($order->delivery_address)); ?></span>
<?php else: ?>
<?= Html::encode($order->pointSale->name) ?><?php if(strlen($order->pointSale->name)): ?>
<?php if($order->pointSale->is_bread_box && $order->pointSale->bread_box_code): ?>
(Code : <strong><?= $order->pointSale->bread_box_code; ?></strong>)
<?php endif; ?>
<span class="locality">à <?= $pointSaleModule->getSolver()->getLocalityWithAddressTooltip($order->pointSale) ?></span>
<h4 class="alert-heading">
<i class="bi bi-list-check"></i>
Récapitulatif
</h4>
<div class="row">
<div class="col-md-6">
<ul>
<?php if($order->reference && strlen($order->reference) > 0): ?><li><span class="glyphicon glyphicon-check"></span> Commande N°<strong><?= Html::encode($order->reference); ?></strong></li><?php endif; ?>
<li><i class="bi bi-clock"></i> Le <?= date('d/m/Y',strtotime($order->distribution->date)) ?></li>
<li><i class="bi bi-geo-alt"></i>
<?php if($order->delivery_home): ?>
Livraison à domicile
<br /><span class="locality"><?= nl2br(Html::encode($order->delivery_address)); ?></span>
<?php else: ?>
<?= Html::encode($order->pointSale->name) ?><?php if(strlen($order->pointSale->name)): ?>
<?php if($order->pointSale->is_bread_box && $order->pointSale->bread_box_code): ?>
(Code : <strong><?= $order->pointSale->bread_box_code; ?></strong>)
<?php endif; ?> <?php endif; ?>
<span class="locality">à <?= $pointSaleModule->getSolver()->getLocalityWithAddressTooltip($order->pointSale) ?></span>
<?php endif; ?> <?php endif; ?>
</li>
<?php
$strInfos = '';
if($order->pointSale) {
$strInfos = $pointSaleModule->getStrInfos($order->pointSale, strtolower(date('l',strtotime($order->distribution->date))));
}
?>
<?php if(strlen($strInfos) > 0): ?>
<li><span class="glyphicon glyphicon-info-sign"></span>
<span class="infos"><?= $strInfos ?></span>
</li>
<?php endif; ?>
</ul>
</div>
<div class="col-md-6">
<ul>
<li>
<p><strong>Produit<?php if($orderModule->countProducts($order) > 1): ?>s<?php endif; ?></strong></p>
<p><?= $orderModule->getCartSummary($order) ?></p>
</li>
<li>Total : <strong><?= $orderModule->getOrderAmountWithTax($order,Order::AMOUNT_TOTAL, true); ?></strong></li>
</ul>

<?php endif; ?>
</li>
<?php
$strInfos = '';
if($order->pointSale) {
$strInfos = $pointSaleModule->getStrInfos($order->pointSale, strtolower(date('l',strtotime($order->distribution->date))));
}
?>
<?php if(strlen($strInfos) > 0): ?>
<li>
<i class="bi bi-info-circle"></i>
<span class="infos"><?= $strInfos ?></span>
</li>
<?php endif; ?>
</ul>
</div>
<div class="col-md-6">
<p>
<i class="bi bi-list-ul"></i>
Produits
</p>
<div class="summary">
<?= $orderModule->getCartSummary($order) ?>
</div> </div>
<p>
<i class="bi bi-arrow-return-right"></i>
<strong><?= $orderModule->getOrderAmountWithTax($order,Order::AMOUNT_TOTAL, true); ?></strong>
</p>
</div> </div>

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


<?php if($producer->option_payment_info && strlen($producer->option_payment_info) > 0): ?> <?php if($producer->option_payment_info && strlen($producer->option_payment_info) > 0): ?>
<div class="panel panel-warning payment-info">
<div class="panel-heading">
<h3>Paiement de votre commande</h3>
</div>
<div class="panel-body">
<?= nl2br($producer->option_payment_info); ?>
</div>
<div class="card card-payment-infos">
<div class="card-body">
<h5 class="card-title">
<i class="bi bi-wallet2"></i>
Paiement de votre commande
</h5>
<?= nl2br($producer->option_payment_info); ?>
</div>
</div> </div>
<?php endif; ?> <?php endif; ?>


<?php if ($producer->order_infos && strlen($producer->order_infos) > 0): ?> <?php if ($producer->order_infos && strlen($producer->order_infos) > 0): ?>
<div class="panel panel-info">
<div class="panel-heading">
<h3>Informations</h3>
</div>
<div class="panel-body">
<?= nl2br($producer->order_infos); ?>
</div>
<div class="card card-infos">
<div class="card-body">
<h5 class="card-title">
<i class="bi bi-info-circle"></i>
Informations
</h5>
<?= nl2br($producer->order_infos); ?>
</div>
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>

+ 10
- 9
producer/views/order/history.php View File

<?php endif; ?> <?php endif; ?>


<ul id="tabs-orders-history" class="nav nav-tabs" role="tablist"> <ul id="tabs-orders-history" class="nav nav-tabs" role="tablist">
<li class="<?php if($type == 'incoming'): ?>active<?php endif; ?>">
<a href="<?= \Yii::$app->urlManagerProducer->createUrl(['order/history', 'type' => 'incoming']); ?>">
<li class="nav-item">
<a class="nav-link<?php if($type == 'incoming'): ?> active<?php endif; ?>" href="<?= \Yii::$app->urlManagerProducer->createUrl(['order/history', 'type' => 'incoming']); ?>">
À venir À venir
<span class="label <?php if($countIncoming): ?>label-success<?php else: ?>label-default<?php endif; ?>"><?= $countIncoming ?></span> <span class="label <?php if($countIncoming): ?>label-success<?php else: ?>label-default<?php endif; ?>"><?= $countIncoming ?></span>
</a> </a>
</li> </li>
<li class="<?php if($type == 'passed'): ?>active<?php endif; ?>">
<a href="<?= \Yii::$app->urlManagerProducer->createUrl(['order/history', 'type' => 'passed']); ?>">
<li class="nav-item">
<a class="nav-link<?php if($type == 'passed'): ?> active<?php endif; ?>" href="<?= \Yii::$app->urlManagerProducer->createUrl(['order/history', 'type' => 'passed']); ?>">
Passées Passées
<span class="label label-default"><?= $countPassed ?></span> <span class="label label-default"><?= $countPassed ?></span>
</a> </a>
$html .= '<span class="label label-warning">En préparation</span>' ; $html .= '<span class="label label-warning">En préparation</span>' ;
} }
elseif($orderModule->getState($order) == Order::STATE_OPEN) { elseif($orderModule->getState($order) == Order::STATE_OPEN) {
$html .= '<span class="label label-default">À venir</span>' ;
$html .= '<span class="label label-secondary">À venir</span>' ;
//$html .= '<span class="badge text-bg-secondary">À venir</span>' ;
} }
} }
if ($producerModule->isOnlinePaymentActiveAndTypeOrder($producer)) { if ($producerModule->isOnlinePaymentActiveAndTypeOrder($producer)) {
$paymentStatus = $orderModule->getPaymentStatus($order); $paymentStatus = $orderModule->getPaymentStatus($order);
if($paymentStatus == Order::PAYMENT_UNPAID && $order->online_payment_url) { if($paymentStatus == Order::PAYMENT_UNPAID && $order->online_payment_url) {
$html .= '<a href="'.$order->online_payment_url.'" class="btn btn-default"><span class="glyphicon glyphicon-pencil"></span> Payer en ligne</a>';
$html .= '<a href="'.$order->online_payment_url.'" class="btn btn-default"><i class="bi bi-credit-card"></i> Payer en ligne</a>';
} }
} }
else { else {
$html .= '<a href="'.Yii::$app->urlManager->createUrl(['order/order','id'=>$order->id]).'" class="btn btn-default"><span class="glyphicon glyphicon-pencil"></span></a> '.
'<a href="'.Yii::$app->urlManager->createUrl(['order/cancel','id'=>$order->id]).'" class="btn btn-default"><span class="glyphicon glyphicon-trash"></span></a> '.
(($order->id_subscription) ? '<a href="'.Yii::$app->urlManagerProducer->createUrl(['subscription/form','id'=>$order->id_subscription]).'" class="btn btn-default"><span class="glyphicon glyphicon-repeat"></span></a>' : '') ;
$html .= '<a href="'.Yii::$app->urlManager->createUrl(['order/order','id'=>$order->id]).'" class="btn btn-secondary"><i class="bi bi-pencil"></i></a> '.
'<a href="'.Yii::$app->urlManager->createUrl(['order/cancel','id'=>$order->id]).'" class="btn btn-secondary"><i class="bi bi-trash"></i></a> '.
(($order->id_subscription) ? '<a href="'.Yii::$app->urlManagerProducer->createUrl(['subscription/form','id'=>$order->id_subscription]).'" class="btn btn-secondary"><i class="bi bi-arrow-repeat"></i></a>' : '') ;
} }
} }



+ 23
- 29
producer/views/order/order.php View File

</div> </div>
<div v-else> <div v-else>
<div id="steps"> <div id="steps">
<ul>
<ul class="row g-0">
<?php if ($producer->option_order_entry_point == Producer::ORDER_ENTRY_POINT_DATE): ?> <?php if ($producer->option_order_entry_point == Producer::ORDER_ENTRY_POINT_DATE): ?>
<step-date <step-date
first="true" first="true"
<div id="content-step-point-sale" v-if="step == 'point-sale'"> <div id="content-step-point-sale" v-if="step == 'point-sale'">
<div v-if="!loading"> <div v-if="!loading">
<h3>Où souhaitez-vous récupérer votre commande ?</h3> <h3>Où souhaitez-vous récupérer votre commande ?</h3>
<table id="points-sale" class="table table-bordered" v-if="pointsSale.length">
<table id="points-sale" class="table table-striped" v-if="pointsSale.length">
<thead> <thead>
<tr> <tr>
<th>Nom</th>
<th>Point de vente</th>
<th>Localité</th> <th>Localité</th>
<th></th> <th></th>
</tr> </tr>
<template v-if="productHasPrice(product)"> <template v-if="productHasPrice(product)">
<div class="input-group"> <div class="input-group">
<span class="input-group-btn"> <span class="input-group-btn">
<button class="btn btn-default btn-moins"
<button class="btn btn-secondary btn-moins"
type="button" type="button"
@click="productQuantityClick(product, product.unit == 'piece' ? -1 : -parseFloat(product.step))" @click="productQuantityClick(product, product.unit == 'piece' ? -1 : -parseFloat(product.step))"
:disabled="product.quantity_form == 0"><span
class="glyphicon glyphicon-minus"></span></button>
:disabled="product.quantity_form == 0">
<i class="bi bi-dash"></i></button>
</span> </span>
<input type="text" v-model="product.quantity_form" <input type="text" v-model="product.quantity_form"
class="form-control quantity" readonly="readonly"/> class="form-control quantity" readonly="readonly"/>
<span class="input-group-addon">{{ product.unit == 'piece' ? 'p.' : product.unit }}</span>
<span class="input-group-text">{{ product.unit == 'piece' ? 'p.' : product.unit }}</span>
<span class="input-group-btn"> <span class="input-group-btn">
<button class="btn btn-default btn-plus"
<button class="btn btn-secondary btn-plus"
type="button" type="button"
@click="productQuantityClick(product, product.unit == 'piece' ? 1 : parseFloat(product.step))" @click="productQuantityClick(product, product.unit == 'piece' ? 1 : parseFloat(product.step))"
:disabled="product.quantity_form == product.quantity_remaining && product.quantity_max > 0"><span
class="glyphicon glyphicon-plus"></span></button>
:disabled="product.quantity_form == product.quantity_remaining && product.quantity_max > 0">
<i class="bi bi-plus"></i></button>
</span> </span>
</div> </div>
</template> </template>
</div> </div>
</div> </div>


<div id="infos" v-if="producer != null && producer.order_infos != null && producer.order_infos.length">
<div class="panel panel-default">
<div class="panel-heading">
<i class="glyphicon glyphicon-info-sign"></i> Informations
</div>
<div class="panel-body">
{{ producer.order_infos }}
</div>
<div id="infos" class="card" v-if="producer != null && producer.order_infos != null && producer.order_infos.length">
<div class="card-body">
<h5 class="card-title">
<i class="bi bi-info-circle"></i>
Informations
</h5>
<div class="card-text" v-html="producer.order_infos"></div>
</div> </div>
</div> </div>


<?php <?php
$producer = GlobalParam::getCurrentProducer(); $producer = GlobalParam::getCurrentProducer();
if ($producerModule->hasSpecificDelays($producer)): ?> if ($producerModule->hasSpecificDelays($producer)): ?>
<div id="specific-delays" class="panel panel-default">
<div class="panel-heading">
Délais de commande spécifiques
</div>
<div class="panel-body">
<div id="specific-delays" class="card">
<div class="card-body">
<h5 class="card-title">
<i class="bi bi-clock"></i>
Délais de commande spécifiques
</h5>
<table class="table table-bordered"> <table class="table table-bordered">
<thead>
<tr>
<th>Jour</th>
<th>Délai</th>
</tr>
</thead>
<?php foreach ($producerModule->getSpecificDelays($producer) as $day => $delay): ?> <?php foreach ($producerModule->getSpecificDelays($producer) as $day => $delay): ?>
<?php if ($delay['order_delay'] && $delay['order_deadline']): ?> <?php if ($delay['order_delay'] && $delay['order_deadline']): ?>
<tr> <tr>

+ 144
- 162
producer/web/css/screen.css View File

text-transform: uppercase; text-transform: uppercase;
border: solid 1px transparent; border: solid 1px transparent;
} }
/* line 242, ../sass/_layout.scss */
#header nav#main-nav ul li a span.label.label-success {
border: solid 1px white;
}
/* line 248, ../sass/_layout.scss */
/* line 243, ../sass/_layout.scss */
#header nav#main-nav ul li.active a, #header nav#main-nav ul li.active a,
#header nav#main-nav ul li a:hover { #header nav#main-nav ul li a:hover {
color: white; color: white;
-webkit-box-shadow: none; -webkit-box-shadow: none;
box-shadow: none; box-shadow: none;
} }
/* line 255, ../sass/_layout.scss */
/* line 248, ../sass/_layout.scss */
#header nav#main-nav ul li.active a span.label-success,
#header nav#main-nav ul li a:hover span.label-success {
border: solid 1px white !important;
}
/* line 254, ../sass/_layout.scss */
#header nav#main-nav ul.submenu { #header nav#main-nav ul.submenu {
background-color: white; background-color: white;
} }
/* line 259, ../sass/_layout.scss */
/* line 258, ../sass/_layout.scss */
#header nav#main-nav ul.submenu li a { #header nav#main-nav ul.submenu li a {
background-color: white; background-color: white;
font-size: 0.9em; font-size: 0.9em;
box-shadow: none; box-shadow: none;
border-bottom: solid 2px #f4efe8; border-bottom: solid 2px #f4efe8;
} }
/* line 265, ../sass/_layout.scss */
/* line 264, ../sass/_layout.scss */
#header nav#main-nav ul.submenu li a span.label { #header nav#main-nav ul.submenu li a span.label {
background-color: white; background-color: white;
border: solid 1px #b7ab9b; border: solid 1px #b7ab9b;
color: #b7ab9b; color: #b7ab9b;
} }
/* line 272, ../sass/_layout.scss */
/* line 271, ../sass/_layout.scss */
#header nav#main-nav ul.submenu li.active a, #header nav#main-nav ul.submenu li.active a,
#header nav#main-nav ul.submenu li a:hover { #header nav#main-nav ul.submenu li a:hover {
color: black; color: black;
background-color: white; background-color: white;
border-bottom: solid 2px #b7ab9b; border-bottom: solid 2px #b7ab9b;
} }
/* line 282, ../sass/_layout.scss */
/* line 281, ../sass/_layout.scss */
#header nav#main-nav #user { #header nav#main-nav #user {
color: #ee6f42; color: #ee6f42;
float: right; float: right;
padding: 10px; padding: 10px;
} }


/* line 290, ../sass/_layout.scss */
/* line 289, ../sass/_layout.scss */
#main { #main {
padding: 0px; padding: 0px;
padding-top: 38px; padding-top: 38px;
margin-bottom: 50px; margin-bottom: 50px;
background-color: white; background-color: white;
} }
/* line 296, ../sass/_layout.scss */
/* line 295, ../sass/_layout.scss */
#main #banner { #main #banner {
height: 180px; height: 180px;
overflow: hidden; overflow: hidden;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }
/* line 304, ../sass/_layout.scss */
/* line 303, ../sass/_layout.scss */
#main #infos-producer { #main #infos-producer {
display: none; display: none;
padding: 5px 10px; padding: 5px 10px;
border-bottom: solid 1px #e0e0e0; border-bottom: solid 1px #e0e0e0;
color: gray; color: gray;
} }
/* line 313, ../sass/_layout.scss */
/* line 312, ../sass/_layout.scss */
#main #infos-producer strong { #main #infos-producer strong {
font-weight: bold; font-weight: bold;
} }
/* line 317, ../sass/_layout.scss */
/* line 316, ../sass/_layout.scss */
#main #infos-producer .favorite { #main #infos-producer .favorite {
float: right; float: right;
color: gray; color: gray;
} }
/* line 320, ../sass/_layout.scss */
/* line 319, ../sass/_layout.scss */
#main #infos-producer .favorite a { #main #infos-producer .favorite a {
color: black; color: black;
} }
/* line 326, ../sass/_layout.scss */
/* line 325, ../sass/_layout.scss */
#main h2#page-title { #main h2#page-title {
margin-top: 0px; margin-top: 0px;
font-family: "worksans_bold"; font-family: "worksans_bold";
font-size: 30px; font-size: 30px;
line-height: 40px; line-height: 40px;
} }
/* line 337, ../sass/_layout.scss */
/* line 336, ../sass/_layout.scss */
#main #content { #main #content {
padding: 40px; padding: 40px;
min-height: 300px; min-height: 300px;
} }
/* line 341, ../sass/_layout.scss */
/* line 340, ../sass/_layout.scss */
#main #content h1, #main #content h2, #main #content h3, #main #content h4, #main #content h5, #main #content h6 { #main #content h1, #main #content h2, #main #content h3, #main #content h4, #main #content h5, #main #content h6 {
font-family: "worksans_bold"; font-family: "worksans_bold";
margin-bottom: 20px; margin-bottom: 20px;
} }
/* line 345, ../sass/_layout.scss */
/* line 344, ../sass/_layout.scss */
#main #content h1.first, #main #content h2.first, #main #content h3.first, #main #content h4.first, #main #content h5.first, #main #content h6.first { #main #content h1.first, #main #content h2.first, #main #content h3.first, #main #content h4.first, #main #content h5.first, #main #content h6.first {
margin-top: 0px; margin-top: 0px;
} }
/* line 350, ../sass/_layout.scss */
/* line 349, ../sass/_layout.scss */
#main #content h1 { #main #content h1 {
font-size: 30px; font-size: 30px;
} }
/* line 354, ../sass/_layout.scss */
/* line 353, ../sass/_layout.scss */
#main #content h2 { #main #content h2 {
font-size: 25px; font-size: 25px;
} }
/* line 358, ../sass/_layout.scss */
/* line 357, ../sass/_layout.scss */
#main #content h3 { #main #content h3 {
font-size: 23px;
font-size: 1.4em;
text-align: left; text-align: left;
margin-bottom: 30px; margin-bottom: 30px;
margin-top: 45px;
} }
/* line 364, ../sass/_layout.scss */
/* line 362, ../sass/_layout.scss */
#main #content h3 span { #main #content h3 span {
padding-top: 14px; padding-top: 14px;
color: black; color: black;
} }
/* line 370, ../sass/_layout.scss */
/* line 368, ../sass/_layout.scss */
#main #content h4 { #main #content h4 {
font-size: 20px; font-size: 20px;
} }
/* line 374, ../sass/_layout.scss */
/* line 372, ../sass/_layout.scss */
#main #content h5 { #main #content h5 {
font-size: 18px; font-size: 18px;
} }
/* line 378, ../sass/_layout.scss */
/* line 376, ../sass/_layout.scss */
#main #content h6 { #main #content h6 {
font-size: 16px; font-size: 16px;
} }
/* line 384, ../sass/_layout.scss */
/* line 382, ../sass/_layout.scss */
#main #content form .form-group .hint-block { #main #content form .form-group .hint-block {
color: gray; color: gray;
} }


/* line 392, ../sass/_layout.scss */
/* line 390, ../sass/_layout.scss */
#footer-producer { #footer-producer {
text-align: center; text-align: center;
position: absolute; position: absolute;
left: 0px; left: 0px;
width: 100%; width: 100%;
} }
/* line 399, ../sass/_layout.scss */
/* line 397, ../sass/_layout.scss */
#footer-producer a { #footer-producer a {
color: #ee6f42; color: #ee6f42;
} }
/* line 401, ../sass/_layout.scss */
/* line 399, ../sass/_layout.scss */
#footer-producer a:active { #footer-producer a:active {
text-decoration: underline; text-decoration: underline;
} }


/* line 407, ../sass/_layout.scss */
/* line 405, ../sass/_layout.scss */
#footer { #footer {
display: none; display: none;
height: 100px; height: 100px;
float: right; float: right;
text-align: center; text-align: center;
} }
/* line 413, ../sass/_layout.scss */
/* line 411, ../sass/_layout.scss */
#footer .content { #footer .content {
padding-top: 20px; padding-top: 20px;
color: black; color: black;
} }
/* line 417, ../sass/_layout.scss */
/* line 415, ../sass/_layout.scss */
#footer .content a { #footer .content a {
color: black; color: black;
font-size: 18px; font-size: 18px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
} }
/* line 423, ../sass/_layout.scss */
/* line 421, ../sass/_layout.scss */
#footer .content a:hover { #footer .content a:hover {
text-decoration: underline; text-decoration: underline;
} }
/* line 430, ../sass/_layout.scss */
/* line 428, ../sass/_layout.scss */
#footer #code-source img { #footer #code-source img {
height: 20px; height: 20px;
} }
color: black; color: black;
text-decoration: underline; text-decoration: underline;
} }
/* line 62, ../sass/site/_index.scss */
.site-index #presentation .description p:last-child {
margin-bottom: 0px;
}


/* line 4, ../sass/site/_products.scss */ /* line 4, ../sass/site/_products.scss */
.site-products #products td.photo { .site-products #products td.photo {
/* line 41, ../sass/order/_order.scss */ /* line 41, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul { .order-order #main #app-order-order #steps ul {
height: 70px; height: 70px;
list-style-type: none;
padding: 0px;
margin-bottom: 40px;
} }
/* line 44, ../sass/order/_order.scss */
/* line 47, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li { .order-order #main #app-order-order #steps ul li {
text-align: center; text-align: center;
padding-right: 8px; padding-right: 8px;
padding-left: 8px; padding-left: 8px;
position: relative; position: relative;
} }
/* line 50, ../sass/order/_order.scss */
/* line 53, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .info-step { .order-order #main #app-order-order #steps ul li .info-step {
position: absolute; position: absolute;
top: 45px; top: 45px;
font-size: 17px; font-size: 17px;
font-weight: bold; font-weight: bold;
} }
/* line 61, ../sass/order/_order.scss */
/* line 64, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .glyphicon-chevron-right, .order-order #main #app-order-order #steps ul li.active .glyphicon-chevron-right { .order-order #main #app-order-order #steps ul li .glyphicon-chevron-right, .order-order #main #app-order-order #steps ul li.active .glyphicon-chevron-right {
float: right; float: right;
color: gray; color: gray;
position: relative; position: relative;
top: 10px; top: 10px;
} }
/* line 69, ../sass/order/_order.scss */
/* line 72, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li.first { .order-order #main #app-order-order #steps ul li.first {
padding-left: 0px; padding-left: 0px;
} }
/* line 73, ../sass/order/_order.scss */
/* line 76, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li#step-payment { .order-order #main #app-order-order #steps ul li#step-payment {
padding-right: 0px; padding-right: 0px;
} }
/* line 77, ../sass/order/_order.scss */
/* line 80, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li#step-products .btn::after, .order-order #main #app-order-order #steps ul li.first .btn::before { .order-order #main #app-order-order #steps ul li#step-products .btn::after, .order-order #main #app-order-order #steps ul li.first .btn::before {
display: none; display: none;
} }
/* line 82, ../sass/order/_order.scss */
/* line 85, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .btn { .order-order #main #app-order-order #steps ul li .btn {
color: #333; color: #333;
text-transform: uppercase; text-transform: uppercase;
border: 0px none; border: 0px none;
text-transform: uppercase; text-transform: uppercase;
} }
/* line 93, ../sass/order/_order.scss */
/* line 96, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .btn .button-content { .order-order #main #app-order-order #steps ul li .btn .button-content {
position: relative; position: relative;
left: 8px; left: 8px;
} }
/* line 98, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .btn.btn-primary {
background-color: #ee6f42;
}
/* line 102, ../sass/order/_order.scss */
/* line 101, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .btn::after, .order-order #main #app-order-order #steps ul li .btn::before { .order-order #main #app-order-order #steps ul li .btn::after, .order-order #main #app-order-order #steps ul li .btn::before {
content: ""; content: "";
position: absolute; position: absolute;
top: -1px; top: -1px;
} }
/* line 108, ../sass/order/_order.scss */
/* line 107, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .btn::after { .order-order #main #app-order-order #steps ul li .btn::after {
right: -34px; right: -34px;
border: 17px solid transparent; border: 17px solid transparent;
border-left: 17px solid #e0e0e0; border-left: 17px solid #e0e0e0;
background-color: transparent; background-color: transparent;
} }
/* line 115, ../sass/order/_order.scss */
/* line 114, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .btn::before { .order-order #main #app-order-order #steps ul li .btn::before {
left: 0px; left: 0px;
border: 17px solid transparent; border: 17px solid transparent;
background-color: transparent; background-color: transparent;
} }
/* line 122, ../sass/order/_order.scss */ /* line 122, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .btn.btn-primary::after {
border-left: 17px solid #ee6f42;
}
/* line 136, ../sass/order/_order.scss */
.order-order #main #app-order-order #steps ul li .btn-primary { .order-order #main #app-order-order #steps ul li .btn-primary {
color: white; color: white;
} }
/* line 144, ../sass/order/_order.scss */
/* line 130, ../sass/order/_order.scss */
.order-order #main #app-order-order #legend #order-date-color, .order-order #main #app-order-order #legend #order-date-color,
.order-order #main #app-order-order #legend #distribution-date-color { .order-order #main #app-order-order #legend #distribution-date-color {
width: 13px; width: 13px;
height: 13px; height: 13px;
display: inline-block; display: inline-block;
} }
/* line 151, ../sass/order/_order.scss */
/* line 137, ../sass/order/_order.scss */
.order-order #main #app-order-order #legend #order-date-color { .order-order #main #app-order-order #legend #order-date-color {
background-color: #ee6f42; background-color: #ee6f42;
} }
/* line 154, ../sass/order/_order.scss */
/* line 140, ../sass/order/_order.scss */
.order-order #main #app-order-order #legend #distribution-date-color { .order-order #main #app-order-order #legend #distribution-date-color {
background-color: #5cb85c; background-color: #5cb85c;
} }
/* line 159, ../sass/order/_order.scss */
/* line 145, ../sass/order/_order.scss */
.order-order #main #app-order-order #calendar { .order-order #main #app-order-order #calendar {
margin-bottom: 15px; margin-bottom: 15px;
} }
/* line 161, ../sass/order/_order.scss */
/* line 147, ../sass/order/_order.scss */
.order-order #main #app-order-order #calendar .c-header .c-title-layout .c-title-popover .c-title-anchor .c-title[data-v-2083cb72] { .order-order #main #app-order-order #calendar .c-header .c-title-layout .c-title-popover .c-title-anchor .c-title[data-v-2083cb72] {
font-size: 2rem; font-size: 2rem;
} }
/* line 164, ../sass/order/_order.scss */
/* line 150, ../sass/order/_order.scss */
.order-order #main #app-order-order #calendar .c-day-background { .order-order #main #app-order-order #calendar .c-day-background {
padding: 20px; padding: 20px;
} }
/* line 169, ../sass/order/_order.scss */
/* line 155, ../sass/order/_order.scss */
.order-order #main #app-order-order #calendar .c-day:hover .c-day-background { .order-order #main #app-order-order #calendar .c-day:hover .c-day-background {
background-color: #ee6f42 !important; background-color: #ee6f42 !important;
color: white !important; color: white !important;
} }
/* line 175, ../sass/order/_order.scss */
/* line 161, ../sass/order/_order.scss */
.order-order #main #app-order-order #calendar .c-day-popover-content { .order-order #main #app-order-order #calendar .c-day-popover-content {
font-size: 1.3rem; font-size: 1.3rem;
} }
/* line 183, ../sass/order/_order.scss */
/* line 169, ../sass/order/_order.scss */
.order-order #main #app-order-order #credit-online-payment .panel .panel-heading .btn-default { .order-order #main #app-order-order #credit-online-payment .panel .panel-heading .btn-default {
float: right; float: right;
position: relative; position: relative;
top: -5px; top: -5px;
} }
/* line 195, ../sass/order/_order.scss */
/* line 181, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-date #distributions-list .panel .btn-primary { .order-order #main #app-order-order #content-step-date #distributions-list .panel .btn-primary {
float: right; float: right;
} }
/* line 199, ../sass/order/_order.scss */
/* line 185, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-date #distributions-list .panel .date { .order-order #main #app-order-order #content-step-date #distributions-list .panel .date {
font-size: 20px; font-size: 20px;
} }
/* line 203, ../sass/order/_order.scss */
/* line 189, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-date #distributions-list .panel .point-sales { .order-order #main #app-order-order #content-step-date #distributions-list .panel .point-sales {
color: gray; color: gray;
font-size: 14px; font-size: 14px;
margin-top: 8px; margin-top: 8px;
} }
/* line 212, ../sass/order/_order.scss */
/* line 198, ../sass/order/_order.scss */
.order-order #main #app-order-order .block-actions { .order-order #main #app-order-order .block-actions {
text-align: right; text-align: right;
margin-top: 20px; margin-top: 20px;
} }
/* line 219, ../sass/order/_order.scss */
/* line 205, ../sass/order/_order.scss */
.order-order #main #app-order-order table#points-sale td.name .the-name { .order-order #main #app-order-order table#points-sale td.name .the-name {
color: black; color: black;
font-size: 20px;
line-height: 25px;
font-weight: bold;
font-size: 1.4em;
line-height: 1.6em;
font-family: 'worksans_semibold';
} }
/* line 226, ../sass/order/_order.scss */
/* line 212, ../sass/order/_order.scss */
.order-order #main #app-order-order table#points-sale td.name .comment, .order-order #main #app-order-order table#points-sale td.name .comment,
.order-order #main #app-order-order table#points-sale td.name .minimum-order-amount { .order-order #main #app-order-order table#points-sale td.name .minimum-order-amount {
color: gray; color: gray;
} }
/* line 230, ../sass/order/_order.scss */
/* line 216, ../sass/order/_order.scss */
.order-order #main #app-order-order table#points-sale td.name .comment a, .order-order #main #app-order-order table#points-sale td.name .comment a,
.order-order #main #app-order-order table#points-sale td.name .minimum-order-amount a { .order-order #main #app-order-order table#points-sale td.name .minimum-order-amount a {
color: #ee6f42; color: #ee6f42;
} }
/* line 236, ../sass/order/_order.scss */
/* line 222, ../sass/order/_order.scss */
.order-order #main #app-order-order table#points-sale td.actions { .order-order #main #app-order-order table#points-sale td.actions {
width: 150px; width: 150px;
} }
/* line 238, ../sass/order/_order.scss */
/* line 224, ../sass/order/_order.scss */
.order-order #main #app-order-order table#points-sale td.actions button { .order-order #main #app-order-order table#points-sale td.actions button {
width: 100%; width: 100%;
} }
/* line 244, ../sass/order/_order.scss */
/* line 230, ../sass/order/_order.scss */
.order-order #main #app-order-order table#points-sale tr.selected td { .order-order #main #app-order-order table#points-sale tr.selected td {
background-color: white; background-color: white;
} }
/* line 252, ../sass/order/_order.scss */
/* line 238, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td.category-name { .order-order #main #app-order-order table#products td.category-name {
font-family: "worksans_bold"; font-family: "worksans_bold";
font-size: 22px; font-size: 22px;
text-transform: uppercase; text-transform: uppercase;
padding-top: 13px; padding-top: 13px;
} }
/* line 259, ../sass/order/_order.scss */
/* line 245, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td.category-name .glyphicon-triangle-bottom, .order-order #main #app-order-order table#products td.category-name .glyphicon-triangle-bottom,
.order-order #main #app-order-order table#products td.category-name .glyphicon-triangle-right { .order-order #main #app-order-order table#products td.category-name .glyphicon-triangle-right {
font-size: 15px; font-size: 15px;
} }
/* line 264, ../sass/order/_order.scss */
/* line 250, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td.category-name span.label { .order-order #main #app-order-order table#products td.category-name span.label {
font-family: "Arial"; font-family: "Arial";
font-weight: normal; font-weight: normal;
text-transform: none; text-transform: none;
margin-left: 15px; margin-left: 15px;
} }
/* line 272, ../sass/order/_order.scss */
/* line 258, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td.category-name:hover { .order-order #main #app-order-order table#products td.category-name:hover {
cursor: pointer; cursor: pointer;
background-color: #ee6f42; background-color: #ee6f42;
color: white; color: white;
} }
/* line 280, ../sass/order/_order.scss */
/* line 266, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td.photo img { .order-order #main #app-order-order table#products td.photo img {
width: 100px; width: 100px;
} }
/* line 290, ../sass/order/_order.scss */
/* line 276, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .price-unit .decreasing-prices { .order-order #main #app-order-order table#products .price-unit .decreasing-prices {
margin-top: 10px; margin-top: 10px;
font-size: 10px; font-size: 10px;
padding-bottom: 2px; padding-bottom: 2px;
margin-bottom: 0px; margin-bottom: 0px;
} }
/* line 298, ../sass/order/_order.scss */
/* line 284, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .price-unit .decreasing-prices ul li { .order-order #main #app-order-order table#products .price-unit .decreasing-prices ul li {
margin-bottom: 5px; margin-bottom: 5px;
} }
/* line 300, ../sass/order/_order.scss */
/* line 286, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .price-unit .decreasing-prices ul li strong { .order-order #main #app-order-order table#products .price-unit .decreasing-prices ul li strong {
font-weight: bold; font-weight: bold;
} }
/* line 308, ../sass/order/_order.scss */
/* line 294, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .price-unit, .order-order #main #app-order-order table#products .price-total { .order-order #main #app-order-order table#products .price-unit, .order-order #main #app-order-order table#products .price-total {
width: 135px; width: 135px;
text-align: center; text-align: center;
} }
/* line 312, ../sass/order/_order.scss */
/* line 298, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .price-unit .price-infos, .order-order #main #app-order-order table#products .price-total .price-infos { .order-order #main #app-order-order table#products .price-unit .price-infos, .order-order #main #app-order-order table#products .price-total .price-infos {
color: gray; color: gray;
font-size: 13px; font-size: 13px;
line-height: 15px; line-height: 15px;
} }
/* line 318, ../sass/order/_order.scss */
/* line 304, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity { .order-order #main #app-order-order table#products .td-quantity {
width: 175px; width: 175px;
} }
/* line 320, ../sass/order/_order.scss */
/* line 307, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity input.quantity,
.order-order #main #app-order-order table#products .td-quantity .input-group-text {
background-color: white;
}
/* line 312, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity input.quantity { .order-order #main #app-order-order table#products .td-quantity input.quantity {
text-align: center; text-align: center;
border-right: 0px none;
border: 0px none;
} }
/* line 324, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity .input-group-addon {
padding: 5px;
padding-left: 0px;
/* line 316, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity .input-group-text {
border: 0px none;
padding-right: 10px;
margin: 0px; margin: 0px;
border-left: 0px none;
border-right: 0px none;
}
/* line 323, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity .input-group-btn button {
padding: 5px;
}
/* line 325, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity .input-group-btn button .bi {
font-size: 1.7em;
font-weight: bold;
} }
/* line 335, ../sass/order/_order.scss */ /* line 335, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products tr.total .summary h3 { .order-order #main #app-order-order table#products tr.total .summary h3 {
} }
/* line 393, ../sass/order/_order.scss */ /* line 393, ../sass/order/_order.scss */
.order-order #main #app-order-order #specific-delays { .order-order #main #app-order-order #specific-delays {
margin-top: 15px;
margin-top: 30px;
} }
/* line 401, ../sass/order/_order.scss */
/* line 397, ../sass/order/_order.scss */
.order-order #main #app-order-order #infos { .order-order #main #app-order-order #infos {
margin-top: 30px; margin-top: 30px;
} }
/* line 403, ../sass/order/_order.scss */
.order-order #main #app-order-order #infos .panel-body {
padding-top: 0px;
white-space: pre-line;
}


/* line 413, ../sass/order/_order.scss */
/* line 405, ../sass/order/_order.scss */
#main #content .panel h3 { #main #content .panel h3 {
font-family: "worksans_bold"; font-family: "worksans_bold";
margin: 0px; margin: 0px;
} }


/* line 5, ../sass/order/_confirm.scss */ /* line 5, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert.alert-success .glyphicon-big {
background-color: #00A65A;
}
/* line 11, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert.alert-info .glyphicon-big {
background-color: #0097BC;
padding: 55px 30px;
}
/* line 17, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert.alert-info .content .glyphicon {
margin-right: 5px;
.order-confirm #main #order-success .alert-order-summary ul {
padding: 0px;
margin: 0px;
list-style-type: none;
} }
/* line 25, ../sass/order/_confirm.scss */
/* line 9, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert-order-summary ul li { .order-confirm #main #order-success .alert-order-summary ul li {
margin-bottom: 10px; margin-bottom: 10px;
} }
/* line 31, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert {
padding: 0px;
}
/* line 34, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert.alert-danger {
padding: 12px;
/* line 13, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert-order-summary p {
margin-bottom: 0px;
} }
/* line 36, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert.alert-danger h5 {
/* line 16, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert-order-summary div.summary {
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
/* line 42, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert strong {
font-weight: bold;
}
/* line 46, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert .glyphicon-big {
font-size: 90px;
color: white;
padding: 30px;
float: left;
}
/* line 53, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert div.content {
color: #333;
padding: 20px;
margin-left: 151px;
}
/* line 58, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert div.content h3 {
font-size: 30px;
color: #333;
margin-bottom: 20px;
margin-top: 0px;
margin-left: 0px;
text-align: left;
padding-left: 0px;
line-height: 35px;
text-transform: none;
/* line 23, ../sass/order/_confirm.scss */
.order-confirm #main .card-payment-infos {
margin-top: 30px;
} }
/* line 70, ../sass/order/_confirm.scss */
.order-confirm #main #order-success .alert div.content .locality {
color: gray;
/* line 27, ../sass/order/_confirm.scss */
.order-confirm #main .card-infos {
margin-top: 30px;
} }


/* line 3, ../sass/credit/_add.scss */ /* line 3, ../sass/credit/_add.scss */
} }


/* line 5, ../sass/credit/_history.scss */ /* line 5, ../sass/credit/_history.scss */
.credit-history #content #credit-user {
float: right;
/*display: block;
padding: 10px 30px;
background-color: $color-gray-light;
@include border-radius(30px);*/
}
/* line 12, ../sass/credit/_history.scss */
.credit-history #content #credit-user .bi {
display: none;
}
/* line 18, ../sass/credit/_history.scss */
.credit-history #content .table span.payment-positive { .credit-history #content .table span.payment-positive {
display: inline-block; display: inline-block;
font-family: 'worksans_bold'; font-family: 'worksans_bold';
-webkit-border-radius: 15px; -webkit-border-radius: 15px;
border-radius: 15px; border-radius: 15px;
} }
/* line 12, ../sass/credit/_history.scss */
/* line 25, ../sass/credit/_history.scss */
.credit-history #content .table small { .credit-history #content .table small {
color: gray; color: gray;
} }
font-weight: bold; font-weight: bold;
} }
/* line 88, ../sass/subscription/_form.scss */ /* line 88, ../sass/subscription/_form.scss */
.subscription-create .subscription-form .products td.quantity .input-group-addon,
.subscription-update .subscription-form .products td.quantity .input-group-addon {
.subscription-create .subscription-form .products td.quantity .input-group-text,
.subscription-update .subscription-form .products td.quantity .input-group-text {
background-color: white; background-color: white;
padding-left: 0px; padding-left: 0px;
border-left: 0px none; border-left: 0px none;
text-align: left !important; text-align: left !important;
} }
/* line 143, ../sass/_responsive.scss */ /* line 143, ../sass/_responsive.scss */
#main #products .td-quantity .input-group .input-group-addon {
#main #products .td-quantity .input-group .input-group-text {
position: absolute; position: absolute;
top: 37px; top: 37px;
right: 15px; right: 15px;

+ 5
- 7
producer/web/sass/_layout.scss View File

line-height: 0.8em; line-height: 0.8em;
text-transform: uppercase; text-transform: uppercase;
border: solid 1px transparent; border: solid 1px transparent;


&.label-success {
border: solid 1px white;
}
} }
} }


a:hover { a:hover {
color: white; color: white;
@include box-shadow(none); @include box-shadow(none);

span.label-success {
border: solid 1px white !important;
}
} }
} }


} }
h3 { h3 {
font-size: 23px ;
font-size: 1.4em ;
text-align: left ; text-align: left ;
margin-bottom: 30px ; margin-bottom: 30px ;
margin-top: 45px ;
span { span {
padding-top: 14px ; padding-top: 14px ;

+ 1
- 1
producer/web/sass/_responsive.scss View File

.form-control.quantity { .form-control.quantity {
text-align: left !important; text-align: left !important;
} }
.input-group-addon {
.input-group-text {
position: absolute; position: absolute;
top: 37px; top: 37px;
right: 15px; right: 15px;

+ 13
- 0
producer/web/sass/credit/_history.scss View File



.credit-history { .credit-history {
#content { #content {

#credit-user {
float: right;
/*display: block;
padding: 10px 30px;
background-color: $color-gray-light;
@include border-radius(30px);*/

.bi {
display: none;
}
}

.table { .table {
span.payment-positive { span.payment-positive {
display: inline-block; display: inline-block;

+ 15
- 62
producer/web/sass/order/_confirm.scss View File



.order-confirm #main { .order-confirm #main {
#order-success { #order-success {
.alert.alert-success {
.glyphicon-big {
background-color: #00A65A ;
}
}

.alert.alert-info {
.glyphicon-big {
background-color: #0097BC ;
padding: 55px 30px ;
}
.content {
.glyphicon {
margin-right: 5px ;
}
}
}

.alert-order-summary { .alert-order-summary {
ul { ul {
padding: 0px;
margin: 0px;
list-style-type: none;
li { li {
margin-bottom: 10px ; margin-bottom: 10px ;
} }
} }
}

.alert {
padding: 0px ;

&.alert-danger {
padding: 12px;
h5 {
margin-top: 10px;
margin-bottom: 10px;
}
p {
margin-bottom: 0px;
} }

strong {
font-weight: bold ;
}

.glyphicon-big {
font-size: 90px ;
color: white ;
padding: 30px ;
float: left ;
div.summary {
margin-top: 10px;
margin-bottom: 10px;
} }
}
}


div.content {
color: #333 ;
padding: 20px ;
margin-left: 151px ;

h3 {
font-size: 30px ;
color: #333 ;
margin-bottom: 20px ;
margin-top: 0px ;
margin-left: 0px ;
text-align: left ;
padding-left: 0px ;
line-height: 35px ;
text-transform: none ;
}
.card-payment-infos {
margin-top: 30px;
}


.locality {
color: gray ;
}
}
}
.card-infos {
margin-top: 30px;
} }
} }

+ 27
- 35
producer/web/sass/order/_order.scss View File

margin-bottom: 20px ; margin-bottom: 20px ;
ul { ul {
height: 70px ; height: 70px ;
list-style-type: none;
padding: 0px;
margin-bottom: 40px;
li { li {
text-align: center ; text-align: center ;
left: 8px ; left: 8px ;
} }
&.btn-primary {
background-color: $color-primary ;
}
&::after, &::before { &::after, &::before {
content: '' ; content: '' ;
position: absolute ; position: absolute ;
border-left:17px solid white; border-left:17px solid white;
background-color: transparent ; background-color: transparent ;
} }
&.btn-primary::after {
border-left:17px solid $color-primary;
}
&:hover {
//background-color: lighten($color-primary, 5) ;
}
&:hover::after {
//border:17px solid transparent;
//border-left:17px solid #fefefe;
}
} }
.btn-primary { .btn-primary {
td.name { td.name {
.the-name { .the-name {
color: black ; color: black ;
font-size: 20px ;
line-height: 25px ;
font-weight: bold;
font-size: 1.4em ;
line-height: 1.6em ;
font-family: 'worksans_semibold';
} }


.comment, .comment,
} }
.td-quantity { .td-quantity {
width: 175px ; width: 175px ;

input.quantity,
.input-group-text {
background-color: white;
}

input.quantity { input.quantity {
text-align: center ; text-align: center ;
border-right: 0px none ;
border: 0px none;
} }
.input-group-addon {
padding: 5px ;
padding-left: 0px ;
.input-group-text {
border: 0px none;
padding-right: 10px ;
margin: 0px ; margin: 0px ;
border-left: 0px none ;
border-right: 0px none ;
}

.input-group-btn {
button {
padding: 5px;
.bi {
font-size: 1.7em;
font-weight: bold;
}
}
} }
} }
} }


#specific-delays { #specific-delays {
margin-top: 15px;

strong {
//text-decoration: underline ;
}
margin-top: 30px;
} }


#infos { #infos {
margin-top: 30px ; margin-top: 30px ;
.panel-body {
padding-top: 0px ;
white-space: pre-line ;
}
} }
} }
} }

+ 4
- 0
producer/web/sass/site/_index.scss View File

color: black; color: black;
text-decoration: underline; text-decoration: underline;
} }

p:last-child {
margin-bottom: 0px;
}
} }
} }
} }

+ 1
- 1
producer/web/sass/subscription/_form.scss View File

} }
} }
.input-group-addon {
.input-group-text {
background-color: white ; background-color: white ;
padding-left: 0px ; padding-left: 0px ;
border-left: 0px none ; border-left: 0px none ;

Loading…
Cancel
Save