Commit 5eb6f3a5fe7f89f025347e802b1d6a969cc3b01d
1 parent
bb50dfbc3e
Exists in
master
mejoras en mobile para botonera y modales
Showing
5 changed files
with
42 additions
and
3 deletions
Show diff stats
index.html
... | ... | @@ -58,7 +58,7 @@ |
58 | 58 | </style> |
59 | 59 | <botonera-horizontal></botonera-horizontal> |
60 | 60 | <div ng-view class="container contenedor"></div> |
61 | - <div ng-controller="appWrapperDemoController" class="container d-none d-sm-block"> | |
61 | + <div ng-controller="appWrapperDemoController" class="container d-none d-md-block"> | |
62 | 62 | <div |
63 | 63 | class="btn-group-toggle" |
64 | 64 | data-toggle="buttons" |
package.json
src/sass/_bootstrap.scss
... | ... | @@ -24,4 +24,24 @@ |
24 | 24 | } |
25 | 25 | .tamaño-boton { |
26 | 26 | width:44px; |
27 | +} | |
28 | +.modal-content { | |
29 | + @media (max-width: 576px) { | |
30 | + height: auto; | |
31 | + height: 100%; | |
32 | + border-radius: 0; | |
33 | + } | |
34 | +} | |
35 | +.modal-dialog { | |
36 | + @media (max-width: 576px) { | |
37 | + width: 100%; | |
38 | + height: 100%; | |
39 | + margin: 0; | |
40 | + padding: 0; | |
41 | + } | |
42 | +} | |
43 | +.modal-body { | |
44 | + @media (max-width: 576px) { | |
45 | + overflow-y: auto; | |
46 | + } | |
27 | 47 | } |
28 | 48 | \ No newline at end of file |
src/sass/_botonera-principal.scss
... | ... | @@ -4,6 +4,9 @@ |
4 | 4 | height: 130px; |
5 | 5 | text-align: center; |
6 | 6 | width: 180px; |
7 | + @media (max-width: 576px) { | |
8 | + width: 100%; | |
9 | + } | |
7 | 10 | } |
8 | 11 | button { |
9 | 12 | background-image: url('../img/botonera.png'); |
... | ... | @@ -24,10 +27,16 @@ |
24 | 27 | } |
25 | 28 | &-menu { |
26 | 29 | padding-left: 90px; |
30 | + @media (max-width: 576px) { | |
31 | + padding: 0; | |
32 | + } | |
27 | 33 | } |
28 | 34 | &-logo { |
29 | 35 | width: 80%; |
30 | 36 | opacity: .8; |
37 | + @media (max-width: 576px) { | |
38 | + width: 100%; | |
39 | + } | |
31 | 40 | } |
32 | 41 | &-vacio { |
33 | 42 | & button { |
... | ... | @@ -77,4 +86,8 @@ |
77 | 86 | } |
78 | 87 | } |
79 | 88 | } |
89 | + | |
90 | + .swiper-pagination { | |
91 | + bottom: 0px !important; | |
92 | + } | |
80 | 93 | } |
src/sass/_contenedor.scss
1 | 1 | body { |
2 | - background-color: #cccccc; | |
2 | + @media (min-width: 768px) { | |
3 | + background-color: #cccccc; | |
4 | + } | |
5 | + @media (max-width: 768px) { | |
6 | + background-image: radial-gradient(circle at 50% 50%, #ebecf1, #abaec3); | |
7 | + } | |
3 | 8 | } |
4 | 9 | |
5 | 10 | .contenedor { |
6 | - background-image: radial-gradient(circle at 50% 50%, #ebecf1, #abaec3); | |
7 | 11 | @media (min-width: 768px) { |
12 | + background-image: radial-gradient(circle at 50% 50%, #ebecf1, #abaec3); | |
8 | 13 | min-height: 600px; |
9 | 14 | min-width: 800px; |
10 | 15 | } |