Skip to content

Commit

Permalink
Merge branch 'main' into WD-15263-fix-listing-page-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
steverydz authored Feb 12, 2025
2 parents 018d45d + de163c4 commit 98a9f96
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 317 deletions.
2 changes: 1 addition & 1 deletion static/js/base/ga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Events = {
const events: Events = {
".global-nav a": "nav-0",
".p-navigation a": "nav-1",
".p-sticky-footer a": "footer-0",
"#footer a": "footer-0",
"#main-content .p-button--positive": "content-cta-0",
".p-strip .p-button--positive": "content-cta-0",
"#main-content .p-button": "content-cta-1",
Expand Down
15 changes: 0 additions & 15 deletions static/sass/_patterns_sticky_footer.scss

This file was deleted.

148 changes: 0 additions & 148 deletions static/sass/_patterns_strip_slanted.scss

This file was deleted.

25 changes: 0 additions & 25 deletions static/sass/_snapcraft_p-form-validation.scss

This file was deleted.

45 changes: 0 additions & 45 deletions static/sass/_utilities_margin-sizing.scss

This file was deleted.

9 changes: 0 additions & 9 deletions static/sass/_utilities_no-limit.scss

This file was deleted.

18 changes: 0 additions & 18 deletions static/sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ $color-social-icon-foreground: $color-light;
// Again the new grid doesn't work to implement what happens here
@import "search-form";
@include search-form;

// TODO[epic=styles]: sticky footer
// The footer pattern has been removed from vanilla
// so there is little possibility this will be added
@import "patterns_sticky_footer";
@include p-sticky-footer;
@import "snapcraft_banner";
@include snapcraft-banner;
@import "snapcraft_graph-tooltip";
Expand All @@ -73,8 +67,6 @@ $color-social-icon-foreground: $color-light;
@include snapcraft-show-more;
@import "snapcraft_snap-details";
@include snapcraft-snap-details;
@import "snapcraft_p-form-validation";
@include snapcraft-p-form-validation;
@import "snapcraft_p-notifications";
@include snapcraft-p-notification;
@import "snapcraft_distro-chart";
Expand Down Expand Up @@ -105,8 +97,6 @@ $color-social-icon-foreground: $color-light;
@include snapcraft-publisher;
@import "patterns_modal";
@include vf-p-modal-snapcraft;
@import "patterns_strip_slanted";
@include snapcraft-p-strip;
@import "snapcraft_packages";
@include snapcraft-packages;
@import "snapcraft_dispute-list";
Expand All @@ -125,8 +115,6 @@ $color-social-icon-foreground: $color-light;
@include snapcraft-pattern-docs;
@import "patterns_table";
@include snapcraft-p-table;
@import "utilities_no-limit";
@include u-no-limit;
@import "utilities_disabled";
@include u-disabled;
@import "utilities_text-wrap";
Expand Down Expand Up @@ -412,12 +400,6 @@ dl {
max-width: 100%;
}

// TODO[epic=styles]: breadcrumb
// Vanilla override
.p-breadcrumbs__item:not(:first-of-type)::before {
margin-left: -0.5rem;
}

// To prevent layout shift
.brand-store-tabs {
height: 48px;
Expand Down
2 changes: 1 addition & 1 deletion templates/_base-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<link rel="author" href="/humans.txt" />
</head>

<body class="has-sticky-footer">
<body class="l-site">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KCGXHQS"
height="0" width="0" style="display: none; visibility: hidden;"></iframe></noscript>
Expand Down
2 changes: 1 addition & 1 deletion templates/_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</footer>
</div>
{% else %}
<footer class="p-strip--dark p-sticky-footer" id="footer">
<footer class="l-footer--sticky p-strip is-dark" id="footer">
<div class="row">
<div class="col-9">
<p>
Expand Down
12 changes: 6 additions & 6 deletions templates/first-snap/_install-linux.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ <h4>How would you like to set up your build environment?</h4>
<div class="col-8">
<ol class="p-stepped-list">
<li class="p-stepped-list__item">
<h4 class="p-stepped-list__title u-no-limit">
<h4 class="p-stepped-list__title">
<span>
<a href="/docs/installing-snapd" target="_blank" >Install snap support</a>, if you don't have it already
</span>
</h4>
</li>
<li class="p-stepped-list__item">
<h4 class="p-stepped-list__title u-no-limit">
<h4 class="p-stepped-list__title">
Install Snapcraft, the command-line tool for building snaps:
</h4>
<span class="p-stepped-list__content">
Expand All @@ -27,7 +27,7 @@ <h4 class="p-stepped-list__title u-no-limit">
</span>
</li>
<li class="p-stepped-list__item">
<h4 class="p-stepped-list__title u-no-limit">
<h4 class="p-stepped-list__title">
Refresh your path:
</h4>
<span class="p-stepped-list__content">
Expand All @@ -42,13 +42,13 @@ <h4 class="p-stepped-list__title u-no-limit">
<div class="col-8">
<ol class="p-stepped-list has-margin">
<li class="p-stepped-list__item">
<h4 class="p-stepped-list__title u-no-limit">
<h4 class="p-stepped-list__title">
<a href="https://docs.docker.com/install/linux/docker-ce/ubuntu/" target="_blank" >Install Docker</a>
, if you don't have it already
</h4>
</li>
<li class="p-stepped-list__item">
<h4 class="p-stepped-list__title u-no-limit">
<h4 class="p-stepped-list__title">
Check that Docker is correctly configured
</h4>
<span class="p-stepped-list__content">
Expand All @@ -60,7 +60,7 @@ <h4 class="p-stepped-list__title u-no-limit">
</span>
</li>
<li class="p-stepped-list__item">
<h4 class="p-stepped-list__title u-no-limit">
<h4 class="p-stepped-list__title">
Pull the latest snapcraft image:
</h4>
<span class="p-stepped-list__content">
Expand Down
Loading

0 comments on commit 98a9f96

Please sign in to comment.