Commit fbfb312d3ff9bb56e12daa620bce0131cf846547
Exists in
master
and in
1 other branch
Merge branch 'master' of git.focasoftware.com:angular/autoservicio
Showing
2 changed files
Show diff stats
src/app/sidebar/sidebar.component.html
| 1 | <div class="col-2 col-md-2 offset-10 w-100 h-100 bg-dark text-white"> | 1 | < <div class="d-flex align-items-center flex-column h-100 bg-dark pt-2 text-center"> |
| 2 | <div class="d-flex align-items-center flex-column h-100 bg-dark pt-2 text-center"> | ||
| 3 | 2 | ||
| 4 | <h4 class="border-bottom border-white"> Mi compra </h4> | 3 | <h4 class="border-bottom border-white"> Mi compra </h4> |
| 5 | 4 | ||
| 6 | <div class="card mt-2 bg-primary"> | 5 | <div class="card mt-2 bg-primary"> |
| 7 | <img src="../../assets/descarga.jpg" class="card-img-top" alt="..."> | 6 | <img src="../../assets/descarga.jpg" class="card-img-top" alt="..."> |
| 8 | <div class="card-body row m-0 p-0 px-1 py-1 shadow rounded"> | 7 | <div class="card-body row m-0 p-0 px-1 py-1 shadow rounded"> |
| 9 | <div class="col-8 p-0 text-left my-auto"> | 8 | <div class="col-8 p-0 text-left my-auto"> |
| 10 | <p class="m-0 card-description">Galleta oreo x 199 gs Chocolate</p> | 9 | <p class="m-0 card-description">Galleta oreo x 199 gs Chocolate</p> |
| 11 | <p class="m-0 card-description"><small>COD: 1234567</small></p> | 10 | <p class="m-0 card-description"><small>COD: 1234567</small></p> |
| 12 | </div> | 11 | </div> |
| 13 | <div class="col-4 p-1 text-center my-auto"> | 12 | <div class="col-4 p-1 text-center my-auto"> |
| 14 | {{90 | currency}} | 13 | {{90 | currency}} |
| 15 | </div> | ||
| 16 | </div> | 14 | </div> |
| 17 | <div class="row m-0 p-0"> | 15 | </div> |
| 18 | <div class="col p-1 pb-1 mt-2"> | 16 | <div class="row m-0 p-0"> |
| 19 | <button type="button" class="btn btn-light btn-sm float-left my-auto">X</button> | 17 | <div class="col p-1 pb-1 mt-2"> |
| 20 | <button type="button" class="btn btn-light btn-sm my-auto">X</button> | 18 | <button type="button" class="btn btn-light btn-sm float-left my-auto">X</button> |
| 21 | <div class="btn-group-sm btn-group float-right my-auto" role="group" aria-label="Basic example"> | 19 | <button type="button" class="btn btn-light btn-sm my-auto">X</button> |
| 22 | <button type="button" class="btn btn-light btn-sm mb-2">+</button> | 20 | <div class="btn-group-sm btn-group float-right my-auto" role="group" aria-label="Basic example"> |
| 23 | <label for="" class="border border.white px-1">12</label> | 21 | <button type="button" class="btn btn-light btn-sm mb-2">+</button> |
| 24 | <button type="button" class="btn btn-light btn-sm mb-2">-</button> | 22 | <label for="" class="border border.white px-1">12</label> |
| 25 | </div> | 23 | <button type="button" class="btn btn-light btn-sm mb-2">-</button> |
| 26 | </div> | 24 | </div> |
| 27 | </div> | 25 | </div> |
| 28 | </div> | 26 | </div> |
| 27 | </div> | ||
| 29 | 28 | ||
| 30 | <div class="card mt-auto" style="background: linear-gradient(0deg, rgba(40,112,175,1),rgb(252, 252, 252))"> | 29 | <div class="card mt-auto blue-gradient"> |
| 31 | <div class="card-body row"> | 30 | <div class="card-body row"> |
| 32 | <div class="col"> | 31 | <div class="col"> |
| 33 | <h4 class="border-bottom border-secondary text-secondary">(1) item</h4> | 32 | <h4 class="border-bottom border-secondary text-secondary">(1) item</h4> |
| 34 | <h3 class="text-secondary">Total</h3> | 33 | <h3 class="text-secondary">Total</h3> |
| 35 | <h3 class="text-dark"><strong>{{5000 | currency}}</strong></h3> | 34 | <h3 class="text-dark"><strong>{{5000 | currency}}</strong></h3> |
| 36 | </div> | 35 | </div> |
| 37 | <div class="col p-0"> | 36 | <div class="col 12 p-0"> |
| 38 | <button type="button" class="btn btn-light shadow"><strong>Finalizar y pagar</strong></button> | 37 | <button type="button" class="btn btn-light shadow mb-2"><strong>Finalizar y pagar</strong></button> |
| 39 | </div> | 38 | <button type="button" class="btn btn-light shadow btn-sm">Cancelar</button> |
| 40 | <div class="col"> | ||
| 41 | <button type="button" class="btn btn-light shadow btn-sm">Cancelar</button> | ||
| 42 | </div> | ||
| 43 | </div> | 39 | </div> |
| 44 | </div> | 40 | </div> |
| 45 | </div> | 41 | </div> |
src/styles.scss
| 1 | html, | 1 | html, |
| 2 | body { | 2 | body { |
| 3 | height: 100% !important; | 3 | height: 100% !important; |
| 4 | width: 100% !important; | 4 | width: 100% !important; |
| 5 | } | 5 | } |
| 6 | 6 | ||
| 7 | .blur { | 7 | .blur { |
| 8 | filter: blur(10px); | 8 | filter: blur(10px); |
| 9 | -webkit-filter: blur(10px); | 9 | -webkit-filter: blur(10px); |
| 10 | } | 10 | } |
| 11 | 11 | ||
| 12 | .disable-user-select { | ||
| 13 | -webkit-user-select: none; | ||
| 14 | -moz-user-select: none; | ||
| 12 | .disable-user-select { | 15 | -ms-user-select: none; |
| 13 | -webkit-user-select: none; | 16 | user-select: none; |
| 14 | -moz-user-select: none; | 17 | } |
| 15 | -ms-user-select: none; | 18 | .blue-gradient{ |
| 16 | user-select: none; | 19 | background: linear-gradient(0deg, rgba(40,112,175,1),rgb(252, 252, 252)); |
| 17 | } | 20 | } |
| 18 | 21 |