2021-02-03 09:30:07 +00:00
|
|
|
/*
|
|
|
|
* App LIGHT theme CSS
|
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
* Ionic Variables and Theming. For more info, please see:
|
|
|
|
* http://ionicframework.com/docs/theming/
|
|
|
|
*/
|
2020-10-06 10:48:02 +00:00
|
|
|
|
2020-10-05 12:56:27 +00:00
|
|
|
:root {
|
2020-10-22 13:13:12 +00:00
|
|
|
|
|
|
|
// Color palette
|
2021-02-03 09:30:07 +00:00
|
|
|
--black: #{$black}; // Headings, standard text.
|
|
|
|
--gray-darker: #{$gray-darker};
|
|
|
|
--gray-dark: #{$gray-dark};
|
|
|
|
--gray: #{$gray};
|
|
|
|
--gray-light: #{$gray-light};
|
|
|
|
--gray-lighter: #{$gray-lighter};
|
|
|
|
--white: #{$white};
|
|
|
|
|
|
|
|
--blue: #{$blue};
|
|
|
|
--turquoise: #{$turquoise};
|
|
|
|
--green: #{$green};
|
|
|
|
--red: #{$red};
|
|
|
|
--orange: #{$orange};
|
|
|
|
--yellow: #{$yellow};
|
|
|
|
--purple: #{$purple};
|
|
|
|
|
|
|
|
--core-color: #{$core-color};
|
|
|
|
--core-online-color: #{$core-online-color};
|
|
|
|
|
|
|
|
// Named Color Variables
|
|
|
|
--primary: var(--core-color);
|
|
|
|
--secondary: var(--blue);
|
|
|
|
--tertiary: var(--turquoise);
|
|
|
|
--success: var(--green);
|
|
|
|
--danger: var(--red);
|
|
|
|
--warning: var(--yellow);
|
|
|
|
--light: var(--gray-lighter);
|
|
|
|
--dark: var(--black);
|
|
|
|
--medium: var(--gray-light);
|
|
|
|
--light: var(--gray-lighter);
|
|
|
|
--primary: var(--core-color);
|
|
|
|
|
|
|
|
--ion-color-primary: var(--primary);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-color-primary-rgb: 249,128,18;
|
|
|
|
--ion-color-primary-contrast: #ffffff;
|
|
|
|
--ion-color-primary-contrast-rgb: 255,255,255;
|
|
|
|
--ion-color-primary-shade: #db7110;
|
|
|
|
--ion-color-primary-tint: #fa8d2a;
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--ion-color-secondary: var(--secondary);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-color-secondary-rgb: 0,100,210;
|
|
|
|
--ion-color-secondary-contrast: #ffffff;
|
|
|
|
--ion-color-secondary-contrast-rgb: 255,255,255;
|
|
|
|
--ion-color-secondary-shade: #0058b9;
|
|
|
|
--ion-color-secondary-tint: #1a74d7;
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--ion-color-tertiary: var(--tertiary);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-color-tertiary-rgb: 0,121,130;
|
|
|
|
--ion-color-tertiary-contrast: #ffffff;
|
|
|
|
--ion-color-tertiary-contrast-rgb: 255,255,255;
|
|
|
|
--ion-color-tertiary-shade: #006a72;
|
|
|
|
--ion-color-tertiary-tint: #1a868f;
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--ion-color-success: var(--success);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-color-success-rgb: 94,129,0;
|
|
|
|
--ion-color-success-contrast: #ffffff;
|
|
|
|
--ion-color-success-contrast-rgb: 255,255,255;
|
|
|
|
--ion-color-success-shade: #537200;
|
|
|
|
--ion-color-success-tint: #6e8e1a;
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--ion-color-warning: var(--warning);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-color-warning-rgb: 251,173,26;
|
|
|
|
--ion-color-warning-contrast: #000000;
|
|
|
|
--ion-color-warning-contrast-rgb: 0,0,0;
|
|
|
|
--ion-color-warning-shade: #dd9817;
|
|
|
|
--ion-color-warning-tint: #fbb531;
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--ion-color-danger: var(--danger);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-color-danger-rgb: 203,61,77;
|
|
|
|
--ion-color-danger-contrast: #ffffff;
|
|
|
|
--ion-color-danger-contrast-rgb: 255,255,255;
|
|
|
|
--ion-color-danger-shade: #b33644;
|
|
|
|
--ion-color-danger-tint: #d0505f;
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--ion-color-dark: var(--dark);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-color-dark-rgb: 58,58,58;
|
|
|
|
--ion-color-dark-contrast: #ffffff;
|
|
|
|
--ion-color-dark-contrast-rgb: 255,255,255;
|
|
|
|
--ion-color-dark-shade: #333333;
|
|
|
|
--ion-color-dark-tint: #4e4e4e;
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--ion-color-medium: var(--medium);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-color-medium-rgb: 158,158,158;
|
|
|
|
--ion-color-medium-contrast: #000000;
|
|
|
|
--ion-color-medium-contrast-rgb: 0,0,0;
|
|
|
|
--ion-color-medium-shade: #8b8b8b;
|
|
|
|
--ion-color-medium-tint: #a8a8a8;
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--ion-color-light: var(--light);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-color-light-rgb: 245,245,245;
|
|
|
|
--ion-color-light-contrast: #000000;
|
|
|
|
--ion-color-light-contrast-rgb: 0,0,0;
|
|
|
|
--ion-color-light-shade: #d8d8d8;
|
|
|
|
--ion-color-light-tint: #f6f6f6;
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
--ion-text-color: var($text-color);
|
2020-10-22 13:13:12 +00:00
|
|
|
--ion-text-color-rgb: 58,58,58;
|
2021-01-12 09:38:34 +00:00
|
|
|
--ion-card-color: var(--ion-text-color);
|
2020-10-22 13:13:12 +00:00
|
|
|
|
2021-01-21 14:00:38 +00:00
|
|
|
--text-hightlight-background-color: var(--custom-text-hightlight-background-color, #99c1ed);
|
|
|
|
|
2020-10-22 13:13:12 +00:00
|
|
|
ion-content {
|
2021-02-03 09:30:07 +00:00
|
|
|
--background: #{$background-color};
|
2021-01-22 16:06:30 +00:00
|
|
|
--background-lighter: var(--gray-lighter);
|
2020-12-14 13:50:37 +00:00
|
|
|
--contrast-background: var(--white);
|
2020-10-22 13:13:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ion-tab-bar {
|
2020-11-03 07:37:59 +00:00
|
|
|
--background: var(--custom-bottom-tabs-background, var(--gray-darker));
|
|
|
|
--color: var(--custom-bottom-tabs-color, var(--white));
|
2020-10-22 13:13:12 +00:00
|
|
|
}
|
|
|
|
|
2021-01-26 11:21:40 +00:00
|
|
|
--core-toolbar-button-image-width: var(--custom-toolbar-button-image-width, 32px);
|
2020-11-23 11:30:30 +00:00
|
|
|
--ion-statusbar-background: var(--custom-toolbar-background, var(--ion-color-primary));
|
2020-10-22 13:13:12 +00:00
|
|
|
ion-toolbar {
|
2020-11-03 07:37:59 +00:00
|
|
|
--color: var(--custom-toolbar-color, var(--ion-color-primary-contrast));
|
2020-11-23 11:30:30 +00:00
|
|
|
--background: var(--ion-statusbar-background);
|
2020-12-04 15:10:10 +00:00
|
|
|
ion-button {
|
|
|
|
--ion-toolbar-color: transparent;
|
|
|
|
}
|
2020-11-20 10:59:36 +00:00
|
|
|
|
|
|
|
ion-spinner {
|
|
|
|
--color: var(--custom-toolbar-color, var(--ion-color-primary-contrast));
|
|
|
|
}
|
2020-10-22 13:13:12 +00:00
|
|
|
}
|
|
|
|
|
2020-11-04 16:37:02 +00:00
|
|
|
ion-action-sheet {
|
|
|
|
--action-sheet-shadow-color: var(--custom--action-sheet-shadow-color, 0, 0, 0, 1);
|
|
|
|
--button-color-selected: var(--custom--action-sheet-selected-color, var(--core-color));
|
|
|
|
--title-border-color: var(--custom-title-border-color, var(--gray));
|
|
|
|
|
|
|
|
@media (min-height: 500px) {
|
|
|
|
--max-height: 50%;
|
|
|
|
--height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.action-sheet-cancel {
|
|
|
|
--button-color: var(--ion-color-danger);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-26 16:38:23 +00:00
|
|
|
--core-tabs-background: var(--custom-tabs-background, var(--white));
|
|
|
|
--core-tab-background: var(--custom-tab-background, var(--core-tabs-background));
|
|
|
|
--core-tab-color: var(--custom-tab-color, var(--gray-dark));
|
|
|
|
--core-tab-border-color: var(--custom-tab-border-color, var(--gray));
|
|
|
|
--core-tab-color-active: var(--custom-tab-color-active, var(--core-color));
|
|
|
|
--core-tab-border-color-active: var(--custom-tab-border-color-active, var(--core-color));
|
|
|
|
|
2021-02-01 11:32:10 +00:00
|
|
|
core-tabs, core-tabs-outlet {
|
2021-01-26 16:38:23 +00:00
|
|
|
--background: var(--core-tabs-background);
|
2020-11-03 07:37:59 +00:00
|
|
|
ion-slide {
|
2021-01-26 16:38:23 +00:00
|
|
|
--background: var(--core-tab-background);
|
|
|
|
--color: var(--core-tab-color);
|
|
|
|
--border-color: var(--core-tab-border-colo);
|
|
|
|
--color-active: var(--core-tab-color-active);
|
|
|
|
--border-color-active: var(--core-tab-border-color-active);
|
2020-11-03 07:37:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-12 08:44:44 +00:00
|
|
|
ion-spinner {
|
|
|
|
--color: var(--core-color);
|
|
|
|
}
|
|
|
|
|
2020-11-18 10:07:56 +00:00
|
|
|
core-progress-bar {
|
|
|
|
--height: var(--custom-progress-bar-height, 8px);
|
|
|
|
--color: var(--custom-progress-color, var(--core-color));
|
|
|
|
--text-color: var(--custom-progress-text-color, var(--gray-darker));
|
|
|
|
--background: var(--custom-progress-background, var(--gray-lighter));
|
|
|
|
}
|
|
|
|
|
2020-12-07 16:04:31 +00:00
|
|
|
core-block-course-blocks {
|
|
|
|
--side-blocks-max-width: var(--custom-side-blocks-max-width, 30%);
|
|
|
|
--side-blocks-min-width: var(--custom-side-blocks-min-width, 280px);
|
|
|
|
}
|
|
|
|
|
2020-12-14 13:50:37 +00:00
|
|
|
ion-item-divider {
|
|
|
|
--background: var(--gray-lighter);
|
|
|
|
}
|
|
|
|
|
2021-01-27 16:04:21 +00:00
|
|
|
--core-button-select-background: var(--custom-button-select-background, var(--ion-color-primary-contrast));
|
|
|
|
|
2020-11-12 08:53:56 +00:00
|
|
|
--selected-item-color: var(--custom-selected-item-color, var(--core-color));
|
|
|
|
--selected-item-border-width: var(--custom-selected-item-border-width, 5px);
|
|
|
|
|
2020-11-03 07:37:59 +00:00
|
|
|
--core-login-background: var(--custom-login-background, var(--white));
|
2020-11-18 10:07:56 +00:00
|
|
|
--core-login-text-color: var(--custom-login-text-color, var(--black));
|
2020-11-20 10:59:36 +00:00
|
|
|
|
2020-11-19 15:37:46 +00:00
|
|
|
--core-course-color-0: var(--custom-course-color-0, #81ecec);
|
|
|
|
--core-course-color-1: var(--custom-course-color-1, #74b9ff);
|
|
|
|
--core-course-color-2: var(--custom-course-color-2, #a29bfe);
|
|
|
|
--core-course-color-3: var(--custom-course-color-3, #dfe6e9);
|
|
|
|
--core-course-color-4: var(--custom-course-color-4, #00b894);
|
|
|
|
--core-course-color-5: var(--custom-course-color-5, #0984e3);
|
|
|
|
--core-course-color-6: var(--custom-course-color-6, #b2bec3);
|
|
|
|
--core-course-color-7: var(--custom-course-color-7, #fdcb6e);
|
|
|
|
--core-course-color-8: var(--custom-course-color-9, #fd79a8);
|
|
|
|
--core-course-color-9: var(--custom-course-color-90, #6c5ce7);
|
2020-11-20 10:59:36 +00:00
|
|
|
--core-star-color: var(--custom-star-color, var(--core-color));
|
2020-12-04 14:23:00 +00:00
|
|
|
|
|
|
|
--core-large-avatar-size: var(--custom-large-avatar-size, 90px);
|
2021-01-18 15:40:34 +00:00
|
|
|
--core-avatar-size: var(--custom-avatar-size, 40px);
|
2020-12-14 13:50:37 +00:00
|
|
|
|
2021-01-22 16:06:30 +00:00
|
|
|
--core-send-message-input-background: var(--custom-send-message-input-background, var(--gray));
|
|
|
|
--core-send-message-input-color: var(--custom-send-message-input-color, var(--black));
|
|
|
|
|
2020-12-14 13:50:37 +00:00
|
|
|
--addon-calendar-event-category-color: var(--custom-calendar-event-category-color, var(--purple));
|
|
|
|
--addon-calendar-event-course-color: var(--custom-calendar-event-course-color, var(--red));
|
|
|
|
--addon-calendar-event-group-color: var(--custom-calendar-event-group-color, var(--yellow));
|
|
|
|
--addon-calendar-event-user-color: var(--custom-calendar-event-user-color, var(--blue));
|
|
|
|
--addon-calendar-event-site-color: var(--custom-calendar-event-site-color, var(--green));
|
|
|
|
--addon-calendar-today-bgcolor: var(--custom-calendar-today-bgcolor, var(--core-color));
|
|
|
|
--addon-calendar-today-color: var(--custom-calendar-today-color, var(--white));
|
|
|
|
--addon-calendar-border-color: var(--custom-calendar-border-color, var(--gray));
|
2021-01-22 16:06:30 +00:00
|
|
|
|
|
|
|
--addon-messages-message-bg: var(--custom-messages-message-bg, var(--white));
|
|
|
|
--addon-messages-message-activated-bg: var(--custom-messages-message-activated-bg, var(--gray-light));
|
|
|
|
--addon-messages-message-note-text: var(--custom-messages-message-note-text, var(--gray-dark));
|
|
|
|
--addon-messages-message-note-font-size: var(--custom-messages-message-note-font-size, 75%);
|
|
|
|
--addon-messages-message-mine-bg: var(--custom-messages-message-mine-bg, var(--gray-light));
|
|
|
|
--addon-messages-message-mine-activated-bg: var(--custom-messages-message-mine-activated-bg, var(--gray));
|
|
|
|
--addon-messages-avatar-size: var(--custom-messages-avatar-size, 30px);
|
|
|
|
--addon-messages-discussion-badge: var(--custom-messages-discussion-badge, var(--core-color));
|
|
|
|
--addon-messages-discussion-badge-text: var(--custom-messages-discussion-badge-text, var(--white));
|
2021-01-26 11:21:40 +00:00
|
|
|
|
|
|
|
--drop-shadow: var(--custom-drop-shadow, 0, 0, 0, 0.2);
|
|
|
|
|
|
|
|
--core-menu-box-shadow-end: var(--custom-menu-box-shadow-end, -4px 0px 16px rgba(0, 0, 0, 0.18));
|
|
|
|
--core-menu-box-shadow-start: var(--custom-menu-box-shadow-start, 4px 0px 16px rgba(0, 0, 0, 0.18));
|
2020-10-05 12:56:27 +00:00
|
|
|
}
|