commit
74d33dcf08
|
@ -21,4 +21,8 @@
|
|||
margin: 5px 10px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.core-send-message-input::placeholder {
|
||||
color: var(--ion-placeholder-color);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,8 +19,15 @@
|
|||
<div *ngIf="displaySectionSelector && sections && hasSeveralSections"
|
||||
class="ion-text-wrap ion-justify-content-between ion-align-items-center core-button-selector-row"
|
||||
[class.core-section-download]="downloadEnabled">
|
||||
<core-combobox [modalOptions]="sectionSelectorModalOptions" interface="modal" listboxId="core-course-section-button"
|
||||
icon="fas-folder" [label]="'core.course.section' | translate" (onChange)="sectionChanged($event)">
|
||||
<core-combobox
|
||||
[modalOptions]="sectionSelectorModalOptions"
|
||||
interface="modal"
|
||||
listboxId="core-course-section-button"
|
||||
icon="fas-folder"
|
||||
[label]="'core.course.section' | translate"
|
||||
[selection]="selectedSection ? selectedSection.name : 'core.course.sections' | translate"
|
||||
(onChange)="sectionChanged($event)"
|
||||
>
|
||||
<span slot="text">
|
||||
<core-format-text *ngIf="selectedSection" [text]="selectedSection.name" contextLevel="course"
|
||||
[contextInstanceId]="course?.id" [clean]="true" [singleLine]="true">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@import "~theme/globals";
|
||||
:host {
|
||||
--placeholder-color: var(--gray-light);
|
||||
--placeholder-color: var(--ion-placeholder-color);
|
||||
--toobar-background: var(--white);
|
||||
--button-color: var(--ion-text-color);
|
||||
--button-active-color: var(--gray);
|
||||
|
@ -12,7 +12,6 @@
|
|||
--color: var(--white);
|
||||
--button-color: var(--gray-light);
|
||||
--button-active-color: var(--gray-dark);
|
||||
--placeholder-color: var(--gray);
|
||||
--toobar-background: var(--black);
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
expand="block"
|
||||
fill="clear"
|
||||
color="dark"
|
||||
class="core-login-forgotten-password core-button-as-link"
|
||||
class="core-login-forgotten-password core-button-as-link ion-text-wrap"
|
||||
(click)="forgottenPassword()"
|
||||
>
|
||||
<ion-label>{{ 'core.login.forgotten' | translate }}</ion-label>
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
expand="block"
|
||||
fill="clear"
|
||||
color="dark"
|
||||
class="core-login-forgotten-password core-button-as-link"
|
||||
class="core-login-forgotten-password core-button-as-link ion-text-wrap"
|
||||
(click)="forgottenPassword()"
|
||||
>
|
||||
<ion-label>{{ 'core.login.forgotten' | translate }}</ion-label>
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
<!-- Help. -->
|
||||
<ion-button
|
||||
class="ion-margin-top core-login-need-help core-button-as-link"
|
||||
class="ion-margin-top core-login-need-help core-button-as-link ion-text-wrap"
|
||||
(click)="showHelp()"
|
||||
aria-haspopup="dialog"
|
||||
expand="block"
|
||||
|
|
|
@ -46,21 +46,21 @@ $orange: #f98012 !default; // Accent (never text).
|
|||
$yellow: #fbad1a !default; // Accent (never text).
|
||||
$purple: #8e24aa !default; // Accent (never text).
|
||||
|
||||
$blue-light: mix($blue, white, 40%) !default; // Background.
|
||||
$blue-light: mix($blue, white, 20%) !default; // Background.
|
||||
$blue-dark: darken($blue, 10%) !default;
|
||||
|
||||
$turquoise-light: mix($turquoise, white, 40%) !default; // Background.
|
||||
$turquoise-light: mix($turquoise, white, 20%) !default; // Background.
|
||||
$turquoise-dark: darken($turquoise, 10%) !default;
|
||||
|
||||
$green-light: mix($green, white, 40%) !default;
|
||||
$green-light: mix($green, white, 20%) !default;
|
||||
$green-dark: darken($green, 10%) !default;
|
||||
|
||||
$red-light: mix($red, white, 40%) !default;
|
||||
$red-light: mix($red, white, 20%) !default;
|
||||
$red-dark: darken($red, 10%) !default;
|
||||
|
||||
$orange-light: lighten($orange, 10%) !default;
|
||||
|
||||
$yellow-light: mix($yellow, white, 40%) !default;
|
||||
$yellow-light: mix($yellow, white, 20%) !default;
|
||||
$yellow-dark: mix($yellow, black, 40%) !default;
|
||||
|
||||
$brand-color: $orange !default;
|
||||
|
@ -75,8 +75,8 @@ $link-color: $blue !default;
|
|||
$link-color-dark: $blue-light !default;
|
||||
$background-color: $gray-light !default;
|
||||
$background-color-dark: $shade-90 !default;
|
||||
$subdued-text-color: $gray-darker !default;
|
||||
$subdued-text-color-dark: $gray-lighter !default;
|
||||
$subdued-text-color: #595959 !default;
|
||||
$subdued-text-color-dark: #b4b4b4 !default;
|
||||
|
||||
$ion-item-background: $white !default;
|
||||
$ion-item-background-dark: $shade-80 !default;
|
||||
|
@ -87,6 +87,10 @@ $ion-item-divider-background-dark: $shade-75 !default;
|
|||
$ion-item-divider-color-dark: $text-color-dark !default;
|
||||
$core-spacer-background-dark: $shade-100 !default;
|
||||
|
||||
$ion-placeholder-color: $subdued-text-color;
|
||||
$ion-placeholder-color-dark: $subdued-text-color-dark;
|
||||
$color: #d0c9b9;
|
||||
$color: #fcf5e3;
|
||||
$core-online-color: #5cb85c !default;
|
||||
|
||||
$primary: $brand-color !default;
|
||||
|
@ -164,12 +168,12 @@ $colors: (
|
|||
) !default;
|
||||
|
||||
$primary-dark: $brand-color !default;
|
||||
$secondary-dark: $blue-light !default;
|
||||
$tertiary-dark: $turquoise-light !default;
|
||||
$danger-dark: $red-light !default;
|
||||
$warning-dark: $yellow-light !default;
|
||||
$success-dark: $green-light !default;
|
||||
$info-dark: $blue-light !default;
|
||||
$secondary-dark: mix($blue, white, 40%) !default;
|
||||
$tertiary-dark: mix($turquoise, white, 40%) !default;
|
||||
$danger-dark: mix($red, white, 40%) !default;
|
||||
$warning-dark: mix($yellow, white, 40%) !default;
|
||||
$success-dark: mix($green, white, 40%) !default;
|
||||
$info-dark: mix($blue, white, 40%) !default;
|
||||
$light-dark: $dark !default;
|
||||
$medium-dark: $gray-light !default;
|
||||
$dark-dark: $light !default;
|
||||
|
@ -299,7 +303,7 @@ $core-text-hightlight-background-color: lighten($blue, 40%) !default;
|
|||
|
||||
$core-tabs-background: $white !default;
|
||||
$core-tab-background: $core-tabs-background !default;
|
||||
$core-tab-color: $gray-dark !default;
|
||||
$core-tab-color: $subdued-text-color !default;
|
||||
$core-tab-color-active: $dark !default;
|
||||
$core-tab-font-weight-active: normal !default;
|
||||
$core-tab-border-color: $gray !default;
|
||||
|
@ -308,7 +312,7 @@ $core-tabs-height: 56px !default;
|
|||
|
||||
$core-tabs-background-dark: $shade-75 !default;
|
||||
$core-tab-background-dark: $core-tabs-background-dark !default;
|
||||
$core-tab-color-dark: $white !default;
|
||||
$core-tab-color-dark: $subdued-text-color-dark !default;
|
||||
$core-tab-color-active-dark: $dark-dark !default;
|
||||
$core-tab-border-color-dark: $gray-light !default;
|
||||
$core-tab-border-color-active-dark: $core-tab-border-color-active !default;
|
||||
|
@ -356,8 +360,10 @@ $core-star-color: $brand-color !default;
|
|||
$core-large-avatar-size: 90px !default;
|
||||
$core-avatar-size: 44px !default;
|
||||
|
||||
$core-send-message-input-background: $gray !default;
|
||||
$core-send-message-input-background: $gray-light !default;
|
||||
$core-send-message-input-color: $black !default;
|
||||
$core-send-message-input-background-dark: $black !default;
|
||||
$core-send-message-input-color-dark: $white !default;
|
||||
|
||||
$core-more-icon-color: null !default;
|
||||
$core-more-item-border: null !default;
|
||||
|
|
|
@ -874,6 +874,13 @@ html.ios div.fake-ion-item {
|
|||
|
||||
}
|
||||
|
||||
// Disabled items.
|
||||
ion-item.item-disabled,
|
||||
ion-item.item-interactive-disabled:not(.item-multiple-inputs) ion-label,
|
||||
ion-datetime.datetime-disabled {
|
||||
opacity: .8 !important;
|
||||
}
|
||||
|
||||
// Make links clickable when inside radio or checkbox items. Style part.
|
||||
@media (hover: hover) {
|
||||
ion-item.item-multiple-inputs:hover::part(native) {
|
||||
|
|
|
@ -58,6 +58,8 @@
|
|||
|
||||
--contrast-background: black;
|
||||
|
||||
--ion-placeholder-color: #{$ion-placeholder-color-dark};
|
||||
|
||||
ion-content {
|
||||
--background: var(--ion-background-color);
|
||||
--background-alternative: var(--black);
|
||||
|
@ -127,6 +129,9 @@
|
|||
--core-dd-question-selected-shadow: 2px 2px 4px var(--gray-light);
|
||||
--core-dd-question-border: var(--gray-light);
|
||||
|
||||
--core-send-message-input-background: #{$core-send-message-input-background-dark};
|
||||
--core-send-message-input-color: #{$core-send-message-input-color-dark};
|
||||
|
||||
--addon-messages-message-bg: #{$addon-messages-message-bg-dark};
|
||||
--addon-messages-message-activated-bg: #{$addon-messages-message-activated-bg-dark};
|
||||
--addon-messages-message-note-text: #{$addon-messages-message-note-text-dark};
|
||||
|
|
|
@ -81,6 +81,8 @@
|
|||
|
||||
--text-hightlight-background-color: #{$core-text-hightlight-background-color};
|
||||
|
||||
--ion-placeholder-color: #{$ion-placeholder-color};
|
||||
|
||||
ion-content {
|
||||
--background: var(--ion-background-color);
|
||||
--background-alternative: var(--gray-lighter);
|
||||
|
@ -223,6 +225,10 @@
|
|||
--item-divider-background: var(--spacer-background);
|
||||
}
|
||||
|
||||
ion-note {
|
||||
--color: var(--subdued-text-color);
|
||||
}
|
||||
|
||||
--core-combobox-background: var(--ion-item-background);
|
||||
--core-combobox-color: #{$core-combobox-color};
|
||||
--core-combobox-background: #{$core-combobox-background};
|
||||
|
|
Loading…
Reference in New Issue