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