.modal .modal-header { background-color: $brand-primary !important; color: white; } .modal .modal-header .close { color: white; } .modal-dialog .modal-content { border-left: $border-thin-default; } // 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 { background: $white; @include box-shadow($bmd-shadow-2dp); .card-header:not(.card-avatar) { margin-top: 0px; padding: .4rem 10px; } } .card-transparent { background: transparent; } .card-no-border { box-shadow: none; margin-top: 15px; margin-bottom: 15px; } .card.card-no-border .card-body { padding: 0; } // Collapsable cards/accordians - margins made bigger to support the large header. // Show a bit of the card when collapsed or it looks out of proportion with the header. // Icons to show panel is collapsed .card.card-accordian, .card.card-statistics { padding-bottom: 15px; .collapse { margin-top: 15px; } } div.accordian .card { margin-top: 45px; } .collapsable-icon-right a:after { font-family: FontAwesome; content:"\f078"; float: right; color: $gray-light; margin-right: 5px; } .collapsable-icon-right a.collapsed:after { content:"\f054"; } .collapsable-icon-left a:after { font-family: FontAwesome; content:"\f078"; float: left; color: $gray-light; margin-right: 5px; } .collapsable-icon-left a.collapsed:after { content:"\f054"; } // 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-body.card-body-monitor { padding: 0; } // Alert Boxes .alert.alert-box { margin-bottom: 10px; padding: 8px; border-radius: $border-radius-large; .media-left { padding-right: 0.5rem; // Space between the icon and the text } &.alert-info .media-body { color: $mdb-text-color-primary; // Material Kit defaults to white on a light blue which is too hard to read. } } /* 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; } } // Material Kit does not support the combination of nav-tabs on a dark background and a collapsable menu // so tweak the nav-tab settings when the collapsable is shown and then we can see the buttons! Code // is based on _responsive.scss. Also nav tabs sets the to active, whereas the non nav // tabs sets the