Skip to content

Commit

Permalink
Migrate /privacy to use Sass @use
Browse files Browse the repository at this point in the history
  • Loading branch information
maureenlholland authored and alexgibson committed Jan 15, 2025
1 parent 47948ed commit cef4b3d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
7 changes: 2 additions & 5 deletions media/css/privacy/cookie-settings-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
// 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/.

$font-path: '/media/protocol/fonts';
$image-path: '/media/protocol/img';

@import '~@mozilla-protocol/core/protocol/css/includes/lib';
@import '~@mozilla-protocol/core/protocol/css/components/breadcrumb';
@use '~@mozilla-protocol/core/protocol/css/includes/lib' as *;
@use '~@mozilla-protocol/core/protocol/css/components/breadcrumb';

// Temporary fix until https://github.com/mozilla/protocol/issues/933 is resolved
.mzp-c-breadcrumb {
Expand Down
5 changes: 1 addition & 4 deletions media/css/privacy/privacy-email.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
// 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/.

$font-path: '/media/protocol/fonts';
$image-path: '/media/protocol/img';

@import '~@mozilla-protocol/core/protocol/css/includes/lib';
@use '~@mozilla-protocol/core/protocol/css/includes/lib' as *;

.mzp-c-article-title {
@include text-title-md;
Expand Down
12 changes: 5 additions & 7 deletions media/css/privacy/privacy-protocol.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
// 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/.

$image-path: '/media/protocol/img';
@use '~@mozilla-protocol/core/protocol/css/includes/lib' as *;
@use '~@mozilla-protocol/core/protocol/css/includes/mixins/details';
@use '~@mozilla-protocol/core/protocol/css/components/sidebar-menu';
@use '~@mozilla-protocol/core/protocol/css/templates/main-with-sidebar';

@import '~@mozilla-protocol/core/protocol/css/includes/lib';
@import '~@mozilla-protocol/core/protocol/css/includes/mixins/details';
@import '~@mozilla-protocol/core/protocol/css/components/sidebar-menu';
@import '~@mozilla-protocol/core/protocol/css/templates/main-with-sidebar';

@import '../protocol/basic-article';
@use '../protocol/basic-article';

$border: 2px solid $color-marketing-gray-20;

Expand Down

0 comments on commit cef4b3d

Please sign in to comment.