Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fxsharing/shares/templates/shares/view_share.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h1 class="share-title">{{ share.title }}</h1>
<img class="fx-banner-mascot" src="{% static 'assets/firefox-mascot.svg' %}" alt="" />
<div class="fx-banner-copy">
<p class="fx-banner-title">Created with Firefox</p>
<p class="fx-banner-subtitle">A more private way to roam the web.</p>
<p class="fx-banner-subtitle">The web is for sharing. We make it simple.</p>
</div>
<a class="cta-button" data-event="cta_click" href="https://www.mozilla.org/firefox/?utm_source=link_sharing">Try Firefox</a>
</aside>
Expand Down
2 changes: 1 addition & 1 deletion static/components/moz-share.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ class MozShare extends MozLitElement {
display: flex;
flex-direction: column;
gap: var(--space-medium);
margin-block-end: 50px;
margin-block-end: var(--size-item-large);
}

.share-footer {
Expand Down
26 changes: 13 additions & 13 deletions static/styles/moz-share.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ moz-message-bar {

.fx-banner {
position: sticky;
bottom: var(--space-large);
margin-block: auto var(--space-large);
bottom: var(--size-item-large);
margin-block: auto var(--size-item-large);
margin-inline: auto;
width: 100%;
min-width: 320px;
Expand All @@ -102,10 +102,10 @@ moz-message-bar {
padding-inline: var(--space-medium);
height: 72px;
border-radius: var(--border-radius-large);
background: linear-gradient(142deg, #fcf5f0 2%, #ffeafe 85%);
background: linear-gradient(137deg, #8b37c1 5%, #210340 84%);
box-shadow: var(--box-shadow-level-4);
backdrop-filter: blur(30px);
color: var(--text-color);
color: light-dark(#fbfbfe, #15141a);
}

.fx-banner-mascot {
Expand Down Expand Up @@ -134,10 +134,10 @@ moz-message-bar {
.fx-banner-subtitle {
margin: 0;
font-size: var(--font-size-small);
color: var(--text-color-deemphasized);
color: light-dark(rgba(251, 251, 254, 0.69), var(--text-color-deemphasized));
}

@media (min-width: 500px) {
@media (min-width: 601px) {
.fx-banner {
padding-inline: 0 var(--space-xxlarge);
gap: var(--space-xxlarge);
Expand All @@ -149,21 +149,21 @@ moz-message-bar {

@media (prefers-color-scheme: dark) {
.fx-banner {
background: linear-gradient(97deg, #8b37c1 -5%, #210340 85%);
background: linear-gradient(142deg, #fcf5f0 2%, #ffeafe 85%);
}
}

.fx-banner .cta-button {
flex-shrink: 0;
align-self: center;
margin-block-start: 0;
--button-background-color-primary: light-dark(#854dff, #bba0ff);
--button-background-color-primary-hover: color-mix(in srgb, light-dark(#854dff, #bba0ff) 90%, #000);
--button-background-color-primary-active: color-mix(in srgb, light-dark(#854dff, #bba0ff) 80%, #000);
--button-background-color-primary: light-dark(#bba0ff, #854dff);
--button-background-color-primary-hover: color-mix(in srgb, light-dark(#bba0ff, #854dff) 90%, #000);
--button-background-color-primary-active: color-mix(in srgb, light-dark(#bba0ff, #854dff) 80%, #000);
--button-border-color-primary: transparent;
--button-border-color-primary-hover: transparent;
--button-border-color-primary-active: transparent;
--button-text-color-primary: light-dark(#fff, #101118);
--button-text-color-primary-hover: light-dark(#fff, #101118);
--button-text-color-primary-active: light-dark(#fff, #101118);
--button-text-color-primary: light-dark(#101118, #fff);
--button-text-color-primary-hover: light-dark(#101118, #fff);
--button-text-color-primary-active: light-dark(#101118, #fff);
}