2022-02-23 17:10:07 +01:00

41 lines
1.1 KiB
SCSS

@import "~theme/globals";
:host {
--course-storage-max-activity-height: 120px;
ion-card.section ion-card-header {
margin-bottom: 8px;
padding-top: 8px;
padding-bottom: 8px;
}
ion-card.section .item-heading {
font-weight: bold;
font-size: 1.2rem;
}
.core-course-storage-activity ion-label {
max-height: var(--course-storage-max-activity-height);
&:before {
content: '';
height: 100%;
min-height: var(--course-storage-max-activity-height);
position: absolute;
@include position(0, 0, null, 0);
background: -webkit-linear-gradient(top, rgba(var(--background-gradient-rgb), 0) calc(100% - 30px), rgba(var(--background-gradient-rgb), 1) calc(100% - 20px));
background: linear-gradient(to bottom, rgba(var(--background-gradient-rgb), 0) calc(100% - 30px), rgba(var(--background-gradient-rgb), 1) calc(100% - 20px));
z-index: 6;
pointer-events: none;
}
}
}
.storage-buttons {
display: flex;
align-items: center;
}
ion-item {
--inner-padding-end: 0px;
}