| @import "@wordpress/base-styles/breakpoints"; | |
| @import "@wordpress/base-styles/mixins"; | |
| .courses { | |
| // Not good but this way can easily change the background color for courses step | |
| &::before { | |
| content: ""; | |
| position: fixed; | |
| left: 0; | |
| right: 0; | |
| top: 0; | |
| bottom: 0; | |
| background-color: #101517; | |
| } | |
| .courses__header { | |
| position: absolute; | |
| top: -60px; | |
| left: 0; | |
| right: 0; | |
| height: 60px; | |
| display: flex; | |
| align-items: center; | |
| padding: 0 20px; | |
| background-color: #151b1e; | |
| .courses__header-logo { | |
| margin-top: 4px; | |
| fill: #fff; | |
| stroke: #fff; | |
| } | |
| @include break-small { | |
| padding: 0 24px; | |
| } | |
| } | |
| .action-buttons { | |
| border: 0; | |
| box-shadow: 0 -1px 0 #2c3234; | |
| background-color: #101517; | |
| .button.navigation-link.is-borderless { | |
| color: #fff ; | |
| svg { | |
| fill: #fff ; | |
| } | |
| } | |
| @include break-small { | |
| box-shadow: none; | |
| } | |
| } | |
| .videos-ui { | |
| position: relative; | |
| width: 100%; | |
| min-height: calc(100vh - 60px); | |
| margin-top: 12px; | |
| } | |
| .courses__footer { | |
| display: none; | |
| position: fixed; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| padding: 0 20px; | |
| box-shadow: 0 -1px 0 #2c3234; | |
| background-color: #101517; | |
| animation: appear 0.3s ease-in-out; | |
| @include reduce-motion( "animation" ); | |
| .courses__footer-content { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| width: 100%; | |
| height: 72px; | |
| max-width: 1160px; | |
| margin: 0 auto; | |
| } | |
| .courses__footer-button { | |
| flex-shrink: 0; | |
| margin-left: 20px; | |
| border-radius: 4px; | |
| border-color: transparent; | |
| color: #101517; | |
| font-weight: 500; | |
| transition: opacity 0.2s ease-out; | |
| &:hover { | |
| opacity: 0.9; | |
| } | |
| } | |
| @include break-small { | |
| display: block; | |
| } | |
| } | |
| } | |