Commit dcd85cb0e26c99ab33aca79f9f8ffcbeb930e372

Authored by Marcelo Puebla
1 parent 7550de4ea4
Exists in master and in 1 other branch develop

Cambio en efecto focus del btn primary

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
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: 44.5%; 49 right: 44.5%;
50 bottom: -32%; 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 background-color: $primary !important;
210 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
210 } 211 }
211 &:hover { 212 &:hover {
212 border-color: $primaryTransparency !important; 213 border-color: $primaryTransparency !important;
213 background-color: $primaryTransparency !important; 214 background-color: $primaryTransparency !important;
214 } 215 }
215 &:active { 216 &:active {
216 background-color: $primary !important; 217 background-color: $primary !important;
217 box-shadow: 0px 0px 0px 3px $primaryTransparency !important; 218 box-shadow: 0px 0px 0px 3px $primaryTransparency !important;
218 } 219 }
219 } 220 }
220 221
221 .input-group-text { 222 .input-group-text {
222 &:focus { 223 &:focus {
223 outline: none; 224 outline: none;
224 border-color: $primary; 225 border-color: $primary;
225 box-shadow: 0 0 5px $primary; 226 box-shadow: 0 0 5px $primary;
226 } 227 }
227 &:hover { 228 &:hover {
228 border-color: $primary; 229 border-color: $primary;
229 box-shadow: 0 0 5px $primary; 230 box-shadow: 0 0 5px $primary;
230 } 231 }
231 &:active { 232 &:active {
232 box-shadow: 0 0 5px $primary; 233 box-shadow: 0 0 5px $primary;
233 } 234 }
234 } 235 }
235 236
236 .btn-default { 237 .btn-default {
237 color: #fff; 238 color: #fff;
238 background-color: $default !important; 239 background-color: $default !important;
239 border-color: $default !important; 240 border-color: $default !important;
240 &:focus { 241 &:focus {
241 box-shadow: none !important; 242 box-shadow: none !important;
242 } 243 }
243 &:hover { 244 &:hover {
244 color: #fff; 245 color: #fff;
245 border-color: $defaultTransparency !important; 246 border-color: $defaultTransparency !important;
246 background-color: $defaultTransparency !important; 247 background-color: $defaultTransparency !important;
247 } 248 }
248 &:active { 249 &:active {
249 background-color: $default !important; 250 background-color: $default !important;
250 box-shadow: 0px 0px 0px 3px $defaultTransparency !important; 251 box-shadow: 0px 0px 0px 3px $defaultTransparency !important;
251 } 252 }
252 } 253 }
253 254
254 .btn-danger { 255 .btn-danger {
255 &:hover { 256 &:hover {
256 color: #fff; 257 color: #fff;
257 border-color: $dangerTransparency !important; 258 border-color: $dangerTransparency !important;
258 background-color: $dangerTransparency !important; 259 background-color: $dangerTransparency !important;
259 } 260 }
260 } 261 }
261 262
262 .table-celda-total { 263 .table-celda-total {
263 background-color: $highlightedArea; 264 background-color: $highlightedArea;
264 } 265 }
265 266
266 marquee { 267 marquee {
267 background-color: $highlightedArea; 268 background-color: $highlightedArea;
268 } 269 }
269 270
270 .front-index { 271 .front-index {
271 z-index: 9999; 272 z-index: 9999;
272 } 273 }
273 274
274 .uib-daypicker { 275 .uib-daypicker {
275 outline: 0; 276 outline: 0;
276 } 277 }
277 278
278 .right-0 { 279 .right-0 {
279 right: 0; 280 right: 0;
280 } 281 }
281 282
282 .tabla-factura { 283 .tabla-factura {
283 word-wrap: break-word; 284 word-wrap: break-word;
284 table-layout: fixed; 285 table-layout: fixed;
285 } 286 }
286 287
287 .ladda-w-100 .ladda-label { 288 .ladda-w-100 .ladda-label {
288 width: 100%; 289 width: 100%;
289 float: right; 290 float: right;
290 } 291 }
291 292
292 .btn-delete-image { 293 .btn-delete-image {
293 height: 25px; 294 height: 25px;
294 width: 25px; 295 width: 25px;
295 top: -10px; 296 top: -10px;
296 right: 0; 297 right: 0;
297 } 298 }
298 299
299 button.clear-input { 300 button.clear-input {
300 cursor: pointer; 301 cursor: pointer;
301 background: transparent; 302 background: transparent;
302 border: none; 303 border: none;
303 margin-left: -24px; 304 margin-left: -24px;
304 z-index: 9; 305 z-index: 9;
305 color: #a3a3a3; 306 color: #a3a3a3;
306 &:focus { 307 &:focus {
307 outline: none; 308 outline: none;
308 } 309 }
309 } 310 }
310 .custom-control-input { 311 .custom-control-input {
311 &:checked ~ .custom-control-label::before { 312 &:checked ~ .custom-control-label::before {
312 border: none !important; 313 border: none !important;
313 color: $primary !important; 314 color: $primary !important;
314 background-color: $primary !important; 315 background-color: $primary !important;
315 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 316 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
316 } 317 }
317 &:active ~ .custom-control-label::before { 318 &:active ~ .custom-control-label::before {
318 border: none !important; 319 border: none !important;
319 color: $primary !important; 320 color: $primary !important;
320 background-color: $primary !important; 321 background-color: $primary !important;
321 } 322 }
322 &:focus ~ .custom-control-label::before { 323 &:focus ~ .custom-control-label::before {
323 border: none !important; 324 border: none !important;
324 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 325 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
325 } 326 }
326 &:focus:not(:checked) ~ .custom-control-label::before { 327 &:focus:not(:checked) ~ .custom-control-label::before {
327 border: none !important; 328 border: none !important;
328 } 329 }
329 &:not(:disabled):active ~ .custom-control-label::before { 330 &:not(:disabled):active ~ .custom-control-label::before {
330 border: none !important; 331 border: none !important;
331 color: $primary !important; 332 color: $primary !important;
332 box-shadow: 0px 0px 0px 2px $primaryTransparency !important; 333 box-shadow: 0px 0px 0px 2px $primaryTransparency !important;
333 } 334 }
334 &:hover ~ .custom-control-label::before { 335 &:hover ~ .custom-control-label::before {
335 border: none !important; 336 border: none !important;
336 background-color: $primaryTransparency; 337 background-color: $primaryTransparency;
337 } 338 }
338 } 339 }
339 .disable-selection { 340 .disable-selection {
340 user-select: none; 341 user-select: none;
341 -moz-user-select: none; /* Firefox */ 342 -moz-user-select: none; /* Firefox */
342 -ms-user-select: none; /* Internet Explorer */ 343 -ms-user-select: none; /* Internet Explorer */
343 -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */ 344 -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
344 -webkit-user-select: none; /* Chrome, Safari, and Opera */ 345 -webkit-user-select: none; /* Chrome, Safari, and Opera */
345 -webkit-touch-callout: none; /* Disable Android and iOS callouts*/ 346 -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
346 } 347 }
347 .foca-text-success { 348 .foca-text-success {
348 color: $textSuccess !important; 349 color: $textSuccess !important;
349 } 350 }
350 .foca-text-danger { 351 .foca-text-danger {
351 color: $textDanger !important; 352 color: $textDanger !important;
352 } 353 }
353 .cover-spin { 354 .cover-spin {
354 width: -webkit-fill-available; 355 width: -webkit-fill-available;
355 height: -webkit-fill-available; 356 height: -webkit-fill-available;
356 display: flex; 357 display: flex;
357 position: absolute; 358 position: absolute;
358 background-color: rgba(255, 255, 255, 0.6); 359 background-color: rgba(255, 255, 255, 0.6);
359 left: 0; 360 left: 0;
360 top: 0; 361 top: 0;
361 z-index: 9999; 362 z-index: 9999;
362 } 363 }
363 .fadeIn { 364 .fadeIn {
364 opacity: 0; 365 opacity: 0;
365 animation: fadeIn 1.8s forwards; 366 animation: fadeIn 1.8s forwards;
366 } 367 }
367 368
368 @keyframes fadeIn { 369 @keyframes fadeIn {
369 0% { 370 0% {
370 opacity: 0; 371 opacity: 0;
371 transform: translateY(10px); 372 transform: translateY(10px);
372 } 373 }
373 30% { 374 30% {
374 opacity: 0.6; 375 opacity: 0.6;
375 } 376 }
376 100% { 377 100% {
377 opacity: 1; 378 opacity: 1;
378 transform: translateY(0); 379 transform: translateY(0);
379 } 380 }
380 } 381 }
381 382