moodle_local_treestudyplan/css/devstyles.css
2023-06-03 00:01:18 +02:00

959 lines
16 KiB
CSS

/* stylelint-disable length-zero-no-unit, color-hex-case, color-hex-length, no-eol-whitespace, unit-blacklist, block-no-empty */
.t-toolbox-preface {
margin: 10px;
}
.t-studyplan-container {
margin-top: 16px;
min-height: 500px;
}
ul.dropdown-menu.show {
background-color: white;
}
.t-studyline {
width: min-content;
display: grid;
grid-auto-flow: column;
/*border-bottom-style: solid;*/
border-right-style: solid;
border-color: #cccccc;
border-width: 1px;
}
.t-studyline:first-child {
border-top-style: solid;
}
.t-studyline .controlbox {
border-left-style: solid;
border-color: #cccccc;
border-width: 1px;
white-space: nowrap;
}
.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 {
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;
border-right-style: solid;
display: flex;
flex-direction: column;
justify-content: center;
}
.t-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: blue;
}
i.t-course-list-item {
color: green;
}
ul.t-competency-list li {
list-style: none;
}
.t-competency-heading .draggable-competency {
display: inline-block;
}
.t-competency-heading .disabled-competency {
text-decoration: line-through;
}
.t-competency-heading .competency-info {
color: #aaa;
}
.t-competency-heading i.t-goal {
color: #aaa;
}
.t-competency-heading i.t-module {
color: green;
}
.t-competency-heading i.t-domain {
color: blueviolet;
}
.t-framework-heading i {
color: blue;
}
.t-framework-heading {
font-weight: bold;
}
.collapsed > .when-open,
.not-collapsed > .when-closed {
display: none;
}
.t-studyline-slot {
width: 130px;
}
.t-studyline-slot.t-studyline-slot-0 {
width: 75px;
}
.t-studyline-slot.t-studyline-slot-0 .t-slot-droplist.filter .t-slot-item {
margin-left: 10px;
}
.t-slot-droplist {
min-height: 32px;
height: 100%;
min-width: 50px;
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
}
.t-slot-droplist.competency {
min-width: 100px;
}
.t-slot-droplist.filter {
min-width: 50px;
}
.t-drop-slot:not(.drop-allowed) {
display: none;
}
.t-drop-slot.drop-allowed i {
color: #ccc;
}
.t-drop-slot.drop-allowed.drop-in i {
color: #333;
}
.t-slot-item.feedback {
border: 2px dashed black;
border-radius: 3px;
}
.t-slot-item.drag-mode-copy {
color: green;
font-weight: bold;
}
.t-slot-item.drag-mode-cut {
color: red;
font-weight: bold;
}
.t-slot-item.drag-mode-reordering {
color: blueviolet;
font-weight: bold;
}
.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 {
width: 100%;
}
.t-slot-item {
margin-top: 5px;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
}
.t-item-base {
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;
width: 1em;
height: 1em;
padding: 0px;
margin: -0.14em;
text-align: left;
font-size: 2em;
}
.t-toolbox .t-item-filter {
font-size: 1em;
}
.t-item-junction i {
color: #eebb00;
}
.t-item-finish i {
color: #009900;
}
.t-item-start i {
color: #009900;
}
.t-item-badge svg {
color: #ddaa00;
}
.t-slot-droplist.type-allowed {
border-color: green;
border-style: dashed;
border-width: 1px;
}
.t-slot-droplist.type-allowed.drop-forbidden {
border-color: red;
}
.t-slot-droplist.filter .t-item-base {
display: inline-block;
margin-top: 5px;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
line-height: 1px;
}
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%);
}
.t-item-badge svg.t-badge-backdrop {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.l-leaderline-linewrapper {
width: 0;
height: 0;
position: relative; /* Origin of coordinates for lines, and scrolled content (i.e. not `absolute`) */
}
/******************************************************************************/
.r-report-tabs .list-group-item-action {
width: inherit;
}
.r-studyplan-content {
overflow-y: visible;
width: min-content;
}
.r-studyplan-tab,
.t-studyplan-tab {
width: auto;
overflow-x: auto;
}
.r-studyline {
width: min-content;
display: grid;
grid-auto-flow: column;
/*border-bottom-style: solid;*/
border-right-style: solid;
border-color: #cccccc;
border-width: 1px;
}
.t-studyline.even,
.r-studyline.odd {
background-color: #f0f0f0;
}
.t-studyline.first,
.r-studyline.first {
border-top-style: solid;
}
.t-studyline.last,
.r-studyline.last {
border-bottom-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);
}
.r-studyline-title {
padding-top: 5px;
padding-left: 10px;
width: 130px;
flex-shrink: 0;
white-space: nowrap;
border-color: rgba(0, 0, 0, 0.125);
border-width: 1px;
border-left-style: solid;
border-right-style: solid;
display: flex;
flex-direction: column;
justify-content: center;
}
.r-studyline-title abbr {
display: inline-block;
vertical-align: middle;
font-weight: bold;
font-style: italic;
}
.r-studyline-slot {
width: 130px;
min-height: 32px;
min-width: 50px;
display: flex;
flex-shrink: 0;
flex-direction: column;
align-content: center;
justify-content: center;
}
.r-studyline-slot.r-studyline-slot-0 {
width: 75px;
}
.r-studyline-slot.r-studyline-slot-0 .r-item-base {
margin-left: 10px;
}
.r-studyline-slot.competency {
min-width: 100px;
}
.r-studyline-slot.filter {
min-width: 50px;
}
.r-item-base {
margin-top: 5px;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
position: relative;
}
.competency .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;
margin: -0.28em;
text-align: left;
font-size: 2em;
}
.r-item-start i {
color: #009900;
}
.r-item-badge i {
color: #ddaa00;
}
.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-studyplan-line-wrapper {
width: 0;
height: 0;
position: relative; /* Origin of coordinates for lines, and scrolled content (i.e. not `abcomsolute`) */
}
.r-item-module-children {
list-style: none;
}
.r-item-start.completion-incomplete i,
.r-completion-incomplete {
color: #7f7f7f;
}
.r-completion-progress {
color: rgb(139, 107, 0);
}
.r-completion-completed, .r-completion-complete-pass {
color: rgb(0, 126, 0);
}
.r-completion-good {
color: #398;
}
.r-completion-excellent, .r-completion-complete {
color: rgb(0, 103, 255);
}
.r-completion-pending {
color: #7f7f7f;
}
.r-completion-failed, .r-completion-complete-fail {
color: #933;
}
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-completion-detail-header {
font-size: 20pt;
}
.r-item-finish.completion-incomplete,
.r-item-junction.completion-incomplete {
color: rgb(127, 127, 127);
}
.r-item-finish.completion-progress,
.r-item-junction.completion-progress {
color: rgb(139, 107, 0);
}
.r-item-finish.completion-completed,
.r-item-junction.completion-completed {
color: rgb(0, 126, 0);
}
.r-item-finish.completion-good,
.r-item-junction.completion-good {
color: #398;
}
.r-item-finish.completion-excellent,
.r-item-junction.completion-excellent {
color: rgb(0, 103, 255);
}
.r-item-finish.completion-failed,
.r-item-junction.completion-failed {
color: #933;
}
.r-activity-icon {
position: relative;
top: -2px;
}
table.r-item-course-grade-details td {
padding-right: 10px;
}
.r-course-detail-header-right {
text-align: end;
}
.r-timing-invalid,
.t-timing-invalid {
color: darkred;
}
.t-timing-past,
.r-timing-past {
color: var(--purple);
}
.t-timing-present,
.r-timing-present {
color: darkblue;
}
.t-timing-future,
.r-timing-future {
color: grey;
}
.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: #a33;
}
.t-timing-indicator.timing-past,
.r-timing-indicator.timing-past {
background-color: var(--purple);
}
.t-timing-indicator.timing-present,
.r-timing-indicator.timing-present {
background-color: #33f;
}
.t-timing-indicator.timing-future,
.r-timing-indicator.timing-future {
background-color: #777;
}
.r-course-am-teacher {
box-shadow: 0 0 3px 3px rgba(255, 224, 0, 0.5);
}
.r-graded-unknown {
color: rgb(139, 107, 0);
}
.r-graded-unsubmitted {
color: #777;
}
.r-graded-ungraded {
color: #a33;
}
.r-graded-allgraded {
color: #35f;
}
.r-graded-graded {
color: #3a3;
}
.r-graded-nogrades {
color: #ddd;
}
.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;
}
.r-grading-bar-segment:first-child {
border-bottom-left-radius: 3px;
border-top-left-radius: 3px;
border-left-style: solid;
}
.r-grading-bar-segment:last-child {
border-bottom-right-radius: 3px;
border-top-right-radius: 3px;
border-right-style: solid;
}
.r-grading-bar-unsubmitted {
background-color: #ddd;
}
.r-grading-bar-graded {
background-color: #3a3;
}
.r-grading-bar-ungraded {
background-color: #a33;
}
.card.s-studyplan-card {
min-width: 300px;
max-width: 500px;
margin-bottom: 1em;
}
.card.s-studyplan-card.timing-past .card-header {
background-color: #3a3;
}
.card.s-studyplan-card.timing-present .card-header {
background-color: #33f;
}
.card.s-studyplan-card.timing-future .card-header {
background-color: #777;
}
.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: #a33;
}
.s-required.completed,
.s-required.good,
.s-required.excellent,
.s-required.allgraded {
color: rgb(0, 126, 0);
}
.s-required.neutral {
color: #aaa;
}
.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;
}