Recast Templates for skipping overview page. Added Zenjob's templates. Some notes.
This commit is contained in:
@ -0,0 +1,253 @@
|
||||
/*
|
||||
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 }}
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "archia-regular";
|
||||
src: url("https://s3.amazonaws.com/static.northpass.com/recast/Archia-Regular.otf") format("opentype");
|
||||
}
|
||||
|
||||
main,
|
||||
body{
|
||||
font-family: "archia-regular", serif;
|
||||
}
|
||||
|
||||
|
||||
/* Global */
|
||||
.np-button{
|
||||
background: #29ABE2;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.np-button:hover{
|
||||
background: #FFFFFF !important;
|
||||
color: #29ABE2;
|
||||
border: 1px solid #29ABE2;
|
||||
}
|
||||
/* ----------------------------------------------------------------------------------------------------------------------- */
|
||||
/* Header */
|
||||
/* Header: Subnav */
|
||||
.np-sub-navigation{
|
||||
background: transparent;
|
||||
margin-bottom: 0;
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
|
||||
.np-sub-navigation-content-item-icon,
|
||||
.np-sub-navigation-content-item-link,
|
||||
.np-sub-navigation-content-item-active .np-sub-navigation-content-item-link,
|
||||
.np-button, .np-button-background-color,
|
||||
.sub-navigation-content-item-bar{
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media (min-width: 768px){
|
||||
.np-header-logo,
|
||||
.np-header-search{
|
||||
flex-grow: 0.5;
|
||||
}
|
||||
|
||||
.np-header-logo-image{
|
||||
height: 2.5rem;
|
||||
}
|
||||
|
||||
.np-header-avatar-image{
|
||||
height: 3.5rem;
|
||||
width: 3.5rem;
|
||||
}
|
||||
|
||||
.np-header-content .desktop-subnav{
|
||||
margin: 0 5%;
|
||||
}
|
||||
|
||||
.np-sub-navigation-content-item{
|
||||
margin: 0 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 900px){
|
||||
.np-sub-navigation-content-item{
|
||||
margin: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 900px){
|
||||
.np-sub-navigation-content-item{
|
||||
margin: 0 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------------------------------------------------------- */
|
||||
/* Homepage Sections */
|
||||
/* Section: Events */
|
||||
.np-homepage-hero-image{
|
||||
object-fit: fill;
|
||||
}
|
||||
|
||||
.homepage-event-card{
|
||||
padding: 1rem 2.3rem !important;
|
||||
}
|
||||
|
||||
.np-carousel {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.np-carousel .slick-track {
|
||||
display: flex;
|
||||
}
|
||||
.np-carousel .slick-slide {
|
||||
height: auto;
|
||||
}
|
||||
.np-carousel .np-card {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.np-carousel .slick-arrow {
|
||||
color: #089fb7;
|
||||
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;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.np-carousel .slick-arrow.fa-chevron-left {
|
||||
left: -8px;
|
||||
}
|
||||
|
||||
.np-carousel .slick-arrow.fa-chevron-right {
|
||||
right: -8px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.np-carousel .slick-arrow.fa-chevron-left:before {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.np-carousel .slick-arrow.fa-chevron-right:before {
|
||||
justify-content: flex-end;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.np-carousel .slick-arrow.slick-disabled {
|
||||
opacity: 0;
|
||||
cursor: text;
|
||||
}
|
||||
.np-carousel-card .np-card {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.np-carousel .slick-track {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.np-carousel .slick-arrow:before {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Section: Glossary */
|
||||
.np-glossary {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.np-accordion {
|
||||
margin: 0 22px 32px;
|
||||
}
|
||||
|
||||
.accordion-btn {
|
||||
color: #001e2e;
|
||||
background-color: #fff;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
min-height: 76px;
|
||||
padding: 0 18px 0 92px;
|
||||
text-align: left;
|
||||
border: none;
|
||||
outline: none;
|
||||
transition: 0.4s;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.fa-plus,
|
||||
.fa-minus {
|
||||
background: #323F48;
|
||||
font-size: 2.5rem;
|
||||
color: #29ABE2;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 76px;
|
||||
height: 76px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: 0.4s;
|
||||
border-radius: 8px 0 0 8px;
|
||||
}
|
||||
|
||||
.accordion-title,
|
||||
.accordion-panel-content {
|
||||
line-height: 1.375rem;
|
||||
position: relative;
|
||||
}
|
||||
.accordion-panel-content {
|
||||
padding: 18px;
|
||||
}
|
||||
.accordion-panel-content p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.accordion-panel-content:before {
|
||||
content: "";
|
||||
width: 75px;
|
||||
height: 1px;
|
||||
background: #B04EC4;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 18px;
|
||||
}
|
||||
|
||||
.accordion-panel {
|
||||
color: #001e2e;
|
||||
background-color: #fff;
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.4s ease-out;
|
||||
margin-left: 76px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.np-glossaries {
|
||||
margin: 0 4.0625rem;
|
||||
}
|
||||
.np-accordion {
|
||||
margin: 0 8px 32px;
|
||||
}
|
||||
}
|
||||
/* ----------------------------------------------------------------------------------------------------------------------- */
|
||||
Reference in New Issue
Block a user