2
0
Fork 0

Merge pull request #2774 from crazyserver/MOBILE-3693

Mobile 3693
main
Dani Palou 2021-05-19 11:48:48 +02:00 committed by GitHub
commit b3f1ea4a73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 46 additions and 8 deletions

View File

@ -4,7 +4,7 @@
margin-bottom: 2px; margin-bottom: 2px;
} }
ion-toolbar { ion-content ion-toolbar {
border-bottom: 1px solid var(--gray); border-bottom: 1px solid var(--gray);
} }
} }

View File

@ -79,7 +79,7 @@ export class CoreSite {
'3.8': 2019111800, '3.8': 2019111800,
'3.9': 2020061500, '3.9': 2020061500,
'3.10': 2020110900, '3.10': 2020110900,
'3.11': 2021051000, // @todo: Replace with the right version once it's released. '3.11': 2021051700,
}; };
// Possible cache update frequencies. // Possible cache update frequencies.

View File

@ -3,7 +3,7 @@
:host { :host {
position: static; position: static;
@include core-transition(height, 200ms); @include core-transition(height, 200ms);
--loading-background: rgba(255, 255, 255, 0.26); --loading-background: var(--ion-background-color);
> .core-loading-container { > .core-loading-container {
position: absolute; position: absolute;
@ -49,7 +49,3 @@
} }
} }
} }
:host-context(body.dark) {
--loading-background: rgba(0, 0, 0, 0.26);
}

View File

@ -519,6 +519,45 @@ audio.core-media-adapt-width {
width: 100%; width: 100%;
} }
// Make links clickable when inside radio or checkbox items. Style part.
@media (any-hover: hover) {
ion-item.item-multiple-inputs:hover::part(native) {
color: var(--color-hover);
&::after {
background: var(--background-hover);
opacity: var(--background-hover-opacity);
}
}
ion-item.ion-color.item-multiple-inputs:hover::part(native) {
color: #{current-color(contrast)};
&::after {
background: #{current-color(contrast)};
}
}
}
// Make links clickable when inside radio or checkbox items. Pointer and cursor part.
ion-item.item-multiple-inputs {
cursor: pointer;
ion-label {
z-index: 3;
pointer-events: none;
ion-anchor, a,
ion-button, button,
audio, video {
pointer-events: visible;
}
}
ion-checkbox, ion-datetime, ion-radio, ion-select{
position: static;
}
}
// Focus highlight for accessibility. // Focus highlight for accessibility.
ion-item.item-input.ion-focused:not(:focus), ion-item.item-input.ion-focused:not(:focus),
.ion-focused, .ion-focused,

View File

@ -69,6 +69,9 @@
--module-icon-size: 24px; --module-icon-size: 24px;
--ion-background-color: #{$background-color};
--ion-background-color-rgb: color-to-rgb-list(var(--ion-background-color));
--ion-text-color: #{$text-color}; --ion-text-color: #{$text-color};
--ion-text-color-rgb: 58,58,58; --ion-text-color-rgb: 58,58,58;
--ion-card-color: var(--ion-text-color); --ion-card-color: var(--ion-text-color);
@ -76,7 +79,7 @@
--text-hightlight-background-color: #{$core-text-hightlight-background-color}; --text-hightlight-background-color: #{$core-text-hightlight-background-color};
ion-content { ion-content {
--background: #{$background-color}; --background: var(--ion-background-color);
--background-lighter: var(--gray-lighter); --background-lighter: var(--gray-lighter);
--contrast-background: var(--white); --contrast-background: var(--white);
} }