Commit 6ef87e12f81ce3cd727d36fc7bcd7016032d411b

Authored by Eric Fernandez
Exists in master and in 1 other branch develop

Merge branch 'develop' into 'master'

Develop

See merge request !110
img/activar_hoja.png

6.13 KB

8.64 KB

8.63 KB | W: | H:

10.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
img/parametrizar.png

10.1 KB

10.6 KB

6.33 KB

... ... @@ -93,11 +93,13 @@
93 93 <script src="./node_modules/foca-modal-tarifa-flete/dist/foca-modal-tarifa-flete.min.js"></script>
94 94 <script src="./node_modules/foca-modal-unidad-medida/dist/foca-modal-unidad-medida.min.js"></script>
95 95 <script src="./node_modules/foca-nombre-empresa/dist/foca-nombre-empresa.min.js"></script>
  96 + <script src="./node_modules/foca-parametros/dist/foca-parametros.min.js"></script>
96 97 <script src="./node_modules/foca-seguimiento/dist/foca-seguimiento.min.js"></script>
97 98 <script src="./node_modules/foca-teclado/dist/foca-teclado.min.js"></script>
98 99 <script src="./src/js/app.js"></script>
99 100 <script src="./src/js/controller.js"></script>
100 101 <script src="./src/etc/develop.js"></script>
  102 +
