ldc-cocotte/integration/resources/sass/tunnel.scss
Olivier Legat d93553b396 Squashed commit of the following:
commit a962eca9b609623804bd8cfe57c246a61e77a382
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Thu Mar 4 17:41:46 2021 +0100

    responsive

commit a44ff3bde60c2af1db3169115a90741b8e868037
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Wed Mar 3 17:50:58 2021 +0100

    end tunnel

commit 4c40e47ae861909f76b92b0440d48b378ee621c2
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Mar 2 18:10:17 2021 +0100

    heure de collecte

commit e05d598006060880f79573108e0c66fccfcfc62c
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Mon Mar 1 17:47:48 2021 +0100

    tunnel page 3

commit b85f96a655e868096aa42e9f99b2f67c49a041c3
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Fri Feb 26 13:16:05 2021 +0100

    Tunnel d'achat start

commit cdf9a38e8f5d38ffcc1728415f0b58b22ff455df
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Thu Feb 25 20:35:44 2021 +0100

    cart full

commit 9db34a8ab6881b1b88adebaa6426b6944608de47
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Wed Feb 24 17:40:18 2021 +0100

    work in progress - cart panel

commit 0a698cb62eb26b52f3b48f5ac8a39b89c34617f4
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Feb 23 17:05:13 2021 +0100

    sassification des css

commit 5c277ae10d9ae8e0225a0f7d57d81146e43da146
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Feb 23 16:37:01 2021 +0100

    integration bato
2021-03-05 11:49:20 +01:00

404 lines
7.6 KiB
SCSS
Vendored

.order__stepper {
}
.order__step {
width:25%;
padding:0;
font-weight:500;
word-spacing: 1rem;
&.step__done {
&:before{
content: "";
text-transform: uppercase;
position: absolute;
display: block;
background: no-repeat url(../img/order-step-done.svg);
height: 22px;
width: 142px;
}
}
&.active {
&:before{
content: "";
text-transform: uppercase;
position: absolute;
display: block;
background: no-repeat url(../img/order-step-active.svg);
height: 22px;
width: 142px;
}
}
&:before{
content: "";
text-transform: uppercase;
position: absolute;
display: block;
background: no-repeat url(../img/order-step-inactive.svg);
height: 22px;
width: 142px;
}
}
.step--label {
text-transform: uppercase;
height: 22px;
padding: 0 0 0 127px;
display: block;
text-align: initial;
position: relative;
top: 2px;
&:first-letter {
color: #fff;
}
a:hover {
color: $green;
}
}
@media screen and (max-width: 480px) {
.steps__item.order__step {
width: 66%;
margin-bottom: 3px;
&.step__done {
&:before{
background-position-x: -120px;
}
}
&.active {
&:before{
background-position-x: -120px;
}
}
&:before{
background-position-x: -120px;
}
}
.step--label {
padding: 0 0 0 7px;
}
}
.section_white {
background: #fff;
}
.order_recap {
display: grid;
grid-template-columns: 2em auto 20% 10% 10%;
grid-template-rows: auto;
//flex-direction: row;
&>div {
padding: 0.5em 0;
//vertical-align: middle;
&.order_recap_action {
/* first column */
text-align: center;
}
&.order_recap_designation {
/* second column */
text-align: left;
}
&.order_recap_quantite {
/* third column */
text-align: center;
}
&.order_recap_unitprice {
/* fourth column */
text-align: center;
}
&.order_recap_totalprice {
/* fifth column */
text-align: right;
}
}
.order_recap__header{
border-bottom: 1px solid;
div{
font-weight: initial;
}
}
.order_recap__footer{
border-top: 1px solid;
font-weight: 500;
}
.order_recap__row {
align-self: center;
}
.add-to-cart {
display: inline-block;
}
}
@media screen and (max-width: 767px) {
.order_recap {
display: flex;
flex-direction: column;
.order_recap__header {
display: none;
}
.order_recap__footer{
border-top: 0;
}
}
}
.btn_grey {
background-color: $grey;
&:hover {
background-color: $green;
}
}
.order__actions {
display: flex;
justify-content: space-between;
.order__prev-step {
margin-right: 1em;
}
}
.point-relay {
display: none;
width: 100%;
padding-right: 1em;
}
.datetime-collect {
width: 100%;
}
.point-relay__form {
display: flex;
align-items: center;
input {
border-left: 1px solid;
padding-left: 0.5em;
}
.btn {
margin-right: 1em;
&:last-child {
margin-right: initial;
}
}
}
//timeslot picker
.timeslot-container {
display: flex;
justify-content: space-between;
margin: 1em 0;
}
.calendar {
width: 67%;
background-color: $beige-d;
h2 {
text-align: center;
font-weight: 500;
background-color: $beige-l;
line-height: 40px;
span {
color: #fff;
background-color: $blue;
vertical-align: middle;
text-align: center;
border-radius: 15px;
line-height: 30px;
width:30px;
display: inline-block;
margin: 0 1em;
cursor: pointer;
&:hover {
background-color: $green;
}
}
}
.content {
.current>span {
border-radius: 20px;
width: 40px;
margin: auto;
display: inline-block;
background-color: #ccc;
}
.grey {
background-color: #ebebeb;
}
.selected>span {
border-radius: 20px;
width: 40px;
margin: auto;
color: #fff;
background-color: $green;
display: inline-block;
}
.last, .next{
color: #999;
}
}
}
.calendar .content,
.calendar header {
background-color: $beige-d;
}
.calendar .content,
.calendar header {
display: flex;
flex-wrap: wrap;
}
.calendar .content>div,
.calendar header>div,
.creneaux__list div, {
box-sizing: border-box;
line-height: 40px;
height: 40px;
width: 14.28571427%;
text-align: center;
cursor: pointer;
}
.creneaux {
width:33%;
background-color: $beige-l;
header {
font-weight: 500;
text-align: center;
line-height: 40px;
background-color: $beige-d;
}
}
.creneaux__list {
background-color: $beige-l;
height: 240px;
position: relative;
.creneaux__slots {
scroll-behavior: smooth;
height: 240px;
overflow-y: hidden;
position: inherit;
top: initial;
&.hasDown {
height: 200px;
top: initial;
}
&.hasUp.hasDown {
height: 160px;
top: 40px;
}
&.hasUp {
height: 200px;
top: 40px;
}
}
div {
color: #999;
background-color: #fff;
width:90%;
margin: 0.5em auto;
&.scroll-up, &.scroll-down{
display:none;
color: #fff;
background-color: $grey;
border-radius: 15px;
width:30px;
height: 30px;
position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 1;
margin: 5px auto;
&:hover {
background-color: $green;
}
&.active {
display:block;
}
}
&.scroll-up{
top: 0;
}
&.dispo {
color : initial;
}
&:hover {
color: #fff;
background-color: $blue;
}
&.selected {
color: #fff;
background-color: $green;
}
}
}
.recap_order{
background-color: $beige-d;
width: 66%;
margin: auto;
padding: 0.5em;
}
@media screen and (max-width: 480px) {
.recap_order{
width:99%;
}
}
.message{
margin: 0.5em 0;
}
.center {
text-align: center;
}
.order__identification {
margin-top: 2em;
font-weight: 500;
}
.order__line,.order_total {
display: flex;
flex-direction: row;
div:not(:first-child) {
padding-left: 0.5em;
}
}
.order_total {
justify-content: flex-end;
font-weight: 500;
}