mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
001626eae8
* platform page and images * add hrefs and link styles * update responsive layout and images * remove waves, lint fixes * page locals * Update new-license.ejs * Revert "Update new-license.ejs" This reverts commit ade27acf43c6373993f74febe89881ea0a47f944. * Update platform.ejs * reorder topnav, adjust mobile styles * add href, fix padding * a couple of style tweaks • Reduced space between sections. • Center-aligned images and text vertically. Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
288 lines
4.7 KiB
Plaintext
Vendored
288 lines
4.7 KiB
Plaintext
Vendored
@footer-height: 222px;
|
|
@container-md-max-width: 1100px;
|
|
|
|
[v-cloak] { display: none; }
|
|
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
[purpose='page-wrap'] {
|
|
height: 100%;
|
|
height: auto !important;//lesshint-disable-line importantRule,duplicateProperty
|
|
min-height: 100%;
|
|
position: relative;
|
|
padding-bottom: @footer-height;
|
|
}
|
|
|
|
[purpose='page-header'].homepage-header {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
.dropdown:hover > .dropdown-menu {
|
|
display: block;
|
|
}
|
|
.header-btn {
|
|
color: #ffffff;
|
|
cursor: unset;
|
|
font-family: @navigation-font;
|
|
font-weight: @bold;
|
|
border: 0;
|
|
}
|
|
.header-link {
|
|
color: #ffffff;
|
|
font-weight: @bold;
|
|
svg {
|
|
path {
|
|
fill: #ffffff;
|
|
}
|
|
}
|
|
}
|
|
.header-link:hover {
|
|
color: #6a67fe;
|
|
|
|
svg {
|
|
path {
|
|
fill: #6a67fe;
|
|
}
|
|
}
|
|
}
|
|
.mobile-menu {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
pointer-events: none;
|
|
background-color: #ffffff;
|
|
}
|
|
.collapsing {
|
|
opacity: 0;
|
|
transition: 0s;
|
|
}
|
|
.collapse.show {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
z-index: 3;
|
|
}
|
|
.collapse {
|
|
opacity: 0;
|
|
}
|
|
.mobile-menu-item {
|
|
color: #192147;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
}
|
|
.mobile-menu-item:hover {
|
|
background-color: #f1f0ff;
|
|
font-weight: @bold;
|
|
}
|
|
.mobile-menu-item:active {
|
|
background-color: #f1f0ff;
|
|
font-weight: @bold;
|
|
}
|
|
.menu-link {
|
|
color: #192147;
|
|
font-weight: @bold;
|
|
svg {
|
|
path {
|
|
fill: #192147;
|
|
}
|
|
}
|
|
}
|
|
.menu-link:hover {
|
|
color: #6a67fe;
|
|
|
|
svg {
|
|
path {
|
|
fill: #6a67fe;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[purpose='page-header'].header {
|
|
left: 0;
|
|
right: 0;
|
|
border-bottom: 1px solid #e2e4ea;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
|
.dropdown:hover > .dropdown-menu {
|
|
display: block;
|
|
}
|
|
.header-btn {
|
|
color: #192147;
|
|
cursor: unset;
|
|
font-family: @navigation-font;
|
|
font-weight: @bold;
|
|
}
|
|
// .header-btn[aria-expanded='true'] {
|
|
// color: #6a67fe;
|
|
// }
|
|
.header-link {
|
|
color: #192147;
|
|
font-weight: @bold;
|
|
}
|
|
.current-page {
|
|
color: #6a67fe;
|
|
svg {
|
|
path {
|
|
fill: #6a67fe;
|
|
}
|
|
}
|
|
}
|
|
.header-link:hover {
|
|
color: #6a67fe;
|
|
|
|
svg {
|
|
path {
|
|
fill: #6a67fe;
|
|
}
|
|
}
|
|
}
|
|
.mobile-menu {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
pointer-events: none;
|
|
background-color: #ffffff;
|
|
}
|
|
.collapsing {
|
|
opacity: 0;
|
|
}
|
|
.collapse.show {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
z-index: 3;
|
|
}
|
|
.collapse {
|
|
opacity: 0;
|
|
}
|
|
.mobile-menu-item {
|
|
color: #192147;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
}
|
|
.mobile-menu-item:hover {
|
|
background-color: #f1f0ff;
|
|
font-weight: @bold;
|
|
}
|
|
.mobile-menu-item:active {
|
|
background-color: #f1f0ff;
|
|
font-weight: @bold;
|
|
}
|
|
.menu-link {
|
|
color: #192147;
|
|
font-weight: @bold;
|
|
svg {
|
|
path {
|
|
fill: #192147;
|
|
}
|
|
}
|
|
}
|
|
.menu-link:hover {
|
|
color: #6a67fe;
|
|
|
|
svg {
|
|
path {
|
|
fill: #6a67fe;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[purpose='page-footer'] {
|
|
color: white;
|
|
height: @footer-height;
|
|
width: 100%;
|
|
position: absolute;
|
|
left: 0px;
|
|
bottom: 0px;
|
|
|
|
a {
|
|
color: white;
|
|
}
|
|
|
|
[purpose='footer-container'] {
|
|
padding-left: 40px;
|
|
padding-right: 40px;
|
|
padding-bottom: 32px;
|
|
padding-top: 40px;
|
|
}
|
|
|
|
[purpose='footer-bottom'] {
|
|
padding-left: 40px;
|
|
padding-right: 70px;
|
|
|
|
}
|
|
|
|
[purpose='footer-nav'] {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
[purpose='legal-nav'] {
|
|
padding-left: 16px;
|
|
display: inline;
|
|
font-size: 11px;
|
|
line-height: 18px;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
body.detected-mobile {
|
|
// Above and beyond the media queries below, this selector (which relies on
|
|
// `parasails` automatically attaching this class, if appropriate) contains
|
|
// styles intended to be activated specifically when loaded from a recognized
|
|
// mobile device, regardless of viewport dimensions. This includes tablet
|
|
// devices (like the iPad) as well as handset devices (like the iPhone).
|
|
// …
|
|
}
|
|
|
|
|
|
.dropdown:hover > .btn.btn-link {
|
|
color: #6a67fe;
|
|
}
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
[purpose='page-wrap'] {
|
|
padding-bottom: 264px;
|
|
|
|
[purpose='page-footer'] {
|
|
height: 264px;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
@media (max-width: 575px) {
|
|
[purpose='page-wrap'] {
|
|
padding-bottom: 371px;
|
|
|
|
[purpose='page-footer'] {
|
|
height: 371px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 490px) {
|
|
[purpose='page-wrap'] {
|
|
padding-bottom: 581px;
|
|
|
|
[purpose='page-footer'] {
|
|
height: 581px;
|
|
|
|
[purpose='footer-nav'] {
|
|
display: block;
|
|
}
|
|
[purpose='legal-nav'] {
|
|
padding-left: 0px;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|