Commit 10485e5068071df8f7a3beec55cdb0302fb1b0ef
1 parent
a84978cc8a
Exists in
master
Arreglo en imagen de fondo.
Showing
3 changed files
with
5 additions
and
3 deletions
Show diff stats
src/app/components/cancelar-compra/cancelar-compra.component.html
1 | <div class="container-fluid p-0 background-image"> | 1 | <div class="container-fluid p-0"> |
2 | <img src="{{apiUrl}}/imagenes/homeBackground.jpg" class="background-image"> | ||
2 | <div class="row m-0"> | 3 | <div class="row m-0"> |
3 | <div class="col p-0"> | 4 | <div class="col p-0"> |
4 | <div class="vh-100 fade-in d-flex align-content-strech flex-wrap disable-user-select"> | 5 | <div class="vh-100 fade-in d-flex align-content-strech flex-wrap disable-user-select"> |
5 | 6 | ||
6 | <!-- HEADER --> | 7 | <!-- HEADER --> |
7 | <div class="row m-0 w-100 bg-primary-gradient-horizontal"> | 8 | <div class="row m-0 w-100 bg-primary-gradient-horizontal"> |
8 | <div class="col-6 bg-white rounded-bottom-right"> | 9 | <div class="col-6 bg-white rounded-bottom-right"> |
9 | <div class="row h-100"> | 10 | <div class="row h-100"> |
10 | <div class="col d-flex align-items-center"> | 11 | <div class="col d-flex align-items-center"> |
11 | <img class="w-25 mx-auto d-block" src="{{apiUrl}}/imagenes/logoaxion.png"> | 12 | <img class="w-25 mx-auto d-block" src="{{apiUrl}}/imagenes/logoaxion.png"> |
12 | </div> | 13 | </div> |
13 | </div> | 14 | </div> |
14 | </div> | 15 | </div> |
15 | </div> | 16 | </div> |
16 | 17 | ||
17 | <!-- INFO --> | 18 | <!-- INFO --> |
18 | <div class="row m-0 w-100"> | 19 | <div class="row m-0 w-100"> |
19 | <div class="col-4 offset-2"> | 20 | <div class="col-4 offset-2"> |
20 | <div class="row h-100"> | 21 | <div class="row h-100"> |
21 | <div class="col-12 py-4"> | 22 | <div class="col-12 py-4"> |
22 | <div class="card h-100 rounded"> | 23 | <div class="card h-100 rounded"> |
23 | <img src="{{apiUrl}}/imagenes/atencion.svg" class="w-50 mx-auto mt-auto mb-4"> | 24 | <img src="{{apiUrl}}/imagenes/atencion.svg" class="w-50 mx-auto mt-auto mb-4"> |
24 | <div class="mb-auto mt-4"> | 25 | <div class="mb-auto mt-4"> |
25 | <p class="display-3 card-text text-center font-weight-bold"> | 26 | <p class="display-3 card-text text-center font-weight-bold"> |
26 | Atención | 27 | Atención |
27 | </p> | 28 | </p> |
28 | </div> | 29 | </div> |
29 | </div> | 30 | </div> |
30 | </div> | 31 | </div> |
31 | </div> | 32 | </div> |
32 | </div> | 33 | </div> |
33 | <div class="col-6 text-center text-white my-auto"> | 34 | <div class="col-6 text-center text-white my-auto"> |
34 | <p class="display-3 font-weight-bold mb-5"> | 35 | <p class="display-3 font-weight-bold mb-5"> |
35 | Usted esta a punto<br>de cancelar su compra | 36 | Usted esta a punto<br>de cancelar su compra |
36 | </p> | 37 | </p> |
37 | <p class="display-4 m-0"> | 38 | <p class="display-4 m-0"> |
38 | Perderá los datos y<br>productos ya ingresados | 39 | Perderá los datos y<br>productos ya ingresados |
39 | </p> | 40 | </p> |
40 | <div class="d-flex justify-content-center mt-2"> | 41 | <div class="d-flex justify-content-center mt-2"> |
41 | <button | 42 | <button |
42 | type="button" | 43 | type="button" |
43 | class="btn btn-lg btn-light shadow mr-4" | 44 | class="btn btn-lg btn-light shadow mr-4" |
44 | (click)="volverPreviousPage()"> | 45 | (click)="volverPreviousPage()"> |
45 | <span class="pr-2">Volver a mi compra</span> | 46 | <span class="pr-2">Volver a mi compra</span> |
46 | <i class="fa fa-undo text-warning"></i> | 47 | <i class="fa fa-undo text-warning"></i> |
47 | </button> | 48 | </button> |
48 | <button | 49 | <button |
49 | type="button" | 50 | type="button" |
50 | class="btn btn-lg btn-light shadow ml-4" | 51 | class="btn btn-lg btn-light shadow ml-4" |
51 | (click)="limpiarCarritoYvolver()"> | 52 | (click)="limpiarCarritoYvolver()"> |
52 | <span class="pr-2">Si, terminar</span> | 53 | <span class="pr-2">Si, terminar</span> |
53 | <i class="fa fa-times text-danger"></i> | 54 | <i class="fa fa-times text-danger"></i> |
54 | </button> | 55 | </button> |
55 | </div> | 56 | </div> |
56 | </div> | 57 | </div> |
57 | </div> | 58 | </div> |
58 | 59 | ||
59 | <!-- FOOTER --> | 60 | <!-- FOOTER --> |
60 | <div class="row m-0 w-100 bg-gray"> | 61 | <div class="row m-0 w-100 bg-gray"> |
61 | <div class="col-6 bg-white offset-6 rounded-top-left"> | 62 | <div class="col-6 bg-white offset-6 rounded-top-left"> |
62 | <div class="row h-100"> | 63 | <div class="row h-100"> |
63 | <div class="col d-flex align-items-center"> | 64 | <div class="col d-flex align-items-center"> |
64 | <img class="w-25 mx-auto d-block" src="{{apiUrl}}/imagenes/logodebo.png"> | 65 | <img class="w-25 mx-auto d-block" src="{{apiUrl}}/imagenes/logodebo.png"> |
65 | </div> | 66 | </div> |
66 | </div> | 67 | </div> |
67 | </div> | 68 | </div> |
68 | </div> | 69 | </div> |
69 | 70 | ||
70 | </div> | 71 | </div> |
71 | </div> | 72 | </div> |
72 | </div> | 73 | </div> |
73 | </div> | 74 | </div> |
74 | 75 |
src/app/components/home/home.component.html
1 | <div class="container-fluid p-0 background-image"> | 1 | <div class="container-fluid p-0"> |
2 | <img src="{{apiUrl}}/imagenes/homeBackground.jpg" class="background-image"> | ||
2 | <div class="row m-0"> | 3 | <div class="row m-0"> |
3 | <div class="col p-0"> | 4 | <div class="col p-0"> |
4 | <div | 5 | <div |
5 | class="vh-100 fade-in d-flex align-content-between flex-wrap disable-user-select" | 6 | class="vh-100 fade-in d-flex align-content-between flex-wrap disable-user-select" |
6 | [routerLink]="['/inicio']"> | 7 | [routerLink]="['/inicio']"> |
7 | 8 | ||
8 | <!-- HEADER --> | 9 | <!-- HEADER --> |
9 | <div class="row m-0 w-100 bg-primary-gradient-horizontal"> | 10 | <div class="row m-0 w-100 bg-primary-gradient-horizontal"> |
10 | <div class="col-6 bg-white p-5 rounded-bottom-right"> | 11 | <div class="col-6 bg-white p-5 rounded-bottom-right"> |
11 | <img class="w-25 mx-auto d-block" src="{{apiUrl}}/imagenes/logoaxion.png"> | 12 | <img class="w-25 mx-auto d-block" src="{{apiUrl}}/imagenes/logoaxion.png"> |
12 | </div> | 13 | </div> |
13 | </div> | 14 | </div> |
14 | 15 | ||
15 | <!-- INFO DE BIENVENIDA --> | 16 | <!-- INFO DE BIENVENIDA --> |
16 | <div class="row w-100"> | 17 | <div class="row w-100"> |
17 | <div class="col-4 offset-2"> | 18 | <div class="col-4 offset-2"> |
18 | <img src="{{apiUrl}}/imagenes/accesoPLAYA.png" class="w-100"> | 19 | <img src="{{apiUrl}}/imagenes/accesoPLAYA.png" class="w-100"> |
19 | </div> | 20 | </div> |
20 | <div class="col-6 text-center text-white my-auto"> | 21 | <div class="col-6 text-center text-white my-auto"> |
21 | <p class="display-2 font-weight-bold mb-5">¡BIENVENIDO!</p> | 22 | <p class="display-2 font-weight-bold mb-5">¡BIENVENIDO!</p> |
22 | <p class="display-3 m-0">Toque la pantalla<br>para comenzar</p> | 23 | <p class="display-3 m-0">Toque la pantalla<br>para comenzar</p> |
23 | </div> | 24 | </div> |
24 | </div> | 25 | </div> |
25 | 26 | ||
26 | <!-- FOOTER --> | 27 | <!-- FOOTER --> |
27 | <div class="row m-0 w-100 bg-gray"> | 28 | <div class="row m-0 w-100 bg-gray"> |
28 | <div class="col-6 bg-white offset-6 p-5 rounded-top-left"> | 29 | <div class="col-6 bg-white offset-6 p-5 rounded-top-left"> |
29 | <img class="w-25 mx-auto d-block" src="{{apiUrl}}/imagenes/logodebo.png"> | 30 | <img class="w-25 mx-auto d-block" src="{{apiUrl}}/imagenes/logodebo.png"> |
30 | </div> | 31 | </div> |
31 | </div> | 32 | </div> |
32 | 33 | ||
33 | </div> | 34 | </div> |
34 | </div> | 35 | </div> |
35 | </div> | 36 | </div> |
36 | </div> | 37 | </div> |
37 | 38 |
src/styles.scss
1 | @import "./assets/scss/animation.scss"; | 1 | @import "./assets/scss/animation.scss"; |
2 | @import "./assets/scss/bootstrap-override.scss"; | 2 | @import "./assets/scss/bootstrap-override.scss"; |
3 | @import "../node_modules/bootstrap/scss/_variables.scss"; | 3 | @import "../node_modules/bootstrap/scss/_variables.scss"; |
4 | 4 | ||
5 | html, | 5 | html, |
6 | body { | 6 | body { |
7 | background-color: #f0f0f0; | 7 | background-color: #f0f0f0; |
8 | font-family: bahnschrift; | 8 | font-family: bahnschrift; |
9 | } | 9 | } |
10 | 10 | ||
11 | .blur { | 11 | .blur { |
12 | filter: blur(10px); | 12 | filter: blur(10px); |
13 | -webkit-filter: blur(10px); | 13 | -webkit-filter: blur(10px); |
14 | } | 14 | } |
15 | 15 | ||
16 | .disable-user-select { | 16 | .disable-user-select { |
17 | -webkit-user-select: none; | 17 | -webkit-user-select: none; |
18 | -moz-user-select: none; | 18 | -moz-user-select: none; |
19 | -ms-user-select: none; | 19 | -ms-user-select: none; |
20 | user-select: none; | 20 | user-select: none; |
21 | } | 21 | } |
22 | 22 | ||
23 | .blue-gradient { | 23 | .blue-gradient { |
24 | background: linear-gradient(0deg, #ffffff00, $white); | 24 | background: linear-gradient(0deg, #ffffff00, $white); |
25 | } | 25 | } |
26 | 26 | ||
27 | .rounded { | 27 | .rounded { |
28 | border-radius: 1.5rem !important; | 28 | border-radius: 1.5rem !important; |
29 | } | 29 | } |
30 | 30 | ||
31 | .rounded-top-sm { | 31 | .rounded-top-sm { |
32 | border-top-left-radius: 0.75rem !important; | 32 | border-top-left-radius: 0.75rem !important; |
33 | border-top-right-radius: 0.75rem !important; | 33 | border-top-right-radius: 0.75rem !important; |
34 | } | 34 | } |
35 | 35 | ||
36 | .rounded-sm { | 36 | .rounded-sm { |
37 | border-radius: 0.75rem !important; | 37 | border-radius: 0.75rem !important; |
38 | } | 38 | } |
39 | 39 | ||
40 | .card-effect { | 40 | .card-effect { |
41 | &:active { | 41 | &:active { |
42 | background-color: #c9c9c9b3 !important; | 42 | background-color: #c9c9c9b3 !important; |
43 | transition: background-color 0.5s; | 43 | transition: background-color 0.5s; |
44 | } | 44 | } |
45 | &:focus { | 45 | &:focus { |
46 | background-color: #c9c9c9b3 !important; | 46 | background-color: #c9c9c9b3 !important; |
47 | transition: background-color 0.5s; | 47 | transition: background-color 0.5s; |
48 | } | 48 | } |
49 | } | 49 | } |
50 | 50 | ||
51 | .overflow-scroll { | 51 | .overflow-scroll { |
52 | overflow-y: auto !important; | 52 | overflow-y: auto !important; |
53 | overflow-x: hidden !important; | 53 | overflow-x: hidden !important; |
54 | &::-webkit-scrollbar { | 54 | &::-webkit-scrollbar { |
55 | width: 1em; | 55 | width: 1em; |
56 | } | 56 | } |
57 | &::-webkit-scrollbar-track { | 57 | &::-webkit-scrollbar-track { |
58 | border-radius: 10px; | 58 | border-radius: 10px; |
59 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); | 59 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); |
60 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); | 60 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); |
61 | background-color: $white; | 61 | background-color: $white; |
62 | } | 62 | } |
63 | &::-webkit-scrollbar-thumb { | 63 | &::-webkit-scrollbar-thumb { |
64 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); | 64 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); |
65 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); | 65 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); |
66 | outline: 1px solid slategrey; | 66 | outline: 1px solid slategrey; |
67 | border-radius: 10px; | 67 | border-radius: 10px; |
68 | height: 12px; | 68 | height: 12px; |
69 | &:active { | 69 | &:active { |
70 | box-shadow: inset 0 0 8px $primary; | 70 | box-shadow: inset 0 0 8px $primary; |
71 | -webkit-box-shadow: inset 0 0 8px $primary; | 71 | -webkit-box-shadow: inset 0 0 8px $primary; |
72 | } | 72 | } |
73 | } | 73 | } |
74 | &::-webkit-scrollbar-corner { | 74 | &::-webkit-scrollbar-corner { |
75 | border-radius: 10px; | 75 | border-radius: 10px; |
76 | } | 76 | } |
77 | } | 77 | } |
78 | 78 | ||
79 | .bg-gray { | 79 | .bg-gray { |
80 | background-color: #e6e6e6; | 80 | background-color: #e6e6e6; |
81 | } | 81 | } |
82 | 82 | ||
83 | .bg-primary-gradient { | 83 | .bg-primary-gradient { |
84 | background: linear-gradient(135deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); | 84 | background: linear-gradient(135deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); |
85 | } | 85 | } |
86 | 86 | ||
87 | .bg-primary-gradient-horizontal { | 87 | .bg-primary-gradient-horizontal { |
88 | background: linear-gradient(90deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); | 88 | background: linear-gradient(90deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); |
89 | } | 89 | } |
90 | 90 | ||
91 | .icon-dim { | 91 | .icon-dim { |
92 | height: 40px !important; | 92 | height: 40px !important; |
93 | width: auto !important; | 93 | width: auto !important; |
94 | background-color: white !important; | 94 | background-color: white !important; |
95 | } | 95 | } |
96 | 96 | ||
97 | .text-purple { | 97 | .text-purple { |
98 | color: $purple; | 98 | color: $purple; |
99 | } | 99 | } |
100 | 100 | ||
101 | .vh-70 { | 101 | .vh-70 { |
102 | min-height: auto !important; | 102 | min-height: auto !important; |
103 | max-height: 70vh !important; | 103 | max-height: 70vh !important; |
104 | } | 104 | } |
105 | 105 | ||
106 | .vh-60 { | 106 | .vh-60 { |
107 | min-height: auto !important; | 107 | min-height: auto !important; |
108 | max-height: 60vh !important; | 108 | max-height: 60vh !important; |
109 | } | 109 | } |
110 | 110 | ||
111 | .spinner-lg { | 111 | .spinner-lg { |
112 | width: 3rem !important; | 112 | width: 3rem !important; |
113 | height: 3rem !important; | 113 | height: 3rem !important; |
114 | } | 114 | } |
115 | 115 | ||
116 | .sidebar { | 116 | .sidebar { |
117 | right: 0; | 117 | right: 0; |
118 | } | 118 | } |
119 | 119 | ||
120 | .background-image { | 120 | .background-image { |
121 | background-image: url(http://10.231.45.117:4705/autoservicio/imagenes/homeBackground.jpg); | ||
122 | background-repeat: no-repeat; | 121 | background-repeat: no-repeat; |
123 | background-size: cover; | 122 | background-size: cover; |
123 | position: fixed; | ||
124 | } | 124 | } |
125 | 125 | ||
126 | .rounded-bottom-right { | 126 | .rounded-bottom-right { |
127 | border-bottom-right-radius: 10rem; | 127 | border-bottom-right-radius: 10rem; |
128 | &:before { | 128 | &:before { |
129 | border-radius: 0 40px 40px 0; | 129 | border-radius: 0 40px 40px 0; |
130 | background-color: #fff; | 130 | background-color: #fff; |
131 | } | 131 | } |
132 | } | 132 | } |
133 | 133 | ||
134 | .rounded-top-left { | 134 | .rounded-top-left { |
135 | border-top-left-radius: 10rem; | 135 | border-top-left-radius: 10rem; |
136 | } | 136 | } |
137 | 137 | ||
138 | .bg-gray { | 138 | .bg-gray { |
139 | background-color: #cccccc; | 139 | background-color: #cccccc; |
140 | } | 140 | } |