.modal .modal-header { background-color: $gray-color; } .modal .modal-header .close { color: white; } // The content defaultHTML_learner.scss and all the equivalent skin files. Change this an then all the skin files change. $login_logo: "/lams/images/svg/lams_logo_black.svg"; $login_logo_size: auto 20px; $login-logo_div_width: 100px; $text-color: $gray-dark; // bootstrap 4 removed btn-xs $btn-padding-x-xs: .20rem !default; $btn-padding-y-xs: .12rem !default; $btn-border-radius-xs: .1875rem !default; .btn-xs { @include button-size($btn-padding-y-xs, $btn-padding-x-xs, $bmd-btn-font-size-sm, $input-btn-line-height-sm, $btn-border-radius-xs); } .btn-group-xs > .btn { @extend .btn-xs; } // --- Split screens to width <= 500, >= 501 @media (max-width: 500px) { .rating-criteria-tag { width: 100%; } .rating-criteria-tag input[type="text"] { width: 100%; } .rating-criteria-tag .ui-widget input{ font-family: $font-family-base; font-size:11px; } #criterias-table { margin-left: 0px; border-bottom: inherit; } #criterias-table td { vertical-align:middle; } .navbar .navbar-brand-login { font-size: large; } } @media (min-width: 501px) { // .navbar-login { // margin-bottom: 10px; // } .navbar .navbar-brand-login { font-size: x-large; } } .navbar-brand { margin-left: 1rem; } /* Spacer classes */ .offset2 { margin: 2px; } .offset3 { margin: 3px; } .offset5 { margin: 5px; } .offset10 { margin: 10px; } .offset15 { margin: 15px; } .offset20 { margin: 20px; } .voffset2 { margin-top: 2px; } .voffset5 { margin-top: 5px; } .voffset10 { margin-top: 10px; } .voffset20 { margin-top: 20px; } .voffset40 { margin-top: 40px; } .roffset2 { margin-right: 2px; } .roffset5 { margin-right: 5px; } .roffset10 { margin-right: 10px; } .loffset2 { margin-left: 2px; } .loffset5 { margin-left: 5px; } .loffset10 { margin-left: 10px; } .loffset20 { margin-left: 20px; } .clear-both { clear: both; } /* Eliminate the scrollbar on learner popup windows, monitoring windows */ .no-margin{ margin-left: 0px; margin-right: 0px; } /* Tweak the class names to add .card-warning, etc for the card level etc to make * conversion of code from the panel classes. * Override the card definition for material to give a plain panel like card - if there * is no header then do not have an outline but if there is a header then outline it. */ .card-warning .card-header { background: linear-gradient(60deg, $orange-400, $orange-700); } .card-success .card-header { background: linear-gradient(60deg, $green-400, $green-700); } .card-plain { box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); .card-header:not(.card-avatar) { margin-top: 0px; padding: .4rem 10px; } } .card-no-border { box-shadow: none; } // Reduce the gap between the nav bar and the content for authoring and monitoring. // The gap is designed for a large panel header but we are not using that on the popup // dialogs. .card-monitor-page .navbar { margin-bottom: 10px; } .card-monitor-body { margin-top: 0px; } /* Comments/Forum classes */ .msg .panel-heading { padding: 3px 5px 3px 5px; } .msg .subject { font-weight: 500; } .msg { margin-bottom: 5px; } .msg .panel-title { font-weight: normal; font-size: $font-size-base; } .msg-footer { display: block; font-size: $font-size-small; float: right; } .msg-hr { margin-top: 5px; margin-bottom: 3px; } .msg .panel-footer { font-size: $font-size-small; } .msg .checkbox { margin-top: 0px; margin-bottom: 0px; } .comment-entry .checkbox { margin-top: 5px; margin-bottom: 0px; } .user { display: inline-block; } .user:before { content: "\f007"; font-family: FontAwesome; font-style: normal; font-weight: normal; text-decoration: inherit; margin-right: 3px; color: inherit; float: left; } .help-tabs{ display: inline-block; margin-right: 10px; } .help-no-tabs{ display: inline-block; margin-right: 10px; } .help { display: inline-block; } .help:before { content: "\f059"; font-family: FontAwesome; font-style: normal; font-weight: normal; text-decoration: inherit; margin-right: 2px; color: inherit; float: right; } .na { display: inline-block; } .na:after { content: "\f0a9"; font-family: FontAwesome; font-style: normal; font-weight: normal; text-decoration: inherit; margin-left: 5px; color: inherit; /*float: right;*/ } /* Restrict the width of the up and down arrows so they do not grow wider when the screen is enlarged. td needs to be 5px wider than div. */ div.arrows{ display:inline-block; width:30px; text-align: center; } td.arrows{ width:35px; text-align: center; } @media (max-width: 500px) { .file-input-name { height: 22px; /* match height of btn */ padding:4px 9px; font-size:90%; line-height: 1.2; } } @media (min-width: 501px ) and (max-width: 992px) { .file-input-name { height: 25px; /* match height of btn */ padding:4px 9px; font-size:90%; line-height: 1.2; } } /** Authoring */ /*layout of adding a topic button */ a.button-add-item:before { content: "\f067"; font-family: FontAwesome; font-style: normal; font-weight: normal; text-decoration: inherit; margin-left: 5px; color: inherit; } .rating-criteria-tag { width: 100%; } .rating-criteria-tag input[type="text"] { width: 100%; } .rating-criteria-tag .ui-widget input{ font-family: $font-family-base; font-size: $font-size-small; line-height:1.42857143; padding: 2px; } .rating-criteria-tag .ui-button-icon-only .ui-icon { margin-left: 0px; } #criterias-table { margin-left: 0px; border-bottom: inherit; } #criterias-table td { vertical-align:middle; } /* .....NavBar: Icon only with coloring/layout.....*/ /*small/medium side display*/ @media (min-width: 768px) { /*Allow content to be next to Nav*/ .navcontent{ position: absolute; width: calc(100% - 40px); /*keeps 100% minus nav size*/ margin-left: 20px; float: right; min-height:100%; } /* darker outline than usual */ /*Center Brand*/ nav.sidebar.navbar.sidebar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand { margin-left: 0px; } /*Center Brand*/ nav.sidebar .navbar-brand, nav.sidebar .navbar-header{ text-align: center; width: 100%; margin-left: 0px; } /*Format Icons*/ nav.sidebar a{ padding:10px 10px 10px 12px; } nav.sidebar.slidesidemenu{ padding:10px 10px 10px 12px; } /* colour in top box to match panel heading */ nav.sidebar .navbar-nav > li:first-child{ background-color: $gray-lightest !important; } /*adds border to bottom nav boxes except for the last box */ nav.sidebar .navbar-nav > li{ border-bottom: $border-thin-default-light; background-color: $body-bg; } nav.sidebar .navbar-nav > li:last-child{ border-bottom: 0px; } /*allows nav box to use 100% width, style to be like panel */ nav.sidebar .navbar-collapse, nav.sidebar .container-fluid{ padding: 0 0px 0 0px; border:2px solid transparent; } /*gives sidebar width/height*/ nav.sidebar{ width: 155px; height: 100%; margin-left: -135px; float: left; z-index: 1000; margin-top: 0px; margin-bottom: 0px; } /*give sidebar 100% width;*/ nav.sidebar li { width: 100%; margin-top: 3px; margin-bottom: 3px; } /* Move nav to full on mouse over*/ nav.sidebar.expandmenu { margin-left: 0; } /* nav.sidebar:hover{ margin-left: 0px; } */ /*for hiden things when navbar hidden*/ .forAnimate{ opacity: 0; } nav.sidebar .fa{ font-size: 18px; } } /*alter portrait for displaying it in collapsed pregress bar*/ @media (min-width: 768px) and (max-width: 1329px) { nav.sidebar:not(.expandmenu) #navbar-portrait { float: right; padding: 5px 0 0; } nav.sidebar:not(.expandmenu) #navbar-portrait img{ border: 4px solid whitesmoke; } nav.sidebar:not(.expandmenu) .portrait-generic-sm::before{ font-size: 30px; margin-right: 3px; } nav.sidebar:not(.expandmenu) p{ padding-right: 35px; } } /*in case when portrait is not shown in a progress bar - give extra space to hamburger button*/ nav.sidebar p.no-portrait{ padding-right: 35px; } /* .....NavBar: Fully showing nav bar..... */ @media (min-width: 1330px) { /*Allow content to be next to Nav*/ .navcontent{ position: absolute; width: calc(100% - 155px); /*keeps 100% minus nav size*/ margin-left: 150px; float: right; } /*Show all nav*/ nav.sidebar{ margin-left: 0px; float: left; } /*Show hidden items on nav*/ nav.sidebar .forAnimate{ opacity: 1; } } /* center portrait */ nav.sidebar .navbar-nav > li:first-child{ text-align: center; } nav.sidebar .navbar-nav .open .dropdown-menu>li>a:hover, nav.sidebar .navbar-nav .open .dropdown-menu>li>a:focus { background-color: transparent; } nav:hover .forAnimate{ opacity: 1; } section{ padding-left: 15px; } .card-learner-page>.card-header { background: $brand-primary; color: white; } /* fontawesome icon x-small */ .fa-xs { font-size: smaller; } /* Growl functionality, jquery.blockUI (version: 2.38) */ .growlUI { width: auto; padding: 0px; } div.growlUI h1,div.growlUI h2 { color: white; padding: 0px; margin: 5px; text-align: center; font-size: medium; } // offset 30px margin on top of card header div.accordian .card { margin-top: 45px; } // Tooltips used for learner progress and gradebook (large version) // .tooltip { // position: absolute; // border: $border-thin-default; // background-color: $gray-light-mid; // padding: 3px; // z-index: 5; // width: 150px; // font-size: 0.9em; // word-wrap: break-word; // border-radius: $border-radius-large; // @include box-shadow(0 5px 10px rgba(0,0,0,.2)); // } // // .tooltip-lg{ // display: none; // position:absolute; // border: $border-thin-default; // background-color:$gray-light-mid; // padding:5px; // width:250px; // font-size: 1.1em; // font-weight: bold; // word-wrap: break-word; // border-radius: $border-radius-large; // @include box-shadow(0 5px 10px rgba(0,0,0,.2)); // } // clickable panel created in CKEditor .lams-bootpanel .clickable { cursor: pointer; } .lams-bootpanel .clickable .fa { background: rgba(0, 0, 0, 0.15); display: inline-block; padding: 5px 7px; border-radius: 4px; margin-right: -7px; } .lams-bootpanel .panel-heading span { margin-top: -20px; } // Image Gallery .caption-heading { color: $brand-primary; font-style: italic; font-size: $font-size-base; } .caption-description { color: $text-color; font-style: italic; font-size: $font-size-small; } // Ratings .rating-comment{ background-image: none; background-color: $gray-lighter; border: $border-thin-default-light; } .rating-comment-posted-by{ color: $brand-primary; text-align: left; font-size: x-small; } // Drag and Drop .droppableHighlight { padding : 1px !important; border: 5px solid $brand-primary-mid !important; } .draggableSelected { background-color: $brand-primary-mid !important; color: white !important; } .draggableItem { padding: 3px 0px 3px 0px; cursor: default; } .draggableOdd { background-color: $brand-primary-light; } .draggableEven { background-color: inherit; } .errorMessage { font-weight: bold; color: $brand-danger; } .errorBorder { border: $border-medium-danger; } // Assessment and Scratchie Countdown - growl settings need to be moved too #timelimit-start-dialog { display:none; cursor: default; padding: 10px; } #timelimit-start-dialog h1{ padding-bottom: 10px; } #countdown { width: 150px; position: absolute; font-size: 110%; font-style: italic; color: $brand-success; } #countdown-label { font-size: 170%; padding-top:5px; padding-bottom:5px; font-style: italic; color: $brand-success; } #timelimit-expired { font-size: 145%; padding: 15px; } // nprogress bar used in learning for the Load Tool Activity page // Make clicks pass-through/ #nprogress { pointer-events: none; } #nprogress .bar { background: $brand-primary; position: fixed; z-index: 1031; top: 0; left: 0; width: 100%; height: 2px; } // Fancy blur effect #nprogress .peg { display: block; position: absolute; right: 0px; width: 100px; height: 100%; box-shadow: 0 0 10px $brand-primary, 0 0 5px $brand-primary; opacity: 1.0; -webkit-transform: rotate(3deg) translate(0px, -4px); -ms-transform: rotate(3deg) translate(0px, -4px); transform: rotate(3deg) translate(0px, -4px); } .nprogress-custom-parent { overflow: hidden; position: relative; } // .nprogress-custom-parent #nprogress .spinner, .nprogress-custom-parent #nprogress .bar { position: absolute; } // fotorama used for image gallery .fotorama__thumb { background-color: $black; } .fotorama__wrap { margin: auto; } .fotorama__caption { text-align: left; } .fotorama__thumb-border { border-color: $a-link-default !important; } .fotorama-container { text-align: center; padding-top: 10px; } // end fotorama // User Photo / Avatar $portrait-size-image-sm: 35px; $portrait-size-image-md: 80px; $portrait-size-image-lg: 200px; $portrait-size-image-xl: 400px; .portrait-round { border-radius:50%; } .portrait-sm { @include portrait($portrait-size-image-sm); } .portrait-md { @include portrait($portrait-size-image-md); } .portrait-lg { @include portrait($portrait-size-image-lg); } .portrait-xl { @include portrait($portrait-size-image-xl); } .portrait-container-sm { height: $portrait-size-image-sm + 3; margin-top: $border-radius-small; } // Used in PortraitTag.java when user does not have a portrait .portrait-color-0 { color:$portrait-color-0; } .portrait-color-1 { color:$portrait-color-1; } .portrait-color-2 { color:$portrait-color-2; } .portrait-color-3 { color:$portrait-color-3; } .portrait-color-4 { color:$portrait-color-4; } .portrait-color-5 { color:$portrait-color-5; } .portrait-color-6 { color:$portrait-color-6; } // lineheight setting to use on the name if it is next to portrait, as generated by the Portrait tag. e.g. in Peer Review .portrait-sm-lineheight { line-height: 32px; vertical-align: top; } .portrait-generic-sm { @include portrait-generic($portrait-size-image-sm, 35px); } .portrait-generic-md { @include portrait-generic($portrait-size-image-md, 65px); } .portrait-generic-lg { @include portrait-generic($portrait-size-image-lg, 200px); } .portrait-generic-xl { @include portrait-generic($portrait-size-image-xl, 400px); } .leader-display { margin: 0px; h4 { margin-bottom: 0px; } } // Popovers used in Gradebook to display portraits // popover links forced to be the usual link color or jqgrid can interfere .popover-link { color: $a-link-default !important; } .popover-link:hover { color: $a-link-default-hover !important; } .popover-link:focus { color: $a-link-default-focus !important; } .popover-header, .popover-title { background-color: $gray-light-mid; } .popover-content-with-portrait { min-height: $portrait-size-image-lg + 20; min-width: $portrait-size-image-lg + 20; } // Use the same offset as the radio buttons in Bootstrap so that ticks line up with radio buttons on pages like Optional Activities .radio-button-offset { margin-left: -20px; } // Reformat the spinner used by Mottie tablesorter to use fa-refresh. The spinner appears on every column and if you only want one column // make the other columns