/* --------------------------------------------------------------- Microquiz & formfillin */ ffi-numeric { display: inline-block; } ffi-checkbox { display: inline-block; } ffi-select { display: inline-block; } .microquiz { border-bottom: 1px solid #ddd; margin-bottom: 15px; &.feedback-recap { .microquiz-steps { display: none; } .microquiz-workarea { border-left: 0; padding-left: 0; width: 100%; .dijitStackContainerChildWrapper, .ne-feedback-learner, .question-feedback.well { /* force instant display of all children */ display: block !important; height: auto !important; opacity: 1 !important; visibility: visible !important; } .dijitStackContainerChildWrapper { padding-left: 25%; * { opacity: 1 !important; visibility: visible !important; } } } .microquiz-subquestions { .label-summary { display: block; left: 0; position: absolute; top: 20px; width: 20%; } .question-block { display: none; } .mc-feedback-learner { .question-block { display: block; } } } .question-feedback { height: auto !important; } } &.row { margin-right: 0 !important; } &>.question-block { border-bottom: 1px solid #ddd; margin-bottom: 15px; } .well { h2:first-child { font-weight: 300; margin-top: 0; } } .dijitTitlePane { border: 0; margin-bottom: 0 !important; .dijitTitlePaneTitleFocus { outline: 0; } .dijitTitlePaneTitle, .dijitTitlePaneContentInner { padding-left: 0 } .dijitTitlePaneContentOuter { border-top: none; } .dijitTitlePaneContentInner { padding-bottom: 0; } } .question-block { .question { font-size: 14px; padding-bottom: 10px; width: 100%; } } .microquiz-prompt, .microquiz-feedback { font-size: 16px; } .microquiz-feedback { .hintback, .feedback { h2 { color: #888; font-size: 13px; font-weight: bold; margin-top: 0; text-transform: uppercase; } } } .microquiz-prompt { width: 100%; } .microquiz-actions { left: -8px; margin-bottom: 15px; margin-top: -15px; position: relative; button { margin-bottom: 0; margin-top: 15px; } #form-buttons-check_step { /*float: right;*/ } } .microquiz-steps { font-size: 12px; height: auto; margin-bottom: 0; margin-left: -8px; .microquiz-steps-grid { border: 0; border-radius: 0; height: auto; margin-left: -10px; .dgrid-row { background: transparent; border: 0 !important; padding: 3px 5px; &:hover, &:focus { color: inherit !important; cursor: default; text-shadow: none !important; } &.step-active { font-weight: bold; } } } .dgrid-scroller { max-height: 600px; overflow-x: hidden; overflow-y: auto; position: relative; } } .microquiz-workarea { border-left: 1px solid #ddd; /*margin: 0 0 0 15px;*/ position: relative; & + .microquiz-actions { border-left: 1px solid #ddd; } .microquiz-background { position: relative; } } &.formfillin { min-width: 810px; .microquiz-actions { float: none; width: auto; } .microquiz-steps { padding-right: 0; width: 120px; } .microquiz-workarea { min-height: 400px; min-width: 680px; padding: 0; .microquiz-subquestions { bottom: 0; left: 0; position: absolute; right: 0; top: 0; z-index: 2; .formfillin { height: 21.5px; } .dijitTextBox, .dijitSelect { outline: 2px solid #333; } .dijitTextBox { -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; font-size: 12px; } .dijitSelect { .dijitButtonContents, .dijitArrowButton { -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; } .dijitButtonContents { border: 0; border-right: 1px solid #ccc; } .dijitSelectLabel { line-height: 1; } .dijitArrowButton { display: table-cell; font-size: 8px; opacity: 1 !important; padding: 0; vertical-align: middle; width: 20px; } } .dijitTextBox, .dijitSelect { &.dijitTextBoxFocused:not(.dijitDisabled), &.dijitSelectFocused:not(.dijitDisabled), &:not(.dijitDisabled) { border: 1px solid #F0AD4E; margin-top: -1px; outline: 3px solid #F0AD4E; } } .dijitInputContainer { padding: 0; } .dijitDisabled { color: #000; input { -webkit-text-fill-color: #000000; } } } } } } .progression-feedback { .microquiz { .microquiz-workarea { .dijitTextBox, .dijitSelect { background: #eee !important; outline: 3px solid #666 !important; } } } } .quiz-single-question { &[data-path*="task"] { .formFields.in-quiz { pointer-events: none; opacity: 0 !important; display: none; /*-webkit-transition: opacity 1s; -moz-transition: opacity 1s; transition: opacity 1s;*/ &[data-enable-actions="enabled"] { display: block; pointer-events: auto; opacity: 1 !important; } } } &[data-path*="casestudy"] { .formFields.in-quiz { pointer-events: none; opacity: 0 !important; display: none; /*-webkit-transition: opacity 1s; -moz-transition: opacity 1s; transition: opacity 1s;*/ &[data-enable-actions="enabled"] { display: block; pointer-events: auto; opacity: 1 !important; } } } #hc-title-container h1.quiz-head { .questiontitle { .details { display: block; margin: 5px 0; text-align: right; } .questionnum { display: none; } } } #qf-question-progress { display: none; } .progression-begin { .formFields.in-quiz { pointer-events: auto; opacity: 1 !important; } } } .formFields.in-quiz { &[data-enable-actions="disabled"] { display: none; pointer-events: none; opacity: 0 !important; } &[data-enable-actions="enabled"] { display: block; pointer-events: auto; opacity: 1 !important; } } #ss-progression h2, .microquiz .dijitTitlePaneTitle { font-weight: 200; text-transform: uppercase; } #ss-progression, .microquiz { h2 { margin-bottom: 15px; } h2, h3, h4 { clear: both; } } #ss-progression { font-size: 14px; .well { h2:first-child { margin-top: 0; } } .dijitTextBox { width: 100%; } .dijitEditor { border: 1px solid #ccc; } .dijitEditorIFrameContainer { padding: 7px; } .assignment-question-learner { .btn-success { float: right; } } .assignment-feedback-learner { #quiz-actions-region { display: none !important; } .question-block.row { margin-left: 0; } } .question-block { &.row { margin-left: -25px; margin-right: 0 !important } .question { /*font-size: inherit !important;*/ } } .response { #quiz-actions-region { margin: 0; padding: 15px 0; width: 100%; } } } .memo-assignment-feedback.gradedessay .well>*:first-child:before, .email-assignment-feedback.gradedessay .well h2:before { content: 'Thank you'; display: block; font-size: 21px; font-weight: 200; margin-bottom: 15px; text-transform: uppercase; } .email-assignment-feedback.gradedessay .well h2 { font-size: 0; height: 21px; } .lang-fr { .memo-assignment-feedback.gradedessay .well>*:first-child:before, .email-assignment-feedback.gradedessay .well h2:before { content: 'Merci'; } } /* --------------------------------------------------------------- Responsive adjustments */ @media screen and (max-width: $screen-xs-max) { .microquiz-steps-grid { border-right: 0 !important; } .microquiz-actions>div { padding-left: 0; } .microquiz { &.feedback-recap { .microquiz-subquestions { .dijitStackContainerChildWrapper { margin-bottom: 60px; margin-top: 40px; padding-left: 0; } .label-summary { display: block; font-size: 14px; left: 0; position: absolute; top: -30px; width: auto; } } } } }