diff --git a/src/app/app.ios.scss b/src/app/app.ios.scss
new file mode 100644
index 000000000..9b7ffd32d
--- /dev/null
+++ b/src/app/app.ios.scss
@@ -0,0 +1,74 @@
+
+.button-ios {
+ min-height: $button-ios-height
+}
+
+// Light buttons color.
+.button-ios-light {
+ color: color($colors, primary, base);
+}
+
+
+// Highlights inside the input element.
+@if ($mm-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)
+
+ // The last item in a list has a border on the item, not the
+ // inner item, so add it to the item itself
+ .item-input.item-input-has-focus:last-child,
+ .item-input.input-has-focus:last-child {
+ @include ios-input-highlight($text-input-ios-highlight-color);
+
+ .item-inner ion-input {
+ box-shadow: none;
+ }
+ }
+
+ // Show the focus highlight when the input has focus
+ .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child,
+ .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child {
+ @include ios-input-highlight($text-input-ios-highlight-color-valid);
+
+ .item-inner ion-input {
+ box-shadow: none;
+ }
+ }
+
+ .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child {
+ @include ios-input-highlight($text-input-ios-highlight-color-invalid);
+
+ .item-inner ion-input {
+ box-shadow: none;
+ }
+ }
+ }
+
+ .item-ios.item-input {
+ .item-inner {
+ border: 0;
+ }
+
+ &.item-block .item-inner ion-input {
+ border-bottom: $hairlines-width solid $list-border-color;
+ }
+
+ // TODO remove all uses of input-has-focus in v4
+ &.item-input-has-focus .item-inner ion-input,
+ &.input-has-focus .item-inner ion-input {
+ @include ios-input-highlight($text-input-ios-highlight-color);
+ }
+
+ // Show the valid highlight when it has the .ng-valid class and a value
+ &.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner ion-input,
+ &.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner ion-input {
+ @include ios-input-highlight($text-input-ios-highlight-color-valid);
+ }
+
+ // Show the invalid highlight when it has the invalid class and has been touched
+ &.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .item-inner ion-input {
+ @include ios-input-highlight($text-input-ios-highlight-color-invalid);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/app/app.md.scss b/src/app/app.md.scss
new file mode 100644
index 000000000..552f800a2
--- /dev/null
+++ b/src/app/app.md.scss
@@ -0,0 +1,74 @@
+
+.button-md {
+ min-height: $button-md-height;
+}
+
+// Light buttons color.
+.button-md-light {
+ color: color($colors, primary, base);
+}
+
+// Highlights inside the input element.
+@if ($mm-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)
+
+ // The last item in a list has a border on the item, not the
+ // inner item, so add it to the item itself
+ .item-input.item-input-has-focus:last-child,
+ .item-input.input-has-focus:last-child {
+ @include md-input-highlight($text-input-md-highlight-color);
+
+ .item-inner ion-input {
+ box-shadow: none;
+ }
+ }
+
+ .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child,
+ .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child {
+ @include md-input-highlight($text-input-md-highlight-color-valid);
+
+ .item-inner ion-input {
+ box-shadow: none;
+ }
+ }
+
+ .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child {
+ @include md-input-highlight($text-input-md-highlight-color-invalid);
+
+ .item-inner ion-input {
+ box-shadow: none;
+ }
+ }
+ }
+
+ .item-md.item-input {
+ .item-inner {
+ border: 0;
+ }
+
+ &.item-block .item-inner ion-input {
+ border-bottom: 1px solid $list-border-color;
+ }
+
+ // TODO remove all uses of input-has-focus in v4
+ &.item-input-has-focus .item-inner ion-input,
+ &.input-has-focus .item-inner ion-input {
+ @include md-input-highlight($text-input-md-highlight-color);
+ }
+
+ // Show the valid highlight when it has the .ng-valid class and a value
+ // TODO remove all uses of input-has-focus in v4
+ // TODO remove all uses of input-has-value in v4
+ &.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner ion-input,
+ &.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner ion-input {
+ @include md-input-highlight($text-input-md-highlight-color-valid);
+ }
+
+ // Show the invalid highlight when it has the invalid class and has been touched
+ &.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .item-inner ion-input {
+ @include md-input-highlight($text-input-md-highlight-color-invalid);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/app/app.scss b/src/app/app.scss
index a1a043c65..1ef2a9457 100644
--- a/src/app/app.scss
+++ b/src/app/app.scss
@@ -22,60 +22,22 @@
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
-
-/**
- * App Branding
- */
-.mm-bglogo {
- background-color: $mm-color-init-screen; /* Change this to add a bg image or change color */
- background: -webkit-radial-gradient($mm-color-init-screen-alt, $mm-color-init-screen);
- background: radial-gradient($mm-color-init-screen-alt, $mm-color-init-screen);
- background-repeat: no-repeat;
- background-position: center center;
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- height: 100%;
- width: 100%;
- display: table;
-
- .mm-logo {
- display: table-cell;
- text-align: center;
- vertical-align: middle;
- }
-
- img {
- width: $mm-init-screen-logo-width;
- max-width: $mm-init-screen-logo-max-width;
- display: block;
- margin: 0 auto;
- margin-bottom: 30px;
- }
-
- .spinner circle {
- stroke: $mm-init-screen-spinner-color;
- }
-}
+.text-justify { text-align: justify; }
@media only screen and (min-width: 430px) {
.mm-center-view .scroll-content {
- margin: 0 auto;
- max-width: 600px;
- /* display: table !important; */
- width: 100% !important;
- height: 100% !important;
- .mm-view-content {
- /* display: table-cell;
- vertical-align: middle; */
- display: block; // Added this style and commented some others to make scroll work. Box isn't centered vertically.
+ display: flex!important;
+ align-content: center !important;
+ align-items: center !important;
+ > * {
+ margin: 0 auto;
+ max-width: 600px;
}
}
}
+
// 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.
.item .item-heading {
@@ -83,52 +45,29 @@
}
.mm-oauth-icon, .item.mm-oauth-icon, .list .item.mm-oauth-icon {
- padding: ($content-padding / 2);
- border: 1px solid $list-border-color;
-
- img, span {
+ min-height: 32px;
+ img, .label {
max-height: 32px;
vertical-align: middle;
}
img {
max-width: 32px;
}
- span {
+ .label {
margin-left: 5px;
color: $gray-darker;
}
-
- .label {
- margin: 0;
- }
-}
-
-.icon-accessory,
-ion-icon.icon-accessory {
- color: $item-icon-accessory-color;
- font-size: $item-icon-accessory-font-size;
}
.mm-bold, .mm-bold .label {
font-weight: bold;
}
-.item .core-input-footnote {
- width: 100%;
- padding-top: 10px;
- padding-bottom: 10px;
- font-style: italic;
-}
-
-.content {
- // Set bgcolor in content instead of overriding $background-color because that variable is applied to a lot of places.
- background-color: $gray-light;
-}
-
-// Large centered avatar.
+// Avatar
+// -------------------------
+// Large centered avatar
.item-avatar-center {
text-align: center;
- padding-left: 16px;
&.item-complex .item-content {
text-align: center;
@@ -158,3 +97,19 @@ ion-icon.icon-accessory {
}
}
}
+
+ion-avatar ion-img, ion-avatar img {
+ text-indent: -99999px;
+ background-color: $gray-light;
+}
+
+// Form items
+// -------------------------
+
+.item .core-input-footnote {
+ width: 100%;
+ padding-top: 10px;
+ padding-bottom: 10px;
+ font-style: italic;
+}
+
diff --git a/src/app/app.wp.scss b/src/app/app.wp.scss
new file mode 100644
index 000000000..29afff5a3
--- /dev/null
+++ b/src/app/app.wp.scss
@@ -0,0 +1,9 @@
+
+.button-wp {
+ min-height: $button-wp-height;
+}
+
+// Light buttons color.
+.button-wp-light {
+ color: color($colors, primary, base);
+}
diff --git a/src/assets/img/logo.png b/src/assets/img/login_logo.png
similarity index 100%
rename from src/assets/img/logo.png
rename to src/assets/img/login_logo.png
diff --git a/src/assets/img/logo_white.png b/src/assets/img/splash_logo.png
similarity index 100%
rename from src/assets/img/logo_white.png
rename to src/assets/img/splash_logo.png
diff --git a/src/components/input-errors/input-errors.html b/src/components/input-errors/input-errors.html
index f914829fb..51be581b5 100644
--- a/src/components/input-errors/input-errors.html
+++ b/src/components/input-errors/input-errors.html
@@ -1,5 +1,5 @@
\ No newline at end of file
diff --git a/src/components/input-errors/input-errors.scss b/src/components/input-errors/input-errors.scss
index c432be9ab..29cfb2c92 100644
--- a/src/components/input-errors/input-errors.scss
+++ b/src/components/input-errors/input-errors.scss
@@ -4,8 +4,13 @@ core-input-errors {
.core-input-error-container {
.core-input-error {
padding: 4px;
- color: red;
+ color: $red;
font-size: 12px;
+ display: none;
+
+ &:first-child {
+ display: block;
+ }
}
}
}
diff --git a/src/components/mark-required/mark-required.scss b/src/components/mark-required/mark-required.scss
index 5bff71c3f..deacc173b 100644
--- a/src/components/mark-required/mark-required.scss
+++ b/src/components/mark-required/mark-required.scss
@@ -1,6 +1,6 @@
*[core-mark-required] {
.core-input-required-asterisk, .icon.core-input-required-asterisk {
- color: red !important;
+ color: $red !important;
font-size: 8px;
padding-left: 4px;
line-height: 100%;
diff --git a/src/components/show-password/show-password.scss b/src/components/show-password/show-password.scss
index 1beb78e94..5e5621493 100644
--- a/src/components/show-password/show-password.scss
+++ b/src/components/show-password/show-password.scss
@@ -3,11 +3,12 @@ core-show-password {
width: 100%;
position: relative;
- ion-input {
- padding-right: 47 + $content-padding;
+ ion-input input.text-input {
+ padding-right: 47px;
}
.button[icon-only] {
+ background: transparent;
padding: 0 ($content-padding / 2);
position: absolute;
top: $content-padding / 2;
@@ -17,8 +18,27 @@ core-show-password {
}
}
-.item-label-stacked core-show-password {
- .button[icon-only] {
+.md {
+ .item-label-stacked core-show-password .button[icon-only] {
top: 0;
}
}
+
+.ios {
+ .item-label-stacked core-show-password .button[icon-only] {
+ top: -5px;
+ }
+ core-show-password .button[icon-only] {
+ top: 0;
+ }
+}
+
+.wp {
+ .item-label-stacked core-show-password .button[icon-only] {
+ top: 7px;
+ }
+ core-show-password .button[icon-only] {
+ top: 12px;
+ right: 5px;
+ }
+}
diff --git a/src/core/login/pages/credentials/credentials.html b/src/core/login/pages/credentials/credentials.html
index f46bc468b..b58d711b8 100644
--- a/src/core/login/pages/credentials/credentials.html
+++ b/src/core/login/pages/credentials/credentials.html
@@ -3,21 +3,21 @@
{{ 'core.login.login' | translate }}
-
-
-
-
+
+
+
+
-
+
{{siteUrl}}
{{siteName}}
{{siteUrl}}
-
-
+
-
+
-
-
{{ 'core.login.potentialidps' | translate }}
-
-
- {{provider.name}}
-
-
-
+
+ {{ 'core.login.potentialidps' | translate }}
+
+
-
-
- {{ 'core.login.firsttime' | translate }}
-
+
+ {{ 'core.login.firsttime' | translate }}
+
+
-
-
+
+
diff --git a/src/core/login/pages/credentials/credentials.scss b/src/core/login/pages/credentials/credentials.scss
index c708e6271..b940b3116 100644
--- a/src/core/login/pages/credentials/credentials.scss
+++ b/src/core/login/pages/credentials/credentials.scss
@@ -1,34 +1,35 @@
page-core-login-credentials {
.content {
- .mm-ioninput-password {
- padding-top: 0;
- padding-bottom: 0;
- }
background: -webkit-radial-gradient(white, $gray-light);
background: radial-gradient(white, $gray-light);
+ }
- img {
- max-width: 100%;
- }
+ .mm-ioninput-password {
+ padding-top: 0;
+ padding-bottom: 0;
+ }
- img.moodle-logo {
- width: 90%;
- max-width: 300px;
- }
+ img {
+ max-width: 100%;
+ }
- .box {
- padding: 16px;
- background: $white;
- border: 1px solid $gray;
- }
+ img.login-logo {
+ width: 90%;
+ max-width: 300px;
+ }
- .mm-sitename, .mm-siteurl {
- @if $mm-fixed-url { display: none; }
- }
+ .box {
+ padding: 16px;
+ margin: 8px;
+ background: $white;
+ border: 1px solid $gray;
+ }
- .list .item-input {
- border: 1px solid $list-border-color;
- margin-bottom: 20px;
- }
+ .mm-sitename, .mm-siteurl {
+ @if $mm-fixed-url { display: none; }
+ }
+
+ .item-input {
+ margin-bottom: 20px;
}
}
diff --git a/src/core/login/pages/email-signup/email-signup.html b/src/core/login/pages/email-signup/email-signup.html
index bf242c12a..2a737e086 100644
--- a/src/core/login/pages/email-signup/email-signup.html
+++ b/src/core/login/pages/email-signup/email-signup.html
@@ -15,108 +15,106 @@
-
diff --git a/src/core/login/pages/forgotten-password/forgotten-password.html b/src/core/login/pages/forgotten-password/forgotten-password.html
index 0778e033a..26cf02d2b 100644
--- a/src/core/login/pages/forgotten-password/forgotten-password.html
+++ b/src/core/login/pages/forgotten-password/forgotten-password.html
@@ -4,12 +4,14 @@
-
- {{ 'core.login.passwordforgotteninstructions2' | translate }}
-
+
+
+ {{ 'core.login.passwordforgotteninstructions2' | translate }}
+
+
-
diff --git a/src/core/login/pages/init/init.html b/src/core/login/pages/init/init.html
index 8961c1b4e..d0ef72e4a 100644
--- a/src/core/login/pages/init/init.html
+++ b/src/core/login/pages/init/init.html
@@ -1,7 +1,7 @@
-
+
diff --git a/src/core/login/pages/init/init.scss b/src/core/login/pages/init/init.scss
index f9a6bc26e..ca7f75c5f 100644
--- a/src/core/login/pages/init/init.scss
+++ b/src/core/login/pages/init/init.scss
@@ -1,3 +1,35 @@
page-core-login-init {
+ .mm-bglogo {
+ background-color: $mm-color-init-screen; /* Change this to add a bg image or change color */
+ background: -webkit-radial-gradient($mm-color-init-screen-alt, $mm-color-init-screen);
+ background: radial-gradient($mm-color-init-screen-alt, $mm-color-init-screen);
+ background-repeat: no-repeat;
+ background-position: center center;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 100%;
+ width: 100%;
+ display: table;
+ .mm-logo {
+ display: table-cell;
+ text-align: center;
+ vertical-align: middle;
+ }
+
+ img {
+ width: $mm-init-screen-logo-width;
+ max-width: $mm-init-screen-logo-max-width;
+ display: block;
+ margin: 0 auto;
+ margin-bottom: 30px;
+ }
+
+ .spinner circle {
+ stroke: $mm-init-screen-spinner-color;
+ }
+ }
}
diff --git a/src/core/login/pages/reconnect/reconnect.html b/src/core/login/pages/reconnect/reconnect.html
index d4b9e386b..beba803e3 100644
--- a/src/core/login/pages/reconnect/reconnect.html
+++ b/src/core/login/pages/reconnect/reconnect.html
@@ -4,8 +4,8 @@
-
-
+
+
@@ -13,7 +13,7 @@
-
+
{{siteUrl}}
@@ -24,31 +24,38 @@
{{ 'core.login.reconnectdescription' | translate }}
-
-
- {{ 'core.login.username' | translate }}
- {{username}}
-
-
-
-
-
-
+
+
+
+ {{ 'core.login.username' | translate }}
+ {{username}}
-
- {{ 'core.login.cancel' | translate }}
-
-
-
+
+
+
+
+
+
+
+
+
+ {{ 'core.login.cancel' | translate }}
+
+
+
+
+
+
+
+
-
-
{{ 'core.login.potentialidps' | translate }}
-
-
- {{provider.name}}
-
-
-
-
+
+ {{ 'core.login.potentialidps' | translate }}
+
+
+
diff --git a/src/core/login/pages/reconnect/reconnect.scss b/src/core/login/pages/reconnect/reconnect.scss
index aa4c48163..38875e77d 100644
--- a/src/core/login/pages/reconnect/reconnect.scss
+++ b/src/core/login/pages/reconnect/reconnect.scss
@@ -1,47 +1,51 @@
page-core-login-reconnect {
.content {
- .mm-ioninput-password {
- padding-top: 0;
- padding-bottom: 0;
- }
background: -webkit-radial-gradient(white, $gray-light);
background: radial-gradient(white, $gray-light);
+ }
- img {
- max-width: 100%;
+ .mm-ioninput-password {
+ padding-top: 0;
+ padding-bottom: 0;
+ }
+
+ img {
+ max-width: 100%;
+ }
+
+ img.login-logo {
+ width: 90%;
+ max-width: 300px;
+ }
+
+ .box {
+ padding: 16px;
+ margin: 8px;
+ background: $white;
+ border: 1px solid $gray;
+ }
+
+ .mm-sitename, .mm-siteurl {
+ @if $mm-fixed-url { display: none; }
+ }
+
+ .list .mm-username {
+ &.item-md {
+ @include padding-horizontal($item-md-padding-left, $content-padding);
+ }
+ &.item-ios {
+ @include padding-horizontal($item-ios-padding-left, $content-padding);
+ }
+ &.item-wp {
+ @include padding-horizontal($item-wp-padding-left, $content-padding);
}
- img.moodle-logo {
- width: 90%;
- max-width: 300px;
- }
-
- .box {
- padding: 16px;
- background: $white;
- border: 1px solid $gray;
- }
-
- .mm-sitename, .mm-siteurl {
- @if $mm-fixed-url { display: none; }
- }
-
- .list .item-input, .list .mm-username {
- border: 1px solid $list-border-color;
- margin-bottom: 20px;
-
- .label {
- margin: 0;
- }
- }
-
- .list .mm-username {
- &.item-md {
- @include padding-horizontal($item-md-padding-left * 1.5, $content-padding);
- }
- &.item-ios {
- @include padding-horizontal($item-ios-padding-left * 1.5, $content-padding);
- }
+ .item-inner {
+ padding-left: 8px;
}
}
+
+ .item-input {
+ margin-bottom: 20px;
+ }
}
diff --git a/src/core/login/pages/site/site.html b/src/core/login/pages/site/site.html
index f62d3969c..d8f15beac 100644
--- a/src/core/login/pages/site/site.html
+++ b/src/core/login/pages/site/site.html
@@ -9,13 +9,12 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
{{ 'core.login.newsitedescription' | translate }}
@@ -42,9 +41,7 @@
-
-
-
-
-
+
+
+
diff --git a/src/core/login/pages/site/site.scss b/src/core/login/pages/site/site.scss
index e2f5f80af..c6f367d47 100644
--- a/src/core/login/pages/site/site.scss
+++ b/src/core/login/pages/site/site.scss
@@ -2,24 +2,21 @@ page-core-login-site {
.content {
background: -webkit-radial-gradient(white, $gray-light);
background: radial-gradient(white, $gray-light);
+ }
- img {
- max-width: 100%;
- }
+ img.login-logo {
+ width: 90%;
+ max-width: 300px;
+ }
- img.moodle-logo {
- width: 90%;
- max-width: 300px;
- }
+ .box {
+ padding: 16px;
+ margin: 8px;
+ background: $white;
+ border: 1px solid $gray;
+ }
- .box {
- padding: 16px;
- background: $white;
- border: 1px solid $gray;
- }
-
- .item-input {
- border: 1px solid $list-border-color;
- }
+ .item-input:last-child {
+ margin-bottom: 20px;
}
}
diff --git a/src/core/login/pages/sites/sites.html b/src/core/login/pages/sites/sites.html
index cbab72da6..f4fd0baf9 100644
--- a/src/core/login/pages/sites/sites.html
+++ b/src/core/login/pages/sites/sites.html
@@ -6,25 +6,27 @@
-
-
-
-
-
- {{site.fullName}}
-
- {{site.siteUrl}}
- {{site.badge}}
-
-
+
+
+
+
+ {{site.fullName}}
+
+ {{site.siteUrl}}
+ {{site.badge}}
+
+
+
+
+
diff --git a/src/core/login/pages/sites/sites.scss b/src/core/login/pages/sites/sites.scss
index 7bb74215b..d8143d4b7 100644
--- a/src/core/login/pages/sites/sites.scss
+++ b/src/core/login/pages/sites/sites.scss
@@ -1,3 +1,5 @@
page-core-login-sites {
-
+ .item-button[icon-only] ion-icon {
+ font-size: 2.3em;
+ }
}
diff --git a/src/theme/bmma.scss b/src/theme/bmma.scss
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/theme/variables.scss b/src/theme/variables.scss
index 7295c1f41..7aff83671 100644
--- a/src/theme/variables.scss
+++ b/src/theme/variables.scss
@@ -14,7 +14,6 @@ $app-direction: ltr;
@import "ionic.globals";
-
// Color palette
$black: #3a3a3a; // Headings, standard text.
$gray-darker: #626262; // Text (emphasis-detail), placeholder, background.
@@ -47,6 +46,10 @@ $yellow: #fbad1a; // Accent (never text).
$yellow-light: mix($yellow, white, 20%);
$yellow-dark: mix($yellow, black, 40%);
+$mm-color: $orange;
+$mm-color-light: lighten($mm-color, 10%);
+$mm-color-dark: darken($mm-color, 10%);
+
// Shared Variables
// --------------------------------------------------
@@ -69,33 +72,80 @@ $content-padding: 10px;
// The "primary" color is the only required color in the map.
$colors: (
- primary: #488aff,
- secondary: #32db64,
- danger: #f53d3d,
- light: #f4f4f4,
- dark: #222
+ primary: $mm-color,
+ secondary: $turquoise,
+ danger: $red,
+ light: $gray-lighter,
+ dark: $black,
+ warning: $yellow
);
+$text-color: $black;
+$link-color: $blue;
+$background-color: $gray-light;
+$subdued-text-color: $gray-darker;
+
+$list-background-color: $white;
+
+$tabs-background: $gray-darker;
+$tabs-border-color: #b2b2b2 !default;
+$tabs-tab-color-inactive: #8c8c8c !default;
+$tabs-tab-color-active: $mm-color;
+
+$text-input-highlight-color-valid: $green;
+$text-input-highlight-color-invalid: $red;
+
+$button-md-box-shadow: 0 2px 2px 1px rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12) ;
+
+
+// Moodle Mobile variables
+// --------------------------------------------------
+
+// Variables copied from Ionic 1.
+$item-icon-accessory-color: #ccc !default;
+$item-icon-accessory-font-size: 16px !default;
+
+// Init screen.
+$mm-color-init-screen: #ff5c00;
+$mm-color-init-screen-alt: #ff7600;
+$mm-init-screen-spinner-color: $white;
+$mm-init-screen-logo-width: 60%;
+$mm-init-screen-logo-max-width: 300px;
+
+$mm-fixed-url: false;
+
+
+// Branded apps customization
+// --------------------------------------------------
+@import "bmma";
+
// App iOS Variables
// --------------------------------------------------
// iOS only Sass variables can go here
-
+$text-input-ios-show-focus-highlight: false;
+$mm-text-input-ios-show-highlight: false;
+$item-ios-avatar-size: 54px;
// App Material Design Variables
// --------------------------------------------------
// Material Design only Sass variables can go here
-
+$text-input-md-show-focus-highlight: false;
+$mm-text-input-md-show-highlight: true;
+$item-md-detail-push-show: true;
+$item-md-avatar-size: 54px;
// App Windows Variables
// --------------------------------------------------
// Windows only Sass variables can go here
-
+$text-input-wp-show-focus-highlight: true;
+$item-wp-detail-push-show: true;
+$item-wp-avatar-size: 54px;
// App Theme
@@ -121,20 +171,3 @@ $colors: (
@import "roboto";
@import "noto-sans";
-
-
-// Moodle Mobile variables
-// --------------------------------------------------
-
-// Variables copied from Ionic 1.
-$item-icon-accessory-color: #ccc !default;
-$item-icon-accessory-font-size: 16px !default;
-
-// Init screen.
-$mm-color-init-screen: #ff5c00;
-$mm-color-init-screen-alt: #ff7600;
-$mm-init-screen-spinner-color: $white;
-$mm-init-screen-logo-width: 60%;
-$mm-init-screen-logo-max-width: 300px;
-
-$mm-fixed-url: false;