Browse Source

[Site & administration] Congés : couleur en gris dans les calendrier

feature/rotating_product
Guillaume Bourgeois 5 months ago
parent
commit
27b0008333
5 changed files with 61 additions and 58 deletions
  1. +1
    -1
      backend/views/distribution/index.php
  2. +1
    -1
      backend/web/js/vuejs/distribution-index.js
  3. +53
    -53
      producer/web/css/screen.css
  4. +2
    -1
      producer/web/js/vuejs/order-order.js
  5. +4
    -2
      producer/web/sass/order/_order.scss

+ 1
- 1
backend/views/distribution/index.php View File

<h4> <h4>
Distribution du <strong>{{ dateFormat }}</strong> Distribution du <strong>{{ dateFormat }}</strong>
<a v-if="distribution.active" class="btn btn-default" :href="distribution.url_order" @click="copyLinkOrder($event, distribution.url_order)"><span class="glyphicon glyphicon-link"></span></a> <a v-if="distribution.active" class="btn btn-default" :href="distribution.url_order" @click="copyLinkOrder($event, distribution.url_order)"><span class="glyphicon glyphicon-link"></span></a>
<span v-if="distribution.is_leave_period" class="label label-info">
<span v-if="distribution.is_leave_period" class="label label-default">
<span class="glyphicon glyphicon-info-sign"></span> <span class="glyphicon glyphicon-info-sign"></span>
Congés Congés
</span> </span>

+ 1
- 1
backend/web/js/vuejs/distribution-index.js View File

key: 'leave_period', key: 'leave_period',
dates: leave_period_dates, dates: leave_period_dates,
highlight: { highlight: {
color: 'blue',
color: 'gray',
fillMode: 'solid' fillMode: 'solid'
} }
}); });

