466 lines
7.5 KiB
Plaintext
466 lines
7.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 }}
|
|
*/
|
|
|
|
/* HOMEPAGE */
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
li {
|
|
display: block;
|
|
}
|
|
|
|
.np-top-button {
|
|
border-radius: 30px;
|
|
}
|
|
|
|
.np-homepage-subheadline {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.np-homepage-hero {
|
|
background-color: #001588;
|
|
display: block;
|
|
position: relative;
|
|
}
|
|
|
|
.np-homepage-hero-content {
|
|
color: white;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.np-homepage-hero-cta.np-button {
|
|
background-color: #058ccf;
|
|
padding: 30px;
|
|
padding-left: 70px;
|
|
padding-right: 70px;
|
|
}
|
|
|
|
.np-button.mizuno-login {
|
|
background: none;
|
|
}
|
|
|
|
.angled-section {
|
|
margin: -15px auto 100px;
|
|
position: relative;
|
|
}
|
|
|
|
.angled-section:before {
|
|
content: "";
|
|
width: 100%;
|
|
background-color: inherit;
|
|
height: calc(100% + 200px);
|
|
position: absolute;
|
|
left: 0;
|
|
transform: translateY(-50%);
|
|
transform-origin: left bottom;
|
|
transform: skewY(15.5deg);
|
|
}
|
|
|
|
.angled-section-container {
|
|
position: relative;
|
|
margin: auto;
|
|
max-width: 1440px;
|
|
}
|
|
|
|
.homepage-section {
|
|
background: #001588;
|
|
}
|
|
|
|
.homepage-section-container {
|
|
text-align: center;
|
|
padding: 20px 0 60px;
|
|
}
|
|
|
|
.features-section {
|
|
background: #efeff8;
|
|
}
|
|
|
|
@media screen and (min-width: 375px){
|
|
.angled-section:before {
|
|
transform: skewY(15deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 400px){
|
|
.angled-section:before {
|
|
transform: skewY(14deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 425px){
|
|
.angled-section:before {
|
|
transform: skewY(13deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 450px){
|
|
.angled-section:before {
|
|
transform: skewY(12.25deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 450px){
|
|
.angled-section:before {
|
|
transform: skewY(11.5deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 480px){
|
|
.angled-section {
|
|
margin: 0px auto 100px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 500px){
|
|
.angled-section:before {
|
|
transform: skewY(11.5deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 525px){
|
|
.angled-section:before {
|
|
transform: skewY(10.25deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 550px){
|
|
.angled-section:before {
|
|
transform: skewY(7.25deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 600px){
|
|
.angled-section:before {
|
|
transform: skewY(6.5deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 650px){
|
|
.angled-section:before {
|
|
transform: skewY(6deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 700px){
|
|
.angled-section:before {
|
|
transform: skewY(5.25deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 750px){
|
|
.angled-section:before {
|
|
transform: skewY(4.75deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 768px){
|
|
.angled-section {
|
|
margin: 30px auto 100px;
|
|
}
|
|
|
|
.angled-section:before {
|
|
transform: skewY(3deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 850px){
|
|
.angled-section:before {
|
|
transform: skewY(3deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 900px){
|
|
.angled-section:before {
|
|
transform: skewY(2.35deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 900px){
|
|
.angled-section:before {
|
|
transform: skewY(2.15deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1000px){
|
|
.angled-section:before {
|
|
transform: skewY(1.9deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1075px){
|
|
.angled-section:before {
|
|
transform: skewY(1.6deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1150px){
|
|
.angled-section:before {
|
|
transform: skewY(1.5deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1225px){
|
|
.angled-section:before {
|
|
transform: skewY(1.25deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1300px){
|
|
.angled-section:before {
|
|
transform: skewY(1deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1400px){
|
|
.angled-section:before {
|
|
transform: skewY(0.85deg);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1500px){
|
|
.angled-section:before {
|
|
transform: skewY(0.65deg);
|
|
}
|
|
}
|
|
|
|
/* END
|
|
HOMEPAGE */
|
|
|
|
/* DASHBOARD */
|
|
|
|
.np-dashboard {
|
|
background: #fff;
|
|
}
|
|
|
|
.category-header-wrapper {
|
|
margin: 16px 12px;
|
|
}
|
|
|
|
.np-dashboard-resources-title,
|
|
.np-dashboard-resources-category {
|
|
font-size: 18px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.category-header-wrapper {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
/* END */
|
|
/* DASHBOARD */
|
|
|
|
/* SUB NAVIGATION */
|
|
.np-sub-navigation {
|
|
margin-bottom: 0;
|
|
padding: 0 1rem 16px;
|
|
background: linear-gradient(
|
|
0deg,
|
|
rgba(237, 237, 237, 1) 0%,
|
|
rgba(254, 254, 254, 1) 30%,
|
|
rgba(254, 254, 254, 1) 70%,
|
|
rgba(237, 237, 237, 1) 100%
|
|
);
|
|
background-size: cover;
|
|
position: relative;
|
|
}
|
|
|
|
.np-sub-navigation-content-item-link {
|
|
justify-content: flex-end;
|
|
height: 30px;
|
|
color: #001588;
|
|
font-size: 10px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.np-sub-navigation-content-item-active .np-sub-navigation-content-item-link {
|
|
color: #001588;
|
|
font-weight: 700;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.np-sub-navigation-content-item-active .np-sub-navigation-content-item-link,
|
|
.np-sub-navigation-content-item-active .np-sub-navigation-content-item-bar {
|
|
opacity: 1;
|
|
}
|
|
|
|
.np-sub-navigation-content-item-bar {
|
|
background-color: #001588;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
opacity: 0;
|
|
display: block;
|
|
height: 0.2rem;
|
|
}
|
|
|
|
@media screen and (min-width: 550px){
|
|
.np-sub-navigation-content-item-link {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 650px){
|
|
.np-sub-navigation-content-item-link {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 850px){
|
|
.np-sub-navigation-content-item-link {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
/* END */
|
|
/* SUB NAVIGATION */
|
|
|
|
/* COURSE CARDS */
|
|
.np-card-container {
|
|
background: #f5f5f5;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.np-card-content-title {
|
|
color: #292929;
|
|
}
|
|
|
|
.np-card-content-footer {
|
|
display: block;
|
|
}
|
|
|
|
.np-card-content-progress {
|
|
margin-bottom: 12px;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.np-card .np-button {
|
|
width: 100%;
|
|
border-radius: 30px;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.np-course-details {
|
|
display: flex;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.row .np-card {
|
|
margin: 0;
|
|
padding: 0 10px 4rem;
|
|
}
|
|
|
|
.np-course-detail {
|
|
font-size: 1.5rem;
|
|
}
|
|
.np-course-banner-info .np-course-details {
|
|
max-width: 430px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1170px) {
|
|
.np-course-banner-info .np-course-detail {
|
|
font-size: 2rem;
|
|
}
|
|
.np-course-banner-info .np-details-label {
|
|
font-size: 1.062rem;
|
|
margin-top: 3px;
|
|
}
|
|
}
|
|
|
|
/* END */
|
|
/* COURSE CARDS */
|
|
|
|
/* LEARNING PATH CARDS */
|
|
|
|
.np-learning-paths{
|
|
background: #ffffff;
|
|
}
|
|
|
|
.np-learning-path .np-button {
|
|
width: auto;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.np-learning-path .np-learning-path-items {
|
|
display: none;
|
|
}
|
|
|
|
/* END */
|
|
/* LEARNING PATH CARDS */
|
|
|
|
/* CAROUSEL STYLES */
|
|
.np-carousel .slick-arrow {
|
|
color: #001588;
|
|
font-size: 2.5rem;
|
|
opacity: 1;
|
|
transition: opacity 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
top: 0;
|
|
}
|
|
|
|
.np-carousel .slick-arrow:before {
|
|
position: absolute;
|
|
width: 80px;
|
|
z-index: 500;
|
|
display: flex;
|
|
height: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.np-carousel .slick-arrow.fa-chevron-left {
|
|
left: -30px;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.np-carousel .slick-arrow.fa-chevron-right {
|
|
right: -15px;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.np-carousel .np-card {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
/* END */
|
|
/* CAROUSEL STYLES */
|
|
|
|
|
|
@media screen and (min-width: 768px){
|
|
.np-subpage-container {
|
|
padding: 80px 5% 0;
|
|
}
|
|
}
|