Skip to content

Commit

Permalink
Update to Protocol 8.0.0
Browse files Browse the repository at this point in the history
- add Metrpolis to fonts
- Remove custom `cursor: pointer` definitions (mozilla/protocol#367):
  - media/css/firefox/enterprise-sla.scss
  - media/css/privacy/privacy-protocol.scss
- Remove side menu background color over-ride (mozilla/protocol#407):
    - media/css/privacy/privacy-protocol.scss
- article max width bug fix (/mozilla/protocol#422):
    - media/css/security/security.scss
  • Loading branch information
stephaniehobson authored and alexgibson committed Aug 23, 2019
1 parent 057dc2c commit 8ef08a4
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 17 deletions.
1 change: 0 additions & 1 deletion media/css/firefox/enterprise-sla.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ $border: 2px solid $color-gray-20;
background: transparent;
border: 0;
color: inherit;
cursor: pointer;
font-family: inherit;
font-size: inherit;
font-weight: inherit;
Expand Down
1 change: 0 additions & 1 deletion media/css/privacy/privacy-protocol.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ $border: 2px solid $color-gray-20;
&:after {
color: $color-link;
content: attr(data-open);
cursor: pointer;
margin-left: 0.5ex;
text-decoration: underline;
}
Expand Down
5 changes: 0 additions & 5 deletions media/css/protocol/basic-article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ $image-path: '/media/protocol/img';
@import '../../protocol/css/includes/mixins/details';
@import '../../protocol/css/templates/main-with-sidebar';

// mozilla/protocol#407
.mzp-c-sidemenu {
background-color: $color-gray-20;
}

.side-reference {
border-bottom: 2px solid #ddd;
margin: 2em 0;
Expand Down
5 changes: 0 additions & 5 deletions media/css/security/security.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,3 @@ $image-path: '/media/protocol/img';
overflow-x: scroll;
}

// mozilla/protocol#422
.mzp-c-article {
width: $content-md;
max-width: 100%;
}
Binary file added media/fonts/Metropolis-Bold.woff
Binary file not shown.
Binary file added media/fonts/Metropolis-Bold.woff2
Binary file not shown.
Binary file added media/fonts/Metropolis-Medium.woff
Binary file not shown.
Binary file added media/fonts/Metropolis-Medium.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Making mozilla.org awesome, one pebble at a time",
"private": true,
"dependencies": {
"@mozilla-protocol/core": "7.0.2",
"@mozilla-protocol/core": "8.0.0",
"@mozilla-protocol/eslint-config": "^1.1.0",
"ansi-colors": "3.2.3",
"clean-css-cli": "4.3.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@
normalize-path "^2.0.1"
through2 "^2.0.3"

"@mozilla-protocol/core@7.0.2":
version "7.0.2"
resolved "https://registry.yarnpkg.com/@mozilla-protocol/core/-/core-7.0.2.tgz#661cffadeffa9aab348e43004a4c3d658e594a34"
integrity sha512-c7YSHE9FFqgAKTNiBgGZGVm6ClrBIfW3khITN2xyVClGuPxRW377ko4r35BB70LhOzZ26H8OGUlRN9g3/iXJpQ==
"@mozilla-protocol/core@8.0.0":
version "8.0.0"
resolved "https://registry.yarnpkg.com/@mozilla-protocol/core/-/core-8.0.0.tgz#3b23c0bdc00f0585a8fbc88a36915b399cbd13e8"
integrity sha512-ZH4DYhdL/RjvFJymWxNEzCX7aIwwjsMsa0xmlxgasLALYpLR4UsT6zvwBSvpMEGuwBQJQG26I0FBaJNwU0BW2A==

"@mozilla-protocol/eslint-config@^1.1.0":
version "1.1.0"
Expand Down

0 comments on commit 8ef08a4

Please sign in to comment.