fleet/website/assets/styles/pages/upgrade.less
Eric 7190b74f2f
Website: browser compatibility updates (Edge v17, Chrome v55, Firefox v54, Opera v42, & Safari v10) (#10583)
Closes: #10496 

Changes:
- Fixed alignment issues with the <scrollable-tweets> component's page
indicator (Edge v16 & Safari 10)
- Added a hard-coded height to embedded youtube videos in Markdown
content to fix it rendering with a height of 0 (Edge v17 & Firefox v54)
- Fixed table example syntax highlighting (Edge v17, Chrome v55, Firefox
v54, Opera v42, & Safari v10)
- Added a set width to the edit page button on tables pages (Safari v10,
Firefox v54)
- Fixed a bug with the sidebar height on tables pages (Edge v17)
- Fixed styling on the pricing calculator inputs (Safari v10 & Firefox
v54)
- Fixed a layout issue with the pricing calculator call-to-action
buttons (Safari v10)
- Hid browser-specific form input buttons (Firefox v54)
- Fixed the sidebar CTA image on documentation pages (Opera v42)
- Fixed a CSS issue with the user story banner on `/platform` (Safari
v10, Firefox v54, Chrome v55, Opera v42)
- Updated the documentation page script to only copy links to the user's
clipboard if the user's browser supports it.
- Updated minimum browser versions for Edge, Chrome, and Opera for async
functions support. (Edge v16 » Edge v17, Chrome v51 » Chrome v55, Opera
v38 » Opera v42)
2023-03-17 19:36:15 -05:00

194 lines
4.1 KiB
Plaintext
Vendored

#upgrade {
background: linear-gradient(180deg, rgba(232, 241, 246, 0.5) 4.75%, rgba(255, 255, 255, 0) 37.29%);
[purpose='page-container'] {
padding-top: 100px;
padding-bottom: 120px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
padding-left: 40px;
padding-right: 40px;
}
h1 {
font-weight: 800;
font-size: 40px;
line-height: 48px;
text-align: left;
margin-bottom: 80px;
}
h2 {
font-weight: 800;
font-size: 28px;
line-height: 38px;
}
h3 {
font-weight: 700;
font-size: 20px;
line-height: 24px;
margin-bottom: 16px;
}
[purpose='feature'] {
img {
margin-left: auto;
margin-right: auto;
}
[purpose='feature-image'] {
min-width: 160px;
margin-right: 40px;
}
margin-bottom: 80px;
}
[purpose='upgrade-form'] {
margin-left: 80px;
padding: 40px;
background: #F9FAFC;
box-shadow: 0px 0px 0px 1px #E2E4EA;
border-radius: 8px;
width: 480px;
input {
border: 1px solid #C5C7D1;
border-radius: 6px;
height: 48px;
font-size: 16px;
color: @core-fleet-black;
-webkit-appearance: none;
}
select {
// for hiding the <select> dropdown arrow on Firefox 54
-moz-appearance: none;
text-indent: 0.01px;
text-overflow: '';
}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
-webkit-appearance: none;
-moz-appearance: none;
margin: 0;
}
input[type='number'] {
-moz-appearance: textfield;
}
select {
font-size: 16px;
border: 1px solid #C5C7D1;
background-color: #FFF;
height: 48px;
width: 100%;
margin-right: 0;
margin-left: 0;
border-radius: 8px;
padding: 12px;
background: url('/images/chevron-down-fleet-black-8x8@2x.png') no-repeat 96% 50%, #FFF;
background-size: 16px 16px;
-webkit-appearance: none;
}
[purpose='submit-button'] {
position: relative;
}
[purpose='submit-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: 233px;
max-width: 60%;
height: 100%;
transform: skew(-10deg);
transition: left 0.5s ease-in, opacity 0.50s ease-in, width 0.5s ease-in;
}
}
@media (max-width: 1201px) {
[purpose='upgrade-form'] {
padding: 24px;
width: 400px;
}
[purpose='feature'] {
[purpose='feature-image'] {
margin-right: 30px;
}
}
}
@media (max-width: 1024px) {
[purpose='page-container'] {
padding-top: 60px;
padding-bottom: 80px;
}
[purpose='upgrade-form'] {
margin-left: 40px;
}
h1 {
text-align: center;
}
}
@media (max-width: 991px) {
[purpose='feature'] {
text-align: center;
width: 50%;
[purpose='feature-image'] {
margin-right: auto;
margin-left: auto;
width: auto;
margin-bottom: 40px;
img {
height: 160px;
}
}
}
[purpose='feature-row'] {
[purpose='feature']:first-child {
margin-right: 80px;
}
[purpose='feature']:only-child {
margin-right: 0px;
width: 415px;
img {
margin-left: 16px;
}
}
}
[purpose='upgrade-form'] {
width: 100%;
padding: 40px;
margin-left: auto;
}
}
@media (max-width: 768px) {
h1 {
text-align: center;
font-size: 32px;
line-height: 38px;
}
[purpose='page-container'] {
padding-top: 60px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 80px;
}
[purpose='feature-row'] {
[purpose='feature']:first-child {
margin-right: unset;
}
[purpose='feature']:only-child {
margin-right: unset;
width: auto;
}
}
[purpose='feature'] {
width: 100%;
max-width: 440px;
}
}
@media (max-width: 481px) {
[purpose='upgrade-form'] {
padding: 20px;
}
}
}