433 lines
6.9 KiB
Plaintext
433 lines
6.9 KiB
Plaintext
/*
|
|
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 }}
|
|
*/
|
|
|
|
body {
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
color: #000000;
|
|
/* Use the desired text color */
|
|
height: 100%;
|
|
}
|
|
|
|
body, main{
|
|
width:100vw;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.np-card-ribbon {
|
|
background-color: {
|
|
{
|
|
color_palette.button_hover_color
|
|
}
|
|
}
|
|
|
|
;
|
|
}
|
|
|
|
html body .np-main,
|
|
html body .np-dashboard {
|
|
background: #F5F6F7 !important;
|
|
}
|
|
|
|
html body .np-main.np-dashboard,
|
|
html body .np-dashboard.np-subpage-container,
|
|
html body .np-main.np-dashboard.np-subpage-container {
|
|
background: #F5F6F7 !important;
|
|
}
|
|
|
|
.np-homepage,
|
|
.np-homepage-featured {
|
|
background: #F5F6F7 !important;
|
|
}
|
|
|
|
.np-footer {
|
|
background: {
|
|
{
|
|
color_palette.header_color
|
|
}
|
|
}
|
|
|
|
;
|
|
|
|
color: {
|
|
{
|
|
color_palette.button_font_color
|
|
}
|
|
}
|
|
|
|
;
|
|
}
|
|
|
|
.carrot-button-container{
|
|
text-align: center;
|
|
}
|
|
|
|
.flex-column-center {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.global-section-title {
|
|
color: var(--np-button-color);
|
|
margin: 10px 0;
|
|
text-align: center;
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.global-section-subtitle {
|
|
color: #59697b;
|
|
font-size: 18px;
|
|
margin: 10px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.load-more-btn {
|
|
font-weight: bold;
|
|
color: #003d29;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
padding: 10px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.load-more-btn:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.carrot-card-container{
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
min-height: 350px;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.carrot-card-padding{
|
|
padding: 20px 20px 0 20px;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.slick-list{
|
|
overflow: unset !important;
|
|
}
|
|
|
|
.slick-list.draggable{
|
|
padding: 0 16px !important;
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
|
|
.carrot-card-container{
|
|
border-radius: 15px;
|
|
min-height: 400px;
|
|
}
|
|
|
|
.global-section-title {
|
|
margin: 0 0 20px;
|
|
text-align: left;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.global-section-subtitle {
|
|
margin: 0 0 20px;
|
|
text-align: left;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.carrot-button-container{
|
|
text-align: left;
|
|
}
|
|
|
|
.catalog-card,
|
|
.paths-carousel-container .np-card {
|
|
min-height: 100%;
|
|
min-width: 100%;
|
|
}
|
|
|
|
.row .catalog-card,
|
|
.slick-slide .catalog-card,
|
|
.paths-carousel-container .np-card {
|
|
margin: 0;
|
|
padding: 0 32px 64px;
|
|
}
|
|
|
|
.padded-row {
|
|
padding: 0 32px;
|
|
}
|
|
|
|
.lp-footer-placeholder {
|
|
margin-top: 16px;
|
|
}
|
|
}
|
|
|
|
.catalog-card,
|
|
.paths-carousel-container .np-card {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.slick-track {
|
|
display: flex !important;
|
|
}
|
|
|
|
.slick-initialized .slick-slide {
|
|
height: auto !important;
|
|
display: flex !important;
|
|
}
|
|
|
|
.slick-slide>div {
|
|
flex: 1;
|
|
display: flex;
|
|
}
|
|
|
|
.np-card {
|
|
position: relative;
|
|
}
|
|
|
|
.lp-footer-placeholder {
|
|
height: 50px;
|
|
width: 100%;
|
|
}
|
|
|
|
.np-card-content-footer {
|
|
position: absolute;
|
|
width: calc(100% - 40px);
|
|
bottom: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.np-card-content-progress{
|
|
color: #ff7308;
|
|
}
|
|
|
|
.np-card-content-progress{
|
|
margin-top: 0;
|
|
}
|
|
|
|
.np-footer{
|
|
background-color: #003d29;
|
|
color: white;
|
|
}
|
|
|
|
.np-footer-navigation-link{
|
|
color: white;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.np-footer-logo-image {
|
|
filter: none;
|
|
opacity: 1;
|
|
}
|
|
|
|
.slick-next, .slick-prev {
|
|
display: none !important;
|
|
}
|
|
|
|
.zero-state-container{
|
|
width: calc(100% - 64px);
|
|
margin: 0 32px 64px 32px;
|
|
}
|
|
|
|
.np-card-ribbon{
|
|
background-color: #ff7009
|
|
}
|
|
|
|
.np-card-stack>div{
|
|
border-radius: 15px;
|
|
}
|
|
|
|
|
|
.carrot-button-container>a, .carrot-button-container>button{
|
|
text-decoration: none;
|
|
background-color: #013d29;
|
|
color: white;
|
|
padding: 10px 15px;
|
|
border-radius: 4px;
|
|
font-weight: bold;
|
|
margin: 10px 0 30px;
|
|
display: inline-block;
|
|
border: none;
|
|
}
|
|
|
|
.carrot-button-container > .carrot-button-secondary{
|
|
background-color: #d9dfe2;
|
|
color: #36404e;
|
|
padding: 10px 15px;
|
|
border-radius: 4px;
|
|
font-weight: bold;
|
|
}
|
|
.carrot-padded-row{
|
|
padding: 0 26px;
|
|
}
|
|
|
|
.np-header-mobile-menu-content-button, .np-header-mobile-menu-content-name{
|
|
color: #013d29;
|
|
position: relative;
|
|
}
|
|
|
|
.custom-card-header {
|
|
align-items: center;
|
|
border-bottom: 1px solid #d9dfe2;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 12px;
|
|
}
|
|
.np-card-content-subtitle{
|
|
color: #979797;
|
|
}
|
|
|
|
.card-visible {
|
|
visibility: visible !important;
|
|
}
|
|
|
|
.flex-1{
|
|
flex: 1;
|
|
}
|
|
|
|
.np-header-mobile-menu-content{
|
|
max-width: 100vw;
|
|
}
|
|
|
|
.minified-card-container{
|
|
display: flex;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px 0 rgba(72, 103, 118, .5);
|
|
position: relative;
|
|
z-index: 30;
|
|
background-color: #fff;
|
|
height: 100%;
|
|
}
|
|
|
|
.minified-card-image-container{
|
|
width: 115px;
|
|
display: flex
|
|
;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
|
|
|
|
.minified-card-image-container-image{
|
|
width: 78px;
|
|
height: 60px;
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
.minified-card-padding{
|
|
padding: 10px;
|
|
}
|
|
|
|
.minified-catalog-card{
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.np-filter{
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.justify-center{
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.course-rating, .course-duration{
|
|
display: inline-block;
|
|
}
|
|
|
|
.course-rating{
|
|
width: 50px;
|
|
}
|
|
|
|
.color-main{
|
|
color: var(--color-main);
|
|
}
|
|
|
|
.np-header-mobile-menu-content-button{
|
|
box-shadow: none;
|
|
}
|
|
|
|
.carrot-achievments-container{
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 20px
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
|
|
.carrot-achievments-container{
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
.carrot-achievments-container{
|
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
/* Achievement Tooltip Styles */
|
|
.achievement-tooltip {
|
|
position: absolute;
|
|
left: 0;
|
|
top: -10px;
|
|
transform: translateY(-100%);
|
|
background: #333;
|
|
color: white;
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 18px;
|
|
letter-spacing: 0;
|
|
width: 90vw;
|
|
max-width: 250px;
|
|
z-index: 99999;
|
|
}
|
|
|
|
.achievement-tooltip::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 100%;
|
|
left: var(--triangle-position-left);
|
|
right: var(--triangle-position-right);
|
|
transform: translateX(-50%);
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 6px solid transparent;
|
|
border-right: 6px solid transparent;
|
|
border-top: 6px solid #333;
|
|
}
|
|
|
|
|
|
.achievements-carousel-container .carrot-achievment-modal {
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.homepage-carrot-achievments-item {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
|
|
.homepage-carrot-achievments-item img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
} |