fleet/website/assets/styles/components/scrollable-tweets.component.less
Eric 3217a9ed39
Website: Update Fleet website for MDM launch (#11123)
Changes:
- Updated the layout and content of the fleetdm.com homepage.
- Added two new fonts, `Inter` and `Roboto Mono`.
- Updated `typography.less` to switch the default `font-family` to
`Inter` side-wide.
- Changed the "Platform" header navigation dropdown to link to
/compliance, /osquery-management, and the homepage
- Updated the website footer
- Added bottom gradients and calls to action to /osquery-management and
/compliance
- Removed the /platform page, and set up a temporary redirect to the
homepage.

---------

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2023-04-11 06:50:58 -07:00

96 lines
1.8 KiB
Plaintext
Vendored

/**
* <scrollable-tweets>
*
* App-wide styles for horizontally scrolling rows of tweets.
*/
[parasails-component='scrollable-tweets'] {
font-size: 13px;
line-height: 20px;
[purpose='tweets']::-webkit-scrollbar {
display: none;
}
[purpose='tweets'] {
overflow-x: scroll;
scroll-behavior: smooth;
padding-left: 120px;
padding-right: 120px;
margin-top: 80px;
padding-bottom: 16px;
scrollbar-width: none;
-ms-overflow-style: none;
}
[purpose='tweet-card'] {
max-width: 367px;
min-width: 367px;
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 8px;
margin-right: 8px;
margin-bottom: 8px;
text-align: left;
background: #FFFFFF;
padding: 40px;
border: 1px solid @core-vibrant-blue-15;
box-sizing: border-box;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
border-radius: 16px;
}
[purpose='tweets-page-indicator'] {
margin-bottom: 80px;
cursor: pointer;
li {
padding: 4px;
height: 16px;
width: 16px;
border-radius: 100%;
margin-right: 8px;
background-color: @core-vibrant-blue-15;
}
li.selected {
background-color: @core-fleet-black-50;
}
}
@media (max-width: 991px) {
[purpose='tweets'] {
padding-left: 80px;
padding-right: 80px;
}
}
@media (max-width: 768px) {
[purpose='tweets'] {
padding-left: 40px;
padding-right: 40px;
}
}
@media (max-width: 575px) {
[purpose='tweets'] {
padding-left: 20px;
padding-right: 20px;
}
[purpose='tweet-card'] {
min-width: 280px;
padding: 20px;
border-radius: 16px;
}
[purpose='tweets-page-indicator'] {
li {
padding: 12px;
}
}
}
}