diff --git a/src/app/app.ios.scss b/src/app/app.ios.scss index 9b7ffd32d..829e70af8 100644 --- a/src/app/app.ios.scss +++ b/src/app/app.ios.scss @@ -8,9 +8,25 @@ color: color($colors, primary, base); } +.col[align-self-stretch] .card-ios { + height: calc(100% - #{($card-ios-margin-end + $card-ios-margin-start)}); +} + +// Top tabs +// ------------------------- +.ios .core-top-tabbar { + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + > a { + font-size: 1.6rem; + } +} + // Highlights inside the input element. -@if ($mm-text-input-ios-show-highlight) { +@if ($core-text-input-ios-show-highlight) { .card-ios, .list-ios { // In order to get a 2px border we need to add an inset // box-shadow 1px (this is to avoid the div resizing) diff --git a/src/app/app.md.scss b/src/app/app.md.scss index 552f800a2..c62a2141f 100644 --- a/src/app/app.md.scss +++ b/src/app/app.md.scss @@ -8,8 +8,12 @@ color: color($colors, primary, base); } +.col[align-self-stretch] .card-md { + height: calc(100% - #{($card-md-margin-end + $card-md-margin-start)}); +} + // Highlights inside the input element. -@if ($mm-text-input-md-show-highlight) { +@if ($core-text-input-md-show-highlight) { .card-md, .list-md { // In order to get a 2px border we need to add an inset // box-shadow 1px (this is to avoid the div resizing) diff --git a/src/app/app.scss b/src/app/app.scss index ed0a5508b..3b5ab9aad 100644 --- a/src/app/app.scss +++ b/src/app/app.scss @@ -23,10 +23,16 @@ .text-right { text-align: right; } .text-center { text-align: center; } .text-justify { text-align: justify; } - +.clearfix { + &:after { + content: ""; + display: table; + clear: both; + } +} @media only screen and (min-width: 430px) { - .mm-center-view .scroll-content { + .core-center-view .scroll-content { display: flex!important; align-content: center !important; align-items: center !important; @@ -37,6 +43,18 @@ } } +@media only screen and (max-width: 768px) { + .hidden-phone { + display: none !important; + } +} + +@media only screen and (min-width: 769px) { + .hidden-tablet { + display: none !important; + } +} + // Define an alternative way to set a heading in an item without using a heading tag. // This is done for accessibility reasons when a heading is semantically incorrect. @@ -45,7 +63,7 @@ margin: 0; } -.mm-oauth-icon, .item.mm-oauth-icon, .list .item.mm-oauth-icon { +.core-oauth-icon, .item.core-oauth-icon, .list .item.core-oauth-icon { min-height: 32px; img, .label { max-height: 32px; @@ -60,7 +78,7 @@ } } -.mm-bold, .mm-bold .label { +.core-bold, .core-bold .label { font-weight: bold; } @@ -128,23 +146,23 @@ core-format-text[maxHeight], *[core-format-text][maxHeight] { } // This is to allow clicks in radio/checkbox content. - &.mm-text-formatted { + &.core-text-formatted { cursor: pointer; - .mm-show-more { + .core-show-more { display: none; } - &:not(.mm-shortened) { + &:not(.core-shortened) { max-height: none !important; } - &.mm-shortened { + &.core-shortened { color: $gray-darker; overflow: hidden; min-height: 50px; - .mm-show-more { + .core-show-more { color: color($colors, dark); text-align: right; font-size: 14px; @@ -166,7 +184,7 @@ core-format-text[maxHeight], *[core-format-text][maxHeight] { */ } - &.mm-expand-in-fullview .mm-show-more:after { + &.core-expand-in-fullview .core-show-more:after { // content: $ionicon-var-chevron-right; @todo } @@ -225,3 +243,34 @@ core-format-text, *[core-format-text] { max-height: $item-media-height; } } + +// Ionic fix. Button can occupy all page if not. +ion-select { + position: relative +} + +// Top tabs +// ------------------------- + +.core-top-tabbar { + @include position(null, null, 0, 0); + + z-index: $z-index-toolbar; + display: flex; + width: 100%; + background: $core-top-tabs-background; + + > a { + @extend .tab-button; + + background: $core-top-tabs-background; + color: $core-top-tabs-color !important; + border-bottom: 1px solid $core-top-tabs-border; + font-size: 1.6rem; + + &[aria-selected=true] { + color: $core-top-tabs-color-active !important; + border-bottom: 2px solid $core-top-tabs-color-active; + } + } +} diff --git a/src/app/app.wp.scss b/src/app/app.wp.scss index 29afff5a3..c0544152c 100644 --- a/src/app/app.wp.scss +++ b/src/app/app.wp.scss @@ -7,3 +7,7 @@ .button-wp-light { color: color($colors, primary, base); } + +.col[align-self-stretch] .card-wp { + height: calc(100% - #{($card-wp-margin-end + $card-wp-margin-start)}); +} diff --git a/src/components/empty-box/empty-box.html b/src/components/empty-box/empty-box.html index 1c43cb9bf..13229943f 100644 --- a/src/components/empty-box/empty-box.html +++ b/src/components/empty-box/empty-box.html @@ -1,8 +1,8 @@ -
{{ message }}
+{{ message }}