Creating a script for Anthology to update all the names of their learner properties based on new subscription model. Downloaded and updated some templates for this same project.

This commit is contained in:
Norm Rasmussen
2025-08-21 15:40:52 -04:00
parent b52e7cfac1
commit 6edb965eef
120 changed files with 533 additions and 225 deletions

View File

@ -0,0 +1,270 @@
/*
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 }}
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans&display=swap');
html,
body{
color: #363636 !important;
font-family: 'Nunito Sans', sans-serif;
}
body,
main{
background-color: #FEFEFE !important;
}
/* HEADER STYLES */
.np-header{
border-top: 5px solid #fffff;
border-bottom: 2px solid #e1ebf3;
height: 95px;
padding: 0 22px;
}
.np-header-content{
justify-content: space-between;
}
.np-header-logo{
flex-grow: unset;
}
.np-header-desktop-nav{
justify-content: flex-end;
padding-top: 20px;
flex-grow: unset;
}
.np-header-mobile-menu-nav{
position: unset;
}
.np-header-avatar{
align-items: center;
height: 100%;
}
.desktop-avatar-button{
margin: 0;
margin-right: 11px;
}
.header-username{
font-size: 16px;
font-weight: 400;
line-height: 25px;
}
.np-sub-navigation-content-item-active .np-sub-navigation-content-item-link,
.np-sub-navigation-content-item-active .np-sub-navigation-content-item-bar{
color: #0A0A0A
}
/* GLOBAL CARD STYLES */
.np-card-padding{
padding: 15px 16px
}
/* COURSE CARDS */
.course-card-info {
max-height: 75%;
}
.np-card-content-title{
color: #363636;
}
.course-card .np-card-container{
border-radius: 0;
box-shadow: 0 3px 30px rgba(0,0,0,.1);
/* overflow: hidden; */
z-index: unset;
}
.course-card .np-card-image{
border-radius: 0;
}
.card-bottom-details{
align-items: center;
background: #f2f4f5;
border-radius: 4px;
display: flex;
font-size: 0.875em;
flex-direction: row;
justify-content: space-between;
padding: 10px;
}
.np-course-outline-content-activity-title, .np-course-outline-content-activity-link{
font-size: 16px;
}
/* CAROUSEL BUTTON STYLES */
/*.carousel-buttons-container{
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.next-carousel-button,
.previous-carousel-button{
align-items: center;
display: flex;
height: 28px;
justify-content: center;
margin-bottom: 12px;
width: 28px;
}
.next-carousel-button{
margin-left: 39px;
}
.next-carousel-button:hover,
.previous-carousel-button:hover{
cursor: pointer;
}
.fa-arrow-left,
.fa-arrow-right{
font-size: 24px;
} */
/* EVENT CARDS */
.event-card{
min-width: 0;
}
@media screen and (min-width: 768px){
.event-card{
padding: 0 0 64px 32px !important;
}
}
/* FILTER STYLES */
.np-filter{
justify-content: center;
margin-bottom: 0;
margin-right: 15px;
}
.filter-buttons-container{
align-items: center;
display: flex;
flex-direction: row;
}
.product-filter-dropdown,
.category-filter-dropdown{
background-color: #fefefe;
border-radius: 4px;
color: #363636;
font-size: 1em;
font-weight: 700;
height: 60px;
line-height: 1;
padding: 5px 12px;
text-decoration: none;
}
.product-filter-dropdown:focus,
.category-filter-dropdown:focus{
border: 2px solid blue;
}
.product-filter-dropdown{
border: 1px solid #CE9DC7;
}
.category-filter-dropdown{
border: 1px solid #CE9DC7;
}
@media screen and (min-width: 768px){
.np-filter{
margin-top: 0;
margin-bottom: 0;
}
}
/* HERO STYLING */
/* @media screen and (min-width: 768px){
.np-homepage-hero{
margin: 0 -24px;
}
} */
.np-header-logo-image {
height: auto !important;
width: 100%;
max-width: 415px !important;
}
.catalog-search, .catalog-search:focus {
border-color: #0054bc !important;
height: 45px !important;
width: 100% !important;
min-width: 265px !important;
padding-left: 45px !important;
}
.search-icon {
left: 15px !important;
top: 15px !important;
}
.np-header-desktop-nav {
padding-top: 5px !important;
}
.profile-bio-account-settings-button {
transition: none !important;
background: linear-gradient(to right, #0054bc, #0dac14) !important;
}
.profile-bio-account-settings-button:focus,
.profile-bio-account-settings-button:hover {
background: #0054bc !important;
}
.np-footer-navigation-link:hover {
text-decoration: underline !important;
}
.product-filter-dropdown, .category-filter-dropdown {
border-color: #0054bc !important;
}
.np-card-training-sessions,
.np-card-content-label {
background: #0054bc10 !important;
}
.np-card-training-sessions .np-button,
.np-button-background-color.np-card-training-session-date-bar {
background: #0054bc !important;
}
.np-card-training-sessions .np-button:hover {
background: #000 !important;
}
.np-footer-logo-image {
filter: none;
opacity: 1;
}
@media only screen and (max-width: 767px) {
.np-header-avatar-image {
height: 34px !important;
}
.np-header-logo-image {
max-width: 275px !important;
}
}
.np-learning-paths .np-learning-path-image {
object-fit: contain !important;
}