diff --git a/src/addons/mod/data/data-forms.scss b/src/addons/mod/data/data-forms.scss index 02b7e4ec3..2834bfc25 100644 --- a/src/addons/mod/data/data-forms.scss +++ b/src/addons/mod/data/data-forms.scss @@ -22,8 +22,6 @@ .addon-data-advanced-search { padding: 16px; width: 100%; - // @todo check if needed - // @include safe-area-padding-horizontal(16px !important, 16px !important); } .addon-data-contents form, diff --git a/src/addons/mod/data/data.scss b/src/addons/mod/data/data.scss index 62141a4e3..59fe03bd5 100644 --- a/src/addons/mod/data/data.scss +++ b/src/addons/mod/data/data.scss @@ -17,8 +17,6 @@ $grid-column-paddings: ( white-space: normal; word-break: break-word; padding: 16px; - // @todo check if needed - // @include safe-area-padding-horizontal(16px !important, 16px !important); background-color: var(--ion-item-background); border-width: 1px 0; diff --git a/src/core/components/file/file.scss b/src/core/components/file/file.scss deleted file mode 100644 index 98ce8714a..000000000 --- a/src/core/components/file/file.scss +++ /dev/null @@ -1,31 +0,0 @@ -:host { - // @todo - // .card-md core-file + core-file > .item-md.item-block > .item-inner, - // core-file + core-file > .item-md.item-block > .item-inner { - // border-top: 1px solid $list-md-border-color; - // } - - // .card-ios core-file + core-file > .item-ios.item-block > .item-inner, - // core-file + core-file > .item-ios.item-block > .item-inner { - // border-top: $hairlines-width solid $list-ios-border-color; - // .buttons { - // min-height: 53px; - // min-width: 58px; - // } - // } - - // core-file > .item.item-block > .item-inner { - // border-bottom: 0; - // @include safe-area-padding(null, 0px, null, null); - // .buttons { - // display: flex; - // flex-flow: row; - // align-items: center; - // z-index: 1; - // justify-content: space-around; - // align-content: center; - // min-height: 52px; - // min-width: 53px; - // } - // } -} \ No newline at end of file diff --git a/src/core/components/file/file.ts b/src/core/components/file/file.ts index f595bf994..85874ef89 100644 --- a/src/core/components/file/file.ts +++ b/src/core/components/file/file.ts @@ -34,7 +34,6 @@ import { CoreWSFile } from '@services/ws'; @Component({ selector: 'core-file', templateUrl: 'core-file.html', - styleUrls: ['file.scss'], }) export class CoreFileComponent implements OnInit, OnDestroy { diff --git a/src/core/components/user-avatar/user-avatar.scss b/src/core/components/user-avatar/user-avatar.scss index 0e5964432..e9f3b02df 100644 --- a/src/core/components/user-avatar/user-avatar.scss +++ b/src/core/components/user-avatar/user-avatar.scss @@ -1,5 +1,7 @@ :host { position: relative; + width: var(--core-avatar-size); + height: var(--core-avatar-size); .clickable { cursor: pointer; diff --git a/src/core/features/block/components/block/block.scss b/src/core/features/block/components/block/block.scss index 2d22d09be..6fdef379d 100644 --- a/src/core/features/block/components/block/block.scss +++ b/src/core/features/block/components/block/block.scss @@ -4,9 +4,6 @@ background: var(--background); ion-item-divider { - min-height: 60px; - .core-button-spinner { - margin: 0; - } + min-height: var(--item-divider-min-height); } } diff --git a/src/core/features/block/components/course-blocks/course-blocks.scss b/src/core/features/block/components/course-blocks/course-blocks.scss index 314fa25ff..cba246bb4 100644 --- a/src/core/features/block/components/course-blocks/course-blocks.scss +++ b/src/core/features/block/components/course-blocks/course-blocks.scss @@ -16,7 +16,6 @@ box-shadow: none !important; flex-grow: 1; max-width: 100%; - // @todo @include core-split-area-start(); } div.core-course-blocks-side { @@ -24,7 +23,6 @@ min-width: var(--side-blocks-min-width); box-shadow: var(--side-blocks-box-shadow); z-index: 2; - // @todo @include core-split-area-end(); } .core-course-blocks-content, diff --git a/src/core/features/course/components/format/format.scss b/src/core/features/course/components/format/format.scss index 027504d87..b79f185c3 100644 --- a/src/core/features/course/components/format/format.scss +++ b/src/core/features/course/components/format/format.scss @@ -52,31 +52,4 @@ } } -// @todo -// .item-divider { -// .label { -// margin-top: 0; -// margin-bottom: 0; -// } - -// core-format-text { -// line-height: 44px; -// } - -// ion-badge core-format-text { -// line-height: normal; -// margin-bottom: 9px; -// } - -// &.core-section-download .label{ -// @include margin(null, 0, null, null); -// } -// } - -// div.core-section-download { -// @include padding(null, 0, null, null); -// } - -// - } diff --git a/src/core/features/course/components/module-description/course-module-description.scss b/src/core/features/course/components/module-description/course-module-description.scss deleted file mode 100644 index 7ba1e696e..000000000 --- a/src/core/features/course/components/module-description/course-module-description.scss +++ /dev/null @@ -1,17 +0,0 @@ -// @todo Review commented styles. -// ion-app.app-root { -// .safe-area-page, -// .safe-padding-horizontal { -// core-course-module-description { -// padding-left: 0 !important; -// padding-right: 0 !important; -// .item-ios.item-block { -// @include safe-area-padding-horizontal($item-ios-padding-end / 2, null); - -// .item-inner { -// @include safe-area-padding-horizontal(null, $item-ios-padding-end / 2); -// } -// } -// } -// } -// } diff --git a/src/core/features/courses/components/course-list-item/core-courses-course-list-item.html b/src/core/features/courses/components/course-list-item/core-courses-course-list-item.html index 29b0c1e82..83aa9653e 100644 --- a/src/core/features/courses/components/course-list-item/core-courses-course-list-item.html +++ b/src/core/features/courses/components/course-list-item/core-courses-course-list-item.html @@ -28,7 +28,10 @@