Initial commit
This commit is contained in:
@@ -0,0 +1,262 @@
|
||||
@use "../variables/variables" as v;
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
background-color: v.$nav-white;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.help-nav-mobile {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
padding: v.$panel-split-padding-vertical 0;
|
||||
|
||||
.nav-button {
|
||||
z-index: 10;
|
||||
|
||||
background: none;
|
||||
border: none;
|
||||
img {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
margin: 0 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.help-nav-content {
|
||||
list-style: none;
|
||||
|
||||
background-color: v.$side-nav-mobile-color;
|
||||
|
||||
/* MOBILE PROPERTIES */
|
||||
// position: absolute;
|
||||
width: 320px;
|
||||
left: -420px;
|
||||
top: 61px;
|
||||
padding-top: 30px;
|
||||
|
||||
z-index: 3;
|
||||
|
||||
padding-right: 16px;
|
||||
// bottom: 32px;
|
||||
padding-bottom: 32px;
|
||||
transition: 0.3s;
|
||||
// max-height: calc(100vh - 80px);
|
||||
height: 100vh;
|
||||
max-height: calc(100vh - 130px - 75px);
|
||||
overflow-y: auto;
|
||||
|
||||
a {
|
||||
font-weight: 400;
|
||||
color: #46535b;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #46535b;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
> li {
|
||||
padding: 8px;
|
||||
border-radius: 6px;
|
||||
line-height: 0rem;
|
||||
|
||||
> a {
|
||||
p {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
img {
|
||||
margin: 0 8px 0 4px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.sub-links {
|
||||
list-style: none;
|
||||
display: block;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 8px;
|
||||
|
||||
a {
|
||||
margin-left: 24px;
|
||||
line-height: 1.8rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
li:hover {
|
||||
background: #ffffff;
|
||||
opacity: 0.5;
|
||||
border-radius: 6px;
|
||||
// width: 100%;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.disabled-li-hover:hover {
|
||||
background: none;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&.focused-menu {
|
||||
background-color: #ffffff;
|
||||
.active {
|
||||
color: v.$navigation-maincolor;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.help-nav {
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 4px 40px rgb(0 0 0 / 25%);
|
||||
position: sticky;
|
||||
position: -webkit-sticky;
|
||||
top: 0;
|
||||
z-index: 500;
|
||||
}
|
||||
|
||||
@media (min-width: v.$layout-breakpoint-x-large) {
|
||||
.help-nav-title {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.help-nav {
|
||||
position: relative;
|
||||
z-index: 50;
|
||||
top: 65px;
|
||||
}
|
||||
|
||||
.root-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.help-nav-mobile {
|
||||
background-color: v.$nav-white;
|
||||
position: fixed;
|
||||
padding-bottom: 0;
|
||||
.nav-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.help-nav-content {
|
||||
position: fixed;
|
||||
box-shadow: none;
|
||||
left: 20px;
|
||||
background-color: v.$nav-white;
|
||||
padding-top: 0;
|
||||
top: 130px;
|
||||
> li {
|
||||
&.focused-menu {
|
||||
background-color: v.$side-nav-mobile-color;
|
||||
.active {
|
||||
color: v.$navigation-maincolor;
|
||||
font-weight: 700;
|
||||
}
|
||||
.disabled-menu {
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
color: gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.help-padding-top {
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
.help-page-elements {
|
||||
> img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
> h3 {
|
||||
scroll-margin-top: 70px;
|
||||
}
|
||||
> h2 {
|
||||
scroll-margin-top: 70px;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-pills .nav-link.active {
|
||||
background-color: transparent;
|
||||
color: #006cb7;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.help-subheader-title {
|
||||
font-family: "Roboto";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 28px;
|
||||
line-height: 42px;
|
||||
|
||||
color: v.$navigation-maincolor;
|
||||
}
|
||||
|
||||
.help-nav-title {
|
||||
display: none;
|
||||
font-weight: 300;
|
||||
margin-top: 4rem;
|
||||
margin-left: 2rem;
|
||||
font-size: 1.5rem;
|
||||
color: #848c91;
|
||||
}
|
||||
|
||||
.anchor-margin {
|
||||
padding-top: 130px;
|
||||
}
|
||||
|
||||
.smaller-field {
|
||||
max-height: 350px;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
.help-main-container:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.active-subgroup {
|
||||
background: #e0e6ea;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.subarea-link.nav-link {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
#help-nav-small-font {
|
||||
font-size: unset;
|
||||
}
|
||||
|
||||
.subarea-link.nav-link.active {
|
||||
color: v.$navigation-maincolor !important;
|
||||
background-color: unset;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.nav-link.ms-2.active {
|
||||
color: v.$navigation-maincolor !important;
|
||||
background-color: unset;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.nav-pills .show > .nav-link {
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
.collapsed-content {
|
||||
max-height: 0;
|
||||
transition: max-height 0.4s ease-out;
|
||||
overflow: hidden;
|
||||
}
|
||||
Reference in New Issue
Block a user