TripleSeat templates, along with Futuri (both for header and transcript updates). Create SCORM course node script. Added some todos as well.
This commit is contained in:
@ -0,0 +1,410 @@
|
||||
/*
|
||||
Put your custom overlay styles in here
|
||||
You can use your northpass color palette in this file
|
||||
|
||||
{{ color_palette.button_font_color }}
|
||||
{{ color_palette.button_color }}
|
||||
{{ color_palette.button_hover_color }}
|
||||
{{ color_palette.header_font_color }}
|
||||
{{ color_palette.header_font_hover_color }}
|
||||
{{ color_palette.header_color }}
|
||||
*/
|
||||
|
||||
/* Global Styles */
|
||||
|
||||
body,
|
||||
main,
|
||||
.np-main{
|
||||
background: #EBEFF0;
|
||||
}
|
||||
|
||||
.np-dashboard,
|
||||
.np-catalog,
|
||||
.np-training-events{
|
||||
margin-top: 80px;
|
||||
}
|
||||
|
||||
.np-homepage{
|
||||
margin-top: 130px;
|
||||
}
|
||||
|
||||
.np-button{
|
||||
background: linear-gradient(90deg, #103F50 0%, #2D9EAF 100%);
|
||||
border-radius: 8px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px){
|
||||
.np-homepage{
|
||||
margin-top: 120px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Header Styles */
|
||||
.np-header{
|
||||
height: 70px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.np-header-desktop-nav-list{
|
||||
flex-wrap: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.np-header-desktop-nav{
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.np-header-desktop-nav-link{
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.np-header-desktop-nav-link:hover{
|
||||
color: #7D388E;
|
||||
}
|
||||
|
||||
.centered-logo{
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.np-header-avatar-button{
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1050px){
|
||||
.np-header{
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1100px){
|
||||
.np-header{
|
||||
padding: 0 35px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1150px){
|
||||
.np-header{
|
||||
padding: 0 50px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Subnav Styles */
|
||||
.np-sub-navigation{
|
||||
background: #EBEFF0;
|
||||
height: 50px;
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.np-sub-navigation-content{
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.np-sub-navigation-content-item{
|
||||
width: 6.75%;
|
||||
}
|
||||
|
||||
.np-sub-navigation-content-item-active{
|
||||
/* background: #DEDFE0; */
|
||||
background: #D2E0DC;
|
||||
}
|
||||
|
||||
.np-sub-navigation-content-item-link{
|
||||
color: #000000;
|
||||
font-family: 'DM Sans', sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
height: 50px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Homepage Specific Styles*/
|
||||
/* Hero Elements */
|
||||
.np-homepage-hero{
|
||||
border-bottom: 1px solid #000000;
|
||||
}
|
||||
|
||||
.hero-headline{
|
||||
color: #FFFFFF;
|
||||
font-size: 40px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -1px;
|
||||
line-height: 44px;
|
||||
margin-bottom: 30px;
|
||||
max-width: 1000px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-subheadline{
|
||||
color: #FFFFFF;
|
||||
font-size: 20px;
|
||||
line-height: 30px;
|
||||
margin:0 auto;
|
||||
margin-bottom: 12px;
|
||||
max-width: 650px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.np-homepage-hero-cta{
|
||||
animation: caption-top 1.2s 1 ease-out;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
height: 63px;
|
||||
padding: 20px 30px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px){
|
||||
.hero-headline{
|
||||
font-size: 70px;
|
||||
line-height: 77px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Heading Texts */
|
||||
.homepage-headline{
|
||||
font-size: 55px;
|
||||
font-weight: 600;
|
||||
color: #000000;
|
||||
letter-spacing: -1px;
|
||||
line-height: 60.5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.homepage-subheadline{
|
||||
font-size: 19px;
|
||||
font-weight: 300;
|
||||
line-height: 31.35px;
|
||||
margin: 16px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Category Gallery and Cards */
|
||||
.homepage-max-width{
|
||||
max-width: initial;
|
||||
}
|
||||
|
||||
.category-gallery{
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-evenly;
|
||||
margin-left: 0;
|
||||
max-width: 100%;
|
||||
padding: 0px 20px;
|
||||
}
|
||||
|
||||
.topic-button-wrapper{
|
||||
aspect-ratio: 1;
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.topic-button{
|
||||
color: #FFFFFF;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
height: 100%;
|
||||
line-height: 52.5px;
|
||||
max-height: 640px;
|
||||
max-width: 640px;
|
||||
padding: 0 20px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.col-sm-3-6{
|
||||
box-sizing: border-box;
|
||||
flex: 0 0 auto;
|
||||
flex-basis: 100%;
|
||||
max-height: 640px;
|
||||
max-width: 640px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 600px) {
|
||||
.topic-button{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.col-sm-3-6{
|
||||
flex-basis: 40%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.category-gallery{
|
||||
flex-direction: row;
|
||||
padding: initial;
|
||||
}
|
||||
|
||||
.col-sm-3-6{
|
||||
flex-basis: 30%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 870px) {
|
||||
.topic-button{
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1200px) {
|
||||
.topic-button{
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1440px) {
|
||||
.topic-button{
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1600px) {
|
||||
.topic-button{
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Course Cards */
|
||||
|
||||
.np-card-container{
|
||||
border: 1px solid #BAC4CA;
|
||||
border-radius: 9px 9px 0 0;
|
||||
box-shadow: none;
|
||||
height: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.np-card-image{
|
||||
border-radius: 8px 8px 0 0;
|
||||
height: 50%;
|
||||
max-height: 50%;
|
||||
}
|
||||
|
||||
.np-card-content-vertical{
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.np-card-container-training-session{
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.np-card-padding,
|
||||
.np-card-padding-dynamic {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.np-card-image-overlay {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.np-card-image-content-top,
|
||||
.np-card-image-content-bottom {
|
||||
position: absolute;
|
||||
left: 1.5rem;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.np-card-image-content-top {
|
||||
top: 1.5rem;
|
||||
}
|
||||
|
||||
.np-card-image-content-bottom {
|
||||
bottom: 1.5rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.np-course-details {
|
||||
display: flex;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.np-course-details .np-card-content-progress {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.np-course-detail {
|
||||
font-size: 1.125rem;
|
||||
flex: 0 1 calc(33.33%);
|
||||
}
|
||||
|
||||
.np-details-label {
|
||||
text-transform: uppercase;
|
||||
opacity: 0.5;
|
||||
font-size: 0.75rem;
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.np-card-content {
|
||||
border: 1px solid #000000;
|
||||
border-top: 0
|
||||
}
|
||||
|
||||
.np-card-content-footer {
|
||||
margin-top: 1.2rem;
|
||||
}
|
||||
|
||||
.np-card-content-footer .np-button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.np-card-content-title {
|
||||
font-size: 1.1rem;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.np-card-content .np-card-content-title{
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.np-card-image-content-top,
|
||||
.np-card-image-content-bottom {
|
||||
left: 1.5rem;
|
||||
right: 1.5rem;
|
||||
}
|
||||
|
||||
.np-card-image-content-top {
|
||||
top: 1.5rem;
|
||||
}
|
||||
.np-card-image-content-bottom {
|
||||
bottom: 1.5rem;
|
||||
}
|
||||
.np-card-padding,
|
||||
.np-card-padding-dynamic {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
.np-card-content-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.np-card-image-content-top,
|
||||
.np-card-image-content-bottom {
|
||||
left: 2rem;
|
||||
right: 2rem;
|
||||
}
|
||||
|
||||
.np-card-image-content-top {
|
||||
top: 2rem;
|
||||
}
|
||||
.np-card-image-content-bottom {
|
||||
bottom: 2rem;
|
||||
}
|
||||
.np-card-padding,
|
||||
.np-card-padding-dynamic {
|
||||
padding: 2rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user