/*!*********************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/sass/header.scss ***!
\*********************************************************************************************************************************************************/
:root {
/**
* How to use spacers:
*
* The intent of spacers is to ensure we have proper spacing between elements
* that adjusts as the user changes their font size. For legibility,
* we want the HORIZONTAL spacing to scale with font size but the VERTICAL
* spacing to be static. This allows for readability as one reads down the page
* while preventing the content area from being restricted by vertical spacing
* becoming larger.
*
* Example 1: Padding on an element
* --------------------------------
* In this example, we ensure that the element is padded horizontally
* (top and bottom) using rems and vertically using pixels.
*
* padding: var(--ld-spacer-3) var(--ld-spacer-fixed-3);
*
* Example 2: Margins
* ------------------
* Similar to padding, margins should scale at the top/bottom while remaining
* static on the right/left.
*
* margin: var(--ld-spacer-3) var(--ld-spacer-fixed-3);
*/
/* -------------------------------------------------------------------------
* Spacers
* ------------------------------------------------------------------------- */
--ld-spacer-0: 0.25rem;
--ld-spacer-1: 0.5rem;
--ld-spacer-2: 0.75rem;
--ld-spacer-3: 1rem;
--ld-spacer-4: 1.25rem;
--ld-spacer-5: 1.5rem;
--ld-spacer-6: 2rem;
--ld-spacer-7: 2.25rem;
--ld-spacer-8: 2.5rem;
--ld-spacer-9: 3rem;
--ld-spacer-10: 3.5rem;
--ld-spacer-11: 4rem;
--ld-spacer-12: 5rem;
--ld-spacer-13: 6rem;
--ld-spacer-14: 8rem;
/* -------------------------------------------------------------------------
* Pixel Spacers
* ------------------------------------------------------------------------- */
--ld-spacer-fixed-0: 4px;
--ld-spacer-fixed-1: 8px;
--ld-spacer-fixed-2: 12px;
--ld-spacer-fixed-3: 16px;
--ld-spacer-fixed-4: 20px;
--ld-spacer-fixed-5: 24px;
--ld-spacer-fixed-6: 32px;
--ld-spacer-fixed-7: 36px;
--ld-spacer-fixed-8: 40px;
--ld-spacer-fixed-9: 48px;
--ld-spacer-fixed-10: 56px;
--ld-spacer-fixed-11: 64px;
--ld-spacer-fixed-12: 80px;
--ld-spacer-fixed-13: 96px;
--ld-spacer-fixed-14: 128px;
}
:root {
--ld-radius: 4px;
}
:root {
/** Colors **/
--ld-color-brand-primary: #3259eb;
--ld-color-brand-secondary: #f3b33e;
--ld-color-brand-tertiary: #479bf8;
--ld-color-semantic-success: #3eab6a;
--ld-color-semantic-error: #e65255;
--ld-color-system-dark: #0e0e2c;
--ld-color-system-body-text: #4a4a68;
--ld-color-system-subtle: #8c8ca2;
--ld-color-system-subtle-text: var(--ld-color-system-subtle);
--ld-color-system-border: #dce1e8;
--ld-color-system-light-1: #f3f8ff;
--ld-color-system-light-2: #f7f9fc;
--ld-color-system-white: #fff;
/** Alerts **/
--ld-color-alert-bg: #7a7a7a;
--ld-color-alert-text: var(--ld-color-system-white);
/** Site body **/
--ld-color-body-bg: var(--ld-color-system-white);
/** TODO: Where should it go? **/
--ld-color-border: #ddd;
/** Buttons **/
--ld-color-button: var(--ld-color-system-white);
--ld-color-button-bg: var(--ld-color-brand-primary);
--ld-color-button-bg-hover: #2c4fd1;
/** Progress bar **/
--ld-color-progress-bar-bg: #f5f5f5;
--ld-color-progress-bar-fg: #000;
/** Forms **/
--ld-color-field-bg: var(--ld-color-system-light-1);
--ld-color-field-bg-hover: var(--ld-color-system-white);
--ld-color-field-bg-active: var(--ld-color-system-white);
--ld-color-field-bg-valid: var(--ld-color-system-white);
--ld-color-field-bg-error: var(--ld-color-system-white);
--ld-color-field-bg-disabled: var(--ld-color-system-light-2);
--ld-color-field-border: var(--ld-color-system-subtle);
--ld-color-field-border-active: var(--ld-color-brand-primary);
--ld-color-field-border-active-shadow: 0 0 0 4px rgba(50, 89, 235, 0.2);
--ld-color-field-border-error: var(--ld-color-semantic-error);
--ld-color-field-border-error-shadow: 0 0 0 4px rgba(230, 82, 85, 0.2);
--ld-color-field-border-valid: var(--ld-color-semantic-success);
--ld-color-field-border-valid-shadow: 0 0 0 4px rgba(62, 171, 106, 0.2);
--ld-color-field-border-disabled: var(--ld-color-system-light-3);
--ld-color-field-text: var(--ld-color-system-subtle-text);
--ld-color-field-text-active: var(--ld-color-system-dark);
--ld-color-field-text-valid: var(--ld-color-system-dark);
--ld-color-field-text-error: var(--ld-color-system-dark);
--ld-color-field-text-disabled: var(--ld-color-system-subtle-text);
--ld-color-field-description: var(--ld-color-system-subtle-text);
--ld-color-field-error: var(--ld-color-semantic-error);
--ld-color-label: var(--ld-color-system-dark);
--ld-color-button-secondary-border: #728188;
}
:root {
--ld-typography-font-family: inter, -apple-system, roboto, ubuntu, sans-serif;
--ld-typography-font-weight-regular: 400;
--ld-typography-font-weight-medium: 500;
--ld-typography-font-weight-bold: 700;
--ld-typography-desktop-h1-size: 4rem;
--ld-typography-desktop-h1-height: 4.5rem;
--ld-typography-desktop-h1-weight: var(--ld-typography-font-weight-bold);
--ld-typography-desktop-h1-spacing: -2%;
--ld-typography-desktop-h1-margin: var(--ld-spacer-8);
--ld-typography-mobile-h1-size: 3rem;
--ld-typography-mobile-h1-height: 3.5rem;
--ld-typography-mobile-h1-margin: var(--ld-spacer-7);
--ld-typography-desktop-h2-size: 3rem;
--ld-typography-desktop-h2-height: 3.5rem;
--ld-typography-desktop-h2-weight: var(--ld-typography-font-weight-bold);
--ld-typography-desktop-h2-spacing: -2%;
--ld-typography-desktop-h2-margin: var(--ld-spacer-7);
--ld-typography-mobile-h2-size: 2.5rem;
--ld-typography-mobile-h2-height: 3rem;
--ld-typography-mobile-h2-margin: var(--ld-spacer-6);
--ld-typography-desktop-h3-size: 2.5rem;
--ld-typography-desktop-h3-height: 3rem;
--ld-typography-desktop-h3-weight: var(--ld-typography-font-weight-bold);
--ld-typography-desktop-h3-spacing: -2%;
--ld-typography-desktop-h3-margin: var(--ld-spacer-6);
--ld-typography-mobile-h3-size: 2rem;
--ld-typography-mobile-h3-height: 2.5rem;
--ld-typography-mobile-h3-margin: var(--ld-spacer-5);
--ld-typography-desktop-h4-size: 2rem;
--ld-typography-desktop-h4-height: 2.5rem;
--ld-typography-desktop-h4-weight: var(--ld-typography-font-weight-bold);
--ld-typography-desktop-h4-spacing: inherit;
--ld-typography-desktop-h4-margin: var(--ld-spacer-5);
--ld-typography-mobile-h4-size: 1.5rem;
--ld-typography-mobile-h4-height: 2rem;
--ld-typography-mobile-h4-margin: var(--ld-spacer-4);
--ld-typography-desktop-h5-size: 1.5rem;
--ld-typography-desktop-h5-height: 2rem;
--ld-typography-desktop-h5-weight: var(--ld-typography-font-weight-bold);
--ld-typography-desktop-h5-spacing: inherit;
--ld-typography-desktop-h5-margin: var(--ld-spacer-4);
--ld-typography-mobile-h5-size: 1.25rem;
--ld-typography-mobile-h5-height: 1.75rem;
--ld-typography-mobile-h5-margin: var(--ld-spacer-4);
--ld-typography-desktop-h6-size: 1.125rem;
--ld-typography-desktop-h6-height: 1.5rem;
--ld-typography-desktop-h6-weight: var(--ld-typography-font-weight-bold);
--ld-typography-desktop-h6-spacing: inherit;
--ld-typography-desktop-h6-margin: var(--ld-spacer-3);
--ld-typography-mobile-h6-size: 1.125rem;
--ld-typography-mobile-h6-height: 1.5rem;
--ld-typography-mobile-h6-margin: var(--ld-spacer-3);
--ld-typography-desktop-body-large-size: 1.25rem;
--ld-typography-desktop-body-large-height: 1.75rem;
--ld-typography-mobile-body-large-size: 1rem;
--ld-typography-mobile-body-large-height: 1.5rem;
--ld-typography-desktop-body-size: 1rem;
--ld-typography-desktop-body-height: 1.5rem;
--ld-typography-mobile-body-size: 0.875rem;
--ld-typography-mobile-body-height: 1.375rem;
--ld-typography-desktop-body-small-size: 0.875rem;
--ld-typography-desktop-body-small-height: 1.375rem;
--ld-typography-desktop-caption-size: 0.75rem;
--ld-typography-desktop-caption-height: 1.25rem;
--ld-typography-desktop-caption-weight: var(--ld-typography-font-weight-regular);
--ld-typography-mobile-caption-size: 0.75rem;
--ld-typography-mobile-caption-height: 1.25rem;
--ld-typography-desktop-pre-title-size: 0.75rem;
--ld-typography-desktop-pre-title-height: 1.25rem;
--ld-typography-desktop-pre-title-weight: var(--ld-typography-font-weight-bold);
--ld-typography-desktop-pre-title-spacing: 3%;
--ld-typography-desktop-pre-title-transform: uppercase;
--ld-typography-mobile-pre-title-size: 0.75rem;
--ld-typography-mobile-pre-title-height: 1.25rem;
--ld-typography-desktop-button-text-size: 1rem;
--ld-typography-desktop-button-text-height: 1.5rem;
--ld-typography-desktop-button-text-weight: var(--ld-typography-font-weight-bold);
--ld-typography-desktop-button-text-spacing: 3%;
--ld-typography-mobile-button-text-size: 0.875rem;
--ld-typography-mobile-button-text-height: 1.375rem;
--ld-typography-desktop-link-size: 1rem;
--ld-typography-desktop-link-height: 1.5rem;
--ld-typography-desktop-link-weight: var(--ld-typography-font-weight-bold);
--ld-typography-desktop-link-decoration: underline;
--ld-typography-mobile-link-size: 0.875rem;
--ld-typography-mobile-link-height: 1.375rem;
}
:root {
--ld-icon-size-xl: 2rem;
--ld-icon-size-lg: 1.5rem;
--ld-icon-size-md: 1.25rem;
--ld-icon-size-sm: 1rem;
--ld-icon-size-default: var(--ld-icon-size-md);
}
:root {
--ld-button-border-radius: var(--ld-radius);
--ld-button-border-radius-rounded: 100px;
--ld-field-radius: var(--ld-radius);
}
:root {
--ld-border-radius: 8px;
--ld-border-radius-small: 4px;
/** Alert **/
--ld-alert-border-radius: 8px;
--ld-alert-border-width: 1px;
--ld-alert-margin: 0 0 var(--ld-spacer-3) 0;
--ld-alert-padding: var(--ld-spacer-2) var(--ld-spacer-fixed-3);
--ld-alert-last-margin: 0 0 var(--ld-spacer-8) 0;
/** Breadcrumbs **/
--ld-breadcrumbs-font-size: var(--ld-typography-desktop-body-small-size);
--ld-breadcrumbs-line-height: var(--ld-typography-desktop-body-small-height);
--ld-breadcrumbs-font-weight: var(--ld-typography-font-weight-regular);
--ld-breadcrumbs-link-color: var(--ld-color-brand-primary);
--ld-breadcrumbs-text-color: var(--ld-color-body-text);
--ld-breadcrumbs-delimiter-color: var(--ld-color-system-border);
--ld-breadcrumbs-truncation-size: 19ch;
/** Tabs **/
--ld-tabs-gap: var(--ld-spacer-6);
--ld-tabs-font-weight: var(--ld-typography-font-weight-bold);
--ld-tabs-color-text-active: var(--ld-color-brand-primary);
--ld-tabs-background-color-hover: var(--ld-color-system-light-2);
--ld-tabs-border-width: 2px;
--ld-tabs-border-width-active: 4px;
--ld-tabs-border-color: var(--ld-color-system-border);
--ld-tabs-border-color-active: var(--ld-color-brand-primary);
--ld-tabs-tab-gap: 10px;
/** Pricing **/
--ld-pricing-gap: 0.25rem 0;
/** Instructors **/
--ld-instructors-margin: var(--ld-spacer-8) 0 0 0;
--ld-instructors-gap: var(--ld-spacer-2);
--ld-instructors-list-gap: var(--ld-spacer-3);
--ld-instructors-item-gap: var(--ld-spacer-3);
--ld-instructors-avatar-border-radius: 50%;
/** Steps **/
--ld-steps-margin-top: var(--ld-spacer-6);
--ld-steps-list-gap: var(--ld-spacer-3);
--ld-steps-info-padding: var(--ld-spacer-3) var(--ld-spacer-fixed-5);
--ld-steps-item-background-color: var(--ld-color-system-light-2);
--ld-steps-item-background-color-hover: var(--ld-color-system-border);
--ld-steps-item-border-width: 0.063rem;
--ld-steps-item-border-color: var(--ld-color-system-border);
--ld-steps-item-border-radius: 0.25rem;
--ld-steps-item-truncation-size: 65ch;
--ld-steps-sub-item-background-color: var(--ld-color-system-white);
--ld-steps-link-item-background-color: var(--ld-color-system-border);
--ld-steps-link-item-padding: var(--ld-spacer-0) var(--ld-spacer-fixed-5);
--ld-steps-loader-item-padding: var(--ld-spacer-1) var(--ld-spacer-fixed-5);
--ld-steps-pagination-margin: var(--ld-spacer-6) 0 0 0;
/** Pagination **/
--ld-pagination-item-size: 2rem;
--ld-pagination-item-active-color: var(--ld-color-brand-primary);
--ld-pagination-item-active-border: 0.063rem solid var(--ld-color-brand-primary);
--ld-pagination-item-active-border-radius: 0.25rem;
/** Progress Bar **/
--ld-progress-bar-width: 100%;
--ld-progress-bar-height: 1rem;
--ld-progress-bar-background-color: var(--ld-color-system-border);
--ld-progress-bar-foreground-color: var(--ld-color-brand-primary);
--ld-progress-bar-border-radius: 0.125rem;
--ld-progress-bar-margin: var(--ld-spacer-4) 0 var(--ld-spacer-2) 0;
--ld-progress-bar-value: 0%;
/** Progress Donut **/
--ld-progress-donut-size: 1.625rem;
--ld-progress-donut-background-color: var(--ld-color-system-border);
--ld-progress-donut-foreground-color: var(--ld-color-brand-primary);
/** Course Overview **/
--ld-course-overview-gap: 1rem;
}
/* Gutenberg header styling */
.block-editor-page #sfwd-header {
position: fixed;
top: 46px;
padding-right: 10px;
width: 100%;
}
.block-editor-page #sfwd-header .ld-global-header {
position: relative;
}
.block-editor-page #sfwd-header .components-popover.is-from-bottom {
margin-top: 32px;
}
.block-editor-page.is-fullscreen-mode #sfwd-header {
top: unset;
padding-right: 0;
width: 100%;
}
@media (min-width: 782px) {
.block-editor-page.is-fullscreen-mode #sfwd-header {
top: 0px;
}
}
.block-editor-page.ld-header-has-tabs .edit-post-layout.is-mode-visual.is-sidebar-opened.interface-interface-skeleton {
top: 168px;
}
@media (min-width: 782px) {
.block-editor-page.ld-header-has-tabs .edit-post-layout.is-mode-visual.is-sidebar-opened.interface-interface-skeleton {
top: 30px;
}
}
@media (min-width: 600px) {
.branch-5-1.block-editor-page #sfwd-header,
.branch-5-2.block-editor-page #sfwd-header,
.branch-5-3.block-editor-page #sfwd-header {
top: 0;
}
}
@media (min-width: 782px) {
.block-editor-page #sfwd-header {
width: calc(100% - 36px);
}
}
@media (min-width: 960px) {
.block-editor-page #sfwd-header {
width: calc(100% - 160px);
}
}
/* Non-Gutenberg header styling */
body:not(.block-editor-page) #sfwd-header {
box-sizing: border-box;
margin-right: -20px;
padding: 8px 20px 4px;
padding-bottom: 0;
width: calc(100% + 20px);
z-index: 9999;
/**
* Once the WP Admin Bar is position: fixed and 32px tall, we need to revert to
* the original desktop styling for the header to place the
* tab underline in the correct location.
*/
}
@media only screen and (min-width: 783px) {
body:not(.block-editor-page) #sfwd-header {
padding-bottom: 4px;
}
}
body:not(.block-editor-page) .learndash-settings-page-wrap #sfwd-header {
margin-left: -20px;
width: calc(100% + 40px);
}
/* Global header styling */
#sfwd-header {
background-color: white;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
display: block !important;
position: sticky;
top: 0;
width: 100%;
z-index: 99990;
}
@media only screen and (min-width: 601px) and (max-width: 782px) {
#sfwd-header {
top: 46px;
}
}
@media only screen and (min-width: 783px) {
#sfwd-header {
top: 32px;
}
}
.branch-5-1 #sfwd-header,
.branch-5-2 #sfwd-header,
.branch-5-3 #sfwd-header {
right: 0;
}
/* Global header inner */
.ld-global-header {
align-items: center;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
height: auto;
width: 100%;
/* Button styles overrides */
/* stylelint-disable-next-line selector-class-pattern */
}
.ld-global-header.ld-global-header--modern {
gap: 10px;
padding: 0 var(--ld-spacer-fixed-2);
}
@media (max-width: 960px) {
.ld-global-header.ld-global-header--modern {
align-items: flex-start;
flex-direction: column;
gap: 0;
padding: var(--ld-spacer-1) var(--ld-spacer-fixed-1) 0 var(--ld-spacer-fixed-1);
width: auto;
}
}
.ld-global-header.ld-global-header--modern .ld-global-header-new-settings {
align-items: center;
order: 1;
width: 154px;
}
@media (max-width: 960px) {
.ld-global-header .ld-global-header-title-area--modern {
margin-bottom: var(--ld-spacer-1);
}
}
.ld-global-header h1 {
color: #23282d;
display: block;
line-height: 1.4em;
font-weight: 600;
font-size: 2em;
margin: 7px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.ld-global-header a.button,
.ld-global-header button.button {
border-radius: 0;
border: 0;
box-shadow: none;
font-weight: 700;
text-shadow: none !important;
min-height: auto;
}
.ld-global-header a.button.components-button.is-primary:hover, .ld-global-header a.button.components-button.is-primary:focus,
.ld-global-header button.button.components-button.is-primary:hover,
.ld-global-header button.button.components-button.is-primary:focus {
color: #555;
}
.ld-global-header .ld-global-header-new-settings {
align-items: center;
display: flex;
flex-wrap: wrap;
}
@media (min-width: 782px) {
.ld-global-header .ld-global-header-new-settings {
align-items: unset;
}
}
@media only screen and (min-width: 641px) {
.ld-global-header .ld-global-header-new-settings {
flex-wrap: nowrap;
justify-content: flex-end;
}
}
.ld-global-header .edit-post-header__settings a.button,
.ld-global-header .edit-post-header__settings button.button,
.ld-global-header .ld-tab-buttons a.button,
.ld-global-header .ld-tab-buttons button.button {
background-color: transparent !important;
color: #007cba;
}
.ld-global-header .edit-post-header__settings a.button.is-primary,
.ld-global-header .edit-post-header__settings button.button.is-primary,
.ld-global-header .ld-tab-buttons a.button.is-primary,
.ld-global-header .ld-tab-buttons button.button.is-primary {
box-shadow: inset 0 4px 0 0 #fff, 0 4px 0 0 #007cba !important;
color: #555;
}
.ld-global-header .edit-post-header__settings a.button.is-primary:hover, .ld-global-header .edit-post-header__settings a.button.is-primary:focus,
.ld-global-header .edit-post-header__settings button.button.is-primary:hover,
.ld-global-header .edit-post-header__settings button.button.is-primary:focus,
.ld-global-header .ld-tab-buttons a.button.is-primary:hover,
.ld-global-header .ld-tab-buttons a.button.is-primary:focus,
.ld-global-header .ld-tab-buttons button.button.is-primary:hover,
.ld-global-header .ld-tab-buttons button.button.is-primary:focus {
background-color: transparent;
box-shadow: inset 0 4px 0 0 #fff, 0 4px 0 0 #007cba !important;
color: #555;
}
/* Back link */
.ld-back-link {
flex-basis: 100%;
text-decoration: none;
}
.ld-back-link:hover {
text-decoration: underline;
}
.ld-back-link--modern {
align-items: center;
color: #007cba;
display: flex;
font-weight: 700;
gap: var(--ld-spacer-fixed-1);
}
.ld-back-link--modern:hover {
color: #007eb1;
}
/* Default WP editor styles overrides for Gutenberg, shift down elements */
.ld-header-has-tabs.ld-header-has-tabs--modern .edit-post-layout {
padding-top: 76px;
}
@media (max-width: 960px) {
.ld-header-has-tabs.ld-header-has-tabs--modern .edit-post-layout {
padding-top: 100px;
}
}
.ld-header-has-tabs .edit-post-layout {
padding-top: 120px;
}
@media (min-width: 782px) {
.ld-header-has-tabs .edit-post-layout {
padding-top: 133px;
}
}
.ld-header-has-tabs .edit-post-layout .editor-post-publish-panel {
top: 178px;
}
@media (min-width: 782px) {
.ld-header-has-tabs .edit-post-layout .editor-post-publish-panel {
top: 159px;
}
}
.ld-header-has-tabs .edit-post-layout .edit-post-header {
top: 176px;
}
@media (min-width: 782px) {
.ld-header-has-tabs .edit-post-layout .edit-post-header {
top: 158px;
}
}
@media (min-width: 782px) {
.ld-header-has-tabs .edit-post-layout .edit-post-layout__content {
min-height: calc(100% - 214px);
top: 214px;
}
}
@media (min-width: 782px) {
.ld-header-has-tabs.branch-5 .edit-post-layout__content {
min-height: calc(100% - 182px);
top: 182px;
}
}
@media (min-width: 600px) {
.ld-header-has-tabs.branch-5 .edit-post-layout {
padding-top: 0;
}
}
@media (min-width: 600px) {
.ld-header-has-tabs.branch-5 .edit-post-layout.has-fixed-toolbar {
padding-top: 0;
}
}
.ld-header-has-tabs.branch-5-1 .edit-post-layout, .ld-header-has-tabs.branch-5-2 .edit-post-layout, .ld-header-has-tabs.branch-5-3 .edit-post-layout {
padding-top: 131px;
}
@media (min-width: 600px) {
.ld-header-has-tabs.branch-5-1 .edit-post-layout, .ld-header-has-tabs.branch-5-2 .edit-post-layout, .ld-header-has-tabs.branch-5-3 .edit-post-layout {
padding-top: 181px;
}
}
@media (min-width: 600px) {
.ld-header-has-tabs.branch-5-1 .edit-post-layout.has-fixed-toolbar, .ld-header-has-tabs.branch-5-2 .edit-post-layout.has-fixed-toolbar, .ld-header-has-tabs.branch-5-3 .edit-post-layout.has-fixed-toolbar {
padding-top: 181px;
}
}
@media (min-width: 782px) {
.ld-header-has-tabs.branch-5-1.is-fullscreen-mode .edit-post-layout .edit-post-header, .ld-header-has-tabs.branch-5-2.is-fullscreen-mode .edit-post-layout .edit-post-header, .ld-header-has-tabs.branch-5-3.is-fullscreen-mode .edit-post-layout .edit-post-header {
top: 135px;
}
}
@media (min-width: 782px) {
.ld-header-has-tabs.branch-5-1.is-fullscreen-mode .edit-post-layout .edit-post-layout__content, .ld-header-has-tabs.branch-5-2.is-fullscreen-mode .edit-post-layout .edit-post-layout__content, .ld-header-has-tabs.branch-5-3.is-fullscreen-mode .edit-post-layout .edit-post-layout__content {
top: 190px;
}
}
@media (min-width: 782px) {
.ld-header-has-tabs.branch-5-1.is-fullscreen-mode .edit-post-layout .edit-post-sidebar, .ld-header-has-tabs.branch-5-2.is-fullscreen-mode .edit-post-layout .edit-post-sidebar, .ld-header-has-tabs.branch-5-3.is-fullscreen-mode .edit-post-layout .edit-post-sidebar {
top: 190px;
}
}
@media (min-width: 782px) {
.ld-header-has-tabs.is-fullscreen-mode .edit-post-sidebar,
.ld-header-has-tabs .edit-post-sidebar {
top: 214px;
}
}
@media (min-width: 782px) {
.ld-header-has-tabs.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel {
top: 117px;
}
}
@media (min-width: 783px) {
.edit-post-layout {
padding-top: 133px;
}
}
@media (min-width: 783px) {
.edit-post-layout.has-fixed-toolbar {
padding-top: 133px;
}
}
.edit-post-layout .editor-post-publish-panel {
top: 130px;
}
@media (min-width: 782px) {
.edit-post-layout .editor-post-publish-panel {
top: 120px;
}
}
.edit-post-layout .edit-post-header {
top: 128px;
}
@media (min-width: 782px) {
.edit-post-layout .edit-post-header {
top: 120px;
}
}
@media (min-width: 782px) {
.edit-post-sidebar {
top: 176px;
}
}
@media (min-width: 782px) {
.edit-post-layout__content {
min-height: calc(100% - 176px);
top: 176px;
}
}
@media (min-width: 782px) {
.branch-5 .edit-post-layout__content {
top: 176px;
}
}
/* When the header error boundary is displayed */
body.block-editor-page #sfwd-header .header-boundary {
position: absolute;
top: 5em;
right: 13.8em;
}
/* Fixes issues with reusable blocks save dialog showing up under our header in Gutenberg */
.learndash-post-type .interface-interface-skeleton__body .entities-saved-states__panel {
top: 254px;
}
@media (max-width: 782px) {
.learndash-post-type .interface-interface-skeleton__body .entities-saved-states__panel {
top: 216px;
}
}
.learndash-post-type .interface-interface-skeleton__body .interface-interface-skeleton__actions {
padding-top: 120px;
}
@media (min-width: 782px) {
.learndash-post-type .interface-interface-skeleton__body .interface-interface-skeleton__actions {
padding-top: 133px;
}
}
/* Hidden tabs */
.tab-content[aria-hidden=true] {
height: 0;
right: -999em;
overflow: hidden;
position: absolute !important;
top: -999em;
}
/* Hide all metaboxes before the tabs are ready */
#normal-sortables,
.metabox-location-normal {
opacity: 0;
}
.ld-tabs-ready #normal-sortables,
.ld-tabs-ready .metabox-location-normal {
opacity: 1;
}
/* Tab buttons/links */
@keyframes LDFade {
from {
opacity: 0.3;
}
to {
opacity: 0.6;
}
}
.ld-tab-buttons {
border-top: 1px solid #e2e4e7;
flex: 1 0 100%;
position: relative;
}
.ld-tab-buttons--modern {
border: none;
display: flex;
flex: 1 0 0;
gap: var(--ld-spacer-fixed-3);
justify-content: center;
}
@media (max-width: 960px) {
.ld-tab-buttons--modern {
flex-basis: initial;
justify-content: flex-start;
overflow-x: scroll;
width: 100%;
}
}
.ld-tab-buttons a.button,
.ld-tab-buttons button.button {
animation: LDFade 0.4s ease-in 0s infinite alternate;
margin-left: 15px;
opacity: 0.7;
pointer-events: none;
}
.ld-tabs-ready .ld-tab-buttons a.button,
.ld-tabs-ready .ld-tab-buttons button.button {
animation: none;
opacity: 1;
pointer-events: all;
margin-top: 10px;
}
.ld-tab-buttons a.button.ld-tab-button--modern,
.ld-tab-buttons button.button.ld-tab-button--modern {
align-items: center;
color: #555;
display: flex;
height: auto;
justify-content: center;
margin: 0;
padding: var(--ld-spacer-4) var(--ld-spacer-fixed-1);
}
@media (max-width: 960px) {
.ld-tab-buttons a.button.ld-tab-button--modern,
.ld-tab-buttons button.button.ld-tab-button--modern {
font-size: 13px;
padding: var(--ld-spacer-1) var(--ld-spacer-fixed-1);
}
}
.ld-tab-buttons a.button.ld-tab-button--modern.is-primary, .ld-tab-buttons a.button.ld-tab-button--modern.is-primary:hover,
.ld-tab-buttons button.button.ld-tab-button--modern.is-primary,
.ld-tab-buttons button.button.ld-tab-button--modern.is-primary:hover {
box-shadow: inset 0 4px 0 0 #fff, inset 0 -4px 0 0 #007cba !important;
color: #007cba;
}
.ld-tab-buttons a.button:focus,
.ld-tab-buttons button.button:focus {
background-color: transparent;
box-shadow: none;
}
.ld-tab-buttons a.button:hover,
.ld-tab-buttons button.button:hover {
background-color: transparent;
}
/* Hide Gutenberg document block on settings pages */
/* Commenting it out and handing control of it to React by fetching logic from PHP
body[data-active-tab="sfwd-courses-settings"],
body[data-active-tab="learndash_course_groups"],
body[data-active-tab="sfwd-courses"],
body[data-active-tab="sfwd-quiz"],
body[data-active-tab="learndash_quiz_advanced_aggregated"] {
.edit-post-layout.is-sidebar-opened .edit-post-layout__content {
@media (min-width: 782px) {
margin-right: 0;
}
}
.edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,
.edit-post-layout.is-sidebar-opened .edit-post-sidebar {
@media (min-width: 782px) {
display: none;
}
}
}
*/
/* Show/hide metaboxes depending on tab view in Gutenberg and Classic editors and standalone page */
.sfwd-courses_page_courses-builder #learndash_admin_quiz_navigation,
.sfwd-courses_page_courses-builder #commentstatusdiv,
.sfwd-courses_page_courses-builder #commentsdiv,
.sfwd-courses_page_courses-builder #slugdiv,
.sfwd-courses_page_courses-builder #authordiv,
.sfwd-courses_page_courses-builder #revisionsdiv,
.sfwd-courses_page_courses-builder #side-sortables .postbox,
.sfwd-courses_page_courses-builder .components-panel__body,
.sfwd-courses_page_courses-builder #learndash_course_navigation_admin_meta,
body[data-active-tab]:not([data-active-tab=post-body-content]) #learndash_admin_quiz_navigation,
body[data-active-tab]:not([data-active-tab=post-body-content]) #commentstatusdiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #commentsdiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #slugdiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #authordiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #revisionsdiv,
body[data-active-tab]:not([data-active-tab=post-body-content]) #side-sortables .postbox,
body[data-active-tab]:not([data-active-tab=post-body-content]) .components-panel__body,
body[data-active-tab]:not([data-active-tab=post-body-content]) #learndash_course_navigation_admin_meta {
display: none;
}
.sfwd-courses_page_courses-builder .edit-post-header-toolbar,
body[data-active-tab]:not([data-active-tab=post-body-content]) .edit-post-header-toolbar {
opacity: 0;
visibility: hidden;
}
.sfwd-courses_page_courses-builder .edit-post-layout__metaboxes,
body[data-active-tab]:not([data-active-tab=post-body-content]) .edit-post-layout__metaboxes {
border-top: none;
padding: 0;
}
.sfwd-courses_page_courses-builder .edit-post-layout__metaboxes .edit-post-meta-boxes-area,
body[data-active-tab]:not([data-active-tab=post-body-content]) .edit-post-layout__metaboxes .edit-post-meta-boxes-area {
margin: auto;
}
.sfwd-courses_page_courses-builder button.edit-post-sidebar__panel-tab[data-label=Block],
body[data-active-tab]:not([data-active-tab=post-body-content]) button.edit-post-sidebar__panel-tab[data-label=Block] {
display: none;
}
.sfwd-courses_page_courses-builder .post-publish-panel__postpublish .components-panel__body.is-opened,
body[data-active-tab]:not([data-active-tab=post-body-content]) .post-publish-panel__postpublish .components-panel__body.is-opened {
display: block;
}
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-lessons.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-topics.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-quizzes.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-quiz-questions.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #sfwd-course-lessons,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #sfwd-course-topics,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #sfwd-course-quizzes,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_quiz_builder] #sfwd-quiz-questions, .sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-lessons.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-topics.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-quizzes.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #side-sortables #sfwd-quiz-questions.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #sfwd-course-lessons,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #sfwd-course-topics,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #sfwd-course-quizzes,
.sfwd-courses_page_courses-builder[data-active-tab=learndash_course_builder] #sfwd-quiz-questions, .sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-lessons.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-topics.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-quizzes.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-quiz-questions.postbox,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-lessons,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-topics,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-quizzes,
.sfwd-courses_page_courses-builder[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-quiz-questions,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-lessons.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-topics.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-course-quizzes.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #side-sortables #sfwd-quiz-questions.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #sfwd-course-lessons,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #sfwd-course-topics,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #sfwd-course-quizzes,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_quiz_builder] #sfwd-quiz-questions,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-lessons.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-topics.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #side-sortables #sfwd-course-quizzes.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #side-sortables #sfwd-quiz-questions.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #sfwd-course-lessons,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #sfwd-course-topics,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #sfwd-course-quizzes,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=learndash_course_builder] #sfwd-quiz-questions,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-lessons.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-topics.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-course-quizzes.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #side-sortables #sfwd-quiz-questions.postbox,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-lessons,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-topics,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-course-quizzes,
body[data-active-tab]:not([data-active-tab=post-body-content])[data-active-tab=sfwd-quiz_page_quizzes-builder] #sfwd-quiz-questions {
display: block !important;
}
#sfwd-course-lessons,
#sfwd-course-topics,
#sfwd-course-quizzes,
#sfwd-quiz-questions {
display: none;
}
#side-sortables #submitdiv.postbox {
display: block !important;
}
div#learndash_quiz_builder > .inside,
div#learndash_course_builder > .inside {
display: block !important;
}
div#learndash_quiz_builder > .handlediv,
div#learndash_quiz_builder > .hndle,
div#learndash_course_builder > .handlediv,
div#learndash_course_builder > .hndle {
display: none !important;
}
/* Action button and dropdown position */
.ld-tab-buttons .edit-post-header__settings {
position: absolute;
top: -45px;
left: 20px;
}
/* Action button */
.ld-actions svg {
align-self: center;
margin-right: 10px;
}
/* Dropdown styling */
.ld-popover.components-popover {
right: auto;
left: 40px;
top: 100px !important;
}
.ld-popover.components-popover .components-menu-item__button {
box-sizing: border-box;
display: inline-flex;
-webkit-appearance: none;
background: 100% 0;
border: 0;
color: #40464d;
cursor: pointer;
font-size: 13px;
margin: 0;
padding: 8px 2rem 8px 8px;
text-align: right;
text-decoration: none;
width: 100%;
}
.ld-popover.components-popover .components-menu-item__button.active {
color: #007cba;
}
.ld-popover.components-popover .delete {
color: red;
}
/* Dropdown styling for non-Gutenberg pages and single Quiz edit Gutenberg pages */
@media (max-width: 782px) {
body:not(.block-editor-page) .ld-global-header-new-settings .edit-post-header__settings,
.sfwd-quiz.block-editor-page .ld-global-header-new-settings .edit-post-header__settings {
position: relative;
}
}
body:not(.block-editor-page) .ld-popover.components-popover,
.sfwd-quiz.block-editor-page .ld-popover.components-popover {
background: white;
border: 1px solid #e2e4e7;
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);
position: absolute;
left: 11px;
top: 60% !important;
width: 260px;
opacity: 1;
z-index: 9999;
}
@media (max-width: 782px) {
body:not(.block-editor-page) .ld-popover.components-popover,
.sfwd-quiz.block-editor-page .ld-popover.components-popover {
left: 0;
top: 100% !important;
}
}
@media (max-width: 640px) and (min-width: 480px), (max-width: 431px) {
body:not(.block-editor-page) .ld-popover.components-popover,
.sfwd-quiz.block-editor-page .ld-popover.components-popover {
right: 0;
}
}
body:not(.block-editor-page) .components-popover:not(.is-mobile).is-left .components-popover__content,
.sfwd-quiz.block-editor-page .components-popover:not(.is-mobile).is-left .components-popover__content {
left: 0;
}
body:not(.block-editor-page) .components-popover__content,
.sfwd-quiz.block-editor-page .components-popover__content {
display: flex;
flex-direction: column;
}
body:not(.block-editor-page) .components-popover__content button,
.sfwd-quiz.block-editor-page .components-popover__content button {
border: 0;
background-color: transparent;
text-align: right;
}
body:not(.block-editor-page) .components-popover__content .block-editor-inserter__quick-inserter.has-search.has-expand button,
.sfwd-quiz.block-editor-page .components-popover__content .block-editor-inserter__quick-inserter.has-search.has-expand button {
text-align: center;
}
body:not(.block-editor-page) .components-popover__content .block-editor-inserter__quick-inserter.has-search.has-expand button.components-button.block-editor-inserter__quick-inserter-expand,
.sfwd-quiz.block-editor-page .components-popover__content .block-editor-inserter__quick-inserter.has-search.has-expand button.components-button.block-editor-inserter__quick-inserter-expand {
background: #1e1e1e;
}
body:not(.block-editor-page) .ld-popover.components-popover:after,
body:not(.block-editor-page) .ld-popover.components-popover:before,
.sfwd-quiz.block-editor-page .ld-popover.components-popover:after,
.sfwd-quiz.block-editor-page .ld-popover.components-popover:before {
content: "";
position: absolute;
height: 0;
width: 0;
line-height: 0;
border: 8px solid #e2e4e7;
border-bottom-style: solid;
border-right-color: transparent;
border-left-color: transparent;
border-top: none;
margin-right: -10px;
top: -8px;
left: 10px;
}
@media (max-width: 640px) and (min-width: 480px), (max-width: 431px) {
body:not(.block-editor-page) .ld-popover.components-popover:after,
body:not(.block-editor-page) .ld-popover.components-popover:before,
.sfwd-quiz.block-editor-page .ld-popover.components-popover:after,
.sfwd-quiz.block-editor-page .ld-popover.components-popover:before {
right: 20px;
left: unset;
margin-right: unset;
}
}
body:not(.block-editor-page) .ld-popover.components-popover:after,
.sfwd-quiz.block-editor-page .ld-popover.components-popover:after {
border: 8px solid #fff;
border-bottom-style: solid;
border-right-color: transparent;
border-left-color: transparent;
border-top: none;
top: -6px;
}
body.sfwd-quiz .ld-popover.components-popover {
border: none;
}
body.sfwd-quiz .components-popover:not(.is-mobile).is-left .components-popover__content {
left: unset;
}
body.sfwd-quiz .components-popover__content {
display: unset;
}
.global-new-entity-button, .ld-global-header-button {
border: none;
color: #fff;
cursor: pointer;
line-height: normal;
outline: 0;
padding: 6px 8px;
text-decoration: none;
text-shadow: none;
align-content: center;
/* stylelint-disable-next-line selector-class-pattern */
}
.global-new-entity-button, .global-new-entity-button.button.button-small, .ld-global-header-button, .ld-global-header-button.button.button-small {
border-radius: 2px;
font-size: 14px;
font-weight: 600;
margin-bottom: 8px;
margin-left: 8px;
}
@media only screen and (min-width: 783px) {
.global-new-entity-button, .global-new-entity-button.button.button-small, .ld-global-header-button, .ld-global-header-button.button.button-small {
margin-bottom: 0;
}
}
@media (min-width: 782px) {
.global-new-entity-button, .ld-global-header-button {
padding: 4px 8px;
}
.global-new-entity-button, .global-new-entity-button.button.button-small, .ld-global-header-button, .ld-global-header-button.button.button-small {
font-size: 13px;
}
}
.global-new-entity-button.-right, .global-new-entity-button--has-actions, .ld-global-header-button.-right, .ld-global-header-button--has-actions {
margin-left: 0 !important;
}
.learndash-post-type .global-new-entity-button, .learndash-post-type .ld-global-header-button {
display: none;
}
/* Metabox color code */
/* Associated content color code */
.learndash_navigation_lesson_topics_list .topic_item > a > span:before,
.learndash_navigation_lesson_topics_list .lesson > a:before,
.learndash_navigation_lesson_topics_list .quiz-item > a > span:before,
#sfwd-course-topics h2:before,
#sfwd-course-quizzes h2:before,
#sfwd-course-lessons h2:before,
#sfwd-quiz-questions h2:before,
.ld-question-overview-widget-item:before {
align-items: center;
border-radius: 100%;
color: white;
display: inline-flex;
font-size: 13px;
font-weight: bold;
height: 18px;
justify-content: center;
margin-left: 10px;
text-transform: uppercase;
width: 18px;
}
.learndash_navigation_lesson_topics_list .lesson > a:before,
#sfwd-course-lessons h2:before {
content: "L";
background-color: #467500;
}
.learndash_navigation_lesson_topics_list .topic_item > a > span:before,
#sfwd-course-topics h2:before {
content: "T";
background-color: #c35400;
}
.learndash_navigation_lesson_topics_list .quiz-item > a > span:before,
#sfwd-course-quizzes h2:before {
content: "Q";
background-color: #000;
}
#sfwd-quiz-questions h2:before,
.ld-question-overview-widget-item:before {
content: "Q";
background-color: #B53782;
}
.learndash-screen .wrap h1.wp-heading-inline,
.learndash-screen .page-title-action {
display: none;
}
/* WP Admin interface must be above header */
#screen-meta-links {
z-index: 159000;
}
#wpadminbar,
#adminmenuwrap {
z-index: 159001;
}
#TB_overlay,
.screen-reader-shortcut:focus {
z-index: 159002;
}
#TB_window {
z-index: 159003;
}
#screen-meta-links {
position: relative;
margin: 0 0 0 20px !important;
}
/* Screen options */
#screen-meta {
margin: 0 -20px 0 0;
border-width: 0;
border-bottom-width: 1px;
}
.update-nag {
margin-bottom: 20px;
position: relative;
z-index: 10000;
}
.update-nag + #sfwd-header:before {
background: white;
bottom: 100%;
content: "";
display: block;
height: 100%;
right: 0;
position: absolute;
width: 100%;
z-index: 0;
}