Commit 2f475a32e377374bd41c67d66332ff31f0f417ef
1 parent
901a556aaf
Exists in
master
and in
1 other branch
arreglos
Showing
2 changed files
with
21 additions
and
0 deletions
Show diff stats
src/sass/_botonera-principal.scss
| 1 | .botonera-principal { | 1 | .botonera-principal { |
| 2 | menuitem { | 2 | menuitem { |
| 3 | display: inline-block; | 3 | display: inline-block; |
| 4 | height: 130px; | 4 | height: 130px; |
| 5 | text-align: center; | 5 | text-align: center; |
| 6 | width: 180px; | 6 | width: 180px; |
| 7 | @media (max-width: 576px) { | 7 | @media (max-width: 576px) { |
| 8 | width: 100%; | 8 | width: 100%; |
| 9 | } | 9 | } |
| 10 | @media (min-width: 992px) and (max-width: 1200px){ | ||
| 11 | width: 150px; | ||
| 12 | } | ||
| 10 | } | 13 | } |
| 11 | button { | 14 | button { |
| 12 | background-image: url('../img/botonera.png'); | 15 | background-image: url('../img/botonera.png'); |
| 13 | border-radius: 12px; | 16 | border-radius: 12px; |
| 14 | border-width: 0; | 17 | border-width: 0; |
| 15 | height: 90px; | 18 | height: 90px; |
| 16 | position: relative; | 19 | position: relative; |
| 17 | width: 90px; | 20 | width: 90px; |
| 18 | span { | 21 | span { |
| 19 | left: 0; | 22 | left: 0; |
| 20 | position: absolute; | 23 | position: absolute; |
| 21 | text-align: center; | 24 | text-align: center; |
| 22 | top: 90px; | 25 | top: 90px; |
| 23 | width: 100%; | 26 | width: 100%; |
| 24 | font-size: 12px; | 27 | font-size: 12px; |
| 25 | color: #777777; | 28 | color: #777777; |
| 26 | } | 29 | } |
| 27 | } | 30 | } |
| 28 | &-menu { | 31 | &-menu { |
| 32 | width: 100%; | ||
| 29 | padding-left: 90px; | 33 | padding-left: 90px; |
| 30 | @media (max-width: 576px) { | 34 | @media (max-width: 576px) { |
| 31 | padding: 0; | 35 | padding: 0; |
| 32 | } | 36 | } |
| 33 | } | 37 | } |
| 34 | &-logo { | 38 | &-logo { |
| 35 | width: 80%; | 39 | width: 80%; |
| 36 | opacity: .8; | 40 | opacity: .8; |
| 37 | @media (max-width: 576px) { | 41 | @media (max-width: 576px) { |
| 38 | width: 100%; | 42 | width: 100%; |
| 39 | } | 43 | } |
| 40 | } | 44 | } |
| 41 | &-vacio { | 45 | &-vacio { |
| 42 | & button { | 46 | & button { |
| 43 | background-position: -4380px 0; | 47 | background-position: -4380px 0; |
| 44 | &:hover { | 48 | &:hover { |
| 45 | background-position: -4380px -90px; | 49 | background-position: -4380px -90px; |
| 46 | } | 50 | } |
| 47 | } | 51 | } |
| 48 | } | 52 | } |
| 49 | &-abrir-turno { | 53 | &-abrir-turno { |
| 50 | & button { | 54 | & button { |
| 51 | background-position: 0 0; | 55 | background-position: 0 0; |
| 52 | &:hover { | 56 | &:hover { |
| 53 | background-position: 0 -90px; | 57 | background-position: 0 -90px; |
| 54 | } | 58 | } |
| 55 | } | 59 | } |
| 56 | } | 60 | } |
| 57 | &-cerrar-turno { | 61 | &-cerrar-turno { |
| 58 | & button { | 62 | & button { |
| 59 | background-position: -90px 0; | 63 | background-position: -90px 0; |
| 60 | &:hover { | 64 | &:hover { |
| 61 | background-position: -90px -90px; | 65 | background-position: -90px -90px; |
| 62 | } | 66 | } |
| 63 | } | 67 | } |
| 64 | } | 68 | } |
| 65 | &-caja { | 69 | &-caja { |
| 66 | & button { | 70 | & button { |
| 67 | background-position: -180px 0; | 71 | background-position: -180px 0; |
| 68 | &:hover { | 72 | &:hover { |
| 69 | background-position: -180px -90px; | 73 | background-position: -180px -90px; |
| 70 | } | 74 | } |
| 71 | } | 75 | } |
| 72 | } | 76 | } |
| 73 | &-facturador { | 77 | &-facturador { |
| 74 | & button { | 78 | & button { |
| 75 | background-position: -270px 0px; | 79 | background-position: -270px 0px; |
| 76 | &:hover { | 80 | &:hover { |
| 77 | background-position: -270px -90px; | 81 | background-position: -270px -90px; |
| 78 | } | 82 | } |
| 79 | } | 83 | } |
| 80 | } | 84 | } |
| 81 | &-nota-pedido { | 85 | &-nota-pedido { |
| 82 | & button { | 86 | & button { |
| 83 | background-position: -1250px 0px; | 87 | background-position: -1250px 0px; |
| 84 | &:hover { | 88 | &:hover { |
| 85 | background-position: -1250px -90px; | 89 | background-position: -1250px -90px; |
| 86 | } | 90 | } |
| 87 | } | 91 | } |
| 88 | } | 92 | } |
| 89 | &-remito { | 93 | &-remito { |
| 90 | & button { | 94 | & button { |
| 91 | background-position: -4560px 0px; | 95 | background-position: -4560px 0px; |
| 92 | &:hover { | 96 | &:hover { |
| 93 | background-position: -4560px -90px; | 97 | background-position: -4560px -90px; |
| 94 | } | 98 | } |
| 95 | } | 99 | } |
| 96 | } | 100 | } |
| 97 | &-hoja-ruta { | 101 | &-hoja-ruta { |
| 98 | & button { | 102 | & button { |
| 99 | background-position: -4650px 0px; | 103 | background-position: -4650px 0px; |
| 100 | &:hover { | 104 | &:hover { |
| 101 | background-position: -4650px -90px; | 105 | background-position: -4650px -90px; |
| 102 | } | 106 | } |
| 103 | } | 107 | } |
| 104 | } | 108 | } |
| 105 | &-hoja-ruta-transportista { | 109 | &-hoja-ruta-transportista { |
| 106 | & button { | 110 | & button { |
| 107 | background-image: url('../img/hojaRutaVolante.png'); | 111 | background-image: url('../img/hojaRutaVolante.png'); |
| 108 | background-size: 90px 90px; | 112 | background-size: 90px 90px; |
| 109 | &:hover { | 113 | &:hover { |
| 110 | background-color: rgb(250,250,250); | 114 | background-color: rgb(250,250,250); |
| 111 | } | 115 | } |
| 112 | } | 116 | } |
| 113 | } | 117 | } |
| 114 | &-seguimiento { | 118 | &-seguimiento { |
| 115 | & button { | 119 | & button { |
| 116 | background-image: url('../img/seguimientoNotaPedido.png'); | 120 | background-image: url('../img/seguimientoNotaPedido.png'); |
| 117 | background-size: 90px 90px; | 121 | background-size: 90px 90px; |
| 118 | background-position: 15px 10px; | 122 | background-position: 15px 10px; |
| 119 | &:hover { | 123 | &:hover { |
| 120 | background-color: rgb(250,250,250); | 124 | background-color: rgb(250,250,250); |
| 121 | } | 125 | } |
| 122 | } | 126 | } |
| 123 | } | 127 | } |
| 124 | &-seguimiento-hoja-ruta { | 128 | &-seguimiento-hoja-ruta { |
| 125 | & button { | 129 | & button { |
| 126 | background-image: url('../img/seguimientoHojaRuta.png'); | 130 | background-image: url('../img/seguimientoHojaRuta.png'); |
| 127 | background-size: 90px 90px; | 131 | background-size: 90px 90px; |
| 128 | background-position: 15px 10px; | 132 | background-position: 15px 10px; |
| 129 | &:hover { | 133 | &:hover { |
| 130 | background-color: rgb(250,250,250); | 134 | background-color: rgb(250,250,250); |
| 131 | } | 135 | } |
| 132 | } | 136 | } |
| 133 | } | 137 | } |
| 134 | &-cobranzas { | 138 | &-cobranzas { |
| 135 | & button { | 139 | & button { |
| 136 | background-position: -1880 0px; | 140 | background-position: -1880 0px; |
| 137 | &:hover { | 141 | &:hover { |
| 138 | background-position: -1880 -90px; | 142 | background-position: -1880 -90px; |
| 139 | } | 143 | } |
| 140 | } | 144 | } |
| 141 | } | 145 | } |
| 142 | &-seguimiento-cobranzas { | 146 | &-seguimiento-cobranzas { |
| 143 | & button { | 147 | & button { |
| 144 | background-image: url('../img/seguimientoCobranza.png'); | 148 | background-image: url('../img/seguimientoCobranza.png'); |
| 145 | background-size: 90px 90px; | 149 | background-size: 90px 90px; |
| 146 | background-position: 15px 10px; | 150 | background-position: 15px 10px; |
| 147 | &:hover { | 151 | &:hover { |
| 148 | background-color: rgb(250,250,250); | 152 | background-color: rgb(250,250,250); |
| 149 | } | 153 | } |
| 150 | } | 154 | } |
| 151 | } | 155 | } |
| 152 | &-vehiculo { | 156 | &-vehiculo { |
| 153 | & button { | 157 | & button { |
| 154 | background-image: url('../img/abmVehiculos.png'); | 158 | background-image: url('../img/abmVehiculos.png'); |
| 155 | background-size: 90px 90px; | 159 | background-size: 90px 90px; |
| 156 | &:hover { | 160 | &:hover { |
| 157 | background-color: rgb(250,250,250); | 161 | background-color: rgb(250,250,250); |
| 158 | } | 162 | } |
| 159 | } | 163 | } |
| 160 | } | 164 | } |
| 161 | &-precio-condicion { | 165 | &-precio-condicion { |
| 162 | & button { | 166 | & button { |
| 163 | background-image: url('../img/abmPrecios.png'); | 167 | background-image: url('../img/abmPrecios.png'); |
| 164 | background-size: 90px 90px; | 168 | background-size: 90px 90px; |
| 165 | &:hover { | 169 | &:hover { |
| 166 | background-color: rgb(250,250,250); | 170 | background-color: rgb(250,250,250); |
| 167 | } | 171 | } |
| 168 | } | 172 | } |
| 169 | } | 173 | } |
| 170 | &-chofer { | 174 | &-chofer { |
| 171 | & button { | 175 | & button { |
| 172 | background-image: url('../img/abmChofer.png'); | 176 | background-image: url('../img/abmChofer.png'); |
| 173 | background-size: 90px 90px; | 177 | background-size: 90px 90px; |
| 174 | &:hover { | 178 | &:hover { |
| 175 | background-color: rgb(250,250,250); | 179 | background-color: rgb(250,250,250); |
| 176 | } | 180 | } |
| 177 | } | 181 | } |
| 178 | } | 182 | } |
| 179 | .swiper-pagination { | 183 | .swiper-pagination { |
| 180 | bottom: 0px !important; | 184 | bottom: 0px !important; |
| 181 | } | 185 | } |
| 182 | 186 | ||
| 183 | .swiper-button-next { | 187 | .swiper-button-next { |
| 184 | background-image: url('../img/derecha.png'); | 188 | background-image: url('../img/derecha.png'); |
| 185 | } | 189 | } |
| 186 | 190 | ||
| 187 | .swiper-button-prev { | 191 | .swiper-button-prev { |
| 188 | background-image: url('../img/izquierda.png'); | 192 | background-image: url('../img/izquierda.png'); |
| 189 | } | 193 | } |
| 194 | |||
| 195 | @media (min-width: 992px){ | ||
| 196 | a{ | ||
| 197 | margin-top: 2.5rem; | ||
| 198 | } | ||
| 199 | } | ||
| 190 | } | 200 | } |
| 191 | 201 |
src/sass/_swiper.scss
| 1 | .swiper { | 1 | .swiper { |
| 2 | &-container { | 2 | &-container { |
| 3 | height: 300px; | 3 | height: 300px; |
| 4 | |||
| 4 | } | 5 | } |
| 5 | &-slide { | 6 | &-slide { |
| 6 | background: transparent; | 7 | background: transparent; |
| 7 | height: 400px; | 8 | height: 400px; |
| 8 | text-align: unset; | 9 | text-align: unset; |
| 9 | -webkit-align-items: unset; | 10 | -webkit-align-items: unset; |
| 10 | align-items: unset; | 11 | align-items: unset; |
| 11 | } | 12 | } |
| 13 | |||
| 14 | @media(max-width: 992px){ | ||
| 15 | &-container{ | ||
| 16 | height: 430px; | ||
| 17 | } | ||
| 18 | &-pagination{ | ||
| 19 | background: #CCC; | ||
| 20 | padding: 0.5rem; | ||
| 21 | } | ||
| 22 | } | ||
| 12 | } | 23 | } |
| 13 | 24 |