File size: 1,732 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
@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 !important;
svg {
fill: #fff !important;
}
}
@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;
}
}
}
|