fleet/website/assets/styles/pages/fleet-mdm.less
Mike Thomas 0ce8c65960
Update mdm and compliance landpages (#9814)
- changed /device-management to a teaser layout as per this [Slack
thread](https://fleetdm.slack.com/archives/C01ALP02RB5/p1676053098600709).
- updated pre-header styling on /device-management and /compliance
- updated badge in the navigation to say "Limited beta".

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2023-02-14 11:19:04 -06:00

432 lines
8.6 KiB
Plaintext
Vendored

#device-management {
h1 {
font-weight: 800;
font-size: 64px;
line-height: 54px;
}
h2 {
font-weight: 800;
font-size: 32px;
line-height: 38px;
margin-bottom: 40px;
}
h3 {
font-weight: 800;
font-size: 24px;
line-height: 32px;
}
h4 {
color: @core-fleet-black-75;
font-weight: 500;
font-size: 18px;
line-height: 24px;
/* Text gradient */
background: linear-gradient(90deg, #FF5C83 0%, #6A67FE 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
display: inline-block;
/* End text gradient */
}
p {
font-size: 16px;
line-height: 24px;
}
[purpose='hero-background'] {
background: linear-gradient(180deg, #E8F1F7 3.37%, #FFFFFF 60%);
padding-top: 120px;
padding-bottom: 60px;
}
[purpose='hero-container'] {
max-width: 1200px;
}
[purpose='hero-text'] {
text-align: center;
max-width: 560px;
margin-bottom: 80px;
h1 {
margin-bottom: 32px;
}
p {
font-size: 18px;
line-height: 27px;
margin-bottom: 32px;
}
}
[purpose='hero-image'] {
max-width: 1000px;
}
[purpose='button-row'] {
a {
font-weight: 700;
font-size: 16px;
line-height: 24px;
}
[purpose='mdm-beta-button'] {
cursor: pointer;
margin-right: 32px;
background: @core-vibrant-red;
border-radius: 8px;
padding-left: 32px;
padding-right: 32px;
height: 48px;
display: flex;
justify-content: center;
align-items: center;
color: #FFF;
position: relative;
}
[purpose='mdm-beta-button']::before {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
opacity: 1;
content: ' ';
position: absolute;
top: 0;
left: -5px;
width: 50%;
height: 100%;
transform: skew(-10deg);
transition: left 0.5s ease-in, opacity 0.50s ease-in, width 0.5s ease-in;
}
[purpose='mdm-beta-button']:hover:before {
opacity: 0;
left: 160px;
width: 110%;
}
[purpose='animated-arrow-button-red'] {
display: inline;
padding-right: 40px;
cursor: pointer;
position: relative;
width: fit-content;
min-width: 125px;
font-weight: bold;
user-select: none;
transition: 0.2s ease-in-out;
-o-transition: 0.2s ease-in-out;
-ms-transition: 0.2s ease-in-out;
-moz-transition: 0.2s ease-in-out;
-webkit-transition: 0.2s ease-in-out;
color: @core-fleet-black;
text-decoration: none;
&:after {
content: url('/images/arrow-right-red-16x16@2x.png');
transform: scale(0.5);
position: absolute;
top: -5px;
left: 80%; // <--- here
transition: 0.2s ease-in-out;
-o-transition: 0.2s ease-in-out;
-ms-transition: 0.2s ease-in-out;
-moz-transition: 0.2s ease-in-out;
-webkit-transition: 0.2s ease-in-out;
/* opacity: 0; */
}
&:hover:after {
left: 82%; // <--- here
transition: 0.2s ease-in-out;
-o-transition: 0.2s ease-in-out;
-ms-transition: 0.2s ease-in-out;
-moz-transition: 0.2s ease-in-out;
-webkit-transition: 0.2s ease-in-out;
/* opacity:1; */
}
}
}
[purpose='page-container'] {
padding-left: 40px;
padding-right: 40px;
}
[purpose='section'] {
margin-top: 120px;
margin-bottom: 120px;
}
[purpose='section']:first-of-type {
margin-top: 60px;
}
[purpose='feature'] {
margin-top: 60px;
max-width: 960px;
h3 {
margin-bottom: 24px;
}
div {
max-width: 480px;
}
}
[purpose='feature-image'] {
height: 100%;
img {
max-height: 300px;
}
}
[purpose='checklists'] {
margin-top: 40px;
margin-bottom: 80px;
}
[purpose='checklist'] {
p {
padding-left: 24px;
text-indent: -24px;
}
p::before {
content: ' ';
background-image: url('/images/icon-checkmark-purple-circle-12x12@2x.png');
background-size: 16px 16px;
display: inline-block;
position: relative;
top: 2px;
margin-right: 12px;
width: 16px;
height: 16px;
}
}
[purpose='tweets-container'] {
padding-top: 120px;
padding-bottom: 120px;
background-color: @ui-off-white;
}
[purpose='logos'] {
height: 80px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
img {
margin-top: 23.5px;
margin-bottom: 23.5px;
padding-left: 35px;
padding-right: 35px;
}
[purpose='snowflake-logo'] {
height: 30px;
}
[purpose='wayfair-logo'] {
height: 33px;
}
[purpose='uber-logo'] {
height: 29px;
}
[purpose='atlassian-logo'] {
height: 22px;
}
[purpose='segment-logo'] {
height: 32px;
}
}
[purpose='modal-form'] {
input {
border-radius: 6px;
height: 48px;
}
// Disable default buttons on type="number" inputs
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type='number'] {
-moz-appearance: textfield;
}
label {
font-weight: 700;
}
width: 100%;
max-width: 450px;
}
[purpose='submit-button'] {
border-radius: 8px;
}
[purpose='modal-dialog'] {
max-width: 800px;
}
[purpose='modal-content'] {
padding-top: 80px;
padding-left: 80px;
padding-right: 80px;
padding-bottom: 120px;
max-width: 100%;
}
@media (min-width: 1200px) {
[purpose='page-container'] {
padding-left: 120px;
padding-right: 120px;
}
}
@media (max-width: 1200px) {
[purpose='logos'] {
height: 58px;
margin-left: auto;
margin-right: auto;
img {
margin-top: 23.5px;
margin-bottom: 23.5px;
padding-left: 25px;
padding-right: 25px;
}
[purpose='snowflake-logo'] {
height: 21px;
}
[purpose='wayfair-logo'] {
height: 23px;
}
[purpose='uber-logo'] {
height: 20px;
}
[purpose='atlassian-logo'] {
height: 16px;
}
[purpose='segment-logo'] {
height: 22px;
}
}
}
@media (max-width: 991px) {
[purpose='hero-text'] {
text-align: center;
max-width: 680px;
}
[purpose='button-row'] {
margin-right: auto;
margin-left: auto;
}
[purpose='modal-content'] {
padding-top: 60px;
padding-left: 60px;
padding-right: 60px;
padding-bottom: 120px;
}
[purpose='hero-background'] {
padding-top: 120px;
padding-bottom: 120px;
padding-left: 0px;
padding-right: 0px;
}
[purpose='hero-image'] {
max-width: 100%;
}
[purpose='logos'] {
height: 58px;
margin-left: 20px;
margin-right: 20px;
img {
margin-top: 17.5px;
margin-bottom: 17.5px;
padding-left: 10px;
padding-right: 10px;
}
}
}
@media (max-width: 768px) {
h1 {
font-size: 48px;
line-height: 54px;
}
[purpose='page-container'] {
padding-left: 40px;
padding-right: 40px;
}
[purpose='checklists'] {
margin-bottom: 40px;
}
[purpose='feature-image'] {
margin-bottom: 40px;
img {
max-height: 100%;
max-width: 100%;
}
}
[purpose='hero-image'] {
width: 100%;
}
[purpose='section'] {
margin-top: 80px;
margin-bottom: 80px;
}
[purpose='hero-background'] {
padding-top: 60px;
padding-bottom: 60px;
padding-left: 20px;
padding-right: 20px;
}
[purpose='modal-content'] {
padding-top: 60px;
padding-left: 40px;
padding-right: 40px;
padding-bottom: 80px;
}
[purpose='tweets-container'] {
padding-top: 80px;
padding-bottom: 80px;
padding-left: 20px;
padding-right: 20px;
}
[purpose='logos'] {
height: auto;
}
}
@media (max-width: 575px) {
[purpose='button-row'] {
max-width: 100%;
[purpose='mdm-beta-button'] {
margin-right: 0px;
width: 100%;
margin-bottom: 24px;
}
}
[purpose='page-container'] {
padding-left: 20px;
padding-right: 20px;
}
[purpose='hero-background'] {
padding-top: 120px;
}
[purpose='section']:first-of-type {
margin-top: 0;
}
[purpose='modal-content'] {
margin-top: 40px;
padding: 40px 20px 80px 20px;
}
}
}