Commit 497a64dac39ec6ad54f129e475636a21360c747b

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'develop'

Master

See merge request !111
1 { 1 {
2 "name": "wrapper-demo", 2 "name": "wrapper-demo",
3 "version": "0.0.1", 3 "version": "0.0.1",
4 "description": "", 4 "description": "",
5 "main": "main.js", 5 "main": "main.js",
6 "scripts": { 6 "scripts": {
7 "test": "unit-test.html", 7 "test": "unit-test.html",
8 "initdev": "npm install gulp --global && npm install && npm install -g jshint", 8 "initdev": "npm install gulp --global && npm install && npm install -g jshint",
9 "gulp-pre-commit": "gulp pre-commit", 9 "gulp-pre-commit": "gulp pre-commit",
10 "compile": "gulp uglify && gulp sass", 10 "compile": "gulp uglify && gulp sass",
11 "actualizar": "git pull origin master", 11 "actualizar": "git pull origin master",
12 "install-dev": "gulp pre-install && npm install && gulp post-install" 12 "install-dev": "gulp pre-install && npm install && gulp post-install"
13 }, 13 },
14 "pre-commit": [ 14 "pre-commit": [
15 "gulp-pre-commit" 15 "gulp-pre-commit"
16 ], 16 ],
17 "repository": { 17 "repository": {
18 "type": "git", 18 "type": "git",
19 "url": "git@debonline.dyndns.org:npm/wrapper-demo.git" 19 "url": "git@debonline.dyndns.org:npm/wrapper-demo.git"
20 }, 20 },
21 "author": "Foca Software", 21 "author": "Foca Software",
22 "license": "ISC", 22 "license": "ISC",
23 "dependencies": { 23 "dependencies": {
24 "angular": "^1.7.8", 24 "angular": "^1.7.8",
25 "angular-chart.js": "1.1.1", 25 "angular-chart.js": "1.1.1",
26 "angular-cookies": "^1.7.8", 26 "angular-cookies": "^1.7.8",
27 "angular-file-saver": "^1.1.3", 27 "angular-file-saver": "^1.1.3",
28 "angular-i18n": "^1.7.8", 28 "angular-i18n": "^1.7.8",
29 "angular-ladda": "^0.4.3", 29 "angular-ladda": "^0.4.3",
30 "angular-md5": "^0.1.10", 30 "angular-md5": "^0.1.10",
31 "angular-mocks": "^1.7.8", 31 "angular-mocks": "^1.7.8",
32 "angular-route": "^1.7.8", 32 "angular-route": "^1.7.8",
33 "angular-sanitize": "^1.7.8", 33 "angular-sanitize": "^1.7.8",
34 "angular-ui-grid": "4.6.6", 34 "angular-ui-grid": "4.6.6",
35 "angular-ui-swiper": "^2.3.8", 35 "angular-ui-swiper": "^2.3.8",
36 "bootstrap": "^4.3.1", 36 "bootstrap": "^4.3.1",
37 "chart.js": "2.7.3", 37 "chart.js": "2.7.3",
38 "excel-builder": "2.0.3", 38 "excel-builder": "2.0.3",
39 "foca-abm-chofer": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-chofer.git", 39 "foca-abm-chofer": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-chofer.git",
40 "foca-abm-plazo-pago": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-plazo-pago.git", 40 "foca-abm-plazo-pago": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-plazo-pago.git",
41 "foca-abm-precios-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-precios-condiciones.git", 41 "foca-abm-precios-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-precios-condiciones.git",
42 "foca-abm-vehiculo": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vehiculo.git", 42 "foca-abm-vehiculo": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vehiculo.git",
43 "foca-abm-vendedor-cobrador": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vendedor-cobrador.git", 43 "foca-abm-vendedor-cobrador": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vendedor-cobrador.git",
44 "foca-activar-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-activar-hoja-ruta.git", 44 "foca-activar-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-activar-hoja-ruta.git",
45 "foca-admin-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-admin-seguimiento.git", 45 "foca-admin-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-admin-seguimiento.git",
46 "foca-agendar-visita": "git+ssh://git@debonline.dyndns.org:npm/foca-agendar-visita.git", 46 "foca-agendar-visita": "git+ssh://git@debonline.dyndns.org:npm/foca-agendar-visita.git",
47 "foca-autorizar-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-autorizar-nota-pedido.git", 47 "foca-autorizar-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-autorizar-nota-pedido.git",
48 "foca-botonera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-facturador.git", 48 "foca-botonera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-facturador.git",
49 "foca-botonera-lateral": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-lateral.git", 49 "foca-botonera-lateral": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-lateral.git",
50 "foca-botonera-principal": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-principal.git", 50 "foca-botonera-principal": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-principal.git",
51 "foca-busqueda-cliente": "git+ssh://git@debonline.dyndns.org:npm/foca-busqueda-cliente.git", 51 "foca-busqueda-cliente": "git+ssh://git@debonline.dyndns.org:npm/foca-busqueda-cliente.git",
52 "foca-cabecera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-cabecera-facturador.git", 52 "foca-cabecera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-cabecera-facturador.git",
53 "foca-configuracion": "git+ssh://git@debonline.dyndns.org:npm/foca-configuracion.git", 53 "foca-configuracion": "git+ssh://git@debonline.dyndns.org:npm/foca-configuracion.git",
54 "foca-configurar-terminal": "git+ssh://git@debonline.dyndns.org:npm/foca-configurar-terminal.git", 54 "foca-configurar-terminal": "git+ssh://git@debonline.dyndns.org:npm/foca-configurar-terminal.git",
55 "foca-crear-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-cobranza.git", 55 "foca-crear-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-cobranza.git",
56 "foca-crear-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-hoja-ruta.git", 56 "foca-crear-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-hoja-ruta.git",
57 "foca-crear-login": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-login.git", 57 "foca-crear-login": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-login.git",
58 "foca-crear-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-nota-pedido.git", 58 "foca-crear-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-nota-pedido.git",
59 "foca-crear-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-remito.git", 59 "foca-crear-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-remito.git",
60 "foca-directivas": "git+ssh://git@debonline.dyndns.org:npm/foca-directivas.git", 60 "foca-directivas": "git+ssh://git@debonline.dyndns.org:npm/foca-directivas.git",
61 "foca-estado-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-estado-cisternas.git", 61 "foca-estado-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-estado-cisternas.git",
62 "foca-filtros": "git+ssh://git@debonline.dyndns.org:npm/foca-filtros.git", 62 "foca-filtros": "git+ssh://git@debonline.dyndns.org:npm/foca-filtros.git",
63 "foca-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-hoja-ruta.git", 63 "foca-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-hoja-ruta.git",
64 "foca-informes": "git+ssh://git@debonline.dyndns.org:npm/foca-informes.git", 64 "foca-informes": "git+ssh://git@debonline.dyndns.org:npm/foca-informes.git",
65 "foca-login": "git+ssh://git@debonline.dyndns.org:npm/foca-login.git", 65 "foca-login": "git+ssh://git@debonline.dyndns.org:npm/foca-login.git",
66 "foca-logistica-pedido-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-logistica-pedido-ruta.git", 66 "foca-logistica-pedido-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-logistica-pedido-ruta.git",
67 "foca-modal": "git+ssh://git@debonline.dyndns.org:npm/foca-modal.git", 67 "foca-modal": "git+ssh://git@debonline.dyndns.org:npm/foca-modal.git",
68 "foca-modal-busqueda-productos": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-busqueda-productos.git", 68 "foca-modal-busqueda-productos": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-busqueda-productos.git",
69 "foca-modal-cheque": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cheque.git", 69 "foca-modal-cheque": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cheque.git",
70 "foca-modal-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cobranza.git", 70 "foca-modal-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cobranza.git",
71 "foca-modal-cotizacion": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cotizacion.git", 71 "foca-modal-cotizacion": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cotizacion.git",
72 "foca-modal-detalle-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-cisternas.git", 72 "foca-modal-detalle-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-cisternas.git",
73 "foca-modal-detalle-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-hoja-ruta.git", 73 "foca-modal-detalle-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-hoja-ruta.git",
74 "foca-modal-detalles": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalles.git", 74 "foca-modal-detalles": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalles.git",
75 "foca-modal-domicilio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-domicilio.git", 75 "foca-modal-domicilio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-domicilio.git",
76 "foca-modal-efectivo": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-efectivo.git", 76 "foca-modal-efectivo": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-efectivo.git",
77 "foca-modal-factura": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura.git", 77 "foca-modal-factura": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura.git",
78 "foca-modal-factura-detalle": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura-detalle.git", 78 "foca-modal-factura-detalle": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura-detalle.git",
79 "foca-modal-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-flete.git", 79 "foca-modal-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-flete.git",
80 "foca-modal-grafico-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-grafico-cisternas.git", 80 "foca-modal-grafico-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-grafico-cisternas.git",
81 "foca-modal-informe": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-informe.git", 81 "foca-modal-informe": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-informe.git",
82 "foca-modal-lista-precio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-lista-precio.git", 82 "foca-modal-lista-precio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-lista-precio.git",
83 "foca-modal-localizar": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-localizar.git", 83 "foca-modal-localizar": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-localizar.git",
84 "foca-modal-login": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-login.git", 84 "foca-modal-login": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-login.git",
85 "foca-modal-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-nota-pedido.git", 85 "foca-modal-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-nota-pedido.git",
86 "foca-modal-precio-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-precio-condiciones.git", 86 "foca-modal-precio-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-precio-condiciones.git",
87 "foca-modal-punto-descarga": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-punto-descarga.git", 87 "foca-modal-punto-descarga": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-punto-descarga.git",
88 "foca-modal-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-remito.git", 88 "foca-modal-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-remito.git",
89 "foca-modal-resumen-cuenta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-resumen-cuenta.git", 89 "foca-modal-resumen-cuenta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-resumen-cuenta.git",
90 "foca-modal-tarifa-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-tarifa-flete.git", 90 "foca-modal-tarifa-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-tarifa-flete.git",
91 "foca-modal-unidad-medida": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-unidad-medida.git", 91 "foca-modal-unidad-medida": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-unidad-medida.git",
92 "foca-nombre-empresa": "git+ssh://git@debonline.dyndns.org:npm/foca-nombre-empresa.git", 92 "foca-nombre-empresa": "git+ssh://git@debonline.dyndns.org:npm/foca-nombre-empresa.git",
93 "foca-parametros": "git+ssh://git@debonline.dyndns.org:npm/foca-parametros.git", 93 "foca-parametros": "git+ssh://git@debonline.dyndns.org:npm/foca-parametros.git",
94 "foca-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-seguimiento.git", 94 "foca-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-seguimiento.git",
95 "foca-teclado": "git+ssh://git@debonline.dyndns.org:npm/foca-teclado.git", 95 "foca-teclado": "git+ssh://git@debonline.dyndns.org:npm/foca-teclado.git",
96 "font-awesome": "^4.7.0", 96 "font-awesome": "^4.7.0",
97 "gulp-angular-templatecache": "^2.2.6", 97 "gulp-angular-templatecache": "^2.2.7",
98 "gulp-htmlmin": "^5.0.1", 98 "gulp-htmlmin": "^5.0.1",
99 "gulp-sequence": "^1.0.0", 99 "gulp-sequence": "^1.0.0",
100 "gulp-uglify-es": "^1.0.4", 100 "gulp-uglify-es": "^1.0.4",
101 "jquery": "^3.4.0", 101 "jquery": "^3.4.1",
102 "jszip": "2.6.1", 102 "jszip": "2.6.1",
103 "ladda": "1.0.6", 103 "ladda": "1.0.6",
104 "leaflet": "1.3.4", 104 "leaflet": "1.3.4",
105 "lodash": "4.17.11", 105 "lodash": "4.17.11",
106 "moment": "2.23.0", 106 "moment": "2.23.0",
107 "ngstorage": "^0.3.11", 107 "ngstorage": "^0.3.11",
108 "node-sass": "^4.11.0", 108 "node-sass": "^4.12.0",
109 "pdfmake": "0.1.41", 109 "pdfmake": "0.1.41",
110 "uglify": "^0.1.5", 110 "uglify": "^0.1.5",
111 "ui-bootstrap4": "^3.0.6" 111 "ui-bootstrap4": "^3.0.6"
112 }, 112 },
113 "devDependencies": { 113 "devDependencies": {
114 "gulp": "3.9.1", 114 "gulp": "3.9.1",
115 "gulp-clean": "^0.4.0", 115 "gulp-clean": "^0.4.0",
116 "gulp-concat": "^2.6.1", 116 "gulp-concat": "^2.6.1",
117 "gulp-connect": "^5.7.0", 117 "gulp-connect": "^5.7.0",
118 "gulp-jshint": "^2.1.0", 118 "gulp-jshint": "^2.1.0",
119 "gulp-rename": "^1.4.0", 119 "gulp-rename": "^1.4.0",
120 "gulp-replace": "^1.0.0", 120 "gulp-replace": "^1.0.0",
121 "gulp-sass": "^4.0.1", 121 "gulp-sass": "^4.0.1",
122 "gulp-uglify": "^3.0.2", 122 "gulp-uglify": "^3.0.2",
123 "gulp-watch": "^5.0.1", 123 "gulp-watch": "^5.0.1",
124 "jasmine-core": "^3.4.0", 124 "jasmine-core": "^3.4.0",
125 "jshint": "^2.10.2", 125 "jshint": "^2.10.2",
126 "pre-commit": "^1.2.2", 126 "pre-commit": "^1.2.2",
127 "pump": "^3.0.0" 127 "pump": "^3.0.0"
128 } 128 }
129 } 129 }
130 130
src/sass/_bootstrap.scss
1 button.active{ 1 button.active{
2 text-decoration: none; 2 text-decoration: none;
3 outline: 0; 3 outline: 0;
4 color: white; 4 color: white;
5 background-color: $primary; 5 background-color: $primary;
6 &:focus{ 6 &:focus{
7 box-shadow: 0 0 0 0.2rem $primaryTransparency; 7 box-shadow: 0 0 0 0.2rem $primaryTransparency;
8 } 8 }
9 } 9 }
10 .btn-xs { 10 .btn-xs {
11 padding: .15rem .5rem; 11 padding: .15rem .5rem;
12 font-size: .8rem; 12 font-size: .8rem;
13 line-height: 1.5; 13 line-height: 1.5;
14 border-radius: .2rem; 14 border-radius: .2rem;
15 } 15 }
16
16 .no-border-bottom { 17 .no-border-bottom {
17 border-bottom: 0 !important; 18 border-bottom: 0 !important;
18 } 19 }
19 .no-border-top { 20 .no-border-top {
20 border-top: 0 !important; 21 border-top: 0 !important;
21 } 22 }
22 .no-border { 23 .no-border {
23 border: 0 !important; 24 border: 0 !important;
24 } 25 }
25 .margin-bottom-mobile { 26 .margin-bottom-mobile {
26 margin-bottom: 2.5em !important; 27 margin-bottom: 2.5em !important;
27 } 28 }
28 .tamaño-boton { 29 .tamaño-boton {
29 width:44px; 30 width:44px;
30 } 31 }
31 .modal-content { 32 .modal-content {
32 .modal-header{ 33 .modal-header{
33 display: block; 34 display: block;
34 >div.row{ 35 >div.row{
35 margin: 0 !important; 36 margin: 0 !important;
36 >div{ 37 >div{
37 padding: 0 !important; 38 padding: 0 !important;
38 } 39 }
39 } 40 }
40 } 41 }
41 @media (max-width: 576px) { 42 @media (max-width: 576px) {
42 height: auto; 43 height: auto;
43 height: 100%; 44 height: 100%;
44 border-radius: 0; 45 border-radius: 0;
45 } 46 }
46 } 47 }
47 .modal.show .modal-dialog { 48 .modal.show .modal-dialog {
48 @media (min-width: 1201px){ 49 @media (min-width: 1201px){
49 -webkit-transform: translate(0, 70px); 50 -webkit-transform: translate(0, 70px);
50 transform: translate(0, 70px); 51 transform: translate(0, 70px);
51 } 52 }
52 @media (min-width: 576px) { 53 @media (min-width: 576px) {
53 -webkit-transform: translate(0, 90px); 54 -webkit-transform: translate(0, 90px);
54 transform: translate(0, 90px); 55 transform: translate(0, 90px);
55 } 56 }
56 @media (max-width: 576px) { 57 @media (max-width: 576px) {
57 width: 100%; 58 width: 100%;
58 height: 100%; 59 height: 100%;
59 margin: 0; 60 margin: 0;
60 padding: 0; 61 padding: 0;
61 } 62 }
62 } 63 }
63 .modal-body { 64 .modal-body {
64 @media (max-width: 576px) { 65 @media (max-width: 576px) {
65 overflow-y: auto; 66 overflow-y: auto;
66 } 67 }
67 } 68 }
68 69
69 .boton-salir { 70 .boton-salir {
70 position: absolute; 71 position: absolute;
71 bottom: 10px; 72 bottom: 10px;
72 right: 15px; 73 right: 15px;
73 width: calc(100% - 15px); 74 width: calc(100% - 15px);
74 } 75 }
75 76
76 input[type=number]::-webkit-inner-spin-button, 77 input[type=number]::-webkit-inner-spin-button,
77 78
78 input[type=number]::-webkit-outer-spin-button { 79 input[type=number]::-webkit-outer-spin-button {
79 -webkit-appearance: none; 80 -webkit-appearance: none;
80 margin: 0; 81 margin: 0;
81 } 82 }
82 83
83 .invisible { 84 .invisible {
84 color: rgba(0,0,0,0); 85 color: rgba(0,0,0,0);
85 } 86 }
86 87
src/sass/_constants.scss
1 $primary: #cd9035; 1 $primary: #cd9035;
2 $primaryTransparency: #cd9137cc; 2 $primaryTransparency: #d6a55bcc;
3 $highlightedArea: #df9424; 3 $highlightedArea: #df9424;
4 $default: #6c757d; 4 $default: #6c757d;
5 $defaultTransparency: #6c757dcc;
5
6 $defaultTransparency: #6c757dcc;
7 $danger: #dc3545;
8 $dangerTransparency: #e98a94;
src/sass/_tabla.scss
1 .table { 1 .table {
2 &-nonfluid { 2 &-nonfluid {
3 width: auto; 3 width: auto;
4 } 4 }
5 &-celda-total { 5 &-celda-total {
6 color: #000000; 6 color: #000000;
7 background-color: #FF9900; 7 background-color: #FF9900;
8 } 8 }
9 &-title{ 9 &-title{
10 background-color: #67615e; 10 background-color: #67615e;
11 color: #FFF; 11 color: #FFF;
12 margin-bottom: 0; 12 margin-bottom: 0;
13 padding: 0.25rem 0; 13 padding: 0.25rem 0;
14 font-size: 1rem; 14 font-size: 1rem;
15 } 15 }
16 16
17 thead th{ 17 thead th{
18 font-size: 13px; 18 font-size: 13px;
19 } 19 }
20 20
21 &.table-abm{ 21 &.table-abm{
22 thead{ 22 thead{
23 color: #FFF; 23 color: #FFF;
24 background-color: #67615e; 24 background-color: #67615e;
25 } 25 }
26 } 26 }
27 27
28 } 28 }
29 .table-sm {
30 th,
31 td {
32 white-space: nowrap !important;
33 }
34 }
29 35
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 24
25 //OCULTA FLECHAS INPUT NUMBER 25 //OCULTA FLECHAS INPUT NUMBER
26 input[type='number'] { 26 input[type='number'] {
27 -moz-appearance:textfield; 27 -moz-appearance:textfield;
28 } 28 }
29 29
30 input::-webkit-outer-spin-button, 30 input::-webkit-outer-spin-button,
31 input::-webkit-inner-spin-button { 31 input::-webkit-inner-spin-button {
32 -webkit-appearance: none; 32 -webkit-appearance: none;
33 } 33 }
34 34
35 .d-md-grid{ 35 .d-md-grid{
36 @media (min-width: 768px) { 36 @media (min-width: 768px) {
37 display: grid !important; 37 display: grid !important;
38 } 38 }
39 } 39 }
40 40
41 .btn-outline-debo{ 41 .btn-outline-debo{
42 background-color: transparent; 42 background-color: transparent;
43 color: $primary; 43 color: $primary;
44 border-color: $primary; 44 border-color: $primary;
45 &:hover{ 45 &:hover{
46 color: #FFF; 46 color: #FFF;
47 border-color: transparent; 47 border-color: transparent;
48 background-color: $primary; 48 background-color: $primary;
49 } 49 }
50 &:focus { 50 &:focus {
51 box-shadow: none !important; 51 box-shadow: none !important;
52 } 52 }
53 &:active{ 53 &:active{
54 color: #FFF; 54 color: #FFF;
55 background-color: $primary !important; 55 background-color: $primary !important;
56 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 56 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
57 } 57 }
58 } 58 }
59 59
60 .btn-login {
61 box-shadow: none !important;
62 }
63
64 input[type="file"] {
65 display: none;
66 }
67 .custom-file-upload {
68 border: 1px solid #ccc;
69 display: inline-block;
70 padding: 6px 12px;
71 cursor: pointer;
72 }
73
60 .btn-brown { 74 .btn-brown {
61 background-color:$primary; 75 background-color:$primary;
62 -webkit-appearance: none; 76 -webkit-appearance: none;
63 border-color: transparent; 77 border-color: transparent;
64 &:focus { 78 &:focus {
65 outline: 0 !important; 79 outline: 0 !important;
66 box-shadow: none; 80 box-shadow: none;
67 } 81 }
68 .icon-white { 82 .icon-white {
69 color: white; 83 color: white;
70 } 84 }
71 } 85 }
72 86
87 .btn-Guardar {
88 background-color:green;
89 -webkit-appearance: none;
90 border-color: transparent;
91 &:focus {
92 outline: 0 !important;
93 box-shadow: none;
94 }
95 .icon-white {
96 color: white;
97 }
98 }
73 99
74 .page-item.active .page-link { 100 .page-item.active .page-link {
75 z-index: 1; 101 z-index: 1;
76 color: #fff; 102 color: #fff;
77 background-color: $primary; 103 background-color: $primary;
78 border-color: $primary; 104 border-color: $primary;
79 } 105 }
80 106
81 .foca-input { 107 .foca-input {
82 &:focus { 108 &:focus {
83 border-color: $primary; 109 border-color: $primary;
84 box-shadow: 0 0 5px $primary; 110 box-shadow: 0 0 5px $primary;
85 } 111 }
86 } 112 }
87 113
88 .btn-primary { 114 .btn-primary {
89 background-color: $primary !important; 115 background-color: $primary !important;
90 border-color: $primary !important; 116 border-color: $primary !important;
91 &:focus { 117 &:focus {
92 box-shadow: none !important; 118 box-shadow: none !important;
93 } 119 }
94 &:hover { 120 &:hover {
95 border-color: $primaryTransparency !important; 121 border-color: $primaryTransparency !important;
96 background-color: $primaryTransparency !important; 122 background-color: $primaryTransparency !important;
97 } 123 }
98 &:active{ 124 &:active{
99 background-color: $primary !important; 125 background-color: $primary !important;
100 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 126 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
101 } 127 }
102 } 128 }
103 129
104 .btn-default { 130 .btn-default {
105 color: #FFF; 131 color: #FFF;
106 background-color: $default !important; 132 background-color: $default !important;
107 border-color: $default !important; 133 border-color: $default !important;
108 &:focus { 134 &:focus {
109 box-shadow: none !important; 135 box-shadow: none !important;
110 } 136 }
111 &:hover { 137 &:hover {
112 color: #FFF; 138 color: #FFF;
113 border-color: $defaultTransparency !important; 139 border-color: $defaultTransparency !important;
114 background-color: $defaultTransparency !important; 140 background-color: $defaultTransparency !important;
115 } 141 }
116 &:active{ 142 &:active{
117 background-color: $default !important; 143 background-color: $default !important;
118 box-shadow: 0px 0px 0px 3px $defaultTransparency !important; 144 box-shadow: 0px 0px 0px 3px $defaultTransparency !important;
119 } 145 }
120 } 146 }
121 147
148 .btn-danger {
149 &:hover {
150 color: #FFF;
151 border-color: $dangerTransparency !important;
152 background-color: $dangerTransparency !important;
153 }
154 }
155
122 .table-celda-total { 156 .table-celda-total {
123 background-color: $highlightedArea; 157 background-color: $highlightedArea;
124 } 158 }
125 159
126 marquee { 160 marquee {
127 background-color: $highlightedArea; 161 background-color: $highlightedArea;
128 } 162 }
129 163
130 .front-index{ 164 .front-index{
131 z-index: 9999; 165 z-index: 9999;
132 } 166 }
133 167
134 .uib-daypicker{ 168 .uib-daypicker{
135 outline: 0 169 outline: 0
136 } 170 }
137 171
138 .right-0{ 172 .right-0{
139 right: 0; 173 right: 0;
140 } 174 }
141 175
142 .tabla-factura{ 176 .tabla-factura{
143 word-wrap: break-word; 177 word-wrap: break-word;
144 table-layout: fixed; 178 table-layout: fixed;
145 } 179 }
146 180
147 .ladda-w-100 .ladda-label{ 181 .ladda-w-100 .ladda-label{
148 width: 100%; 182 width: 100%;
149 float: right; 183 float: right;
150 } 184 }
151 185
152 .btn-delete-image{ 186 .btn-delete-image{
153 height: 25px; 187 height: 25px;
154 width: 25px; 188 width: 25px;
155 top: -10px; 189 top: -10px;
156 right: 0; 190 right: 0;
157 } 191 }
158 192
159 button.clear-input{ 193 button.clear-input{
160 cursor: pointer; 194 cursor: pointer;
161 background: transparent; 195 background: transparent;
162 border: none; 196 border: none;
163 margin-left: -24px; 197 margin-left: -24px;
164 z-index: 9; 198 z-index: 9;
165 color: #a3a3a3; 199 color: #a3a3a3;
166 &:focus{ 200 &:focus{
167 outline: none; 201 outline: none;
168 } 202 }
169 } 203 }
170 .custom-control-input { 204 .custom-control-input {
171 &:checked ~ .custom-control-label::before { 205 &:checked ~ .custom-control-label::before {
172 border: none !important; 206 border: none !important;
173 color: $primary !important; 207 color: $primary !important;
174 background-color: $primary !important; 208 background-color: $primary !important;
175 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 209 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
176 } 210 }
177 &:active ~ .custom-control-label::before { 211 &:active ~ .custom-control-label::before {
178 border: none !important; 212 border: none !important;
179 color: $primary !important; 213 color: $primary !important;
180 background-color: $primary !important; 214 background-color: $primary !important;
181 } 215 }
182 &:focus ~ .custom-control-label::before { 216 &:focus ~ .custom-control-label::before {
183 border: none !important; 217 border: none !important;
184 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 218 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
185 } 219 }
186 &:focus:not(:checked) ~ .custom-control-label::before { 220 &:focus:not(:checked) ~ .custom-control-label::before {
187 border: none !important; 221 border: none !important;
188 } 222 }
189 &:not(:disabled):active ~ .custom-control-label::before { 223 &:not(:disabled):active ~ .custom-control-label::before {
190 border: none !important; 224 border: none !important;
191 color: $primary !important; 225 color: $primary !important;
192 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 226 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
193 } 227 }
194 &:hover ~ .custom-control-label::before { 228 &:hover ~ .custom-control-label::before {
195 border: none !important; 229 border: none !important;
196 background-color: $primaryTransparency; 230 background-color: $primaryTransparency;
197 } 231 }
198 } 232 }
199 233