Commit d66b329942979eb2c219153aece6f27e461f811f
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master(mpuebla) See merge request !110
Showing
2 changed files
Show diff stats
src/app/components/home/home.component.html
1 | <div class="container-fluid p-0"> | 1 | <div class="container-fluid p-0"> |
2 | <img | 2 | <img |
3 | src="{{apiImagenes}}/imagenes/homeBackground.jpg" | 3 | src="{{apiImagenes}}/imagenes/homeBackground.jpg" |
4 | class="background-image vh-100 w-100"> | 4 | class="background-image vh-100 w-100"> |
5 | <div class="row m-0"> | 5 | <div |
6 | <div class="col p-0"> | 6 | class="fade-in vh-100 d-flex align-content-between flex-wrap disable-user-select" |
7 | <div | 7 | [routerLink]="['/inicio']"> |
8 | class="vh-100 fade-in d-flex align-items-start flex-column disable-user-select" | ||
9 | [routerLink]="['/inicio']"> | ||
10 | 8 | ||
11 | <!-- HEADER --> | 9 | <!-- HEADER --> |
12 | <div class="row m-0 w-100 bg-primary-gradient-horizontal"> | 10 | <div class="vh-15 d-flex flex-row flex-wrap m-0 w-100 bg-primary-gradient-horizontal"> |
13 | <div class="col-6 bg-white p-3 rounded-bottom-right"> | 11 | <div class="h-100 w-50 bg-white rounded-bottom-right"> |
14 | <img class="w-25 mx-auto d-block" src="{{apiImagenes}}/imagenes/logoempresa.png"> | 12 | <img class="h-100 p-2 m-auto d-block" src="{{apiImagenes}}/imagenes/logoempresa.png"> |
15 | </div> | 13 | </div> |
16 | </div> | 14 | </div> |
17 | |||
18 | <!-- INFO DE BIENVENIDA --> | ||
19 | <div class="row my-auto mx-0 h-75 w-100"> | ||
20 | <div class="col-6 col-lg-8 my-auto p-3 h-100"> | ||
21 | <div class="embed-responsive embed-responsive-16by9"> | ||
22 | <iframe | ||
23 | class="embed-responsive-item rounded fade-in" | ||
24 | src="https://www.youtube.com/embed/vb8ZcalBDyw?&autoplay=1&loop=1&playlist=vb8ZcalBDyw&controls=0&showinfo=0&mute=1"> | ||
25 | </iframe> | ||
26 | </div> | ||
27 | </div> | ||
28 | <div class="col-6 col-lg-4 text-center text-white my-auto"> | ||
29 | <p class="display-4 font-weight-bold m-0">¡BIENVENIDO!</p> | ||
30 | <p class="display-4 m-0 font-weight-bold">Toque la pantalla<br>para comenzar</p> | ||
31 | </div> | ||
32 | |||
33 | </div> | ||
34 | 15 | ||
35 | <!-- FOOTER --> | 16 | <!-- INFO DE BIENVENIDA --> |
36 | <div class="row m-0 w-100 bg-gray"> | 17 | <div class="d-flex h-50 flex-row flex-wrap justify-content-around align-items-center w-100 m-3"> |
37 | <div class="col-6 bg-white offset-6 p-3 rounded-top-left"> | 18 | <iframe |
38 | <img class="w-25 mx-auto d-block" src="{{apiImagenes}}/imagenes/logodebo.png"> | 19 | class="w-50 h-100 rounded fade-in" |
39 | </div> | 20 | src="https://www.youtube.com/embed/vb8ZcalBDyw?&autoplay=1&loop=1&playlist=vb8ZcalBDyw&controls=0&showinfo=0&mute=1"> |
40 | </div> | 21 | </iframe> |
22 | <div class="w-auto text-center text-white"> | ||
23 | <p class="display-4 font-weight-bold m-0">¡BIENVENIDO!</p> | ||
24 | <p class="display-4 m-0 font-weight-bold">Toque la pantalla<br>para comenzar</p> | ||
25 | </div> | ||
26 | </div> | ||
41 | 27 |
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 | height: 100%; | 7 | height: 100%; |
8 | background: linear-gradient(0deg, #e6e6e6, #fff); | 8 | background: linear-gradient(0deg, #e6e6e6, #fff); |
9 | font-family: bahnschrift; | 9 | font-family: bahnschrift; |
10 | overflow: hidden !important; | 10 | overflow: hidden !important; |
11 | } | 11 | } |
12 | 12 | ||
13 | .blur { | 13 | .blur { |
14 | filter: blur(10px); | 14 | filter: blur(10px); |
15 | -webkit-filter: blur(10px); | 15 | -webkit-filter: blur(10px); |
16 | } | 16 | } |
17 | 17 | ||
18 | .disable-user-select { | 18 | .disable-user-select { |
19 | -webkit-user-select: none; | 19 | -webkit-user-select: none; |
20 | -moz-user-select: none; | 20 | -moz-user-select: none; |
21 | -ms-user-select: none; | 21 | -ms-user-select: none; |
22 | user-select: none; | 22 | user-select: none; |
23 | } | 23 | } |
24 | 24 | ||
25 | .blue-gradient { | 25 | .blue-gradient { |
26 | background: linear-gradient(0deg, #ffffff00, $white); | 26 | background: linear-gradient(0deg, #ffffff00, $white); |
27 | } | 27 | } |
28 | 28 | ||
29 | .rounded { | 29 | .rounded { |
30 | border-radius: 1.5rem !important; | 30 | border-radius: 1.5rem !important; |
31 | } | 31 | } |
32 | 32 | ||
33 | .rounded-top-sm { | 33 | .rounded-top-sm { |
34 | border-top-left-radius: 0.75rem !important; | 34 | border-top-left-radius: 0.75rem !important; |
35 | border-top-right-radius: 0.75rem !important; | 35 | border-top-right-radius: 0.75rem !important; |
36 | } | 36 | } |
37 | 37 | ||
38 | .rounded-sm { | 38 | .rounded-sm { |
39 | border-radius: 0.75rem !important; | 39 | border-radius: 0.75rem !important; |
40 | } | 40 | } |
41 | 41 | ||
42 | .card-effect { | 42 | .card-effect { |
43 | &:active { | 43 | &:active { |
44 | background-color: #c9c9c9b3 !important; | 44 | background-color: #c9c9c9b3 !important; |
45 | transition: background-color 0.5s; | 45 | transition: background-color 0.5s; |
46 | } | 46 | } |
47 | &:focus { | 47 | &:focus { |
48 | background-color: #c9c9c9b3 !important; | 48 | background-color: #c9c9c9b3 !important; |
49 | transition: background-color 0.5s; | 49 | transition: background-color 0.5s; |
50 | } | 50 | } |
51 | } | 51 | } |
52 | 52 | ||
53 | .overflow-scroll { | 53 | .overflow-scroll { |
54 | overflow-y: auto !important; | 54 | overflow-y: auto !important; |
55 | overflow-x: hidden !important; | 55 | overflow-x: hidden !important; |
56 | &::-webkit-scrollbar { | 56 | &::-webkit-scrollbar { |
57 | width: 0.75em; | 57 | width: 0.75em; |
58 | } | 58 | } |
59 | &::-webkit-scrollbar-track { | 59 | &::-webkit-scrollbar-track { |
60 | border-radius: 10px; | 60 | border-radius: 10px; |
61 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); | 61 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); |
62 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); | 62 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); |
63 | background-color: $white; | 63 | background-color: $white; |
64 | } | 64 | } |
65 | &::-webkit-scrollbar-thumb { | 65 | &::-webkit-scrollbar-thumb { |
66 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); | 66 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); |
67 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); | 67 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); |
68 | outline: 1px solid slategrey; | 68 | outline: 1px solid slategrey; |
69 | border-radius: 10px; | 69 | border-radius: 10px; |
70 | height: 12px; | 70 | height: 12px; |
71 | &:active { | 71 | &:active { |
72 | box-shadow: inset 0 0 8px $primary; | 72 | box-shadow: inset 0 0 8px $primary; |
73 | -webkit-box-shadow: inset 0 0 8px $primary; | 73 | -webkit-box-shadow: inset 0 0 8px $primary; |
74 | } | 74 | } |
75 | } | 75 | } |
76 | &::-webkit-scrollbar-corner { | 76 | &::-webkit-scrollbar-corner { |
77 | border-radius: 10px; | 77 | border-radius: 10px; |
78 | } | 78 | } |
79 | } | 79 | } |
80 | 80 | ||
81 | .bg-gray { | 81 | .bg-gray { |
82 | background-color: #e6e6e6; | 82 | background-color: #e6e6e6; |
83 | } | 83 | } |
84 | 84 | ||
85 | .bg-primary-gradient { | 85 | .bg-primary-gradient { |
86 | background: linear-gradient( | 86 | background: linear-gradient( |
87 | 135deg, | 87 | 135deg, |
88 | rgba(40, 112, 175, 1) 0%, | 88 | rgba(40, 112, 175, 1) 0%, |
89 | rgba(0, 32, 66, 1) 100% | 89 | rgba(0, 32, 66, 1) 100% |
90 | ); | 90 | ); |
91 | } | 91 | } |
92 | 92 | ||
93 | .bg-primary-gradient-horizontal { | 93 | .bg-primary-gradient-horizontal { |
94 | background: linear-gradient( | 94 | background: linear-gradient( |
95 | 90deg, | 95 | 90deg, |
96 | rgba(40, 112, 175, 1) 0%, | 96 | rgba(40, 112, 175, 1) 0%, |
97 | rgba(0, 32, 66, 1) 100% | 97 | rgba(0, 32, 66, 1) 100% |
98 | ); | 98 | ); |
99 | } | 99 | } |
100 | 100 | ||
101 | .icon-dim { | 101 | .icon-dim { |
102 | height: 40px !important; | 102 | height: 40px !important; |
103 | width: auto !important; | 103 | width: auto !important; |
104 | background-color: white !important; | 104 | background-color: white !important; |
105 | } | 105 | } |
106 | 106 | ||
107 | .text-purple { | 107 | .text-purple { |
108 | color: $purple; | 108 | color: $purple; |
109 | } | 109 | } |
110 | 110 | ||
111 | .vh-70 { | 111 | .vh-70 { |
112 | min-height: auto !important; | ||
113 | max-height: 70vh !important; | 112 | max-height: 70vh !important; |
114 | } | 113 | } |
115 | 114 | ||
116 | .vh-60 { | 115 | .vh-60 { |
117 | min-height: auto !important; | ||
118 | max-height: 60vh !important; | 116 | max-height: 60vh !important; |
119 | } | 117 | } |
120 | 118 | ||
121 | .vh-50 { | 119 | .vh-50 { |
122 | min-height: auto !important; | ||
123 | max-height: 50vh !important; | 120 | max-height: 50vh !important; |
124 | } | 121 | } |
125 | 122 | ||
123 | .vh-15 { | ||
124 | max-height: 15vh !important; | ||
125 | } | ||
126 | |||
126 | .spinner-lg { | 127 | .spinner-lg { |
127 | width: 3rem !important; | 128 | width: 3rem !important; |
128 | height: 3rem !important; | 129 | height: 3rem !important; |
129 | } | 130 | } |
130 | 131 | ||
131 | .sidebar { | 132 | .sidebar { |
132 | right: 0; | 133 | right: 0; |
133 | } | 134 | } |
134 | 135 | ||
135 | .background-image { | 136 | .background-image { |
136 | background-repeat: no-repeat; | 137 | background-repeat: no-repeat; |
137 | background-size: cover; | 138 | background-size: cover; |
138 | position: fixed; | 139 | position: fixed; |
139 | } | 140 | } |
140 | 141 | ||
141 | .rounded-bottom-right { | 142 | .rounded-bottom-right { |
142 | border-bottom-right-radius: 10rem; | 143 | border-bottom-right-radius: 10rem; |
143 | &:before { | 144 | &:before { |
144 | border-radius: 0 40px 40px 0; | 145 | border-radius: 0 40px 40px 0; |
145 | background-color: #fff; | 146 | background-color: #fff; |
146 | } | 147 | } |
147 | } | 148 | } |
148 | 149 | ||
149 | .rounded-top-left { | 150 | .rounded-top-left { |
150 | border-top-left-radius: 10rem; | 151 | border-top-left-radius: 10rem; |
151 | } | 152 | } |
152 | 153 | ||
153 | .bg-gray { | 154 | .bg-gray { |
154 | background-color: #cccccc; | 155 | background-color: #cccccc; |
155 | } | 156 | } |
156 | 157 | ||
157 | .cdk-overlay-container { | 158 | .cdk-overlay-container { |
158 | position: absolute; | 159 | position: absolute; |
159 | top: 65%; | 160 | top: 65%; |
160 | width: 100%; | 161 | width: 100%; |
161 | } | 162 | } |
162 | 163 | ||
163 | .min-h-40 { | 164 | .min-h-40 { |
164 | min-height: 40px; | 165 | min-height: 40px; |
165 | } | 166 | } |
166 | 167 | ||
167 | .min-h-55 { | 168 | .min-h-55 { |
168 | min-height: 55px; | 169 | min-height: 55px; |
169 | } | 170 | } |
170 | 171 | ||
171 | .pagination { | 172 | .pagination { |
172 | justify-content: center !important; | 173 | justify-content: center !important; |
173 | display: flex !important; | 174 | display: flex !important; |
174 | } | 175 | } |
175 | 176 | ||
176 | .z-index-0 { | 177 | .z-index-0 { |
177 | z-index: 0; | 178 | z-index: 0; |
178 | } | 179 | } |
179 | 180 | ||
180 | .w-15 { | 181 | .w-15 { |