fleet/website/assets/styles/components/animated-arrow-button.component.less
Eric dd7568f277
Website: (2025-11-19) browser compatibility style fixes (#36031)
Related to: #35263
Closes: https://github.com/fleetdm/fleet/issues/36022
Closes: https://github.com/fleetdm/fleet/issues/36027
Closes: https://github.com/fleetdm/fleet/issues/36029

Changes:
- Updated the CTA on the /testimonials page to match wireframes
- Updated the height of the community Slack links on the /support page
at <768px screen width
- Updated the controls library mobile navigation to display the name of
the page the user is currently on.
- Fixed the color of the sign up modal close button on IOS
2025-11-19 18:21:11 -06:00

65 lines
1.4 KiB
Text
Vendored

/**
* <animated-arrow-button>
*
* App-wide styles for our animated arrow buttons.
*/
[parasails-component='animated-arrow-button'] {
width: fit-content;
display: flex;
align-items: center;
padding: 6px 0px;
text-decoration: none;
font-weight: 700;
cursor: pointer;
[purpose='button-text'] {
color: @core-fleet-black;
}
[purpose='animated-arrow'] {
margin-left: 8px;
stroke-width: 2px;
height: 12px;
width: 12px;
fill: none;
// stroke: #FF5C83; « Note: this is overridden by the arrow-color prop;
}
[purpose='arrow-line'] {
opacity: 0;
transition: opacity 10ms ease-out;
}
[purpose='chevron'] {
transition: transform 200ms ease-out;
}
// FUTURE: uncomment this section and add support for multiple button types.
// &.secondary {
// [purpose='animated-arrow'] {
// stroke: #FF5C83;
// }
// }
// &.primary {
// padding: 6px 12px 6px 16px;
// background: #FF5C83;
// border-radius: 18px;
// margin-right: 32px;
// [purpose='button-text'] {
// color: #FFF;
// }
// [purpose='animated-arrow'] {
// stroke: #FFF;
// }
// }
&:hover {
text-decoration: none;
[purpose='button-text'] {
color: @core-fleet-black;
}
[purpose='arrow-line'] {
opacity: 1;
transition: opacity 300ms ease-out;
}
[purpose='chevron'] {
transform: translateX(5px);
}
}
}