Commit 5627146b700189772576ce77cb7f908ac844cff6
Exists in
master
Merge branch 'master' of https://debo.suite.repo/Wrappers/wrapper-demo
Showing
5 changed files
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 | 27 | \ No newline at end of file |
| 28 | +} | |
| 29 | +.modal-content { | |
| 30 | + @media (max-width: 576px) { | |
| 31 | + height: auto; | |
| 32 | + height: 100%; | |
| 33 | + border-radius: 0; | |
| 34 | + } | |
| 35 | +} | |
| 36 | +.modal-dialog { | |
| 37 | + @media (max-width: 576px) { | |
| 38 | + width: 100%; | |
| 39 | + height: 100%; | |
| 40 | + margin: 0; | |
| 41 | + padding: 0; | |
| 42 | + } | |
| 43 | +} | |
| 44 | +.modal-body { | |
| 45 | + @media (max-width: 576px) { | |
| 46 | + overflow-y: auto; | |
| 47 | + } | |
| 48 | +} |
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 | } |