Commit 4e0dac3c3d526530e08d12f227171fa5685cfdf0
1 parent
a19a44aa9f
Exists in
master
and in
1 other branch
Codigo identado.
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/app/wrappers/promocion.ts
| 1 | import { Producto } from './producto'; | 1 | import { Producto } from './producto'; |
| 2 | 2 | ||
| 3 | export interface Promocion { | 3 | export interface Promocion { |
| 4 | idPromo: number; | 4 | idPromo: number; |
| 5 | nombrePromo: string; | 5 | nombrePromo: string; |
| 6 | productos: Producto[]; | 6 | productos: Producto[]; |
| 7 | } | ||
| 7 | } |
src/styles.scss
| 1 | @import "./assets/scss/animation.scss"; | 1 | @import "./assets/scss/animation.scss"; |
| 2 | @import "./assets/scss/bootstrap-override.scss"; | 2 | @import "./assets/scss/bootstrap-override.scss"; |
| 3 | @import "../node_modules/bootstrap/scss/_variables.scss"; | 3 | @import "../node_modules/bootstrap/scss/_variables.scss"; |
| 4 | 4 | ||
| 5 | html, | 5 | html, |
| 6 | body { | 6 | body { |
| 7 | background-color: #f0f0f0; | 7 | background-color: #f0f0f0; |
| 8 | overflow: hidden; | 8 | overflow: hidden; |
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | .blur { | 11 | .blur { |
| 12 | filter: blur(10px); | 12 | filter: blur(10px); |
| 13 | -webkit-filter: blur(10px); | 13 | -webkit-filter: blur(10px); |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | .disable-user-select { | 16 | .disable-user-select { |
| 17 | -webkit-user-select: none; | 17 | -webkit-user-select: none; |
| 18 | -moz-user-select: none; | 18 | -moz-user-select: none; |
| 19 | -ms-user-select: none; | 19 | -ms-user-select: none; |
| 20 | user-select: none; | 20 | user-select: none; |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | .blue-gradient { | 23 | .blue-gradient { |
| 24 | background: linear-gradient(0deg, #ffffff00, $white); | 24 | background: linear-gradient(0deg, #ffffff00, $white); |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | .rounded { | 27 | .rounded { |
| 28 | border-radius: 1.5rem !important; | 28 | border-radius: 1.5rem !important; |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | .rounded-top-sm { | 31 | .rounded-top-sm { |
| 32 | border-top-left-radius: 0.75rem !important; | 32 | border-top-left-radius: 0.75rem !important; |
| 33 | border-top-right-radius: 0.75rem !important; | 33 | border-top-right-radius: 0.75rem !important; |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | .rounded-sm { | 36 | .rounded-sm { |
| 37 | border-radius: 0.75rem !important; | 37 | border-radius: 0.75rem !important; |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | .card-effect { | 40 | .card-effect { |
| 41 | &:active { | 41 | &:active { |
| 42 | background-color: #c9c9c9b3 !important; | 42 | background-color: #c9c9c9b3 !important; |
| 43 | transition: background-color 0.5s; | 43 | transition: background-color 0.5s; |
| 44 | } | 44 | } |
| 45 | &:focus { | 45 | &:focus { |
| 46 | background-color: #c9c9c9b3 !important; | 46 | background-color: #c9c9c9b3 !important; |
| 47 | transition: background-color 0.5s; | 47 | transition: background-color 0.5s; |
| 48 | } | 48 | } |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | .overflow-scroll { | 51 | .overflow-scroll { |
| 52 | overflow-y: auto !important; | 52 | overflow-y: auto !important; |
| 53 | overflow-x: hidden !important; | 53 | overflow-x: hidden !important; |
| 54 | &::-webkit-scrollbar { | 54 | &::-webkit-scrollbar { |
| 55 | width: 0.5em; | 55 | width: 0.5em; |
| 56 | } | 56 | } |
| 57 | &::-webkit-scrollbar-track { | 57 | &::-webkit-scrollbar-track { |
| 58 | border-radius: 10px; | 58 | border-radius: 10px; |
| 59 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); | 59 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); |
| 60 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); | 60 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4); |
| 61 | background-color: $white; | 61 | background-color: $white; |
| 62 | } | 62 | } |
| 63 | &::-webkit-scrollbar-thumb { | 63 | &::-webkit-scrollbar-thumb { |
| 64 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); | 64 | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); |
| 65 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); | 65 | -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); |
| 66 | outline: 1px solid slategrey; | 66 | outline: 1px solid slategrey; |
| 67 | border-radius: 10px; | 67 | border-radius: 10px; |
| 68 | height: 12px; | 68 | height: 12px; |
| 69 | &:active { | 69 | &:active { |
| 70 | box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.9); | 70 | box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.9); |
| 71 | -webkit-box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.9); | 71 | -webkit-box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.9); |
| 72 | } | 72 | } |
| 73 | } | 73 | } |
| 74 | &::-webkit-scrollbar-corner { | 74 | &::-webkit-scrollbar-corner { |
| 75 | border-radius: 10px; | 75 | border-radius: 10px; |
| 76 | } | 76 | } |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | .bg-gray { | 79 | .bg-gray { |
| 80 | background-color: #e6e6e6; | 80 | background-color: #e6e6e6; |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | .bg-primary-gradient { | 83 | .bg-primary-gradient { |
| 84 | background: linear-gradient(135deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); | 84 | background: linear-gradient(135deg, rgba(40, 112, 175, 1) 0%, rgba(0, 32, 66, 1) 100%); |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | .icon-dim { | 87 | .icon-dim { |
| 88 | height: 40px !important; | 88 | height: 40px !important; |
| 89 | width: auto !important; | 89 | width: auto !important; |
| 90 | background-color: white !important; | 90 | background-color: white !important; |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | .text-purple { | 93 | .text-purple { |
| 94 | color: $purple; | 94 | color: $purple; |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | .vh-70 { | 97 | .vh-70 { |
| 98 | min-height: auto !important; | 98 | min-height: auto !important; |
| 99 | max-height: 70vh !important; | 99 | max-height: 70vh !important; |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | .vh-60 { | 102 | .vh-60 { |
| 103 | min-height: auto !important; | 103 | min-height: auto !important; |
| 104 | max-height: 60vh !important; | 104 | max-height: 60vh !important; |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | .spinner-lg{ | 107 | .spinner-lg { |
| 108 | width: 3rem !important; | 108 | width: 3rem !important; |
| 109 | height: 3rem !important; | 109 | height: 3rem !important; |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | .sidebar { | 112 | .sidebar { |
| 113 | right: 0; | 113 | right: 0; |
| 114 | } | 114 | } |
| 115 | 115 |