313 lines
5.5 KiB
Plaintext
313 lines
5.5 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: "Jost", Arial, sans-serif;
|
|
color: #011638;
|
|
}
|
|
|
|
.np-sub-navigation {
|
|
display: none;
|
|
}
|
|
|
|
body,
|
|
.np-dashboard,
|
|
.np-learning-paths {
|
|
background-color: #011638;
|
|
}
|
|
|
|
.np-button {
|
|
transition: all 0.2s;
|
|
border-radius: 6px;
|
|
padding: 10px 14px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.np-button.np-button-white {
|
|
background-color: #fff;
|
|
color: #011638;
|
|
}
|
|
|
|
.np-card-ribbon {
|
|
background-color: #01bfb2;
|
|
}
|
|
|
|
.np-homepage {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.np-subpage-container {
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
}
|
|
|
|
.np-card-container {
|
|
box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.12);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.np-card-image {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.np-resource-title,
|
|
.np-resource-subtitle {
|
|
color: #fff;
|
|
}
|
|
|
|
.np-resource-title {
|
|
font-size: 32px;
|
|
font-weight: 600;
|
|
line-height: 40px;
|
|
letter-spacing: -0.4px;
|
|
}
|
|
|
|
@media(min-width:768px) {
|
|
.np-subpage-container {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.np-resource-title {
|
|
font-size: 40px;
|
|
line-height: 48px;
|
|
}
|
|
}
|
|
|
|
/* INSTRUCTORS */
|
|
.np-content-instructors-content-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom:12px;
|
|
}
|
|
|
|
.np-content-instructors-content-image {
|
|
border-radius: 50%
|
|
}
|
|
|
|
.np-content-instructors-content-description {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.np-card .np-content-instructors-content-image {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
/* COURSE CARDS */
|
|
.np-card .np-card-container {
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.course-card .np-progress-bar-container {
|
|
margin-bottom: 24px;
|
|
margin-top: 0;
|
|
height: 12px;
|
|
background-color: #E6E8EB;
|
|
}
|
|
|
|
.course-card .np-progress-bar-container .np-card-progress-bar {
|
|
min-width: 12px;
|
|
height: 12px;
|
|
background-color: #0D21A1;
|
|
}
|
|
|
|
.course-card .np-card-content-title {
|
|
margin: 16px 0 12px;
|
|
color: #011638;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
line-height: 32px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.course-card a.np-card-content-title:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.course-card .np-card-content-desc {
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
line-height: 24px;
|
|
color: #505C72;
|
|
}
|
|
|
|
.course-info-wrapper,
|
|
.event-info-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
justify-content:space-between;
|
|
}
|
|
|
|
.course-info,
|
|
.event-info {
|
|
background-color: #E7E9F5;
|
|
color: #0D21A1;
|
|
border-radius: 8px;
|
|
padding: 4px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 18px;
|
|
text-align: center;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.course-info-wrapper .course-level,
|
|
.event-info-wrapper .event-date {
|
|
border-radius: 6px;
|
|
background-color: #fff;
|
|
padding: 2px 8px;
|
|
}
|
|
|
|
.course-info-wrapper .course-length,
|
|
.event-info-wrapper .event-time {
|
|
margin: 0 6px;
|
|
}
|
|
|
|
.course-card .np-button {
|
|
margin-left: auto;
|
|
}
|
|
|
|
@media(min-width:768px) {
|
|
.np-card {
|
|
height: 100%;
|
|
}
|
|
|
|
.course-card .np-card-content-title {
|
|
font-size: 26px;
|
|
line-height: 34px;
|
|
}
|
|
|
|
.np-content-instructors-content-item {
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.np-content-instructors-content-description {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
/* EVENTS CARDS */
|
|
.training-event-card .np-card-content-training-event {
|
|
padding: 0;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.training-event-card .np-card-content-title {
|
|
margin: 0 0 12px;
|
|
color: #011638;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
line-height: 32px;
|
|
text-decoration:none;
|
|
}
|
|
|
|
.training-event-card a.np-card-content-title:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.training-event-card .np-card-content-subtitle {
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 24px;
|
|
color: #505C72;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 4;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.training-event-card .np-card-content {
|
|
margin-top: 24px;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.training-event-card .session-status-label {
|
|
font-size: 14px;
|
|
color: #01bfb2;
|
|
font-weight: 600;
|
|
}
|
|
|
|
@media(min-width:768px) {
|
|
.training-event-card {
|
|
min-height:350px;
|
|
}
|
|
|
|
.training-event-card .np-card-content-title {
|
|
font-size: 30px;
|
|
line-height: 38px;
|
|
}
|
|
}
|
|
|
|
/* LEARNING PATH CARDS */
|
|
.np-learning-path .np-card-content-title {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
color: #011638;
|
|
}
|
|
|
|
.np-learning-path .np-card-progress-bar-container,
|
|
.np-learning-path .np-card-progress-bar {
|
|
height:12px;
|
|
}
|
|
|
|
/* SEARCH PAGE STYLES */
|
|
|
|
.np-resource-subtitle-number,
|
|
.np-resource-subtitle span.np-button-color {
|
|
color: #01bfb2 !important;
|
|
font-weight: 600
|
|
}
|
|
|
|
/* LEARNING PATH PAGE */
|
|
.np-learning-path-outline-item,
|
|
#learning-path-desktop .np-resource-header-card,
|
|
#learning-path-desktop .np-top-cta,
|
|
#learning-path-mobile .np-top-cta,
|
|
#learning-path-mobile .np-card-container,
|
|
#learning-path-desktop .np-card-container {
|
|
border-radius:12px;
|
|
}
|
|
|
|
#learning-path-mobile .np-resource-header .np-top-title,
|
|
#learning-path-mobile .np-resource-header .np-text-title {
|
|
color:#fff;
|
|
}
|
|
|
|
.np-learning-path-outline-item {
|
|
background-color:#fff;
|
|
border:none;
|
|
}
|
|
|
|
.np-learning-path-outline-name .np-top-title,
|
|
.np-top-cta-progress-title.np-text-title {
|
|
color:#011638;
|
|
font-weight:600;
|
|
}
|
|
|
|
.np-learning-path-outline-icon {
|
|
color:#0d21a1;
|
|
} |