101 103 </head>
102 104 <body class="w-100">
103 105 <style>
... ... @@ -90,6 +90,7 @@
90 90 "foca-modal-tarifa-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-tarifa-flete.git",
91 91 "foca-modal-unidad-medida": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-unidad-medida.git",
92 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 94 "foca-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-seguimiento.git",
94 95 "foca-teclado": "git+ssh://git@debonline.dyndns.org:npm/foca-teclado.git",
95 96 "font-awesome": "^4.7.0",
... ... @@ -67,6 +67,7 @@ angular.module(&#39;appWrapperDemo&#39;, [
67 67 'focaModalTarifaFlete',
68 68 'focaModalUnidadMedida',
69 69 'focaNombreEmpresa',
  70 + 'focaParametros',
70 71 'focaSeguimiento',
71 72 'focaTeclado',
72 73 'focaLogisticaPedidoRuta'
src/sass/_bootstrap.scss
1 1 button.active{
2 2 text-decoration: none;
3 3 outline: 0;
4   - background-color: $primary-color;
  4 + color: white;
  5 + background-color: $primary;
5 6 &:focus{
6   - box-shadow: 0 0 0 0.2rem #d8b07d;
  7 + box-shadow: 0 0 0 0.2rem $primaryTransparency;
7 8 }
8 9 }
9 10 .btn-xs {
src/sass/_botonera-lateral.scss
... ... @@ -50,7 +50,7 @@
50 50 .btn-group-toggle{
51 51 pointer-events: all;
52 52 &.active{
53   - background-color: $primary-color;
  53 + background-color: $primary;
54 54 .boton-activar-teclado{
55 55 color: #FFF;
56 56 }
src/sass/_botonera-principal.scss
... ... @@ -18,6 +18,7 @@
18 18 height: 90px;
19 19 position: relative;
20 20 width: 90px;
  21 + outline: 0;
21 22 span {
22 23 left: 0;
23 24 position: absolute;
... ... @@ -27,6 +28,14 @@
27 28 font-size: 12px;
28 29 color: #777777;
29 30 }
  31 + &:hover {
  32 + background-color:rgb(250,250,250);
  33 + filter:drop-shadow(4px 4px 4px gray);
  34 + }
  35 + &:active {
  36 + background-color: rgb(230, 230, 230);
  37 + filter:drop-shadow(4px 4px 4px gray);
  38 + }
30 39 }
31 40 &-menu {
32 41 width: 100%;
... ... @@ -80,18 +89,12 @@
80 89 & button {
81 90 background-image: url('../img/control_stock.png');
82 91 background-size: 90px 90px;
83   - &:hover {
84   - background-color: rgb(250,250,250);
85   - }
86 92 }
87 93 }
88 94 &-logistica {
89 95 & button {
90 96 background-image: url('../img/logistica.png');
91   - background-size: 90px 90px;
92   - &:hover {
93   - background-color: rgb(250,250,250);
94   - }
  97 + background-size: 90px 90px;
95 98 }
96 99 }
97 100 &-facturador {
... ... @@ -106,140 +109,102 @@
106 109 & button {
107 110 background-image: url('../img/notaPedido.png');
108 111 background-size: 90px 90px;
109   - &:hover {
110   - background-color: rgb(250,250,250);
111   - }
112 112 }
113 113 }
114 114 &-remito {
115 115 & button {
116 116 background-image: url('../img/remito.png');
117 117 background-size: 90px 90px;
118   - &:hover {
119   - background-color: rgb(250,250,250);
120   - }
121 118 }
122 119 }
123 120 &-hoja-ruta {
124 121 & button {
125 122 background-image: url('../img/hoja-ruta.png');
126 123 background-size: 86px 90px;
127   - &:hover {
128   - background-color: rgb(250,250,250);
129   - }
  124 + }
  125 + }
  126 + &-activar-hoja-ruta {
  127 + & button {
  128 + background-image: url('../img/activar_hoja.png');
  129 + background-size: 90px 90px;
130 130 }
131 131 }
132 132 &-hoja-ruta-transportista {
133 133 & button {
134 134 background-image: url('../img/hojaRutaVolante.png');
135 135 background-size: 90px 90px;
136   - &:hover {
137   - background-color: rgb(250,250,250);
138   - }
139 136 }
140 137 }
141 138 &-seguimiento {
142 139 & button {
143 140 background-image: url('../img/seguimientoNotaPedido.png');
144 141 background-size: 90px 90px;
145   - // background-position: 15px 10px;
146   - &:hover {
147   - background-color: rgb(250,250,250);
148   - }
149 142 }
150 143 }
151 144 &-seguimiento-hoja-ruta {
152 145 & button {
153 146 background-image: url('../img/seguimientoHojaRuta.png');
154 147 background-size: 90px 90px;
155   - // background-position: 15px 10px;
156   - &:hover {
157   - background-color: rgb(250,250,250);
158   - }
159 148 }
160 149 }
161 150 &-cobranzas {
162 151 & button {
163 152 background-image: url('../img/cobranzas.png');
164 153 background-size: 90px 90px;
165   - // background-position: 15px 10px;
166   - &:hover {
167   - background-color: rgb(250,250,250);
168   - }
169 154 }
170 155 }
171 156 &-seguimiento-cobranzas {
172 157 & button {
173 158 background-image: url('../img/seguimientoCobranza.png');
174 159 background-size: 90px 90px;
175   - // background-position: 15px 10px;
176   - &:hover {
177   - background-color: rgb(250,250,250);
178   - }
179 160 }
180 161 }
181 162 &-vehiculo {
182 163 & button {
183 164 background-image: url('../img/abmVehiculos.png');
184 165 background-size: 90px 90px;
185   - &:hover {
186   - background-color: rgb(250,250,250);
187   - }
188 166 }
189 167 }
190 168 &-precio-condicion {
191 169 & button {
192 170 background-image: url('../img/abmPrecios.png');
193 171 background-size: 90px 90px;
194   - &:hover {
195   - background-color: rgb(250,250,250);
196   - }
197 172 }
198 173 }
199 174 &-chofer {
200 175 & button {
201 176 background-image: url('../img/abmChofer.png');
202 177 background-size: 90px 90px;
203   - &:hover {
204   - background-color: rgb(250,250,250);
205   - }
206 178 }
207 179 }
208 180 &-agendar-visita {
209 181 & button {
210 182 background-image: url('../img/agendarVisita.png');
211 183 background-size: 90px 90px;
212   - &:hover {
213   - box-shadow: 2px;
214   - background-color: rgb(250,250,250);
215   - }
216 184 }
217 185 }
218 186 &-informes {
219 187 & button {
220 188 background-image: url('../img/informes.png');
221 189 background-size: 90px 90px;
222   - &:hover {
223   - background-color: rgb(250,250,250);
224   - }
225 190 }
226 191 }
227 192 &-vendedor-cobrador {
228 193 & button {
229 194 background-image: url('../img/abmVendedorCobrador.png');
230 195 background-size: 90px 90px;
231   - &:hover {
232   - background-color: rgb(250,250,250);
233   - }
234 196 }
235 197 }
236 198 &-autorizar-nota {
237 199 & button {
238 200 background-image: url('../img/autorizarNota.png');
239 201 background-size: 90px 90px;
240   - &:hover {
241   - background-color: rgb(250,250,250);
242   - }
  202 + }
  203 + }
  204 + &-parametros {
  205 + & button {
  206 + background-image: url('../img/parametrizar.png');
  207 + background-size: 90px 90px;
243 208 }
244 209 }
245 210 .swiper-pagination {
... ... @@ -248,12 +213,17 @@
248 213  
249 214 .swiper-button-next {
250 215 background-image: url('../img/derecha.png');
  216 + &:hover{
  217 + filter:drop-shadow(4px 4px 4px gray);
  218 + }
251 219 }
252 220  
253 221 .swiper-button-prev {
254 222 background-image: url('../img/izquierda.png');
  223 + &:hover{
  224 + filter:drop-shadow(4px 4px 4px gray);
  225 + }
255 226 }
256   -
257 227 @media (min-width: 992px){
258 228 a{
259 229 margin-top: 2.5rem;
src/sass/_botonera-secundaria.scss
... ... @@ -62,8 +62,17 @@
62 62  
63 63 @media(max-width: 576px) {
64 64 .btn-xs{
65   - max-height: 13vw;
  65 + max-height: 22vw;
66 66 }
67 67 }
68 68  
69 69 }
  70 +.foca-overflow-hidden{
  71 + overflow: hidden;
  72 + text-overflow: ellipsis;
  73 + white-space: nowrap;
  74 +}
  75 +
  76 +.foca-boton-facturador-right {
  77 + right: 5;
  78 +}
src/sass/_constants.scss
... ... @@ -0,0 +1,5 @@
  1 +$primary: #cd9035;
  2 +$primaryTransparency: #cd9137cc;
  3 +$highlightedArea: #df9424;
  4 +$default: #6c757d;
  5 +$defaultTransparency: #6c757dcc;
0 6 \ No newline at end of file
src/sass/_paginador-abm.scss
... ... @@ -3,7 +3,7 @@
3 3 li {
4 4 &.active{
5 5 > a {
6   - background: $primary-color !important;
  6 + background: $primary !important;
7 7 color: #FFF !important;
8 8 }
9 9 }
src/sass/general.scss
1   -$primary-color: #e09125;
  1 +@import 'constants';
2 2 @import 'admin-seguimiento';
3 3 @import 'bootstrap';
4 4 @import 'botonera';
... ... @@ -40,17 +40,25 @@ input::-webkit-inner-spin-button {
40 40  
41 41 .btn-outline-debo{
42 42 background-color: transparent;
43   - color: $primary-color;
44   - border-color: $primary-color;
  43 + color: $primary;
  44 + border-color: $primary;
45 45 &:hover{
46 46 color: #FFF;
47 47 border-color: transparent;
48   - background-color: $primary-color;
  48 + background-color: $primary;
  49 + }
  50 + &:focus {
  51 + box-shadow: none !important;
  52 + }
  53 + &:active{
  54 + color: #FFF;
  55 + background-color: $primary !important;
  56 + box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
49 57 }
50 58 }
51 59  
52 60 .btn-brown {
53   - background-color:#Cd9035;
  61 + background-color:$primary;
54 62 -webkit-appearance: none;
55 63 border-color: transparent;
56 64 &:focus {
... ... @@ -66,45 +74,57 @@ input::-webkit-inner-spin-button {
66 74 .page-item.active .page-link {
67 75 z-index: 1;
68 76 color: #fff;
69   - background-color: #Cd9035;
70   - border-color: #Cd9035;
  77 + background-color: $primary;
  78 + border-color: $primary;
71 79 }
72 80  
73 81 .foca-input {
74 82 &:focus {
75   - border-color: #Cd9035;
76   - box-shadow: 0 0 5px #Cd9035;
  83 + border-color: $primary;
  84 + box-shadow: 0 0 5px $primary;
77 85 }
78 86 }
79 87  
80   -.btn-info {
81   - background-color: #Cd9035;
82   - border-color: #Cd9035;
  88 +.btn-primary {
  89 + background-color: $primary !important;
  90 + border-color: $primary !important;
83 91 &:focus {
84   - box-shadow: none;
  92 + box-shadow: none !important;
85 93 }
86 94 &:hover {
87   - background-color: #Cd9035;
  95 + border-color: $primaryTransparency !important;
  96 + background-color: $primaryTransparency !important;
  97 + }
  98 + &:active{
  99 + background-color: $primary !important;
  100 + box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
88 101 }
89 102 }
90 103  
91   -.btn-primary {
92   - background-color: #Cd9035;
93   - border-color: #Cd9035;
  104 +.btn-default {
  105 + color: #FFF;
  106 + background-color: $default !important;
  107 + border-color: $default !important;
94 108 &:focus {
95   - box-shadow: none;
  109 + box-shadow: none !important;
96 110 }
97 111 &:hover {
98   - background-color: #Cd9035;
  112 + color: #FFF;
  113 + border-color: $defaultTransparency !important;
  114 + background-color: $defaultTransparency !important;
  115 + }
  116 + &:active{
  117 + background-color: $default !important;
  118 + box-shadow: 0px 0px 0px 3px $defaultTransparency !important;
99 119 }
100 120 }
101 121  
102 122 .table-celda-total {
103   - background-color: #E09524;
  123 + background-color: $highlightedArea;
104 124 }
105 125  
106 126 marquee {
107   - background-color: #E09524;
  127 + background-color: $highlightedArea;
108 128 }
109 129  
110 130 .front-index{
... ... @@ -147,3 +167,32 @@ button.clear-input{
147 167 outline: none;
148 168 }
149 169 }
  170 +.custom-control-input {
  171 + &:checked ~ .custom-control-label::before {
  172 + border: none !important;
  173 + color: $primary !important;
  174 + background-color: $primary !important;
  175 + box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
  176 + }
  177 + &:active ~ .custom-control-label::before {
  178 + border: none !important;
  179 + color: $primary !important;
  180 + background-color: $primary !important;
  181 + }
  182 + &:focus ~ .custom-control-label::before {
  183 + border: none !important;
  184 + box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
  185 + }
  186 + &:focus:not(:checked) ~ .custom-control-label::before {
  187 + border: none !important;
  188 + }
  189 + &:not(:disabled):active ~ .custom-control-label::before {
  190 + border: none !important;
  191 + color: $primary !important;
  192 + box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
  193 + }
  194 + &:hover ~ .custom-control-label::before {
  195 + border: none !important;
  196 + background-color: $primaryTransparency;
  197 + }
  198 +}