+ 53
- 53
producer/web/css/screen.css View File

} }
/* line 152, ../sass/order/_order.scss */ /* line 152, ../sass/order/_order.scss */
.order-order #main #app-order-order #legend #leave-period-date-color { .order-order #main #app-order-order #legend #leave-period-date-color {
background-color: #E09F3E;
border: solid 2px #E09F3E;
background-color: gray;
border: solid 2px gray;
} }
/* line 158, ../sass/order/_order.scss */
/* line 160, ../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 160, ../sass/order/_order.scss */
/* line 162, ../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 163, ../sass/order/_order.scss */
/* line 165, ../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 168, ../sass/order/_order.scss */
/* line 170, ../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 174, ../sass/order/_order.scss */
/* line 176, ../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 182, ../sass/order/_order.scss */
/* line 184, ../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 193, ../sass/order/_order.scss */
/* line 195, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-date #distributions-list .card { .order-order #main #app-order-order #content-step-date #distributions-list .card {
margin-bottom: 20px; margin-bottom: 20px;
} }
/* line 196, ../sass/order/_order.scss */
/* line 198, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-date #distributions-list .card .btn-primary { .order-order #main #app-order-order #content-step-date #distributions-list .card .btn-primary {
float: right; float: right;
} }
/* line 200, ../sass/order/_order.scss */
/* line 202, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-date #distributions-list .card .date { .order-order #main #app-order-order #content-step-date #distributions-list .card .date {
font-size: 1.2rem; font-size: 1.2rem;
line-height: 1.4rem; line-height: 1.4rem;
text-transform: uppercase; text-transform: uppercase;
font-family: 'worksans_semibold'; font-family: 'worksans_semibold';
} }
/* line 207, ../sass/order/_order.scss */
/* line 209, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-date #distributions-list .card .point-sales { .order-order #main #app-order-order #content-step-date #distributions-list .card .point-sales {
color: gray; color: gray;
font-size: 14px; font-size: 14px;
margin-top: 8px; margin-top: 8px;
} }
/* line 216, ../sass/order/_order.scss */
/* line 218, ../sass/order/_order.scss */
.order-order #main #app-order-order .block-actions { .order-order #main #app-order-order .block-actions {
text-align: center; text-align: center;
margin-top: 40px; margin-top: 40px;
} }
/* line 223, ../sass/order/_order.scss */
/* line 225, ../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: 1.2em; font-size: 1.2em;
line-height: 1.4em; line-height: 1.4em;
font-family: 'worksans_semibold'; font-family: 'worksans_semibold';
} }
/* line 230, ../sass/order/_order.scss */
/* line 232, ../sass/order/_order.scss */
.order-order #main #app-order-order table#points-sale td.name .locality { .order-order #main #app-order-order table#points-sale td.name .locality {
display: none; display: none;
} }
/* line 234, ../sass/order/_order.scss */
/* line 236, ../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,
.order-order #main #app-order-order table#points-sale td.name .shared-point-sale-producers { .order-order #main #app-order-order table#points-sale td.name .shared-point-sale-producers {
color: gray; color: gray;
} }
/* line 239, ../sass/order/_order.scss */
/* line 241, ../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,
.order-order #main #app-order-order table#points-sale td.name .shared-point-sale-producers a { .order-order #main #app-order-order table#points-sale td.name .shared-point-sale-producers a {
color: #ee6f42; color: #ee6f42;
} }
/* line 245, ../sass/order/_order.scss */
/* line 247, ../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 247, ../sass/order/_order.scss */
/* line 249, ../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 259, ../sass/order/_order.scss */
/* line 261, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products { .order-order #main #app-order-order table#products {
margin-bottom: 40px; margin-bottom: 40px;
border-top: solid 1px #b7ab9b; border-top: solid 1px #b7ab9b;
border-left: solid 1px #b7ab9b; border-left: solid 1px #b7ab9b;
border-right: solid 1px #b7ab9b; border-right: solid 1px #b7ab9b;
} }
/* line 265, ../sass/order/_order.scss */
/* line 267, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products thead { .order-order #main #app-order-order table#products thead {
display: none; display: none;
} }
/* line 269, ../sass/order/_order.scss */
/* line 271, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td { .order-order #main #app-order-order table#products td {
border-bottom: solid 1px #b7ab9b; border-bottom: solid 1px #b7ab9b;
border-left: 0px none; border-left: 0px none;
border-right: 0px none; border-right: 0px none;
} }
/* line 277, ../sass/order/_order.scss */
/* line 279, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products tr.category-closed:hover td.category-name, .order-order #main #app-order-order table#products tr.category-closed:hover td.category-name,
.order-order #main #app-order-order table#products tr.category-open td.category-name { .order-order #main #app-order-order table#products tr.category-open td.category-name {
padding-left: 30px; padding-left: 30px;
background-color: #f4efe8; background-color: #f4efe8;
} }
/* line 284, ../sass/order/_order.scss */
/* line 286, ../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 {
transition: all 0.1s linear; transition: all 0.1s linear;
background-color: #f4efe8; background-color: #f4efe8;
padding-top: 13px; padding-top: 13px;
padding-left: 20px; padding-left: 20px;
} }
/* line 295, ../sass/order/_order.scss */
/* line 297, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td.category-name .bi-caret-down-fill, .order-order #main #app-order-order table#products td.category-name .bi-caret-down-fill,
.order-order #main #app-order-order table#products td.category-name .bi-caret-right-fill { .order-order #main #app-order-order table#products td.category-name .bi-caret-right-fill {
font-size: 15px; font-size: 15px;
} }
/* line 300, ../sass/order/_order.scss */
/* line 302, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td.category-name span.badge { .order-order #main #app-order-order table#products td.category-name span.badge {
font-family: "worksans_bold"; font-family: "worksans_bold";
text-transform: uppercase; text-transform: uppercase;
position: relative; position: relative;
top: -3px; top: -3px;
} }
/* line 308, ../sass/order/_order.scss */
/* line 310, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products td.category-name span.badge.bg-primary { .order-order #main #app-order-order table#products td.category-name span.badge.bg-primary {
float: right; float: right;
top: 2px; top: 2px;
} }
/* line 314, ../sass/order/_order.scss */
/* line 316, ../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: white; background-color: white;
} }
/* line 321, ../sass/order/_order.scss */
/* line 323, ../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: 75px; width: 75px;
} }
/* line 331, ../sass/order/_order.scss */
/* line 333, ../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 339, ../sass/order/_order.scss */
/* line 341, ../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 341, ../sass/order/_order.scss */
/* line 343, ../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 349, ../sass/order/_order.scss */
/* line 351, ../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 353, ../sass/order/_order.scss */
/* line 355, ../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 360, ../sass/order/_order.scss */
/* line 362, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products tr.product-open td.price-total { .order-order #main #app-order-order table#products tr.product-open td.price-total {
font-size: 1.1rem; font-size: 1.1rem;
font-family: 'worksans_bold'; font-family: 'worksans_bold';
padding-top: 19px; padding-top: 19px;
} }
/* line 366, ../sass/order/_order.scss */
/* line 368, ../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 369, ../sass/order/_order.scss */
/* line 371, ../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,
.order-order #main #app-order-order table#products .td-quantity .input-group-text { .order-order #main #app-order-order table#products .td-quantity .input-group-text {
background-color: white; background-color: white;
} }
/* line 374, ../sass/order/_order.scss */
/* line 376, ../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: 0px none; border: 0px none;
} }
/* line 378, ../sass/order/_order.scss */
/* line 380, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity .input-group-text { .order-order #main #app-order-order table#products .td-quantity .input-group-text {
border: 0px none; border: 0px none;
padding-right: 10px; padding-right: 10px;
padding-left: 0px; padding-left: 0px;
margin: 0px; margin: 0px;
} }
/* line 386, ../sass/order/_order.scss */
/* line 388, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity .input-group-btn button { .order-order #main #app-order-order table#products .td-quantity .input-group-btn button {
padding: 4px 5px 0px 5px; padding: 4px 5px 0px 5px;
} }
/* line 388, ../sass/order/_order.scss */
/* line 390, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products .td-quantity .input-group-btn button .bi { .order-order #main #app-order-order table#products .td-quantity .input-group-btn button .bi {
font-size: 1.5em; font-size: 1.5em;
font-weight: bold; font-weight: bold;
margin: 0px; margin: 0px;
} }
/* line 399, ../sass/order/_order.scss */
/* line 401, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products tr.total .summary { .order-order #main #app-order-order table#products tr.total .summary {
padding: 25px; padding: 25px;
} }
/* line 402, ../sass/order/_order.scss */
/* line 404, ../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 {
font-family: 'worksans_bold'; font-family: 'worksans_bold';
margin-top: 0px; margin-top: 0px;
text-transform: uppercase; text-transform: uppercase;
margin-bottom: 5px; margin-bottom: 5px;
} }
/* line 409, ../sass/order/_order.scss */
/* line 411, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products tr.total .summary ul { .order-order #main #app-order-order table#products tr.total .summary ul {
margin-bottom: 15px; margin-bottom: 15px;
padding-left: 20px; padding-left: 20px;
line-height: 1.4rem; line-height: 1.4rem;
list-style-type: disc; list-style-type: disc;
} }
/* line 417, ../sass/order/_order.scss */
/* line 419, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products tr.total .summary ul li .quantity { .order-order #main #app-order-order table#products tr.total .summary ul li .quantity {
font-weight: bold; font-weight: bold;
} }
/* line 424, ../sass/order/_order.scss */
/* line 426, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products tr.total .price-total { .order-order #main #app-order-order table#products tr.total .price-total {
padding-top: 25px; padding-top: 25px;
font-size: 1.5rem; font-size: 1.5rem;
font-family: 'worksans_bold'; font-family: 'worksans_bold';
} }
/* line 429, ../sass/order/_order.scss */
/* line 431, ../sass/order/_order.scss */
.order-order #main #app-order-order table#products tr.total .price-total span { .order-order #main #app-order-order table#products tr.total .price-total span {
display: inline-block; display: inline-block;
padding: 7px 15px; padding: 7px 15px;
color: white; color: white;
font-size: 1.2rem; font-size: 1.2rem;
} }
/* line 441, ../sass/order/_order.scss */
/* line 443, ../sass/order/_order.scss */
.order-order #main #app-order-order #payment-methods .infos { .order-order #main #app-order-order #payment-methods .infos {
margin-top: 10px; margin-top: 10px;
color: gray; color: gray;
} }
/* line 448, ../sass/order/_order.scss */
/* line 450, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-payment .delivery { .order-order #main #app-order-order #content-step-payment .delivery {
margin-bottom: 20px; margin-bottom: 20px;
} }
/* line 452, ../sass/order/_order.scss */
/* line 454, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-payment .comment { .order-order #main #app-order-order #content-step-payment .comment {
margin-bottom: 20px; margin-bottom: 20px;
} }
/* line 456, ../sass/order/_order.scss */
/* line 458, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-payment #payment-methods { .order-order #main #app-order-order #content-step-payment #payment-methods {
margin-bottom: 20px; margin-bottom: 20px;
} }
/* line 461, ../sass/order/_order.scss */
/* line 463, ../sass/order/_order.scss */
.order-order #main #app-order-order #content-step-payment .credit .info { .order-order #main #app-order-order #content-step-payment .credit .info {
margin-left: 20px; margin-left: 20px;
color: gray; color: gray;
} }


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

+ 2
- 1
producer/web/js/vuejs/order-order.js View File

app.calendar.attrs.push({ app.calendar.attrs.push({
highlight: { highlight: {
style: { style: {
background: '#E09F3E'
//background: '#E09F3E'
background: 'gray'
}, },
contentStyle: { contentStyle: {
color: 'white' color: 'white'

+ 4
- 2
producer/web/sass/order/_order.scss View File

border: solid 2px #198754; border: solid 2px #198754;
} }
#leave-period-date-color { #leave-period-date-color {
background-color: #E09F3E;
border: solid 2px #E09F3E;
//background-color: #E09F3E;
//border: solid 2px #E09F3E;
background-color: gray;
border: solid 2px gray;
} }
} }

Loading…
Cancel
Save