Commit 08dcd1752496d3ea33b0ca398dbcefcd3777e4ec

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'develop'

Master

See merge request !141
src/sass/general.scss
1 @import "constants"; 1 @import "constants";
2 @import "admin-seguimiento"; 2 @import "admin-seguimiento";
3 @import "bootstrap"; 3 @import "bootstrap";
4 @import "botonera"; 4 @import "botonera";
5 @import "botonera-lateral"; 5 @import "botonera-lateral";
6 @import "botonera-principal"; 6 @import "botonera-principal";
7 @import "botonera-secundaria"; 7 @import "botonera-secundaria";
8 @import "contenedor"; 8 @import "contenedor";
9 @import "lista"; 9 @import "lista";
10 @import "login"; 10 @import "login";
11 @import "panel-informativo"; 11 @import "panel-informativo";
12 @import "tabla"; 12 @import "tabla";
13 @import "teclado"; 13 @import "teclado";
14 @import "tabla-articulos"; 14 @import "tabla-articulos";
15 @import "acciones-mobile"; 15 @import "acciones-mobile";
16 @import "swiper"; 16 @import "swiper";
17 @import "foca-crear"; 17 @import "foca-crear";
18 @import "logistica-pedido-ruta"; 18 @import "logistica-pedido-ruta";
19 @import "tabs"; 19 @import "tabs";
20 @import "grid"; 20 @import "grid";
21 @import "paginador-abm"; 21 @import "paginador-abm";
22 @import "table-autorizar-nota-pedido"; 22 @import "table-autorizar-nota-pedido";
23 23
24 //OCULTA FLECHAS INPUT NUMBER 24 //OCULTA FLECHAS INPUT NUMBER
25 input[type="number"] { 25 input[type="number"] {
26 -moz-appearance: textfield; 26 -moz-appearance: textfield;
27 } 27 }
28 28
29 input::-webkit-outer-spin-button, 29 input::-webkit-outer-spin-button,
30 input::-webkit-inner-spin-button { 30 input::-webkit-inner-spin-button {
31 -webkit-appearance: none; 31 -webkit-appearance: none;
32 } 32 }
33 33
34 .d-md-grid { 34 .d-md-grid {
35 @media (min-width: 768px) { 35 @media (min-width: 768px) {
36 display: grid !important; 36 display: grid !important;
37 } 37 }
38 } 38 }
39 39
40 .btn-dashed { 40 .btn-dashed {
41 border-style: dashed !important; 41 border-style: dashed !important;
42 border-width: 3px; 42 border-width: 3px;
43 border-color: white; 43 border-color: white;
44 background-color: #dedfe0; 44 background-color: #dedfe0;
45 } 45 }
46 46
47 .marcador { 47 .marcador {
48 position: absolute; 48 position: absolute;
49 right: 97px; 49 right: 44.5%;
50 bottom: -50px; 50 bottom: -32%;
51 } 51 }
52 52
53 .informacion { 53 .informacion {
54 position: absolute; 54 position: absolute;
55 right: 18px; 55 right: 18px;
56 bottom: 5px; 56 bottom: 5px;
57 } 57 }
58 58
59 .flashit { 59 .flashit {
60 -webkit-animation: flash linear 1s infinite; 60 -webkit-animation: flash linear 1s infinite;
61 animation: flash linear 1s infinite; 61 animation: flash linear 1s infinite;
62 } 62 }
63 @-webkit-keyframes flash { 63 @-webkit-keyframes flash {
64 0% { 64 0% {
65 opacity: 1; 65 opacity: 1;
66 } 66 }
67 50% { 67 50% {
68 opacity: 0.6; 68 opacity: 0.6;
69 } 69 }
70 100% { 70 100% {
71 opacity: 1; 71 opacity: 1;
72 } 72 }
73 } 73 }
74 @keyframes flash { 74 @keyframes flash {
75 0% { 75 0% {
76 opacity: 1; 76 opacity: 1;
77 } 77 }
78 50% { 78 50% {
79 opacity: 0.6; 79 opacity: 0.6;
80 } 80 }
81 100% { 81 100% {
82 opacity: 1; 82 opacity: 1;
83 } 83 }
84 } 84 }
85 85
86 .btn-outline-debo { 86 .btn-outline-debo {
87 background-color: transparent; 87 background-color: transparent;
88 color: $primary; 88 color: $primary;
89 border-color: $primary; 89 border-color: $primary;
90 &:hover { 90 &:hover {
91 color: #fff; 91 color: #fff;
92 border-color: transparent; 92 border-color: transparent;
93 background-color: $primary; 93 background-color: $primary;
94 } 94 }
95 &:focus { 95 &:focus {
96 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 96 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
97 } 97 }
98 &:active { 98 &:active {
99 color: #fff; 99 color: #fff;
100 background-color: $primary !important; 100 background-color: $primary !important;
101 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 101 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
102 } 102 }
103 } 103 }
104 104
105 .input-group-append > button { 105 .input-group-append > button {
106 &:focus { 106 &:focus {
107 border-color: $primary !important; 107 border-color: $primary !important;
108 box-shadow: 0 0 5px $primary !important; 108 box-shadow: 0 0 5px $primary !important;
109 } 109 }
110 &:active { 110 &:active {
111 border-color: $primary !important; 111 border-color: $primary !important;
112 box-shadow: 0 0 5px $primary !important; 112 box-shadow: 0 0 5px $primary !important;
113 } 113 }
114 } 114 }
115 115
116 .line-break { 116 .line-break {
117 white-space: pre-wrap; 117 white-space: pre-wrap;
118 } 118 }
119 119
120 .input-group-append > button { 120 .input-group-append > button {
121 &:focus { 121 &:focus {
122 border-color: $primary !important; 122 border-color: $primary !important;
123 box-shadow: 0 0 5px $primary !important; 123 box-shadow: 0 0 5px $primary !important;
124 } 124 }
125 &:active { 125 &:active {
126 border-color: $primary !important; 126 border-color: $primary !important;
127 box-shadow: 0 0 5px $primary !important; 127 box-shadow: 0 0 5px $primary !important;
128 } 128 }
129 } 129 }
130 130
131 .btn-login { 131 .btn-login {
132 box-shadow: none !important; 132 box-shadow: none !important;
133 } 133 }
134 134
135 input[type="file"] { 135 input[type="file"] {
136 display: none; 136 display: none;
137 } 137 }
138 .custom-file-upload { 138 .custom-file-upload {
139 border: 1px solid #ccc; 139 border: 1px solid #ccc;
140 display: inline-block; 140 display: inline-block;
141 padding: 6px 12px; 141 padding: 6px 12px;
142 cursor: pointer; 142 cursor: pointer;
143 } 143 }
144 144
145 .btn-brown { 145 .btn-brown {
146 background-color: $primary; 146 background-color: $primary;
147 -webkit-appearance: none; 147 -webkit-appearance: none;
148 border-color: transparent; 148 border-color: transparent;
149 &:focus { 149 &:focus {
150 outline: 0 !important; 150 outline: 0 !important;
151 box-shadow: none; 151 box-shadow: none;
152 } 152 }
153 .icon-white { 153 .icon-white {
154 color: white; 154 color: white;
155 } 155 }
156 } 156 }
157 157
158 .btn-Guardar { 158 .btn-Guardar {
159 background-color: green; 159 background-color: green;
160 -webkit-appearance: none; 160 -webkit-appearance: none;
161 border-color: transparent; 161 border-color: transparent;
162 &:focus { 162 &:focus {
163 outline: 0 !important; 163 outline: 0 !important;
164 box-shadow: none; 164 box-shadow: none;
165 } 165 }
166 .icon-white { 166 .icon-white {
167 color: white; 167 color: white;
168 } 168 }
169 } 169 }
170 170
171 .page-item.active .page-link { 171 .page-item.active .page-link {
172 z-index: 1; 172 z-index: 1;
173 color: #fff; 173 color: #fff;
174 background-color: $primary; 174 background-color: $primary;
175 border-color: $primary; 175 border-color: $primary;
176 } 176 }
177 177
178 .foca-input { 178 .foca-input {
179 &:focus { 179 &:focus {
180 border-color: $primary; 180 border-color: $primary;
181 box-shadow: 0 0 5px $primary; 181 box-shadow: 0 0 5px $primary;
182 } 182 }
183 &:hover { 183 &:hover {
184 border-color: $primary; 184 border-color: $primary;
185 box-shadow: 0 0 5px $primary; 185 box-shadow: 0 0 5px $primary;
186 } 186 }
187 } 187 }
188 188
189 .btn-enviar { 189 .btn-enviar {
190 background-color: white; 190 background-color: white;
191 border-color: #cd9035; 191 border-color: #cd9035;
192 &:focus { 192 &:focus {
193 box-shadow: none !important; 193 box-shadow: none !important;
194 } 194 }
195 &:hover { 195 &:hover {
196 border-color: $primaryTransparency !important; 196 border-color: $primaryTransparency !important;
197 background-color: $primaryTransparency !important; 197 background-color: $primaryTransparency !important;
198 } 198 }
199 &:active { 199 &:active {
200 background-color: $primary !important; 200 background-color: $primary !important;
201 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 201 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
202 } 202 }
203 } 203 }
204 204
205 .btn-primary { 205 .btn-primary {
206 background-color: $primary !important; 206 background-color: $primary !important;
207 border-color: $primary !important; 207 border-color: $primary !important;
208 &:focus { 208 &:focus {
209 box-shadow: none !important; 209 box-shadow: none !important;
210 } 210 }
211 &:hover { 211 &:hover {
212 border-color: $primaryTransparency !important; 212 border-color: $primaryTransparency !important;
213 background-color: $primaryTransparency !important; 213 background-color: $primaryTransparency !important;
214 } 214 }
215 &:active { 215 &:active {
216 background-color: $primary !important; 216 background-color: $primary !important;
217 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 217 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
218 } 218 }
219 } 219 }
220 220
221 .input-group-text { 221 .input-group-text {
222 &:focus { 222 &:focus {
223 outline: none; 223 outline: none;
224 border-color: $primary; 224 border-color: $primary;
225 box-shadow: 0 0 5px $primary; 225 box-shadow: 0 0 5px $primary;
226 } 226 }
227 &:hover { 227 &:hover {
228 border-color: $primary; 228 border-color: $primary;
229 box-shadow: 0 0 5px $primary; 229 box-shadow: 0 0 5px $primary;
230 } 230 }
231 &:active { 231 &:active {
232 box-shadow: 0 0 5px $primary; 232 box-shadow: 0 0 5px $primary;
233 } 233 }
234 } 234 }
235 235
236 .btn-default { 236 .btn-default {
237 color: #fff; 237 color: #fff;
238 background-color: $default !important; 238 background-color: $default !important;
239 border-color: $default !important; 239 border-color: $default !important;
240 &:focus { 240 &:focus {
241 box-shadow: none !important; 241 box-shadow: none !important;
242 } 242 }
243 &:hover { 243 &:hover {
244 color: #fff; 244 color: #fff;
245 border-color: $defaultTransparency !important; 245 border-color: $defaultTransparency !important;
246 background-color: $defaultTransparency !important; 246 background-color: $defaultTransparency !important;
247 } 247 }
248 &:active { 248 &:active {
249 background-color: $default !important; 249 background-color: $default !important;
250 box-shadow: 0px 0px 0px 3px $defaultTransparency !important; 250 box-shadow: 0px 0px 0px 3px $defaultTransparency !important;
251 } 251 }
252 } 252 }
253 253
254 .btn-danger { 254 .btn-danger {
255 &:hover { 255 &:hover {
256 color: #fff; 256 color: #fff;
257 border-color: $dangerTransparency !important; 257 border-color: $dangerTransparency !important;
258 background-color: $dangerTransparency !important; 258 background-color: $dangerTransparency !important;
259 } 259 }
260 } 260 }
261 261
262 .table-celda-total { 262 .table-celda-total {
263 background-color: $highlightedArea; 263 background-color: $highlightedArea;
264 } 264 }
265 265
266 marquee { 266 marquee {
267 background-color: $highlightedArea; 267 background-color: $highlightedArea;
268 } 268 }
269 269
270 .front-index { 270 .front-index {
271 z-index: 9999; 271 z-index: 9999;
272 } 272 }
273 273
274 .uib-daypicker { 274 .uib-daypicker {
275 outline: 0; 275 outline: 0;
276 } 276 }
277 277
278 .right-0 { 278 .right-0 {
279 right: 0; 279 right: 0;
280 } 280 }
281 281
282 .tabla-factura { 282 .tabla-factura {
283 word-wrap: break-word; 283 word-wrap: break-word;
284 table-layout: fixed; 284 table-layout: fixed;
285 } 285 }
286 286
287 .ladda-w-100 .ladda-label { 287 .ladda-w-100 .ladda-label {
288 width: 100%; 288 width: 100%;
289 float: right; 289 float: right;
290 } 290 }
291 291
292 .btn-delete-image { 292 .btn-delete-image {
293 height: 25px; 293 height: 25px;
294 width: 25px; 294 width: 25px;
295 top: -10px; 295 top: -10px;
296 right: 0; 296 right: 0;
297 } 297 }
298 298
299 button.clear-input { 299 button.clear-input {
300 cursor: pointer; 300 cursor: pointer;
301 background: transparent; 301 background: transparent;
302 border: none; 302 border: none;
303 margin-left: -24px; 303 margin-left: -24px;
304 z-index: 9; 304 z-index: 9;
305 color: #a3a3a3; 305 color: #a3a3a3;
306 &:focus { 306 &:focus {
307 outline: none; 307 outline: none;
308 } 308 }
309 } 309 }
310 .custom-control-input { 310 .custom-control-input {
311 &:checked ~ .custom-control-label::before { 311 &:checked ~ .custom-control-label::before {
312 border: none !important; 312 border: none !important;
313 color: $primary !important; 313 color: $primary !important;
314 background-color: $primary !important; 314 background-color: $primary !important;
315 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 315 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
316 } 316 }
317 &:active ~ .custom-control-label::before { 317 &:active ~ .custom-control-label::before {
318 border: none !important; 318 border: none !important;
319 color: $primary !important; 319 color: $primary !important;
320 background-color: $primary !important; 320 background-color: $primary !important;
321 } 321 }
322 &:focus ~ .custom-control-label::before { 322 &:focus ~ .custom-control-label::before {
323 border: none !important; 323 border: none !important;
324 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 324 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
325 } 325 }
326 &:focus:not(:checked) ~ .custom-control-label::before { 326 &:focus:not(:checked) ~ .custom-control-label::before {
327 border: none !important; 327 border: none !important;
328 } 328 }
329 &:not(:disabled):active ~ .custom-control-label::before { 329 &:not(:disabled):active ~ .custom-control-label::before {
330 border: none !important; 330 border: none !important;
331 color: $primary !important; 331 color: $primary !important;
332 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 332 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
333 } 333 }
334 &:hover ~ .custom-control-label::before { 334 &:hover ~ .custom-control-label::before {
335 border: none !important; 335 border: none !important;
336 background-color: $primaryTransparency; 336 background-color: $primaryTransparency;
337 } 337 }
338 } 338 }
339 .disable-selection { 339 .disable-selection {
340 user-select: none; 340 user-select: none;
341 -moz-user-select: none; /* Firefox */ 341 -moz-user-select: none; /* Firefox */
342 -ms-user-select: none; /* Internet Explorer */ 342 -ms-user-select: none; /* Internet Explorer */
343 -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */ 343 -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
344 -webkit-user-select: none; /* Chrome, Safari, and Opera */ 344 -webkit-user-select: none; /* Chrome, Safari, and Opera */
345 -webkit-touch-callout: none; /* Disable Android and iOS callouts*/ 345 -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
346 } 346 }
347 .foca-text-success { 347 .foca-text-success {
348 color: $textSuccess !important; 348 color: $textSuccess !important;
349 } 349 }
350 .foca-text-danger { 350 .foca-text-danger {
351 color: $textDanger !important; 351 color: $textDanger !important;
352 } 352 }
353 353