From 047e8a5d8f308e1db73fa447700d34cc6821ab5c Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Fri, 25 Aug 2023 22:59:49 +0200 Subject: [PATCH] Cleanup --- css/devstyles.css | 2131 ++++++++++++++++++++--------------------- css/devstyles.css.map | 1 + scss/studyplan.scss | 2 - scssbuild.js | 41 +- 4 files changed, 1050 insertions(+), 1125 deletions(-) create mode 100644 css/devstyles.css.map diff --git a/css/devstyles.css b/css/devstyles.css index 60f9e62..da542af 100644 --- a/css/devstyles.css +++ b/css/devstyles.css @@ -1,1143 +1,1038 @@ /* stylelint-disable length-zero-no-unit, color-hex-case, color-hex-length, no-eol-whitespace, unit-blacklist, block-no-empty */ -html { /* not :root, so we can override these colors in the :root field if needed */ - --less-light: color-mix(in srgb, var(--light) 80%, #ccc); - --highlight-mix: 10%; - --highlight: var(--info); - --past: var(--purple); - --present: var(--blue); - --future: var(--gray); - --coursecat-list: var(--blue); - --course-list: var(--green); - --excellent: var(--blue); - --pending: var(--gray); - --incomplete: var(--gray); +.path-local-treestudyplan, .block_mytreestudyplan { + /* we can override these colors in the :root field if needed */ + --less-light: color-mix(in srgb, var(--light) 80%, #ccc); + --highlight-mix: 10%; + --highlight: var(--info); + --past: var(--purple); + --present: var(--blue); + --future: var(--gray); + --coursecat-list: var(--blue); + --course-list: var(--green); + --excellent: var(--blue); + --pending: var(--gray); + --incomplete: var(--gray); + /* Track */ + /* Handle */ + /******************************************************************************/ } - - -.t-toolbox-preface { - margin: 10px; +.path-local-treestudyplan .t-toolbox-preface, .block_mytreestudyplan .t-toolbox-preface { + margin: 10px; } - -.t-studyplan-container { - margin-top: 16px; - min-height: 500px; - +.path-local-treestudyplan .t-studyplan-container, .block_mytreestudyplan .t-studyplan-container { + margin-top: 16px; + min-height: 500px; } - -.t-studyplan-content, -.r-studyplan-content { - display: flex; +.path-local-treestudyplan .t-studyplan-content, +.path-local-treestudyplan .r-studyplan-content, .block_mytreestudyplan .t-studyplan-content, +.block_mytreestudyplan .r-studyplan-content { + display: flex; } - -.t-studyplan-headings, -.r-studyplan-headings { - display: block; - +.path-local-treestudyplan .t-studyplan-headings, +.path-local-treestudyplan .r-studyplan-headings, .block_mytreestudyplan .t-studyplan-headings, +.block_mytreestudyplan .r-studyplan-headings { + display: block; } -.t-studyplan-wrapper, -.r-studyplan-wrapper { - display: block; +.path-local-treestudyplan .t-studyplan-wrapper, +.path-local-treestudyplan .r-studyplan-wrapper, .block_mytreestudyplan .t-studyplan-wrapper, +.block_mytreestudyplan .r-studyplan-wrapper { + display: block; } - -.t-studyplan-timeline, -.r-studyplan-timeline { - display: grid; - position: relative; /* make sure this grid is the offset for all arrows that are drawn by SimpleLine */ - /* grid-template-columns will be set in the style attribute */ - /* Use the variables below to specify width for filter spots and course spots */ - --studyplan-filter-width: auto; /* better leave this at auto for now*/ - --studyplan-course-width: auto; /* better leave this at auto for now*/ +.path-local-treestudyplan .t-studyplan-timeline, +.path-local-treestudyplan .r-studyplan-timeline, .block_mytreestudyplan .t-studyplan-timeline, +.block_mytreestudyplan .r-studyplan-timeline { + display: grid; + position: relative; /* make sure this grid is the offset for all arrows that are drawn by SimpleLine */ + /* grid-template-columns will be set in the style attribute */ + /* Use the variables below to specify width for filter spots and course spots */ + --studyplan-filter-width: auto; /* better leave this at auto for now*/ + --studyplan-course-width: auto; /* better leave this at auto for now*/ } - -.t-studyplan-scrollable, -.r-studyplan-scrollable { - overflow-x: scroll; - overflow-y: clip; /* to ensure the x scrollbar does not cause an y scrollbar to appear */ - scrollbar-color: var(--primary) color-mix(in srgb, var(--primary) 20%, white); - scrollbar-width: thin; +.path-local-treestudyplan .t-studyplan-scrollable, +.path-local-treestudyplan .r-studyplan-scrollable, .block_mytreestudyplan .t-studyplan-scrollable, +.block_mytreestudyplan .r-studyplan-scrollable { + overflow-x: scroll; + overflow-y: clip; /* to ensure the x scrollbar does not cause an y scrollbar to appear */ + scrollbar-color: var(--primary) color-mix(in srgb, var(--primary) 20%, white); + scrollbar-width: thin; } -.t-studyplan-scrollable::-webkit-scrollbar, -.r-studyplan-scrollable::-webkit-scrollbar { +.path-local-treestudyplan .t-studyplan-scrollable::-webkit-scrollbar, +.path-local-treestudyplan .r-studyplan-scrollable::-webkit-scrollbar, .block_mytreestudyplan .t-studyplan-scrollable::-webkit-scrollbar, +.block_mytreestudyplan .r-studyplan-scrollable::-webkit-scrollbar { width: 8px; } - -/* Track */ -.t-studyplan-scrollable::-webkit-scrollbar-track, -.r-studyplan-scrollable::-webkit-scrollbar-track { - background: color-mix(in srgb, var(--primary) 20%, white); -} - -/* Handle */ -.t-studyplan-scrollable::-webkit-scrollbar-thumb, -.r-studyplan-scrollable::-webkit-scrollbar-thumb { - background:var(--primary); -} - -.t-studyplan-column-heading, -.r-studyplan-column-heading { - color: inherit; /* placeholder */ -} - -ul.dropdown-menu.show { - background-color: white; -} - -.t-studyline, -.r-studyline { - display: grid; - grid-auto-flow: column; - /*border-bottom-style: solid;*/ - border-color: #cccccc; - border-width: 1px; -} - -.t-studyline-drag .t-studyline { - justify-content: start; -} - -.t-studyline.t-studyline-heading, -.r-studyline.r-studyline-heading { - border-right-style: none; -} - -.t-studyline.end, -.r-studyline.end { - border-right-style: solid; -} - -.t-studyline .t-studyline-editmode-content { - border-right-style: solid; - border-color: #cccccc; - border-width: 1px; -} - -.t-studyline .controlbox { - white-space: nowrap; - width: 64px; -} -.t-studyline .control { - display: inline-block; - width: 24px; - text-align: center; - padding-top: 5px; -} - -.t-studyline-editmode-content { - min-width: 450px; - max-width: 700px; - display: flex; - flex-direction: row; - justify-content: center; -} - -.t-studyplan-controlbox { - height: 30px; -} - -.t-studyplan-controlbox .control { - float: right; - margin-left: 10px; - margin-right: 5px; -} - -.t-studyline-drag { - display: inline; -} - - -.t-studyline-add { - margin-top: 0.5em; - margin-bottom: 1em; -} - -.t-studyline-title, -.r-studyline-title { - padding-top: 5px; - padding-left: 10px; - width: 150px; - white-space: nowrap; - border-color: rgba(0, 0, 0, 0.125); - border-width: 1px; - border-left-style: solid; - display: flex; - flex-direction: column; - justify-content: center; - -} - -.t-studyline-title abbr, -.r-studyline-title abbr { - display: inline-block; - vertical-align: middle; - font-weight: bold; - font-style: italic; -} - -svg.empty-slot circle { - fill: transparent; - stroke: #ccc; - stroke-width: 4px; - stroke-opacity: 0.5; - stroke-dasharray: 4 4; -} - -ul.t-item-module-children, -ul.t-coursecat-list li, -ul.t-course-list li { - list-style: none; - padding-left: 0; -} - -li.t-item-course-gradeinfo { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -span.t-item-course-chk-lbl { - font-size: 0.7em; - display: inline-block; - width: 4em; -} - -li.t-item-course-gradeinfo img { - vertical-align: top; - top: 3px; - position: relative; - max-width: 24px; - max-height: 24px; -} - -i.t-coursecat-list-item { - color: var(--coursecat-list); -} - -i.t-course-list-item { - color: var(--course-list); -} - -ul.t-competency-list li { - list-style: none; -} - - -.collapsed > .when-open, -.not-collapsed > .when-closed { - display: none; -} - - -.t-studyline-slot, -.r-studyline-slot{ - width: 130px; -} - -.r-studyline-slot { - min-height: 32px; -} - -.t-studyline-slot-0.filter .t-slot-item, -.r-studyline-slot-0.filter .r-slot-item { - margin-left: 0; -} - - - -.t-studyline-slot.t-studyline-slot-0, -.r-studyline-slot.r-studyline-slot-0 { - width: 75px; -} - -.t-studyline-slot.t-studyline-slot-0 .t-slot-drop.filter .t-slot-item, -.r-studyline-slot.r-studyline-slot-0 .r-item-base { - margin-left: 0px; -} - -.t-studyline-slot.gradable.current.odd, -.r-studyline-slot.gradable.current.odd { - --hlcol: color-mix(in srgb, var(--less-light) , var(--highlight) var(--highlight-mix)); - background-color: var(--hlcol); - position: relative; -} - -.t-studyline-slot.gradable.current.odd:before, -.r-studyline-slot.gradable.current.odd:before { - --hlcol: color-mix(in srgb, var(--less-light) , var(--highlight) var(--highlight-mix)); - box-shadow: -20px 0 10px -7px var(--hlcol) inset; - content: " "; - height: 100%; - left: -20px; - position: absolute; - top: 0; - width: 20px; -} - -.t-studyline-slot.gradable.current.odd:after, -.r-studyline-slot.gradable.current.odd:after { - --hlcol: color-mix(in srgb, var(--less-light) , var(--highlight) var(--highlight-mix)); - box-shadow: 20px 0 10px -7px var(--hlcol) inset; - content: " "; - height: 100%; - right: -20px; - position: absolute; - top: 0; - width: 20px; -} - -.t-studyline-slot.lastlyr .t-slot-item { - margin-bottom: 0; -} - -.s-studyline-header-period.current { - --hlcol: color-mix(in srgb, var(--white) , var(--highlight) var(--highlight-mix)); - box-shadow: 0 0 10px 10px var(--hlcol); - background-color: var(--hlcol); - border-top-left-radius: 16px; - border-top-right-radius: 16px; -} - -.s-studyline-header-heading { - margin-top: 16px; -} - -.t-studyline-slot.gradable.current.even, -.r-studyline-slot.gradable.current.even { - --hlcol: color-mix(in srgb, var(--white) , var(--highlight) var(--highlight-mix)); - background-color: var(--hlcol); - position: relative; -} - -.t-studyline-slot.gradable.current.even:before, -.r-studyline-slot.gradable.current.even:before { - --hlcol: color-mix(in srgb, var(--white) , var(--highlight) var(--highlight-mix)); - box-shadow: -20px 0 10px -7px var(--hlcol) inset; - content: " "; - height: 100%; - left: -20px; - position: absolute; - top: 0; - width: 20px; -} - -.simpleline { - z-index: 20; -} - -.t-studyline-slot.gradable.current.even:after, -.r-studyline-slot.gradable.current.even:after { - --hlcol: color-mix(in srgb, var(--white) , var(--highlight) var(--highlight-mix)); - box-shadow: 20px 0 10px -7px var(--hlcol) inset; - content: " "; - height: 100%; - right: -20px; - position: absolute; - top: 0; - width: 20px; -} - -.t-slot-drop { - min-height: 32px; - height: 100%; - min-width: 50px; - display: flex; - flex-direction: column; - align-content: center; - justify-content: center; -} - -.t-slot-drop.competency { - min-width: 100px; -} - -.t-slot-drop.filter { - min-width: 50px; -} - -.t-slot-drop.secondary { - min-height: 5px; -} - -.t-slot-drop.secondary.drop-allowed { - min-height: 5px; -} - -.t-item-deletebox { - display: inline-block; - width: 100px; - text-align: center; - visibility: hidden; -} - -.t-item-deletebox.drop-allowed { - visibility: visible; - border-width: 1px; - border-style: dashed; - color: #f77; -} - -.t-item-deletebox.drop-in { - visibility: visible; - border-style: solid; - background-color: #FFCCCC; - color: #a00; -} - -.modal-dialog .modal-content { - background: white; -} - -.modal-dialog.modal-lg { - max-width: 800px; -} - -.modal-dialog.modal-sm { - max-width: 300px; -} - -.gradable .t-slot-item, -.gradable .r-slot-item { - width: 100%; -} - -.t-slot-item, -.r-slot-item { - margin-top: 5px; - margin-bottom: 5px; - margin-left: auto; - margin-right: auto; - display: grid; -} - -.t-item-base, -.r-item-base { - align-self: center; - position: relative; -} - -.t-item-connector-start { - position: absolute; - top: calc(50% - 5px); - right: -1px; - line-height: 0px; -} - -.t-item-connector-start svg rect { - cursor: crosshair; - stroke-width: 1px; - stroke: #3c3; - fill: #3c3; -} - -.t-item-connector-start.deleteMode svg rect { - stroke: #f70; - fill: #f70; -} - -.t-item-connector-end { - position: absolute; - top: 50%; - transform: translate(0, -50%); - left: -1px; - line-height: 0px; -} - -.t-item-connector-end svg rect { - stroke-width: 1px; - stroke: #f00; - fill: #f00; -} - -.sw-studyline-editmode { - display: inline-block; -} - -.t-item-base .deletebox { - position: absolute; - top: 50%; - transform: translate(0, -50%); - right: 5px; - border-radius: 5px; - padding: 3px; - background-color: #fff7; - cursor: default; - border-color: #ccc; - border-width: 1px; - border-style: solid; - z-index: 20; -} - -.t-item-base .deletebox a { - display: block; - margin: 3px; - -} -.t-item-base .t-item-contextview { - position: absolute; - left: 50%; - transform: translate(-50%, 100%); - bottom: 0px; - z-index: 25; -} - -.t-item-contextview .close-button { - float: right; -} - - -ul.t-toolbox li { - list-style: none; -} - -.t-item-filter { - display: inline-block; - height: 1em; - padding: 0px; - margin: 0; - text-align: left; - font-size: 2em; - vertical-align: top; -} - -.t-item-filter i { - vertical-align: top; -} - - -.t-toolbox .t-item-filter { - font-size: 1em; -} - -.t-item-junction i { - color: var(--warning); -} - -.t-item-finish i { - color: var(--success); -} - -.t-item-start i { - color: var(--success); -} - -.t-item-badge svg { - color: var(--warning); -} - -.t-slot-drop.type-allowed { - border-color: var(--success); - border-style: dashed; - border-width: 1px; -} - -.t-slot-drop.type-allowed.drop-forbidden { - border-color: var(--danger); -} - -.t-slot-drop.filter .t-item-base { - display: inline-block; - margin-top: 5px; - margin-bottom: 5px; - margin-left: auto; - margin-right: auto; - - line-height: 1px; -} - -.t-studyline-slot-0.filter .t-slot-drop.filter .t-item-base{ - margin-left: 0; -} - - -a.t-item-config { - position: absolute; - top: -5px; - right: -5px; -} - -a.t-item-config.badge { - top: -5px; - right: -5px; - font-size: 16px; -} - - -a.t-item-course-config { - font-size: 16pt; - vertical-align: middle; - float: right; - margin-right: 2px; - margin-top: -5px; -} - -.t-item-connector-end { - visibility: hidden; -} -.t-item-connector-end.type-allowed.drop-allowed { - visibility: visible; -} - -.t-badges li { - list-style: none; -} - -.t-badges .t-badge-drag { - display: inline; -} - -.t-badges img { - width: 32px; - height: 32px; -} - -.t-item-badge { - width: 50px; - height: 50px; - position: relative; - margin-top: 3px; -} - -.t-item-badge img.badge-image { - width: 32px; - height: 32px; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); +.path-local-treestudyplan .t-studyplan-scrollable::-webkit-scrollbar-track, +.path-local-treestudyplan .r-studyplan-scrollable::-webkit-scrollbar-track, .block_mytreestudyplan .t-studyplan-scrollable::-webkit-scrollbar-track, +.block_mytreestudyplan .r-studyplan-scrollable::-webkit-scrollbar-track { + background: color-mix(in srgb, var(--primary) 20%, white); +} +.path-local-treestudyplan .t-studyplan-scrollable::-webkit-scrollbar-thumb, +.path-local-treestudyplan .r-studyplan-scrollable::-webkit-scrollbar-thumb, .block_mytreestudyplan .t-studyplan-scrollable::-webkit-scrollbar-thumb, +.block_mytreestudyplan .r-studyplan-scrollable::-webkit-scrollbar-thumb { + background: var(--primary); +} +.path-local-treestudyplan .t-studyplan-column-heading, +.path-local-treestudyplan .r-studyplan-column-heading, .block_mytreestudyplan .t-studyplan-column-heading, +.block_mytreestudyplan .r-studyplan-column-heading { + color: inherit; /* placeholder */ +} +.path-local-treestudyplan ul.dropdown-menu.show, .block_mytreestudyplan ul.dropdown-menu.show { + background-color: white; +} +.path-local-treestudyplan .t-studyline, +.path-local-treestudyplan .r-studyline, .block_mytreestudyplan .t-studyline, +.block_mytreestudyplan .r-studyline { + display: grid; + grid-auto-flow: column; + /*border-bottom-style: solid;*/ + border-color: #cccccc; + border-width: 1px; +} +.path-local-treestudyplan .t-studyline-drag .t-studyline, .block_mytreestudyplan .t-studyline-drag .t-studyline { + justify-content: start; +} +.path-local-treestudyplan .t-studyline.t-studyline-heading, +.path-local-treestudyplan .r-studyline.r-studyline-heading, .block_mytreestudyplan .t-studyline.t-studyline-heading, +.block_mytreestudyplan .r-studyline.r-studyline-heading { + border-right-style: none; +} +.path-local-treestudyplan .t-studyline.end, +.path-local-treestudyplan .r-studyline.end, .block_mytreestudyplan .t-studyline.end, +.block_mytreestudyplan .r-studyline.end { + border-right-style: solid; +} +.path-local-treestudyplan .t-studyline .t-studyline-editmode-content, .block_mytreestudyplan .t-studyline .t-studyline-editmode-content { + border-right-style: solid; + border-color: #cccccc; + border-width: 1px; +} +.path-local-treestudyplan .t-studyline .controlbox, .block_mytreestudyplan .t-studyline .controlbox { + white-space: nowrap; + width: 64px; +} +.path-local-treestudyplan .t-studyline .control, .block_mytreestudyplan .t-studyline .control { + display: inline-block; + width: 24px; + text-align: center; + padding-top: 5px; +} +.path-local-treestudyplan .t-studyline-editmode-content, .block_mytreestudyplan .t-studyline-editmode-content { + min-width: 450px; + max-width: 700px; + display: flex; + flex-direction: row; + justify-content: center; +} +.path-local-treestudyplan .t-studyplan-controlbox, .block_mytreestudyplan .t-studyplan-controlbox { + height: 30px; +} +.path-local-treestudyplan .t-studyplan-controlbox .control, .block_mytreestudyplan .t-studyplan-controlbox .control { + float: right; + margin-left: 10px; + margin-right: 5px; +} +.path-local-treestudyplan .t-studyline-drag, .block_mytreestudyplan .t-studyline-drag { + display: inline; +} +.path-local-treestudyplan .t-studyline-add, .block_mytreestudyplan .t-studyline-add { + margin-top: 0.5em; + margin-bottom: 1em; +} +.path-local-treestudyplan .t-studyline-title, +.path-local-treestudyplan .r-studyline-title, .block_mytreestudyplan .t-studyline-title, +.block_mytreestudyplan .r-studyline-title { + padding-top: 5px; + padding-left: 10px; + width: 150px; + white-space: nowrap; + border-color: rgba(0, 0, 0, 0.125); + border-width: 1px; + border-left-style: solid; + display: flex; + flex-direction: column; + justify-content: center; +} +.path-local-treestudyplan .t-studyline-title abbr, +.path-local-treestudyplan .r-studyline-title abbr, .block_mytreestudyplan .t-studyline-title abbr, +.block_mytreestudyplan .r-studyline-title abbr { + display: inline-block; + vertical-align: middle; + font-weight: bold; + font-style: italic; +} +.path-local-treestudyplan svg.empty-slot circle, .block_mytreestudyplan svg.empty-slot circle { + fill: transparent; + stroke: #ccc; + stroke-width: 4px; + stroke-opacity: 0.5; + stroke-dasharray: 4 4; +} +.path-local-treestudyplan ul.t-item-module-children, +.path-local-treestudyplan ul.t-coursecat-list li, +.path-local-treestudyplan ul.t-course-list li, .block_mytreestudyplan ul.t-item-module-children, +.block_mytreestudyplan ul.t-coursecat-list li, +.block_mytreestudyplan ul.t-course-list li { + list-style: none; + padding-left: 0; +} +.path-local-treestudyplan li.t-item-course-gradeinfo, .block_mytreestudyplan li.t-item-course-gradeinfo { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.path-local-treestudyplan span.t-item-course-chk-lbl, .block_mytreestudyplan span.t-item-course-chk-lbl { + font-size: 0.7em; + display: inline-block; + width: 4em; +} +.path-local-treestudyplan li.t-item-course-gradeinfo img, .block_mytreestudyplan li.t-item-course-gradeinfo img { + vertical-align: top; + top: 3px; + position: relative; + max-width: 24px; + max-height: 24px; +} +.path-local-treestudyplan i.t-coursecat-list-item, .block_mytreestudyplan i.t-coursecat-list-item { + color: var(--coursecat-list); +} +.path-local-treestudyplan i.t-course-list-item, .block_mytreestudyplan i.t-course-list-item { + color: var(--course-list); +} +.path-local-treestudyplan ul.t-competency-list li, .block_mytreestudyplan ul.t-competency-list li { + list-style: none; +} +.path-local-treestudyplan .collapsed > .when-open, +.path-local-treestudyplan .not-collapsed > .when-closed, .block_mytreestudyplan .collapsed > .when-open, +.block_mytreestudyplan .not-collapsed > .when-closed { + display: none; +} +.path-local-treestudyplan .t-studyline-slot, +.path-local-treestudyplan .r-studyline-slot, .block_mytreestudyplan .t-studyline-slot, +.block_mytreestudyplan .r-studyline-slot { + width: 130px; +} +.path-local-treestudyplan .r-studyline-slot, .block_mytreestudyplan .r-studyline-slot { + min-height: 32px; +} +.path-local-treestudyplan .t-studyline-slot-0.filter .t-slot-item, +.path-local-treestudyplan .r-studyline-slot-0.filter .r-slot-item, .block_mytreestudyplan .t-studyline-slot-0.filter .t-slot-item, +.block_mytreestudyplan .r-studyline-slot-0.filter .r-slot-item { + margin-left: 0; +} +.path-local-treestudyplan .t-studyline-slot.t-studyline-slot-0, +.path-local-treestudyplan .r-studyline-slot.r-studyline-slot-0, .block_mytreestudyplan .t-studyline-slot.t-studyline-slot-0, +.block_mytreestudyplan .r-studyline-slot.r-studyline-slot-0 { + width: 75px; +} +.path-local-treestudyplan .t-studyline-slot.t-studyline-slot-0 .t-slot-drop.filter .t-slot-item, +.path-local-treestudyplan .r-studyline-slot.r-studyline-slot-0 .r-item-base, .block_mytreestudyplan .t-studyline-slot.t-studyline-slot-0 .t-slot-drop.filter .t-slot-item, +.block_mytreestudyplan .r-studyline-slot.r-studyline-slot-0 .r-item-base { + margin-left: 0px; +} +.path-local-treestudyplan .t-studyline-slot.gradable.current.odd, +.path-local-treestudyplan .r-studyline-slot.gradable.current.odd, .block_mytreestudyplan .t-studyline-slot.gradable.current.odd, +.block_mytreestudyplan .r-studyline-slot.gradable.current.odd { + --hlcol: color-mix(in srgb, var(--less-light) , var(--highlight) var(--highlight-mix)); + background-color: var(--hlcol); + position: relative; +} +.path-local-treestudyplan .t-studyline-slot.gradable.current.odd:before, +.path-local-treestudyplan .r-studyline-slot.gradable.current.odd:before, .block_mytreestudyplan .t-studyline-slot.gradable.current.odd:before, +.block_mytreestudyplan .r-studyline-slot.gradable.current.odd:before { + --hlcol: color-mix(in srgb, var(--less-light) , var(--highlight) var(--highlight-mix)); + box-shadow: -20px 0 10px -7px var(--hlcol) inset; + content: " "; + height: 100%; + left: -20px; + position: absolute; + top: 0; + width: 20px; +} +.path-local-treestudyplan .t-studyline-slot.gradable.current.odd:after, +.path-local-treestudyplan .r-studyline-slot.gradable.current.odd:after, .block_mytreestudyplan .t-studyline-slot.gradable.current.odd:after, +.block_mytreestudyplan .r-studyline-slot.gradable.current.odd:after { + --hlcol: color-mix(in srgb, var(--less-light) , var(--highlight) var(--highlight-mix)); + box-shadow: 20px 0 10px -7px var(--hlcol) inset; + content: " "; + height: 100%; + right: -20px; + position: absolute; + top: 0; + width: 20px; +} +.path-local-treestudyplan .t-studyline-slot.lastlyr .t-slot-item, .block_mytreestudyplan .t-studyline-slot.lastlyr .t-slot-item { + margin-bottom: 0; +} +.path-local-treestudyplan .s-studyline-header-period.current, .block_mytreestudyplan .s-studyline-header-period.current { + --hlcol: color-mix(in srgb, var(--white) , var(--highlight) var(--highlight-mix)); + box-shadow: 0 0 10px 10px var(--hlcol); + background-color: var(--hlcol); + border-top-left-radius: 16px; + border-top-right-radius: 16px; +} +.path-local-treestudyplan .s-studyline-header-heading, .block_mytreestudyplan .s-studyline-header-heading { + margin-top: 16px; +} +.path-local-treestudyplan .t-studyline-slot.gradable.current.even, +.path-local-treestudyplan .r-studyline-slot.gradable.current.even, .block_mytreestudyplan .t-studyline-slot.gradable.current.even, +.block_mytreestudyplan .r-studyline-slot.gradable.current.even { + --hlcol: color-mix(in srgb, var(--white) , var(--highlight) var(--highlight-mix)); + background-color: var(--hlcol); + position: relative; +} +.path-local-treestudyplan .t-studyline-slot.gradable.current.even:before, +.path-local-treestudyplan .r-studyline-slot.gradable.current.even:before, .block_mytreestudyplan .t-studyline-slot.gradable.current.even:before, +.block_mytreestudyplan .r-studyline-slot.gradable.current.even:before { + --hlcol: color-mix(in srgb, var(--white) , var(--highlight) var(--highlight-mix)); + box-shadow: -20px 0 10px -7px var(--hlcol) inset; + content: " "; + height: 100%; + left: -20px; + position: absolute; + top: 0; + width: 20px; +} +.path-local-treestudyplan .simpleline, .block_mytreestudyplan .simpleline { + z-index: 20; +} +.path-local-treestudyplan .t-studyline-slot.gradable.current.even:after, +.path-local-treestudyplan .r-studyline-slot.gradable.current.even:after, .block_mytreestudyplan .t-studyline-slot.gradable.current.even:after, +.block_mytreestudyplan .r-studyline-slot.gradable.current.even:after { + --hlcol: color-mix(in srgb, var(--white) , var(--highlight) var(--highlight-mix)); + box-shadow: 20px 0 10px -7px var(--hlcol) inset; + content: " "; + height: 100%; + right: -20px; + position: absolute; + top: 0; + width: 20px; +} +.path-local-treestudyplan .t-slot-drop, .block_mytreestudyplan .t-slot-drop { + min-height: 32px; + height: 100%; + min-width: 50px; + display: flex; + flex-direction: column; + align-content: center; + justify-content: center; +} +.path-local-treestudyplan .t-slot-drop.competency, .block_mytreestudyplan .t-slot-drop.competency { + min-width: 100px; +} +.path-local-treestudyplan .t-slot-drop.filter, .block_mytreestudyplan .t-slot-drop.filter { + min-width: 50px; +} +.path-local-treestudyplan .t-slot-drop.secondary, .block_mytreestudyplan .t-slot-drop.secondary { + min-height: 5px; +} +.path-local-treestudyplan .t-slot-drop.secondary.drop-allowed, .block_mytreestudyplan .t-slot-drop.secondary.drop-allowed { + min-height: 5px; +} +.path-local-treestudyplan .t-item-deletebox, .block_mytreestudyplan .t-item-deletebox { + display: inline-block; + width: 100px; + text-align: center; + visibility: hidden; +} +.path-local-treestudyplan .t-item-deletebox.drop-allowed, .block_mytreestudyplan .t-item-deletebox.drop-allowed { + visibility: visible; + border-width: 1px; + border-style: dashed; + color: #f77; +} +.path-local-treestudyplan .t-item-deletebox.drop-in, .block_mytreestudyplan .t-item-deletebox.drop-in { + visibility: visible; + border-style: solid; + background-color: #FFCCCC; + color: #a00; +} +.path-local-treestudyplan .modal-dialog .modal-content, .block_mytreestudyplan .modal-dialog .modal-content { + background: white; +} +.path-local-treestudyplan .modal-dialog.modal-lg, .block_mytreestudyplan .modal-dialog.modal-lg { + max-width: 800px; +} +.path-local-treestudyplan .modal-dialog.modal-sm, .block_mytreestudyplan .modal-dialog.modal-sm { + max-width: 300px; +} +.path-local-treestudyplan .gradable .t-slot-item, +.path-local-treestudyplan .gradable .r-slot-item, .block_mytreestudyplan .gradable .t-slot-item, +.block_mytreestudyplan .gradable .r-slot-item { + width: 100%; +} +.path-local-treestudyplan .t-slot-item, +.path-local-treestudyplan .r-slot-item, .block_mytreestudyplan .t-slot-item, +.block_mytreestudyplan .r-slot-item { + margin-top: 5px; + margin-bottom: 5px; + margin-left: auto; + margin-right: auto; + display: grid; +} +.path-local-treestudyplan .t-item-base, +.path-local-treestudyplan .r-item-base, .block_mytreestudyplan .t-item-base, +.block_mytreestudyplan .r-item-base { + align-self: center; + position: relative; +} +.path-local-treestudyplan .t-item-connector-start, .block_mytreestudyplan .t-item-connector-start { + position: absolute; + top: calc(50% - 5px); + right: -1px; + line-height: 0px; +} +.path-local-treestudyplan .t-item-connector-start svg rect, .block_mytreestudyplan .t-item-connector-start svg rect { + cursor: crosshair; + stroke-width: 1px; + stroke: #3c3; + fill: #3c3; +} +.path-local-treestudyplan .t-item-connector-start.deleteMode svg rect, .block_mytreestudyplan .t-item-connector-start.deleteMode svg rect { + stroke: #f70; + fill: #f70; +} +.path-local-treestudyplan .t-item-connector-end, .block_mytreestudyplan .t-item-connector-end { + position: absolute; + top: 50%; + transform: translate(0, -50%); + left: -1px; + line-height: 0px; +} +.path-local-treestudyplan .t-item-connector-end svg rect, .block_mytreestudyplan .t-item-connector-end svg rect { + stroke-width: 1px; + stroke: #f00; + fill: #f00; +} +.path-local-treestudyplan .sw-studyline-editmode, .block_mytreestudyplan .sw-studyline-editmode { + display: inline-block; +} +.path-local-treestudyplan .t-item-base .deletebox, .block_mytreestudyplan .t-item-base .deletebox { + position: absolute; + top: 50%; + transform: translate(0, -50%); + right: 5px; + border-radius: 5px; + padding: 3px; + background-color: rgba(255, 255, 255, 0.4666666667); + cursor: default; + border-color: #ccc; + border-width: 1px; + border-style: solid; + z-index: 20; +} +.path-local-treestudyplan .t-item-base .deletebox a, .block_mytreestudyplan .t-item-base .deletebox a { + display: block; + margin: 3px; +} +.path-local-treestudyplan .t-item-base .t-item-contextview, .block_mytreestudyplan .t-item-base .t-item-contextview { + position: absolute; + left: 50%; + transform: translate(-50%, 100%); + bottom: 0px; + z-index: 25; +} +.path-local-treestudyplan .t-item-contextview .close-button, .block_mytreestudyplan .t-item-contextview .close-button { + float: right; +} +.path-local-treestudyplan ul.t-toolbox li, .block_mytreestudyplan ul.t-toolbox li { + list-style: none; +} +.path-local-treestudyplan .t-item-filter, .block_mytreestudyplan .t-item-filter { + display: inline-block; + height: 1em; + padding: 0px; + margin: 0; + text-align: left; + font-size: 2em; + vertical-align: top; +} +.path-local-treestudyplan .t-item-filter i, .block_mytreestudyplan .t-item-filter i { + vertical-align: top; +} +.path-local-treestudyplan .t-toolbox .t-item-filter, .block_mytreestudyplan .t-toolbox .t-item-filter { + font-size: 1em; +} +.path-local-treestudyplan .t-item-junction i, .block_mytreestudyplan .t-item-junction i { + color: var(--warning); +} +.path-local-treestudyplan .t-item-finish i, .block_mytreestudyplan .t-item-finish i { + color: var(--success); +} +.path-local-treestudyplan .t-item-start i, .block_mytreestudyplan .t-item-start i { + color: var(--success); +} +.path-local-treestudyplan .t-item-badge svg, .block_mytreestudyplan .t-item-badge svg { + color: var(--warning); +} +.path-local-treestudyplan .t-slot-drop.type-allowed, .block_mytreestudyplan .t-slot-drop.type-allowed { + border-color: var(--success); + border-style: dashed; + border-width: 1px; +} +.path-local-treestudyplan .t-slot-drop.type-allowed.drop-forbidden, .block_mytreestudyplan .t-slot-drop.type-allowed.drop-forbidden { + border-color: var(--danger); +} +.path-local-treestudyplan .t-slot-drop.filter .t-item-base, .block_mytreestudyplan .t-slot-drop.filter .t-item-base { + display: inline-block; + margin-top: 5px; + margin-bottom: 5px; + margin-left: auto; + margin-right: auto; + line-height: 1px; +} +.path-local-treestudyplan .t-studyline-slot-0.filter .t-slot-drop.filter .t-item-base, .block_mytreestudyplan .t-studyline-slot-0.filter .t-slot-drop.filter .t-item-base { + margin-left: 0; +} +.path-local-treestudyplan a.t-item-config, .block_mytreestudyplan a.t-item-config { + position: absolute; + top: -5px; + right: -5px; +} +.path-local-treestudyplan a.t-item-config.badge, .block_mytreestudyplan a.t-item-config.badge { + top: -5px; + right: -5px; + font-size: 16px; +} +.path-local-treestudyplan a.t-item-course-config, .block_mytreestudyplan a.t-item-course-config { + font-size: 16pt; + vertical-align: middle; + float: right; + margin-right: 2px; + margin-top: -5px; +} +.path-local-treestudyplan .t-item-connector-end, .block_mytreestudyplan .t-item-connector-end { + visibility: hidden; +} +.path-local-treestudyplan .t-item-connector-end.type-allowed.drop-allowed, .block_mytreestudyplan .t-item-connector-end.type-allowed.drop-allowed { + visibility: visible; +} +.path-local-treestudyplan .t-badges li, .block_mytreestudyplan .t-badges li { + list-style: none; +} +.path-local-treestudyplan .t-badges .t-badge-drag, .block_mytreestudyplan .t-badges .t-badge-drag { + display: inline; +} +.path-local-treestudyplan .t-badges img, .block_mytreestudyplan .t-badges img { + width: 32px; + height: 32px; +} +.path-local-treestudyplan .t-item-badge, .block_mytreestudyplan .t-item-badge { + width: 50px; + height: 50px; + position: relative; + margin-top: 3px; +} +.path-local-treestudyplan .t-item-badge img.badge-image, .block_mytreestudyplan .t-item-badge img.badge-image { + width: 32px; + height: 32px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} +.path-local-treestudyplan .t-item-badge svg.t-badge-backdrop, .block_mytreestudyplan .t-item-badge svg.t-badge-backdrop { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} +.path-local-treestudyplan .r-report-tabs .list-group-item-action, .block_mytreestudyplan .r-report-tabs .list-group-item-action { + width: inherit; +} +.path-local-treestudyplan .r-studyplan-tab, +.path-local-treestudyplan .t-studyplan-tab, .block_mytreestudyplan .r-studyplan-tab, +.block_mytreestudyplan .t-studyplan-tab { + width: auto; + overflow-x: auto; +} +.path-local-treestudyplan .t-studyline-drag:nth-child(odd) .t-studyline div, +.path-local-treestudyplan .t-studyline-heading.odd, +.path-local-treestudyplan .r-studyline-heading.odd, +.path-local-treestudyplan .t-studyline-slot.odd, +.path-local-treestudyplan .r-studyline-slot.odd, .block_mytreestudyplan .t-studyline-drag:nth-child(odd) .t-studyline div, +.block_mytreestudyplan .t-studyline-heading.odd, +.block_mytreestudyplan .r-studyline-heading.odd, +.block_mytreestudyplan .t-studyline-slot.odd, +.block_mytreestudyplan .r-studyline-slot.odd { + background-color: var(--less-light); +} +.path-local-treestudyplan .t-studyline-drag:nth-child(even) .t-studyline div, +.path-local-treestudyplan .t-studyline-heading.even, +.path-local-treestudyplan .r-studyline-heading.even, +.path-local-treestudyplan .t-studyline-slot.even, +.path-local-treestudyplan .r-studyline-slot.even, .block_mytreestudyplan .t-studyline-drag:nth-child(even) .t-studyline div, +.block_mytreestudyplan .t-studyline-heading.even, +.block_mytreestudyplan .r-studyline-heading.even, +.block_mytreestudyplan .t-studyline-slot.even, +.block_mytreestudyplan .r-studyline-slot.even { + background-color: var(--white); +} +.path-local-treestudyplan .t-studyline-drag:first-child, +.path-local-treestudyplan .t-studyline-heading.first, +.path-local-treestudyplan .t-studyline-slot.first, +.path-local-treestudyplan .r-studyline-heading.first, +.path-local-treestudyplan .r-studyline-slot.first, .block_mytreestudyplan .t-studyline-drag:first-child, +.block_mytreestudyplan .t-studyline-heading.first, +.block_mytreestudyplan .t-studyline-slot.first, +.block_mytreestudyplan .r-studyline-heading.first, +.block_mytreestudyplan .r-studyline-slot.first { + border-top-style: solid; +} +.path-local-treestudyplan .t-studyline-drag:last-child, +.path-local-treestudyplan .t-studyline-heading.last, +.path-local-treestudyplan .t-studyline-slot.last.newlyr, +.path-local-treestudyplan .r-studyline-heading.last, +.path-local-treestudyplan .r-studyline-slot.last, .block_mytreestudyplan .t-studyline-drag:last-child, +.block_mytreestudyplan .t-studyline-heading.last, +.block_mytreestudyplan .t-studyline-slot.last.newlyr, +.block_mytreestudyplan .r-studyline-heading.last, +.block_mytreestudyplan .r-studyline-slot.last { + border-bottom-style: solid; +} +.path-local-treestudyplan .s-studyline-header-period, .block_mytreestudyplan .s-studyline-header-period { + text-align: center; + padding-top: 5px; + margin-top: 16px; /* To allow for box shadow on highlighted period */ +} +.path-local-treestudyplan .s-studyline-header-period p, .block_mytreestudyplan .s-studyline-header-period p { + margin-bottom: 0; +} +.path-local-treestudyplan .s-studyline-header-period-datespan, .block_mytreestudyplan .s-studyline-header-period-datespan { + white-space: nowrap; +} +.path-local-treestudyplan .s-studyline-header-period-datespan .date, .block_mytreestudyplan .s-studyline-header-period-datespan .date { + font-weight: bold; +} +.path-local-treestudyplan .s-studyline-header-period-datespan.small, .block_mytreestudyplan .s-studyline-header-period-datespan.small { + font-size: 9px; +} +.path-local-treestudyplan .t-studyline-slot.rightmost, +.path-local-treestudyplan .r-studyline-slot.rightmost, .block_mytreestudyplan .t-studyline-slot.rightmost, +.block_mytreestudyplan .r-studyline-slot.rightmost { + border-right-style: solid; +} +.path-local-treestudyplan .t-studyline-handle, +.path-local-treestudyplan .r-studyline-handle, .block_mytreestudyplan .t-studyline-handle, +.block_mytreestudyplan .r-studyline-handle { + width: 10px; + height: 100%; + border-left-style: solid; + border-width: 1px; + border-color: rgba(0, 0, 0, 0.125); +} +.path-local-treestudyplan .gradable .r-item-base, .block_mytreestudyplan .gradable .r-item-base { + width: 100%; +} +.path-local-treestudyplan .t-item-invalid .card-body, +.path-local-treestudyplan .r-item-invalid .card-body, +.path-local-treestudyplan .t-item-competency .card-body, +.path-local-treestudyplan .t-item-course .card-body, +.path-local-treestudyplan .r-item-competency .card-body, .block_mytreestudyplan .t-item-invalid .card-body, +.block_mytreestudyplan .r-item-invalid .card-body, +.block_mytreestudyplan .t-item-competency .card-body, +.block_mytreestudyplan .t-item-course .card-body, +.block_mytreestudyplan .r-item-competency .card-body { + padding: 3px; + padding-left: 7px; + padding-right: 7px; +} +.path-local-treestudyplan .r-item-invalid .card-body, +.path-local-treestudyplan .t-item-invalid .card-body, .block_mytreestudyplan .r-item-invalid .card-body, +.block_mytreestudyplan .t-item-invalid .card-body { + color: darkred; +} +.path-local-treestudyplan .r-item-filter, .block_mytreestudyplan .r-item-filter { + display: inline-block; + padding: 0px; + text-align: left; + font-size: 2em; + vertical-align: top; + height: 1em; +} +.path-local-treestudyplan .r-item-filter i, .block_mytreestudyplan .r-item-filter i { + vertical-align: top; +} +.path-local-treestudyplan .r-item-start i, .block_mytreestudyplan .r-item-start i { + color: var(--success); +} +.path-local-treestudyplan .r-item-badge i, .block_mytreestudyplan .r-item-badge i { + color: var(--warning); +} +.path-local-treestudyplan .r-badges li, .block_mytreestudyplan .r-badges li { + list-style: none; +} +.path-local-treestudyplan .r-badges .r-badge-drag, .block_mytreestudyplan .r-badges .r-badge-drag { + display: inline; +} +.path-local-treestudyplan .r-badges img, .block_mytreestudyplan .r-badges img { + width: 32px; + height: 32px; +} +.path-local-treestudyplan .r-item-badge, .block_mytreestudyplan .r-item-badge { + width: 50px; + height: 50px; + position: relative; + margin-top: 3px; +} +.path-local-treestudyplan .r-item-badge img.badge-image, .block_mytreestudyplan .r-item-badge img.badge-image { + width: 32px; + height: 32px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} +.path-local-treestudyplan .r-item-badge svg.r-badge-backdrop, .block_mytreestudyplan .r-item-badge svg.r-badge-backdrop { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} +.path-local-treestudyplan .r-item-badge svg.r-badge-backdrop circle, .block_mytreestudyplan .r-item-badge svg.r-badge-backdrop circle { + stroke: black; + stroke-width: 2px; + fill: #ccc; +} +.path-local-treestudyplan .r-item-module-children, .block_mytreestudyplan .r-item-module-children { + list-style: none; +} +.path-local-treestudyplan .r-item-start.completion-incomplete i, +.path-local-treestudyplan .r-completion-incomplete, .block_mytreestudyplan .r-item-start.completion-incomplete i, +.block_mytreestudyplan .r-completion-incomplete { + color: var(--incomplete); +} +.path-local-treestudyplan .r-completion-progress, .block_mytreestudyplan .r-completion-progress { + color: var(--warning); +} +.path-local-treestudyplan .r-completion-completed, .path-local-treestudyplan .r-completion-complete-pass, .block_mytreestudyplan .r-completion-completed, .block_mytreestudyplan .r-completion-complete-pass { + color: var(--success); +} +.path-local-treestudyplan .r-completion-good, .block_mytreestudyplan .r-completion-good { + color: var(--info); +} +.path-local-treestudyplan .r-completion-excellent, .path-local-treestudyplan .r-completion-complete, .block_mytreestudyplan .r-completion-excellent, .block_mytreestudyplan .r-completion-complete { + color: var(--excellent); +} +.path-local-treestudyplan .r-completion-pending, .block_mytreestudyplan .r-completion-pending { + color: var(--pending); +} +.path-local-treestudyplan .r-completion-failed, .path-local-treestudyplan .r-completion-complete-fail, .block_mytreestudyplan .r-completion-failed, .block_mytreestudyplan .r-completion-complete-fail { + color: var(--danger); +} +.path-local-treestudyplan th.r-aggregation-all, .block_mytreestudyplan th.r-aggregation-all { + color: rgb(0, 32, 80); +} +.path-local-treestudyplan th.r-aggregation-any, .block_mytreestudyplan th.r-aggregation-any { + color: rgb(0, 46, 0); +} +.path-local-treestudyplan tr.r-completion-category-header, .block_mytreestudyplan tr.r-completion-category-header { + border-top-style: solid; + border-top-width: 1px; + border-color: rgb(127, 127, 127); +} +.path-local-treestudyplan .r-course-grading, .block_mytreestudyplan .r-course-grading { + font-size: 16pt; + margin-right: 2px; + vertical-align: bottom; +} +.path-local-treestudyplan .r-course-graded, +.path-local-treestudyplan .r-course-result, .block_mytreestudyplan .r-course-graded, +.block_mytreestudyplan .r-course-result { + font-size: 16pt; + vertical-align: middle; + float: right; + margin-right: 2px; + margin-top: 2px; +} +.path-local-treestudyplan .r-progress-circle-popup, .block_mytreestudyplan .r-progress-circle-popup { + position: relative; + top: 0.1em; +} +.path-local-treestudyplan .r-completion-detail-header, .block_mytreestudyplan .r-completion-detail-header { + font-size: 20pt; +} +.path-local-treestudyplan .r-item-finish.completion-incomplete, +.path-local-treestudyplan .r-item-junction.completion-incomplete, .block_mytreestudyplan .r-item-finish.completion-incomplete, +.block_mytreestudyplan .r-item-junction.completion-incomplete { + color: var(--incomplete); +} +.path-local-treestudyplan .r-item-finish.completion-progress, +.path-local-treestudyplan .r-item-junction.completion-progress, .block_mytreestudyplan .r-item-finish.completion-progress, +.block_mytreestudyplan .r-item-junction.completion-progress { + color: var(--warning); +} +.path-local-treestudyplan .r-item-finish.completion-completed, +.path-local-treestudyplan .r-item-junction.completion-completed, .block_mytreestudyplan .r-item-finish.completion-completed, +.block_mytreestudyplan .r-item-junction.completion-completed { + color: var(--success); +} +.path-local-treestudyplan .r-item-finish.completion-good, +.path-local-treestudyplan .r-item-junction.completion-good, .block_mytreestudyplan .r-item-finish.completion-good, +.block_mytreestudyplan .r-item-junction.completion-good { + color: var(--info); +} +.path-local-treestudyplan .r-item-finish.completion-excellent, +.path-local-treestudyplan .r-item-junction.completion-excellent, .block_mytreestudyplan .r-item-finish.completion-excellent, +.block_mytreestudyplan .r-item-junction.completion-excellent { + color: var(--excellent); +} +.path-local-treestudyplan .r-item-finish.completion-failed, +.path-local-treestudyplan .r-item-junction.completion-failed, .block_mytreestudyplan .r-item-finish.completion-failed, +.block_mytreestudyplan .r-item-junction.completion-failed { + color: var(--danger); +} +.path-local-treestudyplan .r-activity-icon, .block_mytreestudyplan .r-activity-icon { + position: relative; + top: -2px; +} +.path-local-treestudyplan table.r-item-course-grade-details td, .block_mytreestudyplan table.r-item-course-grade-details td { + padding-right: 3px; +} +.path-local-treestudyplan .r-course-detail-header-right, .block_mytreestudyplan .r-course-detail-header-right { + width: 260px; + text-align: end; +} +.path-local-treestudyplan .r-timing-invalid, +.path-local-treestudyplan .t-timing-invalid, .block_mytreestudyplan .r-timing-invalid, +.block_mytreestudyplan .t-timing-invalid { + color: var(--danger); +} +.path-local-treestudyplan .t-timing-past, +.path-local-treestudyplan .r-timing-past, .block_mytreestudyplan .t-timing-past, +.block_mytreestudyplan .r-timing-past { + color: var(--past); +} +.path-local-treestudyplan .t-timing-present, +.path-local-treestudyplan .r-timing-present, .block_mytreestudyplan .t-timing-present, +.block_mytreestudyplan .r-timing-present { + color: var(--present); +} +.path-local-treestudyplan .t-timing-future, +.path-local-treestudyplan .r-timing-future, .block_mytreestudyplan .t-timing-future, +.block_mytreestudyplan .r-timing-future { + color: var(--future); +} +.path-local-treestudyplan .t-timing-indicator, +.path-local-treestudyplan .r-timing-indicator, .block_mytreestudyplan .t-timing-indicator, +.block_mytreestudyplan .r-timing-indicator { + border-color: rgba(0, 0, 0, 0.125); + width: 7px; + display: inline-block; + height: 100%; + border-width: 1px; + border-top-left-radius: 3.5px; + border-bottom-left-radius: 3.5px; +} +.path-local-treestudyplan .t-timing-indicator.timing-invalid, +.path-local-treestudyplan .r-timing-indicator.timing-invalid, .block_mytreestudyplan .t-timing-indicator.timing-invalid, +.block_mytreestudyplan .r-timing-indicator.timing-invalid { + background-color: var(--danger); +} +.path-local-treestudyplan .t-timing-indicator.timing-past, +.path-local-treestudyplan .r-timing-indicator.timing-past, .block_mytreestudyplan .t-timing-indicator.timing-past, +.block_mytreestudyplan .r-timing-indicator.timing-past { + background-color: var(--past); +} +.path-local-treestudyplan .t-timing-indicator.timing-present, +.path-local-treestudyplan .r-timing-indicator.timing-present, .block_mytreestudyplan .t-timing-indicator.timing-present, +.block_mytreestudyplan .r-timing-indicator.timing-present { + background-color: var(--present); +} +.path-local-treestudyplan .t-timing-indicator.timing-future, +.path-local-treestudyplan .r-timing-indicator.timing-future, .block_mytreestudyplan .t-timing-indicator.timing-future, +.block_mytreestudyplan .r-timing-indicator.timing-future { + background-color: var(--future); +} +.path-local-treestudyplan .r-course-am-teacher, .block_mytreestudyplan .r-course-am-teacher { + box-shadow: 0 0 3px 3px rgba(255, 224, 0, 0.5); +} +.path-local-treestudyplan .r-graded-unknown, .block_mytreestudyplan .r-graded-unknown { + color: rgb(139, 107, 0); +} +.path-local-treestudyplan .r-graded-unsubmitted, .block_mytreestudyplan .r-graded-unsubmitted { + color: var(--incomplete); +} +.path-local-treestudyplan .r-graded-ungraded, .block_mytreestudyplan .r-graded-ungraded { + color: var(--danger); +} +.path-local-treestudyplan .r-graded-allgraded, .block_mytreestudyplan .r-graded-allgraded { + color: var(--excellent); +} +.path-local-treestudyplan .r-graded-graded, .block_mytreestudyplan .r-graded-graded { + color: var(--success); +} +.path-local-treestudyplan .r-graded-nogrades, .block_mytreestudyplan .r-graded-nogrades { + color: var(--light); +} +.path-local-treestudyplan .t-configured-ok, .block_mytreestudyplan .t-configured-ok { + color: var(--success); +} +.path-local-treestudyplan .t-configured-alert, .block_mytreestudyplan .t-configured-alert { + color: var(--warning); +} +.path-local-treestudyplan .r-grading-bar, .block_mytreestudyplan .r-grading-bar { + display: inline-block; + white-space: nowrap; + height: min-content; +} +.path-local-treestudyplan .r-grading-bar-segment, .block_mytreestudyplan .r-grading-bar-segment { + border-color: #aaa; + border-width: 1px; + display: inline-block; + border-bottom-style: solid; + border-top-style: solid; +} +.path-local-treestudyplan .r-grading-bar-segment:first-child, .block_mytreestudyplan .r-grading-bar-segment:first-child { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; + border-left-style: solid; +} +.path-local-treestudyplan .r-grading-bar-segment:last-child, .block_mytreestudyplan .r-grading-bar-segment:last-child { + border-bottom-right-radius: 3px; + border-top-right-radius: 3px; + border-right-style: solid; +} +.path-local-treestudyplan .r-grading-bar-unsubmitted, .block_mytreestudyplan .r-grading-bar-unsubmitted { + background-color: var(--light); +} +.path-local-treestudyplan .r-grading-bar-graded, .block_mytreestudyplan .r-grading-bar-graded { + background-color: var(--success); +} +.path-local-treestudyplan .r-grading-bar-ungraded, .block_mytreestudyplan .r-grading-bar-ungraded { + background-color: var(--danger); +} +.path-local-treestudyplan .r-completion-bar-incomplete, .block_mytreestudyplan .r-completion-bar-incomplete { + background-color: var(--light); +} +.path-local-treestudyplan .r-completion-bar-completed, .block_mytreestudyplan .r-completion-bar-completed { + background-color: var(--info); +} +.path-local-treestudyplan .r-completion-bar-completed-pass, .block_mytreestudyplan .r-completion-bar-completed-pass { + background-color: var(--success); +} +.path-local-treestudyplan .r-completion-bar-completed-fail, .block_mytreestudyplan .r-completion-bar-completed-fail { + background-color: var(--danger); +} +.path-local-treestudyplan .r-completion-bar-ungraded, .block_mytreestudyplan .r-completion-bar-ungraded { + background-color: var(--warning); +} +.path-local-treestudyplan .card.s-studyplan-card, .block_mytreestudyplan .card.s-studyplan-card { + min-width: 300px; + max-width: 500px; + margin-bottom: 1em; +} +.path-local-treestudyplan .card.s-studyplan-card.timing-past .card-header, .block_mytreestudyplan .card.s-studyplan-card.timing-past .card-header { + background-color: var(--past); +} +.path-local-treestudyplan .card.s-studyplan-card.timing-present .card-header, .block_mytreestudyplan .card.s-studyplan-card.timing-present .card-header { + background-color: var(--present); +} +.path-local-treestudyplan .card.s-studyplan-card.timing-future .card-header, .block_mytreestudyplan .card.s-studyplan-card.timing-future .card-header { + background-color: var(--future); +} +.path-local-treestudyplan .s-studyplan-card-title-buttons, .block_mytreestudyplan .s-studyplan-card-title-buttons { + font-size: 12pt; + float: right; } - -.t-item-badge svg.t-badge-backdrop { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); -} - -/******************************************************************************/ - -.r-report-tabs .list-group-item-action { - width: inherit; -} - - - -.r-studyplan-tab, -.t-studyplan-tab { - width: auto; - overflow-x: auto; - -} - -.t-studyline-drag:nth-child(odd) .t-studyline div, -.t-studyline-heading.odd, -.r-studyline-heading.odd, -.t-studyline-slot.odd, -.r-studyline-slot.odd { - background-color: var(--less-light); -} - -.t-studyline-drag:nth-child(even) .t-studyline div, -.t-studyline-heading.even, -.r-studyline-heading.even, -.t-studyline-slot.even, -.r-studyline-slot.even { - background-color: var(--white); -} - -.t-studyline-drag:first-child, -.t-studyline-heading.first, -.t-studyline-slot.first, -.r-studyline-heading.first, -.r-studyline-slot.first { - border-top-style: solid; -} - -.t-studyline-drag:last-child, -.t-studyline-heading.last, -.t-studyline-slot.last.newlyr, -.r-studyline-heading.last, -.r-studyline-slot.last { - border-bottom-style: solid; -} - -.s-studyline-header-period { - text-align: center; - padding-top: 5px; - margin-top: 16px; /* To allow for box shadow on highlighted period */ -} -.s-studyline-header-period p { - margin-bottom: 0; -} - -.s-studyline-header-period-datespan{ - white-space: nowrap; -} - -.s-studyline-header-period-datespan .date{ - font-weight: bold; -} - -.s-studyline-header-period-datespan.small{ - font-size: 9px; -} - - - -.t-studyline-slot.rightmost, -.r-studyline-slot.rightmost { - border-right-style: solid; -} - - -.t-studyline-handle, -.r-studyline-handle { - width: 10px; - height: 100%; - border-left-style: solid; - border-width: 1px; - border-color: rgba(0, 0, 0, 0.125); -} - - -.gradable .r-item-base { - width: 100%; -} - -.t-item-invalid .card-body, -.r-item-invalid .card-body, -.t-item-competency .card-body, -.t-item-course .card-body, -.r-item-competency .card-body { - padding: 3px; - padding-left: 7px; - padding-right: 7px; -} - -.r-item-invalid .card-body, -.t-item-invalid .card-body { - color: darkred; -} - -.r-item-filter { - display: inline-block; - padding: 0px; - text-align: left; - font-size: 2em; - vertical-align: top; - height: 1em; -} - -.r-item-filter i { - vertical-align: top; -} - -.r-item-start i { - color: var(--success); -} - -.r-item-badge i { - color: var(--warning); -} - -.r-badges li { - list-style: none; -} - -.r-badges .r-badge-drag { - display: inline; -} - -.r-badges img { - width: 32px; - height: 32px; -} - -.r-item-badge { - width: 50px; - height: 50px; - position: relative; - margin-top: 3px; -} - -.r-item-badge img.badge-image { - width: 32px; - height: 32px; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); -} - -.r-item-badge svg.r-badge-backdrop { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); -} - -.r-item-badge svg.r-badge-backdrop circle { - stroke: black; - stroke-width: 2px; - fill: #ccc; -} - -.r-item-module-children { - list-style: none; -} - -.r-item-start.completion-incomplete i, -.r-completion-incomplete { - color: var(--incomplete); -} -.r-completion-progress { - color: var(--warning); -} -.r-completion-completed, .r-completion-complete-pass { - color: var(--success); -} -.r-completion-good { - color: var(--info); -} -.r-completion-excellent, .r-completion-complete { - color: var(--excellent); -} -.r-completion-pending { - color: var(--pending); -} -.r-completion-failed, .r-completion-complete-fail { - color: var(--danger); -} - -th.r-aggregation-all { - color:rgb(0, 32, 80); -} -th.r-aggregation-any { - color:rgb(0, 46, 0); -} -tr.r-completion-category-header { - border-top-style: solid; - border-top-width: 1px; - border-color:rgb(127, 127, 127); -} - -.r-course-grading { - font-size: 16pt; - margin-right: 2px; - vertical-align: bottom; -} - -.r-course-graded, -.r-course-result { - font-size: 16pt; - vertical-align: middle; - float: right; - margin-right: 2px; - margin-top: 2px; -} - -.r-progress-circle-popup{ - position: relative; - top: 0.1em; -} - -.r-completion-detail-header { - font-size: 20pt; -} - -.r-item-finish.completion-incomplete, -.r-item-junction.completion-incomplete { - color: var(--incomplete); -} -.r-item-finish.completion-progress, -.r-item-junction.completion-progress { - color: var(--warning); -} -.r-item-finish.completion-completed, -.r-item-junction.completion-completed { - color: var(--success); -} -.r-item-finish.completion-good, -.r-item-junction.completion-good { - color: var(--info); -} -.r-item-finish.completion-excellent, -.r-item-junction.completion-excellent { - color: var(--excellent); -} - -.r-item-finish.completion-failed, -.r-item-junction.completion-failed { - color: var(--danger); -} - -.r-activity-icon { - position: relative; - top: -2px; -} - -table.r-item-course-grade-details td { - padding-right: 3px; -} - -.r-course-detail-header-right { - width: 260px; - text-align: end; -} - -.r-timing-invalid, -.t-timing-invalid { - color: var(--danger); -} - -.t-timing-past, -.r-timing-past { - color: var(--past); -} -.t-timing-present, -.r-timing-present { - color: var(--present); -} -.t-timing-future, -.r-timing-future { - color: var(--future); -} - -.t-timing-indicator, -.r-timing-indicator { - border-color: rgba(0, 0, 0, 0.125); - width: 7px; - display: inline-block; - height: 100%; - border-width: 1px; - border-top-left-radius: 3.5px; - border-bottom-left-radius: 3.5px; -} - -.t-timing-indicator.timing-invalid, -.r-timing-indicator.timing-invalid { - background-color: var(--danger); -} - -.t-timing-indicator.timing-past, -.r-timing-indicator.timing-past { - background-color: var(--past); -} - -.t-timing-indicator.timing-present, -.r-timing-indicator.timing-present { - background-color: var(--present); -} - -.t-timing-indicator.timing-future, -.r-timing-indicator.timing-future { - background-color: var(--future); +.path-local-treestudyplan .s-studyplan-card-title-buttons > *, .block_mytreestudyplan .s-studyplan-card-title-buttons > * { + margin-left: 0.2em; + margin-right: 0.3em; } - -.r-course-am-teacher { - box-shadow: 0 0 3px 3px rgba(255, 224, 0, 0.5); -} - -.r-graded-unknown { - color: rgb(139, 107, 0); +.path-local-treestudyplan .s-studyplan-card-buttons, .block_mytreestudyplan .s-studyplan-card-buttons { + float: right; + display: flex; + align-items: center; + justify-content: right; } -.r-graded-unsubmitted { - color: var(--incomplete); +.path-local-treestudyplan .s-studyplan-card-buttons > *, .block_mytreestudyplan .s-studyplan-card-buttons > * { + margin-left: 1em; } -.r-graded-ungraded { - color: var(--danger); +.path-local-treestudyplan .s-studyplan-associate-window .custom-select, .block_mytreestudyplan .s-studyplan-associate-window .custom-select { + width: 100%; + max-width: 100%; } -.r-graded-allgraded { - color: var(--excellent); +.path-local-treestudyplan .s-required, .block_mytreestudyplan .s-required { + color: var(--danger); } -.r-graded-graded { - color: var(--success); -} -.r-graded-nogrades { - color: var(--light); -} - -.t-configured-ok { - color: var(--success); +.path-local-treestudyplan .s-required.complete, .block_mytreestudyplan .s-required.complete { + color: var(--info); } -.t-configured-alert { - color: var(--warning); +.path-local-treestudyplan .s-required.complete-pass, +.path-local-treestudyplan .s-required.good, +.path-local-treestudyplan .s-required.excellent, +.path-local-treestudyplan .s-required.allgraded, .block_mytreestudyplan .s-required.complete-pass, +.block_mytreestudyplan .s-required.good, +.block_mytreestudyplan .s-required.excellent, +.block_mytreestudyplan .s-required.allgraded { + color: var(--success); } - - -.r-grading-bar { - display: inline-block; - white-space: nowrap; - height: min-content; -} -.r-grading-bar-segment { - border-color: #aaa; - border-width: 1px; - display: inline-block; - border-bottom-style: solid; - border-top-style: solid; - +.path-local-treestudyplan .s-required.neutral, .block_mytreestudyplan .s-required.neutral { + color: #aaa; +} +.path-local-treestudyplan .r-tooltip.incomplete .tooltip-inner, +.path-local-treestudyplan .r-tooltip.complete-fail .tooltip-inner, +.path-local-treestudyplan .r-tooltip.completed-fail .tooltip-inner, .block_mytreestudyplan .r-tooltip.incomplete .tooltip-inner, +.block_mytreestudyplan .r-tooltip.complete-fail .tooltip-inner, +.block_mytreestudyplan .r-tooltip.completed-fail .tooltip-inner { + background-color: var(--danger); +} +.path-local-treestudyplan .r-tooltip.incomplete .arrow::before, +.path-local-treestudyplan .r-tooltip.complete-fail .arrow::before, +.path-local-treestudyplan .r-tooltip.completed-fail .arrow::before, .block_mytreestudyplan .r-tooltip.incomplete .arrow::before, +.block_mytreestudyplan .r-tooltip.complete-fail .arrow::before, +.block_mytreestudyplan .r-tooltip.completed-fail .arrow::before { + border-top-color: var(--danger); } -.r-grading-bar-segment:first-child { - border-bottom-left-radius: 3px; - border-top-left-radius: 3px; - border-left-style: solid; - +.path-local-treestudyplan .r-tooltip.complete .tooltip-inner, +.path-local-treestudyplan .r-tooltip.completed .tooltip-inner, .block_mytreestudyplan .r-tooltip.complete .tooltip-inner, +.block_mytreestudyplan .r-tooltip.completed .tooltip-inner { + background-color: var(--info); } -.r-grading-bar-segment:last-child { - border-bottom-right-radius: 3px; - border-top-right-radius: 3px; - border-right-style: solid; +.path-local-treestudyplan .r-tooltip.complete .arrow::before, +.path-local-treestudyplan .r-tooltip.completed .arrow::before, .block_mytreestudyplan .r-tooltip.complete .arrow::before, +.block_mytreestudyplan .r-tooltip.completed .arrow::before { + border-top-color: var(--info); } - -.r-grading-bar-unsubmitted { - background-color: var(--light); +.path-local-treestudyplan .r-tooltip.complete-pass .tooltip-inner, +.path-local-treestudyplan .r-tooltip.completed-pass .tooltip-inner, .block_mytreestudyplan .r-tooltip.complete-pass .tooltip-inner, +.block_mytreestudyplan .r-tooltip.completed-pass .tooltip-inner { + background-color: var(--success); } - -.r-grading-bar-graded { - background-color: var(--success); +.path-local-treestudyplan .r-tooltip.complete-pass .arrow::before, +.path-local-treestudyplan .r-tooltip.completed-pass .arrow::before, .block_mytreestudyplan .r-tooltip.complete-pass .arrow::before, +.block_mytreestudyplan .r-tooltip.completed-pass .arrow::before { + border-top-color: var(--success); } - -.r-grading-bar-ungraded { - background-color:var(--danger); -} - - - -.r-completion-bar-incomplete { - background-color: var(--light); -} - -.r-completion-bar-completed { - background-color: var(--info); -} - -.r-completion-bar-completed-pass { - background-color: var(--success); -} - -.r-completion-bar-completed-fail { - background-color: var(--danger); +.path-local-treestudyplan .r-tooltip.incomplete .tooltip-inner, .block_mytreestudyplan .r-tooltip.incomplete .tooltip-inner { + background-color: var(--danger); } - -.r-completion-bar-ungraded { - background-color: var(--warning); -} - - -.card.s-studyplan-card { - min-width: 300px; - max-width: 500px; - margin-bottom: 1em; -} - -.card.s-studyplan-card.timing-past .card-header { - background-color: var(--past); -} -.card.s-studyplan-card.timing-present .card-header { - background-color: var(--present); -} -.card.s-studyplan-card.timing-future .card-header { - background-color: var(--future); -} - -.s-studyplan-card-title-buttons { - font-size: 12pt; - float: right; -} -.s-studyplan-card-title-buttons > * { - margin-left: 0.2em; - margin-right: 0.3em; -} - -.s-studyplan-card-buttons { - float: right; - display: flex; - align-items: center; - justify-content: right; -} - -.s-studyplan-card-buttons > * { - margin-left: 1em; -} - -.s-studyplan-associate-window .custom-select { - width: 100%; - max-width: 100%; -} - -.s-required { - color: var(--danger); -} - -.s-required.complete { - color: var(--info); -} - -.s-required.complete-pass, -.s-required.good, -.s-required.excellent, -.s-required.allgraded { - color: var(--success); -} - -.s-required.neutral { - color: #aaa; -} - -.r-tooltip.incomplete .tooltip-inner, -.r-tooltip.complete-fail .tooltip-inner, -.r-tooltip.completed-fail .tooltip-inner { - background-color: var(--danger); -} -.r-tooltip.incomplete .arrow::before, -.r-tooltip.complete-fail .arrow::before, -.r-tooltip.completed-fail .arrow::before { - border-top-color: var(--danger); -} - -.r-tooltip.complete .tooltip-inner, -.r-tooltip.completed .tooltip-inner { - background-color: var(--info); -} -.r-tooltip.complete .arrow::before, -.r-tooltip.completed .arrow::before { - border-top-color: var(--info); -} - -.r-tooltip.complete-pass .tooltip-inner, -.r-tooltip.completed-pass .tooltip-inner { - background-color: var(--success); -} -.r-tooltip.complete-pass .arrow::before, -.r-tooltip.completed-pass .arrow::before { - border-top-color: var(--success); -} - -.r-tooltip.incomplete .tooltip-inner { - background-color: var(--danger); -} -.r-tooltip.incomplete .arrow::before { - border-top-color: var(--danger); -} - -.m-buttonbar { - display: flex; - align-items: center; - justify-content: left; -} - -.m-buttonbar a, -.m-buttonbar span, -.m-buttonbar i { - vertical-align: middle; - display: inline; -} - -.m-buttonbar a { - margin-right: 1em; -} - -.s-edit-mod-form [data-fieldtype=submit] { display: none ! important; } -.s-edit-mod-form.genericonly form > fieldset:not(#id_general) { display: none ! important; } - -.border-grey { - border-color: #aaa; -} \ No newline at end of file +.path-local-treestudyplan .r-tooltip.incomplete .arrow::before, .block_mytreestudyplan .r-tooltip.incomplete .arrow::before { + border-top-color: var(--danger); +} +.path-local-treestudyplan .m-buttonbar, .block_mytreestudyplan .m-buttonbar { + display: flex; + align-items: center; + justify-content: left; +} +.path-local-treestudyplan .m-buttonbar a, +.path-local-treestudyplan .m-buttonbar span, +.path-local-treestudyplan .m-buttonbar i, .block_mytreestudyplan .m-buttonbar a, +.block_mytreestudyplan .m-buttonbar span, +.block_mytreestudyplan .m-buttonbar i { + vertical-align: middle; + display: inline; +} +.path-local-treestudyplan .m-buttonbar a, .block_mytreestudyplan .m-buttonbar a { + margin-right: 1em; +} +.path-local-treestudyplan .s-edit-mod-form [data-fieldtype=submit], .block_mytreestudyplan .s-edit-mod-form [data-fieldtype=submit] { + display: none !important; +} +.path-local-treestudyplan .s-edit-mod-form.genericonly form > fieldset:not(#id_general), .block_mytreestudyplan .s-edit-mod-form.genericonly form > fieldset:not(#id_general) { + display: none !important; +} +.path-local-treestudyplan .border-grey, .block_mytreestudyplan .border-grey { + border-color: #aaa; +} + +/*# sourceMappingURL=devstyles.css.map */ diff --git a/css/devstyles.css.map b/css/devstyles.css.map new file mode 100644 index 0000000..20e3556 --- /dev/null +++ b/css/devstyles.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["../scss/studyplan.scss"],"names":[],"mappings":"AAAA;AAEA;AAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAiDA;AAMA;AAgiBA;;AArlBA;EACI;;AAGJ;EACI;EACA;;AAIJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;EACA;AACA;AACA;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;;AAEJ;AAAA;AAAA;EAEA;;AAIA;AAAA;AAAA;EAEA;;AAIA;AAAA;AAAA;EAEA;;AAGA;AAAA;AAAA;EAEI;;AAGJ;EACI;;AAGJ;AAAA;AAAA;EAEI;EACA;AACA;EACA;EACA;;AAGJ;EACI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;;AAIJ;EACI;EACA;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;AAAA;AAAA;EAGI;EACA;;AAGJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAIJ;AAAA;AAAA;EAEI;;AAIJ;AAAA;AAAA;EAEI;;AAGJ;EACI;;AAGJ;AAAA;AAAA;EAEI;;AAKJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAIJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAIJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EAEA;;AAGJ;EACI;;AAIJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAIJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAKJ;EACI;;AAKJ;AAAA;AAAA;EAEI;EACA;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAKI;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAKI;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAKI;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAKI;;AAGJ;EACI;EACA;EACA;;AAEJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAKJ;AAAA;AAAA;EAEI;;AAIJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;;AAIJ;EACI;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAKI;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;;AAGJ;AAAA;AAAA;EAEI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;AAGJ;AAAA;AAAA;EAEI;;AAEJ;AAAA;AAAA;EAEI;;AAEJ;AAAA;AAAA;EAEI;;AAEJ;AAAA;AAAA;EAEI;;AAEJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAEJ;AAAA;AAAA;EAEI;;AAEJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAGJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAIJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAKJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAIJ;EACI;EACA;EACA;;AAGJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EACI;EACA;;AAEJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAII;;AAGJ;EACI;;AAGJ;AAAA;AAAA;AAAA;AAAA;EAGI;;AAEJ;AAAA;AAAA;AAAA;AAAA;EAGI;;AAGJ;AAAA;AAAA;EAEI;;AAEJ;AAAA;AAAA;EAEI;;AAGJ;AAAA;AAAA;EAEI;;AAEJ;AAAA;AAAA;EAEI;;AAGJ;EACI;;AAEJ;EACI;;AAGJ;EACI;EACA;EACA;;AAGJ;AAAA;AAAA;AAAA;AAAA;EAGI;EACA;;AAGJ;EACI;;AAGJ;EAA2C;;AAC3C;EAAgE;;AAEhE;EACI","file":"devstyles.css"} \ No newline at end of file diff --git a/scss/studyplan.scss b/scss/studyplan.scss index a14ecff..eceecaf 100644 --- a/scss/studyplan.scss +++ b/scss/studyplan.scss @@ -618,8 +618,6 @@ width: inherit; } - - .r-studyplan-tab, .t-studyplan-tab { width: auto; diff --git a/scssbuild.js b/scssbuild.js index 23a9b49..0cf12f0 100755 --- a/scssbuild.js +++ b/scssbuild.js @@ -17,17 +17,48 @@ /** * This file compiles the scss files in the scss/ folder into either the main * styles.css for production upon build or css/devstyles.css for development + * + * Most nice would be to integrate this action with grunt watch, but I am + * not familiar enough with grunt to know if I can extend moodle's grunt actions + * from a Gruntfile.js in this directory without modifying Moodle's Gruntfile.js * * @package local_treestudyplan * @copyright 2023 P.M. Kuipers * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ +const sass = require('sass'); +const path = require('path'); +const fs = require('fs'); -var library = require('sass'); -library.load({ - readline: require("readline"), - chokidar: require("chokidar"), +const output = 'css/devstyles.css'; + +let css = ""; +let map = ""; +//joining path of directory +const directoryPath = path.join(__dirname, 'scss'); +//passsing directoryPath and callback function +fs.readdir(directoryPath, function (err, files) { + //handling error + if (err) { + return console.log('Unable to scan directory: ' + err); + } + //listing all files using forEach + files.forEach(function (file) { + const result = sass.compile(); + console.info(`Processing ${file}...`) + if ( result ) { + css = css + result.css; + map = map + result.sourceMap; + } + }); }); -library.cli_pkg_main_0_(process.argv.slice(2)); +console.info(`Storing ${output} and ${output}.map`); +fs.writeFile(path.join(__dirname, output),css,(err) => { + if (err) throw err; +}); + +fs.writeFile(path.join(__dirname,output+".map"),css,(err) => { + if (err) throw err; +}); \ No newline at end of file