vanilla-framework 3.8.1 → 3.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"percy": "percy exec -- node snapshots.js",
|
|
48
48
|
"icon-svgs-to-mixins": "node scripts/convert-svgs-to-icon-mixins.js icons"
|
|
49
49
|
},
|
|
50
|
-
"version": "3.8.
|
|
50
|
+
"version": "3.8.2",
|
|
51
51
|
"files": [
|
|
52
52
|
"_index.scss",
|
|
53
53
|
"/scss",
|
|
@@ -57,22 +57,22 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@canonical/cookie-policy": "3.4.0",
|
|
59
59
|
"@canonical/latest-news": "1.4.1",
|
|
60
|
-
"autoprefixer": "10.4.
|
|
61
|
-
"postcss": "8.4.
|
|
60
|
+
"autoprefixer": "10.4.13",
|
|
61
|
+
"postcss": "8.4.18",
|
|
62
62
|
"postcss-cli": "9.1.0",
|
|
63
|
-
"postcss-scss": "4.0.
|
|
64
|
-
"sass": "1.
|
|
63
|
+
"postcss-scss": "4.0.5",
|
|
64
|
+
"sass": "1.56.0",
|
|
65
65
|
"yaml": "1.10.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@percy/script": "1.1.0",
|
|
69
69
|
"@testing-library/cypress": "8.0.3",
|
|
70
|
-
"cypress": "10.
|
|
71
|
-
"get-site-urls": "
|
|
70
|
+
"cypress": "10.11.0",
|
|
71
|
+
"get-site-urls": "3.0.0",
|
|
72
72
|
"markdown-spellcheck": "1.3.1",
|
|
73
73
|
"parker": "0.0.10",
|
|
74
74
|
"prettier": "2.7.1",
|
|
75
|
-
"stylelint": "14.
|
|
75
|
+
"stylelint": "14.14.1",
|
|
76
76
|
"stylelint-config-prettier": "9.0.3",
|
|
77
77
|
"stylelint-config-recommended-scss": "5.0.2",
|
|
78
78
|
"stylelint-order": "5.0.0",
|
|
@@ -4,7 +4,8 @@ $lightness-threshold: 70;
|
|
|
4
4
|
$navigation-logo-tag-width: 1.313rem; // 21px when 1rem is 16px
|
|
5
5
|
$navigation-logo-tag-height: 2rem;
|
|
6
6
|
$navigation-logo-tag-height-desktop: 2.3rem;
|
|
7
|
-
$navigation-logo-height
|
|
7
|
+
$navigation-logo-banner-height: 3rem; // legacy logo height (small and medium screens)
|
|
8
|
+
$navigation-logo-banner-height-desktop: 3.5rem; // legacy logo height (on large screens)
|
|
8
9
|
$navigation-logo-size: 1rem;
|
|
9
10
|
$sph-navigation-link: 0.3rem;
|
|
10
11
|
$spv-navigation-logo-bottom-position: 0.125rem; // 2px when 1rem is 16px
|
|
@@ -199,11 +200,11 @@ $spv-navigation-logo-bottom-position: 0.125rem; // 2px when 1rem is 16px
|
|
|
199
200
|
.p-navigation__logo {
|
|
200
201
|
display: flex;
|
|
201
202
|
flex: 0 0 auto;
|
|
202
|
-
height: $navigation-logo-
|
|
203
|
+
height: $navigation-logo-banner-height;
|
|
203
204
|
margin: 0 $sph--large 0 0;
|
|
204
205
|
|
|
205
206
|
@media (min-width: $breakpoint-navigation-threshold) {
|
|
206
|
-
height: $navigation-logo-height-desktop;
|
|
207
|
+
height: $navigation-logo-banner-height-desktop;
|
|
207
208
|
}
|
|
208
209
|
|
|
209
210
|
.p-navigation__item {
|