forked from mozilla/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Nothing Personal Updates (fix mozilla#15420) * design feedback: increase body copy weight * design feedback: adjust border color and browser box radius * design feedback: keep browser bar title centered on mobile * design feedback: reduce spacing for no-asset section gaps * design feedback: avoid layout shift as random responses change * design feedback: add stickers after browser window pop-in - re-exported foxy, heart, and smiley svgs to get rotations from assets - moved stickers from pseudo-elements to inline html to allow animation - added check for dependent animations to run after main animation ends * analytics: add data-cta-text for randomizer button * demo: options for drawing attention to button * design feedback: update stroke widths * design feedback: increase fox bush gif by 10% * design feedback: link sidebar icon to red panda video * Use html entities for symbols * Browser support fallbacks * Handle reduced motion preferences * Organization and minor clean-up * Remove easy switching feature on mobile-size screens The mobile browser does not have this function yet. We have helper JS to detect platform and append classes, so we can hide this feature on android and ios. Default will be to show. * Review fixes
- Loading branch information
1 parent
3bb94e5
commit f445fb6
Showing
28 changed files
with
919 additions
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
297 changes: 170 additions & 127 deletions
297
bedrock/firefox/templates/firefox/nothing-personal/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
|
||
.c-feature-box { | ||
background-color: $browser-background; | ||
border-radius: $border-radius-md; | ||
padding: $layout-sm; // match browser components | ||
|
||
> *:last-child { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
.c-feature-box-title { | ||
align-items: center; | ||
display: flex; | ||
} | ||
|
||
.c-feature-box-image { | ||
margin-right: $spacing-md; | ||
} | ||
|
||
.ios, | ||
.android { | ||
.c-feature-box-desktop-only { | ||
display: none; | ||
} | ||
} |
Oops, something went wrong.