2021-05-13 10:05:43 +00:00
|
|
|
@import "./globals.scss";
|
2021-02-03 09:55:01 +00:00
|
|
|
|
2021-10-07 09:26:08 +00:00
|
|
|
html.force-safe-area-margins {
|
|
|
|
--ion-safe-area-left: 40px;
|
|
|
|
--ion-safe-area-right: 40px;
|
|
|
|
--ion-safe-area-top: 40px;
|
|
|
|
--ion-safe-area-bottom: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @todo MOBILE-3790 non-standard property, doesn't work everywhere.
|
|
|
|
html {
|
|
|
|
zoom: var(--zoom-level);
|
|
|
|
}
|
|
|
|
|
2021-06-15 15:41:53 +00:00
|
|
|
body {
|
2021-10-07 09:26:08 +00:00
|
|
|
-webkit-text-size-adjust: var(--zoom-level);
|
2021-06-15 15:41:53 +00:00
|
|
|
}
|
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
// Common styles.
|
|
|
|
.text-left { text-align: left; }
|
|
|
|
.text-right { text-align: right; }
|
|
|
|
.text-center { text-align: center; }
|
|
|
|
.text-justify { text-align: justify; }
|
|
|
|
.clearfix {
|
2021-01-27 16:04:21 +00:00
|
|
|
&:after {
|
2021-02-03 09:30:07 +00:00
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
2021-01-27 16:04:21 +00:00
|
|
|
}
|
2021-02-03 09:30:07 +00:00
|
|
|
}
|
2021-06-02 10:44:34 +00:00
|
|
|
|
|
|
|
.core-bold {
|
2021-03-04 13:43:23 +00:00
|
|
|
font-weight: bold;
|
2021-06-02 10:44:34 +00:00
|
|
|
}
|
2021-03-04 13:43:23 +00:00
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
.img-responsive {
|
2021-01-27 16:04:21 +00:00
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
&[height] {
|
2021-02-03 09:30:07 +00:00
|
|
|
height: auto;
|
2021-01-27 16:04:21 +00:00
|
|
|
}
|
2021-02-03 09:30:07 +00:00
|
|
|
}
|
2021-01-27 16:04:21 +00:00
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
.opacity-hide { opacity: 0; }
|
|
|
|
.core-big { font-size: 115%; }
|
|
|
|
.invisible { visibility: hidden; }
|
2021-01-27 16:04:21 +00:00
|
|
|
|
2021-02-03 09:30:07 +00:00
|
|
|
.button-no-uppercase {
|
2021-01-27 16:04:21 +00:00
|
|
|
text-transform: none;
|
2021-02-03 09:30:07 +00:00
|
|
|
}
|
2021-01-27 16:04:21 +00:00
|
|
|
|
2021-05-13 09:30:01 +00:00
|
|
|
.flex { display: flex; }
|
|
|
|
.inline-block { display: inline-block; }
|
|
|
|
.block { display: block; }
|
|
|
|
|
2021-02-23 11:21:12 +00:00
|
|
|
.flex-row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
2021-05-05 15:43:40 +00:00
|
|
|
.margin-bottom-sm { margin-bottom: 8px; }
|
|
|
|
.margin-bottom-md { margin-bottom: 12px; }
|
|
|
|
|
|
|
|
.font-bold { font-weight: bold; }
|
|
|
|
.font-italic { font-style: italic; }
|
|
|
|
.font-lg { font-size: 1.7rem; }
|
|
|
|
.font-sm { font-size: 1.2rem; }
|
|
|
|
|
2021-05-20 08:55:02 +00:00
|
|
|
// Headings.
|
2021-05-21 07:24:09 +00:00
|
|
|
// Some styles taken from ion-label
|
2021-06-02 10:44:34 +00:00
|
|
|
.md ion-label .item-heading,
|
|
|
|
.ios ion-label .item-heading {
|
2021-05-21 07:24:09 +00:00
|
|
|
text-overflow: inherit;
|
|
|
|
overflow: inherit;
|
|
|
|
--color: initial;
|
|
|
|
color: var(--color);
|
|
|
|
line-height: 20px;
|
2021-06-02 10:44:34 +00:00
|
|
|
|
|
|
|
&.item-heading-secondary {
|
|
|
|
--color: var(--subdued-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ios ion-label > p,
|
|
|
|
.md ion-label > p {
|
|
|
|
--color: var(--subdued-text-color);
|
|
|
|
color: var(--color);
|
2021-05-20 07:56:54 +00:00
|
|
|
}
|
|
|
|
|
2021-05-21 07:24:09 +00:00
|
|
|
.md ion-label .item-heading {
|
|
|
|
@include margin(2px, 0);
|
|
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
&.item-heading-secondary {
|
|
|
|
@include margin(2px, 0);
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ios ion-label .item-heading {
|
|
|
|
@include margin(0, 0, 2px);
|
|
|
|
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
&.item-heading-secondary {
|
|
|
|
@include margin(0, 0, 3px);
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-19 12:20:00 +00:00
|
|
|
ion-header ion-title{
|
|
|
|
h1, h2, .subheading {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-05-28 14:30:09 +00:00
|
|
|
|
|
|
|
.filter_mathjaxloader_equation div {
|
|
|
|
display: inline !important;
|
|
|
|
}
|
2021-05-20 08:55:02 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:20:00 +00:00
|
|
|
ion-app.md ion-header ion-title{
|
2021-05-21 07:24:09 +00:00
|
|
|
@include padding(0, 20px);
|
2021-11-19 12:20:00 +00:00
|
|
|
|
|
|
|
h1, h2, .subheading {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 500;
|
|
|
|
letter-spacing: .0125em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 + h2,
|
|
|
|
h1 + .subheading {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2021-05-20 08:55:02 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:20:00 +00:00
|
|
|
ion-app.ios ion-header ion-title {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2021-05-21 07:24:09 +00:00
|
|
|
|
2021-11-19 12:20:00 +00:00
|
|
|
h1, h2, .subheading {
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 + h2,
|
|
|
|
h1 + .subheading {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2021-05-20 08:55:02 +00:00
|
|
|
}
|
|
|
|
|
2021-06-09 11:43:03 +00:00
|
|
|
|
2020-11-04 15:16:57 +00:00
|
|
|
// Correctly inherit ion-text-wrap onto labels.
|
2021-06-14 11:54:53 +00:00
|
|
|
.item ion-label core-format-text .core-format-text-content > *,
|
|
|
|
.fake-ion-item core-format-text .core-format-text-content > * {
|
2021-06-08 11:16:03 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2022-02-04 12:33:51 +00:00
|
|
|
.item.ion-text-wrap > ion-label core-format-text .core-format-text-content > *,
|
2021-06-14 11:54:53 +00:00
|
|
|
.fake-ion-item.ion-text-wrap core-format-text .core-format-text-content > * {
|
2021-06-09 08:28:45 +00:00
|
|
|
white-space: normal;
|
2021-11-24 14:40:43 +00:00
|
|
|
overflow: inherit;
|
2021-06-09 08:28:45 +00:00
|
|
|
}
|
|
|
|
|
2022-02-04 12:33:51 +00:00
|
|
|
.item.ion-text-wrap > ion-label {
|
2020-11-04 15:16:57 +00:00
|
|
|
white-space: normal !important;
|
|
|
|
}
|
|
|
|
|
2022-02-03 14:28:40 +00:00
|
|
|
@each $color-name, $unused in $colors {
|
2021-03-15 17:30:31 +00:00
|
|
|
.text-#{$color-name},
|
|
|
|
p.text-#{$color-name} {
|
2021-06-16 16:00:21 +00:00
|
|
|
color: var(--ion-color-#{$color-name});
|
2021-03-15 17:30:31 +00:00
|
|
|
}
|
|
|
|
}
|
2020-10-22 09:17:21 +00:00
|
|
|
|
2021-05-27 10:12:15 +00:00
|
|
|
// Ionic toolbar on header.
|
2021-06-16 16:00:21 +00:00
|
|
|
ion-toolbar {
|
|
|
|
--min-height: var(--core-header-toolbar-height);
|
2021-05-20 08:55:02 +00:00
|
|
|
}
|
|
|
|
|
2021-05-27 10:12:15 +00:00
|
|
|
ion-header ion-toolbar {
|
|
|
|
ion-back-button,
|
|
|
|
.in-toolbar.button-clear {
|
|
|
|
--color: var(--core-header-toolbar-color);
|
|
|
|
--ion-toolbar-color: var(--core-header-toolbar-color);
|
|
|
|
}
|
2020-10-28 16:24:51 +00:00
|
|
|
|
2021-05-27 10:12:15 +00:00
|
|
|
.button.button-clear,
|
|
|
|
.button.button-solid {
|
|
|
|
--background: transparent;
|
|
|
|
--color: var(--core-header-toolbar-color);
|
2022-02-03 14:28:40 +00:00
|
|
|
--primary: var(--core-header-toolbar-color);
|
2021-05-27 10:12:15 +00:00
|
|
|
}
|
2021-05-06 08:56:20 +00:00
|
|
|
|
2021-05-27 10:12:15 +00:00
|
|
|
.button.button-clear.button-has-icon-only,
|
|
|
|
.button.button-solid.button-has-icon-only {
|
2022-02-09 11:56:36 +00:00
|
|
|
--border-radius: var(--huge-radius);
|
2021-05-27 10:12:15 +00:00
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
2021-05-07 08:31:06 +00:00
|
|
|
|
|
|
|
|
2021-05-27 10:12:15 +00:00
|
|
|
.core-navbar-button-hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2020-11-20 12:59:20 +00:00
|
|
|
}
|
|
|
|
|
2021-10-06 11:06:00 +00:00
|
|
|
ion-footer ion-toolbar.ion-color-contrast {
|
|
|
|
background-color: var(--contrast-background);
|
|
|
|
}
|
|
|
|
|
2020-10-29 10:42:50 +00:00
|
|
|
// Ionic icon.
|
2020-10-28 16:24:51 +00:00
|
|
|
ion-icon {
|
2021-06-01 10:04:01 +00:00
|
|
|
position: relative;
|
|
|
|
|
2020-10-28 16:24:51 +00:00
|
|
|
&.icon-slash::after,
|
|
|
|
&.icon-backslash::after {
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2022-02-03 14:28:40 +00:00
|
|
|
background-color: var(--danger);
|
2020-10-28 16:24:51 +00:00
|
|
|
-webkit-mask: url("/assets/fonts/font-awesome/solid/slash.svg") no-repeat 50% 50%;
|
|
|
|
mask: url("/assets/fonts/font-awesome/solid/slash.svg") no-repeat 50% 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.icon-slash::after {
|
|
|
|
-webkit-transform: scale(-1, 1);
|
|
|
|
transform: scale(-1, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fa-fw {
|
|
|
|
text-align: center;
|
|
|
|
width: 1.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-06 09:33:10 +00:00
|
|
|
// Buttons.
|
2021-05-13 09:48:31 +00:00
|
|
|
ion-button,
|
|
|
|
ion-fab-button,
|
|
|
|
button,
|
|
|
|
[role="button"] {
|
2021-05-06 09:33:10 +00:00
|
|
|
min-height: var(--a11y-min-target-size);
|
|
|
|
min-width: var(--a11y-min-target-size);
|
|
|
|
}
|
|
|
|
|
2022-02-09 21:43:09 +00:00
|
|
|
ion-button.button-outline {
|
|
|
|
--border-width: 1px;
|
|
|
|
--background: var(--contrast-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-button.button-solid {
|
|
|
|
--box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-button core-format-text .core-format-text-content {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: block;
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-button > * {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-button.ion-text-wrap {
|
|
|
|
white-space: normal;
|
|
|
|
core-format-text .core-format-text-content {
|
|
|
|
white-space: normal;
|
|
|
|
display: contents;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-button ion-spinner {
|
|
|
|
--color: inherit !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-button:not(.button-has-icon-only):not(.button-small) > ion-icon {
|
|
|
|
min-width: 20px;
|
|
|
|
}
|
|
|
|
|
2022-02-04 12:33:51 +00:00
|
|
|
ion-button.button.button-clear.button-has-icon-only {
|
2022-02-09 11:56:36 +00:00
|
|
|
--border-radius: var(--huge-radius);
|
2022-02-04 12:33:51 +00:00
|
|
|
}
|
|
|
|
|
2022-02-09 21:43:09 +00:00
|
|
|
ion-button.button.button-solid,
|
|
|
|
ion-button.button.button-outline {
|
|
|
|
--border-radius: var(--small-radius);
|
|
|
|
}
|
|
|
|
|
2021-06-02 10:44:34 +00:00
|
|
|
// Clear buttons will be black.
|
|
|
|
ion-button.button-clear {
|
2022-02-03 14:28:40 +00:00
|
|
|
--primary: var(--primary);
|
2021-06-02 10:44:34 +00:00
|
|
|
}
|
|
|
|
|
2021-05-31 10:28:58 +00:00
|
|
|
[role="button"],
|
|
|
|
.clickable {
|
2021-05-06 09:33:10 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
2021-06-08 14:12:56 +00:00
|
|
|
|
2021-05-06 09:33:10 +00:00
|
|
|
[disabled],
|
|
|
|
[aria-disabled="true"] {
|
2021-06-08 14:12:56 +00:00
|
|
|
cursor: default;
|
|
|
|
opacity: .4;
|
|
|
|
pointer-events: none;
|
2021-05-06 09:33:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-08 14:12:56 +00:00
|
|
|
button[disabled] {
|
|
|
|
cursor: default;
|
|
|
|
opacity: .4;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2021-05-10 09:52:41 +00:00
|
|
|
ion-button.core-button-as-link {
|
2021-05-06 09:33:10 +00:00
|
|
|
text-transform: none;
|
|
|
|
text-decoration: underline;
|
2021-05-10 09:52:41 +00:00
|
|
|
font-size: inherit;
|
|
|
|
font-weight: normal;
|
|
|
|
letter-spacing: normal;
|
|
|
|
white-space: break-spaces;
|
2021-05-06 09:33:10 +00:00
|
|
|
}
|
|
|
|
|
2021-05-31 10:28:58 +00:00
|
|
|
button.as-link {
|
|
|
|
display: inline;
|
|
|
|
min-height: auto;
|
|
|
|
min-width: auto;
|
|
|
|
color: var(--core-link-color);
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
line-height: inherit;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: start;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-10-29 10:42:50 +00:00
|
|
|
// Ionic alert.
|
2021-02-26 07:41:00 +00:00
|
|
|
ion-alert.core-alert-network-error .alert-head,
|
|
|
|
div.core-iframe-network-error {
|
2020-10-29 10:42:50 +00:00
|
|
|
position: relative;
|
|
|
|
content: " ";
|
|
|
|
background: url("/assets/fonts/font-awesome/solid/wifi.svg") no-repeat 50% 50%;
|
|
|
|
margin: 25px auto;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
|
|
|
top: -20%;
|
|
|
|
right: -15%;
|
|
|
|
width: 50%;
|
|
|
|
height: 50%;
|
2022-02-03 14:28:40 +00:00
|
|
|
background-color: var(--danger);
|
2020-10-29 10:42:50 +00:00
|
|
|
-webkit-mask: url("/assets/fonts/font-awesome/solid/exclamation-triangle.svg") no-repeat 50% 50%;
|
|
|
|
mask: url("/assets/fonts/font-awesome/solid/exclamation-triangle.svg") no-repeat 50% 50%;
|
|
|
|
}
|
|
|
|
}
|
2021-06-02 10:44:34 +00:00
|
|
|
|
2021-02-26 07:41:00 +00:00
|
|
|
[dir=rtl] ion-alert.core-alert-network-error .alert-head::after,
|
|
|
|
[dir=rtl] div.core-iframe-network-error::after {
|
2020-10-29 10:42:50 +00:00
|
|
|
right: unset;
|
|
|
|
left: -15%;
|
|
|
|
}
|
2021-06-02 10:44:34 +00:00
|
|
|
|
2020-11-20 10:59:36 +00:00
|
|
|
ion-alert.core-nohead {
|
|
|
|
.alert-head {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-10-29 10:42:50 +00:00
|
|
|
|
2022-01-28 10:34:03 +00:00
|
|
|
ion-alert {
|
|
|
|
--border-radius: var(--huge-radius);
|
|
|
|
.alert-wrapper {
|
|
|
|
overflow: auto;
|
|
|
|
border-radius: var(--border-radius) !important;
|
|
|
|
|
|
|
|
button.alert-button {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
2021-05-19 11:48:11 +00:00
|
|
|
|
2022-01-28 10:34:03 +00:00
|
|
|
.alert-message {
|
|
|
|
user-select: text;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2021-06-02 10:44:34 +00:00
|
|
|
}
|
|
|
|
|
2020-10-29 10:42:50 +00:00
|
|
|
// Ionic list.
|
|
|
|
ion-list.list-md {
|
2020-12-10 10:45:27 +00:00
|
|
|
padding: 0;
|
2020-10-29 10:42:50 +00:00
|
|
|
}
|
2020-10-27 10:44:35 +00:00
|
|
|
|
2021-10-06 11:06:00 +00:00
|
|
|
// Safe areas
|
|
|
|
.safe-area-padding,
|
|
|
|
.safe-area-padding-horizontal {
|
|
|
|
@include padding-horizontal(var(--ion-safe-area-left), var(--ion-safe-area-right));
|
|
|
|
}
|
|
|
|
|
|
|
|
.safe-area-margin,
|
|
|
|
.safe-margin-horizontal {
|
|
|
|
@include margin-horizontal(var(--ion-safe-area-left), var(--ion-safe-area-right));
|
|
|
|
}
|
|
|
|
|
|
|
|
.ion-padding.safe-area-padding-horizontal {
|
|
|
|
@include safe-area-padding-horizontal(16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ion-margin.safe-margin-horizontal {
|
|
|
|
@include safe-area-margin-horizontal(16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-tabs.placement-side .tabs-inner {
|
|
|
|
--ion-safe-area-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-tabs.placement-bottom .tabs-inner {
|
|
|
|
--ion-safe-area-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
core-split-view.menu-and-content {
|
|
|
|
.menu {
|
|
|
|
--ion-safe-area-right: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-outlet {
|
|
|
|
--ion-safe-area-left: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-20 10:59:36 +00:00
|
|
|
// Header.
|
2021-10-06 10:40:55 +00:00
|
|
|
ion-header {
|
|
|
|
z-index: 12; // To hide ion-slides on scroll.
|
|
|
|
}
|
2020-11-20 10:59:36 +00:00
|
|
|
ion-tabs.hide-header ion-header {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
ion-toolbar {
|
|
|
|
ion-spinner {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-29 07:14:48 +00:00
|
|
|
// Iframe fullscreen manage.
|
|
|
|
// Using router outlet to avoid changing styles on modals.
|
|
|
|
body.core-iframe-fullscreen ion-router-outlet {
|
|
|
|
|
|
|
|
ion-tab-bar.mainmenu-tabs {
|
|
|
|
display: none;
|
2021-10-06 11:06:00 +00:00
|
|
|
|
|
|
|
// Restore original safe area.
|
|
|
|
.tabs-inner {
|
|
|
|
@supports (padding-left: constant(safe-area-inset-left)) {
|
|
|
|
--ion-safe-area-left: constant(safe-area-inset-left);
|
|
|
|
}
|
2021-12-09 11:29:01 +00:00
|
|
|
|
2021-10-06 11:06:00 +00:00
|
|
|
@supports (padding-left: env(safe-area-inset-left)) {
|
|
|
|
--ion-safe-area-left: env(safe-area-inset-left);
|
|
|
|
}
|
|
|
|
}
|
2021-09-29 07:14:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
--core-header-toolbar-height: 48px;
|
|
|
|
--core-header-toolbar-color: white;
|
|
|
|
--core-header-toolbar-background: black;
|
2021-10-06 10:40:55 +00:00
|
|
|
--core-header-toolbar-border-width: 0px;
|
2021-09-29 07:14:48 +00:00
|
|
|
|
|
|
|
ion-header ion-toolbar {
|
|
|
|
h1, ion-back-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (orientation: landscape) {
|
|
|
|
// Place ion-header on the side and hide text
|
|
|
|
.ion-page {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
ion-header {
|
2021-10-06 11:06:00 +00:00
|
|
|
width: calc(var(--core-header-toolbar-height), var(--ion-safe-area-right));
|
|
|
|
@include safe-area-padding-horizontal(null, 0px);
|
|
|
|
background: var(--core-header-toolbar-background);
|
2021-09-29 07:14:48 +00:00
|
|
|
|
|
|
|
ion-toolbar {
|
2021-10-06 11:06:00 +00:00
|
|
|
padding: 0;
|
2021-09-29 07:14:48 +00:00
|
|
|
height: 100%;
|
2021-10-06 10:40:55 +00:00
|
|
|
--padding-start: 0px;
|
|
|
|
--padding-end: 0px;
|
2021-09-29 07:14:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ion-buttons {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-27 10:44:35 +00:00
|
|
|
// Modals.
|
2021-05-13 12:12:42 +00:00
|
|
|
.core-modal-fullscreen .modal-wrapper {
|
2020-10-27 10:44:35 +00:00
|
|
|
position: absolute;
|
2021-05-13 10:05:43 +00:00
|
|
|
@include position(0 !important, null, null, 0 !important);
|
2020-10-27 10:44:35 +00:00
|
|
|
display: block;
|
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
|
|
|
}
|
|
|
|
|
2021-12-14 14:13:55 +00:00
|
|
|
.core-modal-transparent {
|
|
|
|
|
|
|
|
ion-backdrop {
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-wrapper {
|
|
|
|
backdrop-filter: blur(12px);
|
|
|
|
--background: rgba(10, 10, 10, 0.2);
|
|
|
|
|
|
|
|
ion-content {
|
|
|
|
--background: transparent !important;
|
|
|
|
}
|
|
|
|
position: absolute;
|
|
|
|
@include position(0 !important, null, null, 0 !important);
|
|
|
|
display: block;
|
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-27 10:44:35 +00:00
|
|
|
.core-modal-force-on-top {
|
|
|
|
z-index: 100000 !important;
|
|
|
|
}
|
2020-10-27 14:05:11 +00:00
|
|
|
|
2021-12-21 14:12:17 +00:00
|
|
|
.core-modal-lateral .modal-wrapper {
|
|
|
|
@include margin-horizontal(16px, null);
|
|
|
|
}
|
|
|
|
|
2021-10-22 10:57:59 +00:00
|
|
|
@media only screen and (min-height: 400px) and (min-width: #{$modal-lateral-width}) {
|
2021-02-03 09:55:01 +00:00
|
|
|
.core-modal-lateral {
|
2021-10-06 11:06:00 +00:00
|
|
|
--ion-safe-area-left: 0px;
|
|
|
|
--ion-safe-area-right: 0px;
|
2021-02-03 09:55:01 +00:00
|
|
|
|
|
|
|
.modal-wrapper {
|
|
|
|
position: absolute;
|
2021-05-13 10:05:43 +00:00
|
|
|
@include position(0 !important, 0 !important, 0 !important, unset !important);
|
2021-02-03 09:55:01 +00:00
|
|
|
display: block;
|
|
|
|
height: 100% !important;
|
|
|
|
width: auto;
|
2022-01-19 14:57:03 +00:00
|
|
|
min-width: calc(#{$modal-lateral-width} - 16px);
|
2021-02-03 09:55:01 +00:00
|
|
|
box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4);
|
|
|
|
}
|
|
|
|
ion-backdrop {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-22 10:57:59 +00:00
|
|
|
@each $breakpoint, $width in $screen-breakpoints {
|
2021-12-21 14:12:17 +00:00
|
|
|
.core-modal-lateral-#{$breakpoint} .modal-wrapper {
|
|
|
|
@include margin-horizontal(16px, null);
|
|
|
|
}
|
|
|
|
|
2021-10-22 10:57:59 +00:00
|
|
|
@media only screen and (min-height: 400px) and (min-width: #{$width}) {
|
|
|
|
.core-modal-lateral-#{$breakpoint} {
|
|
|
|
--ion-safe-area-left: 0px;
|
|
|
|
--ion-safe-area-right: 0px;
|
2021-12-09 11:29:01 +00:00
|
|
|
|
2021-10-22 10:57:59 +00:00
|
|
|
.modal-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
@include position(0 !important, 0 !important, 0 !important, unset !important);
|
|
|
|
display: block;
|
|
|
|
height: 100% !important;
|
|
|
|
width: auto;
|
|
|
|
min-width: #{$width};
|
|
|
|
box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4);
|
|
|
|
}
|
|
|
|
ion-backdrop {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-12-09 11:29:01 +00:00
|
|
|
|
2021-10-22 10:57:59 +00:00
|
|
|
}
|
|
|
|
|
2020-10-27 14:05:11 +00:00
|
|
|
// Hidden submit button.
|
|
|
|
.core-submit-hidden-enter {
|
|
|
|
position: absolute;
|
|
|
|
visibility: hidden;
|
|
|
|
left: -1000px;
|
|
|
|
}
|
2020-10-29 12:45:55 +00:00
|
|
|
|
|
|
|
// Note on foot of ion-input.
|
|
|
|
.item .core-input-footnote {
|
|
|
|
width: 100%;
|
|
|
|
font-style: italic;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2020-11-04 15:16:57 +00:00
|
|
|
|
2020-11-12 08:53:56 +00:00
|
|
|
// Item styles
|
2021-06-21 10:16:20 +00:00
|
|
|
[aria-current="page"],
|
|
|
|
.item.item-current {
|
2021-10-06 10:40:55 +00:00
|
|
|
@include safe-area-border-start(var(--selected-item-border-width), solid, var(--selected-item-color));
|
2021-10-06 11:06:00 +00:00
|
|
|
> * {
|
|
|
|
--ion-safe-area-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::part(native) {
|
|
|
|
--ion-safe-area-left: 0px;
|
|
|
|
}
|
2020-11-12 08:53:56 +00:00
|
|
|
}
|
|
|
|
|
2020-11-12 11:10:51 +00:00
|
|
|
.item.item-file {
|
|
|
|
ion-thumbnail {
|
|
|
|
--size: 32px;
|
|
|
|
width: var(--size);
|
|
|
|
height: var(--size);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-18 15:16:18 +00:00
|
|
|
.item-dimmed {
|
2021-01-27 16:04:21 +00:00
|
|
|
opacity: 0.7;
|
2022-02-03 14:28:40 +00:00
|
|
|
--background: var(--light);
|
2021-01-18 15:16:18 +00:00
|
|
|
}
|
2020-11-12 11:10:51 +00:00
|
|
|
|
2021-01-12 09:38:34 +00:00
|
|
|
// Extra text colors.
|
|
|
|
.text-gray {
|
2022-01-27 17:03:02 +00:00
|
|
|
color: var(--gray-500);
|
2021-01-12 09:38:34 +00:00
|
|
|
}
|
|
|
|
|
2020-11-12 11:10:51 +00:00
|
|
|
// Card styles
|
2022-02-03 14:28:40 +00:00
|
|
|
@each $color-name, $unused in $colors {
|
2021-02-23 07:53:24 +00:00
|
|
|
|
|
|
|
// Message cards.
|
|
|
|
ion-card.core-#{$color-name}-card {
|
2021-06-16 16:00:21 +00:00
|
|
|
--color-base: var(--ion-color-#{$color-name});
|
|
|
|
|
|
|
|
border-bottom: 3px solid var(--color-base);
|
2021-02-23 07:53:24 +00:00
|
|
|
|
2021-08-06 09:34:50 +00:00
|
|
|
ion-item {
|
2021-10-06 10:40:55 +00:00
|
|
|
--inner-border-width: 0px;
|
2021-02-23 07:53:24 +00:00
|
|
|
}
|
|
|
|
ion-label {
|
|
|
|
white-space: normal !important;
|
|
|
|
}
|
|
|
|
ion-icon {
|
2021-06-16 16:00:21 +00:00
|
|
|
color: var(--color-base);
|
2021-02-23 07:53:24 +00:00
|
|
|
}
|
2020-12-14 13:50:37 +00:00
|
|
|
}
|
2021-02-23 07:53:24 +00:00
|
|
|
|
|
|
|
.item.core-#{$color-name}-item {
|
2021-06-16 16:00:21 +00:00
|
|
|
--color-base: var(--ion-color-#{$color-name});
|
|
|
|
|
2021-08-06 09:34:50 +00:00
|
|
|
--border-width: 0 0 3px 0;
|
|
|
|
--border-color: var(--color-base);
|
2021-10-06 10:40:55 +00:00
|
|
|
--inner-border-width: 0px;
|
2021-02-23 07:53:24 +00:00
|
|
|
ion-icon {
|
2021-06-16 16:00:21 +00:00
|
|
|
color: var(--color-base);
|
2021-02-23 07:53:24 +00:00
|
|
|
}
|
2020-12-14 13:50:37 +00:00
|
|
|
}
|
2021-04-23 11:24:48 +00:00
|
|
|
|
|
|
|
ion-icon.ion-color-#{$color-name} {
|
2021-06-16 16:00:21 +00:00
|
|
|
--ion-color-base: var(--ion-color-#{$color-name});
|
|
|
|
color: var(--ion-color-base);
|
2021-04-23 11:24:48 +00:00
|
|
|
}
|
2020-11-12 11:10:51 +00:00
|
|
|
}
|
|
|
|
|
2020-11-04 15:16:57 +00:00
|
|
|
// Avatar
|
|
|
|
// -------------------------
|
|
|
|
// Large centered avatar
|
2020-12-04 14:23:00 +00:00
|
|
|
img.large-avatar,
|
|
|
|
.large-avatar img {
|
2020-11-04 15:16:57 +00:00
|
|
|
display: block;
|
2020-12-11 15:08:35 +00:00
|
|
|
margin: 8px auto;
|
2020-12-04 14:23:00 +00:00
|
|
|
width: var(--core-large-avatar-size);
|
|
|
|
height: var(--core-large-avatar-size);
|
|
|
|
max-width: var(--core-large-avatar-size);
|
|
|
|
max-height: var(--core-large-avatar-size);
|
2020-11-04 15:16:57 +00:00
|
|
|
margin-bottom: 10px;
|
|
|
|
border-radius : 50%;
|
|
|
|
padding: 4px;
|
2022-01-27 17:03:02 +00:00
|
|
|
border: 1px solid var(--stroke);
|
2020-11-04 15:16:57 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2020-12-04 14:23:00 +00:00
|
|
|
ion-avatar.large-avatar {
|
|
|
|
width: var(--core-large-avatar-size);
|
|
|
|
height: var(--core-large-avatar-size);
|
|
|
|
}
|
|
|
|
|
2020-11-04 15:16:57 +00:00
|
|
|
ion-avatar ion-img, ion-avatar img {
|
|
|
|
text-indent: -99999px;
|
2022-01-27 17:03:02 +00:00
|
|
|
background-color: var(--gray-200);
|
2020-11-04 15:16:57 +00:00
|
|
|
}
|
|
|
|
|
2021-01-27 09:34:03 +00:00
|
|
|
// Wait to load before showing the image.
|
|
|
|
img[core-external-content]:not([src]) {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2022-01-27 17:02:34 +00:00
|
|
|
ion-card {
|
|
|
|
border-width: var(--border-width);
|
|
|
|
border-style: var(--border-style);
|
|
|
|
border-color: var(--border-color);
|
|
|
|
box-shadow: var(--box-shadow);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
|
|
|
|
ion-item:only-child {
|
|
|
|
--inner-border-width: 0px;
|
|
|
|
}
|
2021-09-09 14:39:59 +00:00
|
|
|
}
|
|
|
|
|
2021-05-28 14:30:09 +00:00
|
|
|
.core-course-module-handler:not(.addon-mod-label-handler) .item-heading .filter_mathjaxloader_equation div {
|
2021-05-27 14:10:43 +00:00
|
|
|
display: inline !important;
|
|
|
|
}
|
|
|
|
|
2022-02-09 12:41:20 +00:00
|
|
|
ion-list.core-course-module-list-wrapper,
|
|
|
|
.core-course-module-list-wrapper {
|
|
|
|
max-width: var(--module-list-width);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
--padding-start: 12px;
|
|
|
|
--padding-end: 12px;
|
|
|
|
padding-left: var(--padding-start);
|
|
|
|
padding-right: var(--padding-end);
|
|
|
|
|
|
|
|
core-course-module {
|
|
|
|
--horizontal-margin: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-20 08:55:02 +00:00
|
|
|
ion-toolbar h1 img.core-bar-button-image,
|
|
|
|
ion-toolbar h1 .core-bar-button-image img {
|
2021-10-21 13:06:45 +00:00
|
|
|
padding: 4px;
|
2021-05-07 08:31:06 +00:00
|
|
|
width: var(--core-header-toolbar-button-image-size);
|
|
|
|
height: var(--core-header-toolbar-button-image-size);
|
|
|
|
max-width: var(--core-header-toolbar-button-image-size);
|
|
|
|
max-height: var(--core-header-toolbar-button-image-size);
|
2021-01-22 16:06:30 +00:00
|
|
|
border-radius: 50%;
|
2021-10-21 13:06:45 +00:00
|
|
|
display: block;
|
2021-01-22 16:06:30 +00:00
|
|
|
}
|
|
|
|
|
2020-11-04 16:37:02 +00:00
|
|
|
// Action sheet.
|
|
|
|
.md ion-action-sheet {
|
|
|
|
.action-sheet-group-cancel {
|
2021-07-01 10:17:26 +00:00
|
|
|
-webkit-filter: drop-shadow(0px 3px 6px rgba(var(--drop-shadow)));
|
|
|
|
filter: drop-shadow(0px 3px 6px rgba(var(--drop-shadow)));
|
2020-11-04 16:37:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.action-sheet-title {
|
2021-07-01 10:17:26 +00:00
|
|
|
border-bottom: 2px solid var(--title-border-color);
|
2020-11-04 16:37:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ios ion-action-sheet {
|
|
|
|
.action-sheet-title {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2021-07-01 10:17:26 +00:00
|
|
|
|
|
|
|
.action-sheet-title {
|
|
|
|
border-bottom: 2px solid var(--title-border-color);
|
|
|
|
}
|
2020-11-04 16:37:02 +00:00
|
|
|
}
|
|
|
|
|
2021-06-02 10:44:34 +00:00
|
|
|
// Radio.
|
2021-06-09 11:43:03 +00:00
|
|
|
ion-radio,
|
|
|
|
input[type=radio] {
|
2021-06-21 10:16:20 +00:00
|
|
|
--color: var(--text-color);
|
2021-06-02 10:44:34 +00:00
|
|
|
--color-checked: var(--color);
|
2021-06-09 11:43:03 +00:00
|
|
|
--border-radius: 50%;
|
|
|
|
--border-width: 2px;
|
|
|
|
--outer-border-width: 2px;
|
|
|
|
--border-style: solid;
|
|
|
|
--inner-border-radius: 50%;
|
|
|
|
--size: 20px;
|
2021-06-02 10:44:34 +00:00
|
|
|
}
|
|
|
|
|
2021-06-09 11:43:03 +00:00
|
|
|
.ios ion-radio,
|
|
|
|
.ios input[type=radio] {
|
2021-06-09 09:19:58 +00:00
|
|
|
--border-width: 1px;
|
2021-06-09 11:43:03 +00:00
|
|
|
--outer-border-width: 1px;
|
|
|
|
}
|
2021-06-09 09:19:58 +00:00
|
|
|
|
2021-06-09 11:43:03 +00:00
|
|
|
.ios ion-radio {
|
|
|
|
width: var(--size);
|
|
|
|
height: var(--size);
|
2021-06-09 09:19:58 +00:00
|
|
|
|
|
|
|
&::part(container) {
|
|
|
|
margin: 0px;
|
|
|
|
border-radius: var(--border-radius);
|
2021-06-09 11:43:03 +00:00
|
|
|
border-width: var(--outer-border-width);
|
2021-06-09 09:19:58 +00:00
|
|
|
border-style: var(--border-style);
|
|
|
|
border-color: var(--color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&::part(mark) {
|
|
|
|
border-radius: var(--inner-border-radius);
|
2021-06-09 11:43:03 +00:00
|
|
|
width: calc(50% + var(--outer-border-width));
|
|
|
|
height: calc(50% + var(--outer-border-width));
|
2021-06-09 09:19:58 +00:00
|
|
|
transform: scale3d(0, 0, 0);
|
|
|
|
transition: transform 280ms cubic-bezier(.4, 0, .2, 1);
|
|
|
|
background: var(--contrast-background);
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.radio-checked {
|
|
|
|
&::part(container) {
|
|
|
|
border-color: var(--color-checked);
|
|
|
|
background: var(--color-checked);
|
|
|
|
}
|
|
|
|
|
|
|
|
&::part(mark) {
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-02 10:44:34 +00:00
|
|
|
// Checkbox.
|
2021-06-09 11:43:03 +00:00
|
|
|
ion-checkbox,
|
|
|
|
input[type=checkbox] {
|
2021-06-02 10:44:34 +00:00
|
|
|
--border-radius: 2px;
|
2021-06-21 10:16:20 +00:00
|
|
|
--border-color-checked: var(--text-color);
|
|
|
|
--background-checked: var(--text-color);
|
2021-06-02 10:44:34 +00:00
|
|
|
--checkmark-color: var(--contrast-background);
|
2021-06-09 11:43:03 +00:00
|
|
|
--border-width: 2px;
|
|
|
|
--outer-border-width: 2px;
|
|
|
|
--border-style: solid;
|
|
|
|
--size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ios input[type=checkbox] {
|
|
|
|
--outer-border-width: 1px;
|
2021-06-02 10:44:34 +00:00
|
|
|
}
|
|
|
|
|
2020-11-06 14:34:01 +00:00
|
|
|
// Select.
|
2021-02-05 14:08:21 +00:00
|
|
|
ion-select::part(text) {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2021-05-28 14:37:33 +00:00
|
|
|
ion-select::part(icon) {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2021-11-02 10:07:28 +00:00
|
|
|
ion-select-popover ion-item.core-select-option-title {
|
|
|
|
cursor: pointer;
|
|
|
|
ion-radio {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-08 11:06:48 +00:00
|
|
|
ion-badge {
|
|
|
|
line-height: 1.1;
|
|
|
|
padding: 4px 8px;
|
|
|
|
border-radius: var(--big-radius);
|
|
|
|
}
|
|
|
|
|
2022-02-09 21:43:09 +00:00
|
|
|
ion-chip,
|
|
|
|
ion-button.chip {
|
2022-01-28 08:16:42 +00:00
|
|
|
line-height: 1.1;
|
2022-02-04 12:33:51 +00:00
|
|
|
font-size: 12px;
|
2022-02-08 11:06:48 +00:00
|
|
|
min-height: 24px;
|
2022-02-09 21:43:09 +00:00
|
|
|
text-transform: none;
|
|
|
|
margin: 4px;
|
|
|
|
font-weight: normal;
|
2022-02-04 12:33:51 +00:00
|
|
|
|
|
|
|
ion-icon {
|
|
|
|
font-size: 16px;
|
2022-02-08 11:06:48 +00:00
|
|
|
min-width: 16px;
|
2022-02-04 12:33:51 +00:00
|
|
|
@include margin(0, 8px, 0, 0);
|
|
|
|
}
|
2022-02-03 16:08:53 +00:00
|
|
|
|
2022-02-09 21:43:09 +00:00
|
|
|
ion-label {
|
|
|
|
white-space: normal !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-chip {
|
|
|
|
line-height: 1.1;
|
|
|
|
font-size: 12px;
|
|
|
|
padding: 4px 8px;
|
|
|
|
min-height: 24px;
|
|
|
|
height: auto;
|
|
|
|
|
2022-02-03 16:08:53 +00:00
|
|
|
&.ion-color {
|
|
|
|
background: var(--ion-color-tint);
|
2022-02-03 16:36:12 +00:00
|
|
|
&.chip-outline {
|
|
|
|
background-color: transparent;
|
|
|
|
border-color: var(--ion-color-base);
|
|
|
|
color: var(--ion-color-base);
|
|
|
|
}
|
2022-02-03 16:08:53 +00:00
|
|
|
}
|
2022-01-28 08:16:42 +00:00
|
|
|
}
|
|
|
|
|
2021-05-27 14:10:43 +00:00
|
|
|
ion-searchbar {
|
|
|
|
.searchbar-search-icon.ios {
|
|
|
|
top: 4px;
|
|
|
|
}
|
|
|
|
.searchbar-search-icon.md {
|
|
|
|
top: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-06 14:34:01 +00:00
|
|
|
// File uploader.
|
|
|
|
.action-sheet-button input.core-fileuploader-file-handler-input {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
min-width: 100%;
|
|
|
|
opacity: 0;
|
|
|
|
z-index: 100;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-11-17 10:00:46 +00:00
|
|
|
|
|
|
|
.core-anchor, core-format-text a {
|
2021-05-07 08:31:06 +00:00
|
|
|
color: var(--core-link-color);
|
2020-11-17 10:00:46 +00:00
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2020-12-10 13:43:15 +00:00
|
|
|
|
2021-05-13 10:05:43 +00:00
|
|
|
core-block ion-item-divider .core-button-spinner {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
@include margin-horizontal(10px);
|
|
|
|
|
|
|
|
ion-badge.core-course-download-courses-progress {
|
|
|
|
@include margin(null, 12px, null, null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-10 13:43:15 +00:00
|
|
|
// Horizontal scrolling elements
|
|
|
|
.core-horizontal-scroll {
|
2021-10-06 11:06:00 +00:00
|
|
|
display: block;
|
2020-12-10 13:43:15 +00:00
|
|
|
overflow-x: scroll;
|
2021-10-06 11:06:00 +00:00
|
|
|
.safe-area-pseudo-padding-start {
|
|
|
|
@include padding-horizontal(var(--ion-safe-area-left), 0px);
|
|
|
|
}
|
|
|
|
.safe-area-pseudo-padding-end {
|
|
|
|
@include padding-horizontal(0px, var(--ion-safe-area-right));
|
|
|
|
}
|
2020-12-10 13:43:15 +00:00
|
|
|
}
|
2021-01-18 14:19:30 +00:00
|
|
|
|
2021-01-21 14:00:38 +00:00
|
|
|
// Text formats.
|
|
|
|
// Highlight text.
|
2021-11-17 10:46:37 +00:00
|
|
|
mark, .matchtext {
|
2021-02-03 09:30:07 +00:00
|
|
|
background-color: var(--text-hightlight-background-color);
|
2021-01-21 14:00:38 +00:00
|
|
|
}
|
|
|
|
|
2021-02-18 08:19:38 +00:00
|
|
|
// Monospaced font.
|
|
|
|
.core-monospaced {
|
|
|
|
font-family: Andale Mono,Monaco,Courier New,DejaVu Sans Mono,monospace;
|
|
|
|
}
|
2021-02-26 07:41:00 +00:00
|
|
|
|
|
|
|
.core-iframe-offline-disabled {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2021-03-09 12:25:27 +00:00
|
|
|
|
|
|
|
.core-scanning-qr {
|
|
|
|
.ion-page, .modal-wrapper {
|
|
|
|
background-color: transparent !important;
|
|
|
|
--background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-content, ion-backdrop, ion-modal:not(.core-modal-fullscreen), ion-tabs {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
2021-03-15 17:30:31 +00:00
|
|
|
|
|
|
|
// Hide virtual utilities.
|
|
|
|
.core-browser-copy-area {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-03-24 13:31:08 +00:00
|
|
|
|
|
|
|
// Different levels of padding.
|
|
|
|
@for $i from 0 through 15 {
|
|
|
|
.core-padding-#{$i} {
|
|
|
|
@include padding(null, null, null, 15px * $i + 16px);
|
|
|
|
}
|
|
|
|
}
|
2021-04-21 11:12:32 +00:00
|
|
|
|
2021-06-09 08:28:45 +00:00
|
|
|
details summary {
|
|
|
|
pointer-events: auto;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2021-05-06 09:33:10 +00:00
|
|
|
textarea {
|
|
|
|
min-height: var(--a11y-min-target-size);
|
|
|
|
}
|
|
|
|
|
2021-04-21 11:12:32 +00:00
|
|
|
textarea:not([core-auto-rows]) {
|
|
|
|
height: 200px;
|
|
|
|
}
|
2021-04-26 12:14:15 +00:00
|
|
|
|
2021-06-14 13:42:38 +00:00
|
|
|
ion-back-button.md::part(text) {
|
|
|
|
display: none;
|
2021-04-26 12:14:15 +00:00
|
|
|
}
|
2021-04-27 13:21:09 +00:00
|
|
|
|
2021-11-30 12:12:50 +00:00
|
|
|
// Hide close button because when present is read on voice over.
|
2021-11-19 12:20:00 +00:00
|
|
|
ion-fab[core-fab] {
|
|
|
|
ion-fab-button::part(close-icon) {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-12-09 11:29:01 +00:00
|
|
|
}
|
2021-11-30 12:12:50 +00:00
|
|
|
|
2021-12-09 11:29:01 +00:00
|
|
|
ion-content.has-core-course-module-navigation ion-fab {
|
2021-11-30 12:12:50 +00:00
|
|
|
bottom: calc(var(--core-course-module-navigation-height, 0px) + 10px);
|
|
|
|
@include core-transition(all, 200ms);
|
2021-04-27 13:21:09 +00:00
|
|
|
}
|
2021-04-27 11:14:31 +00:00
|
|
|
|
2021-05-03 07:16:09 +00:00
|
|
|
.core-media-adapt-width {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.core-media-adapt-width {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
audio.core-media-adapt-width {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-05-11 08:04:32 +00:00
|
|
|
|
2021-06-14 11:54:53 +00:00
|
|
|
// Fake item.
|
|
|
|
div.fake-ion-item {
|
|
|
|
position: relative;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
outline: none;
|
|
|
|
color: var(--ion-text-color);
|
|
|
|
background: var(--ion-item-background);
|
|
|
|
text-align: initial;
|
|
|
|
text-decoration: none;
|
|
|
|
overflow: hidden;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
html.md div.fake-ion-item {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: normal;
|
|
|
|
text-transform: none;
|
|
|
|
@include padding(null, 16px, null, 16px);
|
|
|
|
@include margin(11px, null, 10px, null);
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
@include margin(0, 0, 2px);
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
@include margin(2px, 0);
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
@include margin(2px, 0);
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
@include margin(0, 0, 2px);
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
text-overflow: inherit;
|
|
|
|
overflow: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html.ios div.fake-ion-item {
|
|
|
|
font-size: 14px;
|
|
|
|
@include padding(null, 10px, null, 20px);
|
|
|
|
@include margin(10px, 8px, 10px, null);
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
@include margin(3px, 0, 2px);
|
|
|
|
font-size: 22px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
@include margin(0, 0, 2px);
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
@include margin(0, 0, 3px);
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
@include margin(0, 0, 2px 0);
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: normal;
|
|
|
|
text-overflow: inherit;
|
|
|
|
overflow: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-06-15 11:23:48 +00:00
|
|
|
// Disabled items.
|
|
|
|
ion-item.item-disabled,
|
|
|
|
ion-item.item-interactive-disabled:not(.item-multiple-inputs) ion-label,
|
|
|
|
ion-datetime.datetime-disabled {
|
|
|
|
opacity: .8 !important;
|
|
|
|
}
|
|
|
|
|
2021-06-29 11:42:09 +00:00
|
|
|
// Hide details on items to align badges.
|
|
|
|
ion-item.hide-detail {
|
|
|
|
--detail-icon-opacity: 0;
|
|
|
|
}
|
|
|
|
|
2021-05-18 15:11:00 +00:00
|
|
|
// Make links clickable when inside radio or checkbox items. Style part.
|
2021-06-04 13:56:57 +00:00
|
|
|
@media (hover: hover) {
|
2021-05-18 15:11:00 +00:00
|
|
|
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)};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-31 10:28:58 +00:00
|
|
|
|
|
|
|
// It fixes the click on links where ion-ripple-effect is present.
|
2021-05-18 15:11:00 +00:00
|
|
|
// Make links clickable when inside radio or checkbox items. Pointer and cursor part.
|
2021-05-31 10:28:58 +00:00
|
|
|
ion-item.item-multiple-inputs:not(.only-links),
|
|
|
|
ion-item.ion-activatable:not(.only-links) {
|
2021-05-18 15:11:00 +00:00
|
|
|
cursor: pointer;
|
|
|
|
ion-label {
|
|
|
|
z-index: 3;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
ion-anchor, a,
|
|
|
|
ion-button, button,
|
2021-08-06 09:28:06 +00:00
|
|
|
audio, video, select, input, iframe {
|
2021-05-18 15:11:00 +00:00
|
|
|
pointer-events: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-checkbox, ion-datetime, ion-radio, ion-select{
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-31 10:28:58 +00:00
|
|
|
ion-item.item-multiple-inputs.only-links {
|
|
|
|
a {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-22 10:24:05 +00:00
|
|
|
a {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2021-05-19 11:04:53 +00:00
|
|
|
// Case with ion-input + ion-select inside.
|
|
|
|
ion-item.item-input.item-multiple-inputs {
|
|
|
|
.flex-row {
|
|
|
|
width: 100%;
|
|
|
|
ion-select {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-11 08:04:32 +00:00
|
|
|
// Focus highlight for accessibility.
|
2021-05-13 14:39:16 +00:00
|
|
|
ion-item.item-input.ion-focused:not(:focus),
|
2021-05-11 08:04:32 +00:00
|
|
|
.ion-focused,
|
2021-05-13 14:39:16 +00:00
|
|
|
ion-item.ion-activatable.ion-focused:not(:focus),
|
2021-05-11 08:04:32 +00:00
|
|
|
ion-input.has-focus,
|
|
|
|
.ion-focused ion-toggle:focus-within,
|
|
|
|
.ion-focused ion-select:focus-within,
|
|
|
|
.ion-focused ion-checkbox:focus-within,
|
|
|
|
.ion-focused ion-radio:focus-within {
|
2021-05-13 14:39:16 +00:00
|
|
|
@include core-focus();
|
2021-05-11 08:04:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Treat cases where there's a focusable element inside an item, like a button.
|
2021-05-13 14:39:16 +00:00
|
|
|
ion-item.ion-focused:not(:focus),
|
|
|
|
ion-item.item-input ion-input.has-focus {
|
|
|
|
position: relative;
|
|
|
|
&::after {
|
|
|
|
box-shadow: revert;
|
|
|
|
opacity: revert;
|
|
|
|
z-index: revert;
|
|
|
|
}
|
|
|
|
.item-highlight, .item-inner-highlight {
|
|
|
|
position: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-09 16:49:24 +00:00
|
|
|
ion-item-divider.item,
|
|
|
|
ion-item.item.divider {
|
2022-01-26 22:09:22 +00:00
|
|
|
--inner-padding-end: 8px;
|
2022-02-09 12:41:20 +00:00
|
|
|
background: var(--background);
|
|
|
|
min-height: var(--min-height);
|
2022-02-09 16:49:24 +00:00
|
|
|
border-bottom-width: var(--item-divider-border-width);
|
|
|
|
--border-width: var(--item-divider-border-width);
|
|
|
|
--inner-border-width: 0 0 var(--item-divider-border-width) 0;
|
2022-02-09 12:41:20 +00:00
|
|
|
font-size: var(--item-divider-font-size);
|
2022-02-09 16:49:24 +00:00
|
|
|
font-weight: medium;
|
|
|
|
|
|
|
|
h2, ion-label h2,
|
|
|
|
p.item-heading, ion-label p.item-heading {
|
2022-02-09 12:41:20 +00:00
|
|
|
font-size: var(--item-divider-font-size);
|
|
|
|
}
|
2021-10-06 10:40:55 +00:00
|
|
|
}
|
|
|
|
|
2021-05-13 14:39:16 +00:00
|
|
|
// Change default outline.
|
|
|
|
:focus-visible {
|
|
|
|
@include core-focus-style();
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea, button, select, input, a {
|
|
|
|
&:focus {
|
|
|
|
@include core-focus-style();
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-14 12:14:52 +00:00
|
|
|
ion-loading:focus-visible,
|
|
|
|
ion-alert:focus-visible,
|
|
|
|
ion-popover:focus-visible,
|
|
|
|
ion-modal:focus-visible {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2021-05-19 14:20:43 +00:00
|
|
|
ion-input .native-input {
|
2021-05-13 14:39:16 +00:00
|
|
|
&:focus, &:focus-visible {
|
|
|
|
box-shadow: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
2021-05-11 08:04:32 +00:00
|
|
|
}
|
2021-05-19 14:20:43 +00:00
|
|
|
|
2021-05-20 13:30:58 +00:00
|
|
|
// Disable scroll on parent ion contents to enabled PTR on the ones inside the splitview. See split-view component for more info.
|
|
|
|
ion-content.disable-scroll-y::part(scroll) {
|
|
|
|
touch-action: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
overscroll-behavior-y: auto;
|
|
|
|
z-index: auto;
|
|
|
|
will-change: auto;
|
|
|
|
}
|
2021-05-26 12:58:37 +00:00
|
|
|
|
|
|
|
iframe {
|
|
|
|
border: 0;
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
background-color: var(--ion-background-color);
|
|
|
|
}
|
2021-11-04 15:02:51 +00:00
|
|
|
|
|
|
|
@if ($core-login-hide-need-help) {
|
|
|
|
.core-login-need-help {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
2021-11-08 15:19:08 +00:00
|
|
|
|
|
|
|
ion-grid.core-no-grid > ion-row {
|
|
|
|
display: block;
|
2021-11-19 12:20:00 +00:00
|
|
|
}
|
|
|
|
|
2022-01-24 10:19:34 +00:00
|
|
|
.core-underheader {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2022-02-09 16:49:24 +00:00
|
|
|
[collapsible-item] {
|
|
|
|
--collapsible-display-toggle: none;
|
|
|
|
--collapsible-toggle-background: var(--ion-item-background);
|
|
|
|
--collapsible-min-button-height: 44px;
|
|
|
|
|
|
|
|
.collapsible-toggle {
|
|
|
|
display: var(--collapsible-display-toggle);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.collapsible-enabled {
|
|
|
|
--collapsible-display-toggle: block;
|
|
|
|
|
|
|
|
.collapsible-toggle {
|
|
|
|
display: var(--collapsible-display-toggle);
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 7;
|
|
|
|
text-transform: none;
|
|
|
|
text-align: end;
|
|
|
|
font-size: 14px;
|
|
|
|
background-color: var(--collapsible-toggle-background);
|
|
|
|
color: var(--text-color);
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.collapsible-toggle-arrow {
|
|
|
|
width: var(--a11y-min-target-size);
|
|
|
|
height: var(--a11y-min-target-size);
|
|
|
|
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 14px 14px;
|
|
|
|
@include core-transition(transform, 500ms);
|
|
|
|
|
|
|
|
@include push-arrow-color(626262, true);
|
|
|
|
|
|
|
|
@include darkmode() {
|
|
|
|
@include push-arrow-color(ffffff, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.collapsible-collapsed {
|
|
|
|
overflow: hidden;
|
|
|
|
min-height: calc(var(--collapsible-min-button-height) + 12);
|
|
|
|
|
|
|
|
.collapsible-toggle-arrow {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
@include position(null, 0, 0, 0);
|
|
|
|
background: -webkit-linear-gradient(top, rgba(var(--core-format-text-background-gradient-rgb), 0) calc(100% - 60px), rgba(var(--core-format-text-background-gradient-rgb), 1) calc(100% - 40px));
|
|
|
|
background: linear-gradient(to bottom, rgba(var(--core-format-text-background-gradient-rgb), 0) calc(100% - 60px), rgba(var(--core-format-text-background-gradient-rgb), 1) calc(100% - 40px));
|
|
|
|
z-index: 6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.collapsible-expanded {
|
|
|
|
max-height: none !important;
|
|
|
|
padding-bottom: var(--collapsible-min-button-height); // So the Show less button can fit.
|
|
|
|
|
|
|
|
.collapsible-toggle-arrow {
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-19 12:20:00 +00:00
|
|
|
ion-header[collapsible] {
|
|
|
|
@include core-transition(all, 500ms);
|
|
|
|
|
|
|
|
ion-title {
|
|
|
|
@include core-transition(opacity, 0ms);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.core-header-collapsed) {
|
|
|
|
ion-toolbar {
|
|
|
|
--core-header-toolbar-background: rgba(255, 255, 255, 0);
|
|
|
|
--core-header-toolbar-border-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-title, &::after {
|
|
|
|
opacity: 0;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible-title {
|
|
|
|
overflow: visible;
|
2022-01-24 10:19:34 +00:00
|
|
|
--inner-padding-top: 0px;
|
|
|
|
--padding-top: 0px;
|
|
|
|
|
|
|
|
ion-label {
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
*, h1 {
|
2021-11-19 12:20:00 +00:00
|
|
|
@include core-transition(all, 200ms, linear);
|
|
|
|
}
|
|
|
|
|
|
|
|
ion-label {
|
|
|
|
overflow: visible !important;
|
|
|
|
}
|
|
|
|
|
2022-01-24 10:19:34 +00:00
|
|
|
h1 {
|
2021-11-19 12:20:00 +00:00
|
|
|
--max-width: none;
|
|
|
|
}
|
2022-01-24 10:19:34 +00:00
|
|
|
h1.cloned {
|
|
|
|
opacity: 0 !important;
|
|
|
|
}
|
2021-11-19 12:20:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ion-app.ios .collapsible-title h1 {
|
|
|
|
font-weight: 600; // Default heading weight.
|
|
|
|
}
|
|
|
|
ion-app.md .collapsible-title h1 {
|
|
|
|
font-weight: 500; // Default heading weight.
|
|
|
|
letter-spacing: .0125em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible-title.collapsible-title-collapsed {
|
2022-01-24 10:19:34 +00:00
|
|
|
ion-label, h1, ion-row, ion-col {
|
2021-11-19 12:20:00 +00:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible-title.collapsible-title-collapse-started {
|
|
|
|
* {
|
2022-01-18 13:44:43 +00:00
|
|
|
opacity: var(--collapse-opacity, 0);
|
2021-11-19 12:20:00 +00:00
|
|
|
}
|
2022-01-18 13:44:43 +00:00
|
|
|
|
2022-01-24 10:19:34 +00:00
|
|
|
ion-label, h1, ion-row, ion-col, .subheading {
|
2021-11-19 12:20:00 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
2022-01-18 13:44:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible-title.collapsible-title-collapse-nowrap {
|
2022-01-24 10:19:34 +00:00
|
|
|
h1:not(.cloned) {
|
2021-11-19 12:20:00 +00:00
|
|
|
max-width: var(--max-width);
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2022-01-18 13:44:43 +00:00
|
|
|
text-overflow: ellipsis;
|
2021-11-19 12:20:00 +00:00
|
|
|
}
|
|
|
|
}
|