@import 'assets/material-theme.scss'; @import './print.scss'; body { background-color: #fafafa; margin: 0px; } main { overflow: visible !important; } // Disables the input zoom on iOS @media screen and (-webkit-min-device-pixel-ratio: 0) { select, textarea, input { font-size: 16px !important; } } .text-right { text-align: right; } .text-left { text-align: left; } .text-center { text-align: center; } .semi-bold { font-weight: 700; } .btn-primary[disabled] { color: rgba(0, 0, 0, 0.26) !important; background-color: rgba(0, 0, 0, 0.12) !important; } .btn-primary, .btn-secondary, .btn-delete { min-width: 100px !important; font-weight: 400 !important; letter-spacing: 1px; font-size: 14px; &:focus { outline: 2px solid #5e9ed6; outline: -webkit-focus-ring-color auto 5px; } } .btn-primary { background-color: #0479a8 !important; color: white !important; } .btn-secondary { color: map-get($uw-primary, 500) !important; border: 1px solid #b7b7b7 !important; border-radius: 4px !important; &:focus { outline: 2px solid #5e9ed6; outline: -webkit-focus-ring-color auto 5px; } } .btn-link { color: map-get($uw-primary, 500) !important; &:focus { outline: 2px solid #5e9ed6; outline: -webkit-focus-ring-color auto 5px; } } .btn-delete { background-color: #b5261e; color: white; } .in-progress-icon { color: #457a3b; } .problem-icon { color: #ef6c00; } .not-offered-icon { color: #6e655f; } .error-icon { color: map-get($uw-accent, 600); } .help-icon { color: map-get($uw-primary, 500); } .in-progress-icon, .problem-icon, .error-icon, .help-icon, .not-offered-icon { font-size: 18px !important; margin-left: 5px; &:hover { cursor: default; opacity: 0.9; } &:focus { outline: -webkit-focus-ring-color auto 5px; } } .mat-expansion-panel-header.mat-expanded { margin: 4px; } .mat-select-panel .mat-option:focus, .mat-option.mat-active { outline: 2px solid #5e9ed6; outline: -webkit-focus-ring-color auto 5px; } .mat-hint { font-size: 14px; } .add-course-form { .mat-form-field.mat-form-field-invalid .mat-form-field-label, .invalid-subject-hint { color: rgb(255, 78, 78); } } .mat-form-field.mat-form-field-invalid { .mat-form-field-ripple { background-color: #0479a8 !important; } .mat-form-field-label { color: #0479a8; } } .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label { font-size: 16px; } .mat-warn .mat-input-element, .mat-form-field-invalid .mat-input-element { caret-color: #0479a8; } .mat-icon, .mat-icon-button, .material-icons, .add-course-button, .mat-button, .mat-menu-item, .mat-primary, .mat-form-field, #menu-toggle-btn { &:hover { // Hinders the readability of tabs while hovering // opacity: 0.8; } &:focus { outline: 2px solid #5e9ed6; outline: -webkit-focus-ring-color auto 5px; } } .cdk-drop-list-dragging { position: relative; .cdk-drag-placeholder { opacity: 0.4; min-height: 100% !important; height: 100% !important; transition: transform 200ms cubic-bezier(0, 0, 0.2, 1); border-radius: 5px; } } .cdk-drag-animating { transition: transform 200ms cubic-bezier(0, 0, 0.2, 1); } .course-list.cdk-drop-list-dragging .course-wrapper:not(.cdk-drag-placeholder) { transition: transform 250ms cubic-bezier(0, 0, 0.2, 1) !important; } .no-courses { padding: 20px 10px; } .list-comma::before { content: ', '; } .list-comma:first-child::before { content: ''; } .mat-expansion-panel-header { &:focus { outline: 2px solid #5e9ed6 !important; outline: -webkit-focus-ring-color auto 5px !important; } h2 { font-size: 18px; font-weight: 400; margin: 0px; } } // Menus styles .course-item-menu, .mat-menu-content { min-width: 200px !important; } .mat-menu-panel { overflow-x: hidden !important; } .mat-menu-content { margin: 0px 3px; } .saved-for-later-list { border-bottom: 1px solid #f1f1f1 !important; } // Dialogs styles .mat-dialog-container { min-width: 400px; padding: 0px !important; .dialog-with-toolbar { padding: 0 45px 25px 45px; margin: 0px; } } .dialog-toolbar { height: 54px !important; padding-right: 0px !important; .dialog-toolbar-title { flex: 1 1 auto; font-weight: 400; } .close-btn { min-height: 55px; &:focus { outline: 2px solid #5e9ed6; outline: -webkit-focus-ring-color auto 5px !important; } } } // Screen readers helpers .assistive-text { position: absolute; padding: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .show-for-sr, .show-on-focus { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } .show-on-focus:active, .show-on-focus:focus { position: absolute !important; width: auto; height: auto; overflow: visible; clip: auto; z-index: 999; color: #0479a8; padding: 0.7rem 2.2rem; background-color: #fff; font-family: sans-serif; font-size: 16px; border: 1px solid #0479a8; } .sr-only { position: absolute; left: -10000rem; top: auto; width: 1px; height: 1px; overflow: hidden; } // Form fields styles .mat-card-mobile { .mat-tab-label-active, .mat-tab-link { color: mat-color($my-app-primary) !important; opacity: 1; } } .audit-radio-button { .mat-radio-label { white-space: normal !important; } } #new-audit-options-stepper { max-width: 400px !important; } #audit-credits-selector { .mat-form-field-infix { width: 3em; text-align: center; } } .audit-settings-option, .audit-program { .mat-form-field-wrapper { width: 100% !important; } } .mat-option-long { overflow-x: scroll !important; .mat-option-text { overflow: visible; padding-right: 18px; } } .mat-option-center { .mat-option-text { text-align: center; } } .mat-radio-outer-circle { border-color: #0479a8 !important; } .mat-header-cell { font-size: 14px !important; } .mat-radio-button.mat-accent .mat-radio-inner-circle, .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple { background-color: mat-color($my-app-primary) !important; } .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element { background-color: mat-color($my-app-primary) !important; } .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow, .mat-form-field.mat-form-field-invalid .mat-form-field-label { color: mat-color($my-app-primary) !important; } .dars-table-wrapper caption, .mat-tagline { font-size: 16px; } // Media queries // To be removed after DARS banner goes away @media screen and (max-width: 1245px) and (min-width: 960px) { .mat-drawer-content { margin-top: 1.5em; .mat-drawer.mat-drawer-end { margin-top: 1.6em; } } } @media screen and (max-width: 500px) { .mat-dialog-container { min-width: 100%; } } @media screen and (max-width: 957px) { .mat-dialog-container { .dialog-with-toolbar { padding: 20px !important; } } } @media screen and (min-width: 320px) and (max-width: 480px) { .version-number { padding-bottom: 3rem; } }