Upgrade NPM Dependencies

This commit is contained in:
Stéphane Goetz 2019-05-28 22:12:50 +02:00
parent f034b48a78
commit 7a07b61b18
22 changed files with 2961 additions and 1721 deletions

View File

@ -1,5 +1,6 @@
module.exports = { module.exports = {
browsers: "> 0.25%, Edge >= 15, Safari >= 10, iOS >= 10, Chrome >= 56, Firefox >= 51, IE >= 11, not op_mini all",
presets: [ presets: [
"@swissquote/crafty-preset-postcss", "@swissquote/crafty-preset-postcss",
"@swissquote/crafty-runner-gulp" "@swissquote/crafty-runner-gulp"
@ -13,7 +14,8 @@ module.exports = {
], ],
stylelint: { stylelint: {
rules: { rules: {
"swissquote/no-type-outside-scope": null "swissquote/no-type-outside-scope": null,
"plugin/no-unsupported-browser-features": null
} }
}, },
css: { css: {

View File

@ -9,6 +9,7 @@
}, },
"scripts": { "scripts": {
"build": "crafty run", "build": "crafty run",
"watch": "crafty watch" "watch": "crafty watch",
"lint:css": "crafty cssLint --fix --preset recommended themes/daux_singlepage/scss/*.scss themes/daux/scss/*.scss"
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,8 @@ a {
color: var(--link-color); color: var(--link-color);
&.Link--external:after { &.Link--external:after {
content: " " url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=); content: " "
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=);
} }
&.Link--broken { &.Link--broken {
@ -479,7 +480,8 @@ ul.TableOfContents {
} }
/* Hover state whilst checked */ /* Hover state whilst checked */
.Checkbox:hover input:not([disabled]):checked ~ &, .Checkbox input:checked:focus ~ & { .Checkbox:hover input:not([disabled]):checked ~ &,
.Checkbox input:checked:focus ~ & {
background: var(--checkbox-checked-hover-background); background: var(--checkbox-checked-hover-background);
} }

View File

@ -1,15 +1,9 @@
:root { :root {
--font-family-text: -apple-system, --font-family-text: -apple-system, ".SFNSText-Regular", "San Francisco",
".SFNSText-Regular", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial,
"San Francisco",
"Roboto",
"Segoe UI",
"Helvetica Neue",
"Lucida Grande",
Arial,
sans-serif; sans-serif;
--font-family-monospace: Monaco, Menlo, Consolas, "Lucida Console", "Courier New", monospace; --font-family-monospace: Monaco, Menlo, Consolas, "Lucida Console",
"Courier New", monospace;
--font-family-heading: "Roboto Slab", var(--font-family-text); --font-family-heading: "Roboto Slab", var(--font-family-text);
} }
@ -20,13 +14,13 @@
font-style: normal; font-style: normal;
font-weight: 300; font-weight: 300;
src: url("../fonts/robotoslab-light.eot"); src: url("../fonts/robotoslab-light.eot");
src: src: url("../fonts/robotoslab-light.eot?#iefix") format("embedded-opentype"),
url("../fonts/robotoslab-light.eot?#iefix") format("embedded-opentype"),
url("../fonts/robotoslab-light.woff2") format("woff2"), url("../fonts/robotoslab-light.woff2") format("woff2"),
url("../fonts/robotoslab-light.woff") format("woff"), url("../fonts/robotoslab-light.woff") format("woff"),
url("../fonts/robotoslab-light.ttf") format("truetype"), url("../fonts/robotoslab-light.ttf") format("truetype"),
url("../fonts/robotoslab-light.svg#roboto_slablight") format("svg"); url("../fonts/robotoslab-light.svg#roboto_slablight") format("svg");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
} }
@font-face { @font-face {
@ -34,13 +28,14 @@
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url("../fonts/robotoslab-regular.eot"); src: url("../fonts/robotoslab-regular.eot");
src: src: url("../fonts/robotoslab-regular.eot?#iefix")
url("../fonts/robotoslab-regular.eot?#iefix") format("embedded-opentype"), format("embedded-opentype"),
url("../fonts/robotoslab-regular.woff2") format("woff2"), url("../fonts/robotoslab-regular.woff2") format("woff2"),
url("../fonts/robotoslab-regular.woff") format("woff"), url("../fonts/robotoslab-regular.woff") format("woff"),
url("../fonts/robotoslab-regular.ttf") format("truetype"), url("../fonts/robotoslab-regular.ttf") format("truetype"),
url("../fonts/robotoslab-regular.svg#roboto_slabregular") format("svg"); url("../fonts/robotoslab-regular.svg#roboto_slabregular") format("svg");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
} }
@font-face { @font-face {
@ -48,11 +43,11 @@
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
src: url("../fonts/robotoslab-bold.eot"); src: url("../fonts/robotoslab-bold.eot");
src: src: url("../fonts/robotoslab-bold.eot?#iefix") format("embedded-opentype"),
url("../fonts/robotoslab-bold.eot?#iefix") format("embedded-opentype"),
url("../fonts/robotoslab-bold.woff2") format("woff2"), url("../fonts/robotoslab-bold.woff2") format("woff2"),
url("../fonts/robotoslab-bold.woff") format("woff"), url("../fonts/robotoslab-bold.woff") format("woff"),
url("../fonts/robotoslab-bold.ttf") format("truetype"), url("../fonts/robotoslab-bold.ttf") format("truetype"),
url("../fonts/robotoslab-bold.svg#roboto_slabbold") format("svg"); url("../fonts/robotoslab-bold.svg#roboto_slabbold") format("svg");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
} }

View File

@ -113,7 +113,8 @@ Homepage
background-color: white; background-color: white;
padding: 40px 0; padding: 40px 0;
ul, ol { ul,
ol {
li { li {
list-style: none; list-style: none;
margin-bottom: 0.5em; margin-bottom: 0.5em;
@ -154,7 +155,9 @@ Homepage
margin: 0 -15px; margin: 0 -15px;
} }
.Row__third, .Row__half, .Row__quarter { .Row__third,
.Row__half,
.Row__quarter {
float: left; float: left;
position: relative; position: relative;
min-height: 1px; min-height: 1px;

View File

@ -1,4 +1,3 @@
* { * {
text-shadow: none !important; text-shadow: none !important;
color: #000 !important; // Black prints faster: h5bp.com/s color: #000 !important; // Black prints faster: h5bp.com/s
@ -6,12 +5,18 @@
box-shadow: none !important; box-shadow: none !important;
} }
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
page-break-after: avoid; page-break-after: avoid;
page-break-before: auto; page-break-before: auto;
} }
pre, blockquote { pre,
blockquote {
border: 1px solid #999; border: 1px solid #999;
font-style: italic; font-style: italic;
page-break-inside: avoid; page-break-inside: avoid;
@ -23,16 +28,24 @@ img {
} }
a, a,
a:visited { text-decoration: underline; } a:visited {
text-decoration: underline;
}
abbr[title]:after { content: " (" attr(title) ")"; } abbr[title]:after {
content: " (" attr(title) ")";
}
q { q {
quotes: none; quotes: none;
&:before { content: ""; } &:before {
content: "";
}
&:after { content: " (" attr(cite) ")"; } &:after {
content: " (" attr(cite) ")";
}
} }
.PageBreak { .PageBreak {
@ -40,12 +53,18 @@ q {
page-break-before: always; page-break-before: always;
} }
.NoPrint { display: none; } .NoPrint {
display: none;
}
/* Hide the navigation */ /* Hide the navigation */
aside { display: none; } aside {
display: none;
}
.Pager { display: none; } .Pager {
display: none;
}
.Columns__right { .Columns__right {
width: 100% !important; width: 100% !important;
@ -58,7 +77,9 @@ aside { display: none; }
} }
/* Anchors don't need that */ /* Anchors don't need that */
.s-content a[href^="#"]:after { content: ""; } .s-content a[href^="#"]:after {
content: "";
}
h1 a[href]:after { h1 a[href]:after {
font-size: 50%; font-size: 50%;

View File

@ -1,5 +1,6 @@
*,
*, *:after, *:before { *:after,
*:before {
box-sizing: border-box; box-sizing: border-box;
} }
@ -20,7 +21,8 @@ html {
} }
} }
html, body { html,
body {
height: 100%; height: 100%;
background-color: #fff; background-color: #fff;
color: var(--text); color: var(--text);
@ -64,7 +66,9 @@ html, body {
} }
&:hover { &:hover {
background-color: var(--sidebar-collapsible--hamburger-hover-background); background-color: var(
--sidebar-collapsible--hamburger-hover-background
);
@include kill-box-shadow; @include kill-box-shadow;
@ -109,7 +113,8 @@ html, body {
clear: both; clear: both;
} }
&__left, &__right { &__left,
&__right {
position: relative; position: relative;
min-height: 1px; min-height: 1px;
float: left; float: left;

View File

@ -12,18 +12,29 @@ body {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-family-heading); font-family: var(--font-family-heading);
font-weight: 300; font-weight: 300;
} }
.s-content { .s-content {
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
cursor: text; cursor: text;
line-height: 1.4em; line-height: 1.4em;
margin: 2em 0 0.5em; margin: 2em 0 0.5em;
tt, code { tt,
code {
font-size: inherit; font-size: inherit;
} }
@ -73,7 +84,8 @@ h1, h2, h3, h4, h5, h6 {
margin-bottom: 1.3em; margin-bottom: 1.3em;
} }
ul, ol { ul,
ol {
padding-left: 2em; padding-left: 2em;
} }
@ -219,7 +231,8 @@ h1, h2, h3, h4, h5, h6 {
display: none; display: none;
} }
code, tt { code,
tt {
background-color: transparent; background-color: transparent;
border: none; border: none;
} }
@ -298,12 +311,23 @@ h1, h2, h3, h4, h5, h6 {
background-color: white; background-color: white;
white-space: normal; white-space: normal;
pre, code { pre,
code {
white-space: normal; white-space: normal;
} }
} }
blockquote, p, ul, ol, dl, h2, h3, h4, h5, h6, hr { blockquote,
p,
ul,
ol,
dl,
h2,
h3,
h4,
h5,
h6,
hr {
&:before { &:before {
width: 100%; width: 100%;
height: 10px; height: 10px;
@ -311,7 +335,17 @@ h1, h2, h3, h4, h5, h6 {
clear: both; clear: both;
} }
p, ul, ol, dl, h2, h3, h4, h5, h6, pre, hr { p,
ul,
ol,
dl,
h2,
h3,
h4,
h5,
h6,
pre,
hr {
width: auto; width: auto;
float: none; float: none;
display: block; display: block;
@ -324,8 +358,10 @@ h1, h2, h3, h4, h5, h6 {
// Paragraphs and code inside lists and // Paragraphs and code inside lists and
// blockquotes should have 100% width // blockquotes should have 100% width
li, blockquote { li,
p, pre { blockquote {
p,
pre {
width: 100%; width: 100%;
} }
} }

File diff suppressed because one or more lines are too long

View File

@ -1,15 +1,9 @@
:root { :root {
--font-family-text: -apple-system, --font-family-text: -apple-system, ".SFNSText-Regular", "San Francisco",
".SFNSText-Regular", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial,
"San Francisco",
"Roboto",
"Segoe UI",
"Helvetica Neue",
"Lucida Grande",
Arial,
sans-serif; sans-serif;
--font-family-monospace: Monaco, Menlo, Consolas, "Lucida Console", "Courier New", monospace; --font-family-monospace: Monaco, Menlo, Consolas, "Lucida Console",
"Courier New", monospace;
--font-family-heading: "Roboto Slab", var(--font-family-text); --font-family-heading: "Roboto Slab", var(--font-family-text);
} }
@ -20,13 +14,13 @@
font-style: normal; font-style: normal;
font-weight: 300; font-weight: 300;
src: url("../fonts/robotoslab-light.eot"); src: url("../fonts/robotoslab-light.eot");
src: src: url("../fonts/robotoslab-light.eot?#iefix") format("embedded-opentype"),
url("../fonts/robotoslab-light.eot?#iefix") format("embedded-opentype"),
url("../fonts/robotoslab-light.woff2") format("woff2"), url("../fonts/robotoslab-light.woff2") format("woff2"),
url("../fonts/robotoslab-light.woff") format("woff"), url("../fonts/robotoslab-light.woff") format("woff"),
url("../fonts/robotoslab-light.ttf") format("truetype"), url("../fonts/robotoslab-light.ttf") format("truetype"),
url("../fonts/robotoslab-light.svg#roboto_slablight") format("svg"); url("../fonts/robotoslab-light.svg#roboto_slablight") format("svg");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
} }
@font-face { @font-face {
@ -34,13 +28,14 @@
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url("../fonts/robotoslab-regular.eot"); src: url("../fonts/robotoslab-regular.eot");
src: src: url("../fonts/robotoslab-regular.eot?#iefix")
url("../fonts/robotoslab-regular.eot?#iefix") format("embedded-opentype"), format("embedded-opentype"),
url("../fonts/robotoslab-regular.woff2") format("woff2"), url("../fonts/robotoslab-regular.woff2") format("woff2"),
url("../fonts/robotoslab-regular.woff") format("woff"), url("../fonts/robotoslab-regular.woff") format("woff"),
url("../fonts/robotoslab-regular.ttf") format("truetype"), url("../fonts/robotoslab-regular.ttf") format("truetype"),
url("../fonts/robotoslab-regular.svg#roboto_slabregular") format("svg"); url("../fonts/robotoslab-regular.svg#roboto_slabregular") format("svg");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
} }
@font-face { @font-face {
@ -48,11 +43,11 @@
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
src: url("../fonts/robotoslab-bold.eot"); src: url("../fonts/robotoslab-bold.eot");
src: src: url("../fonts/robotoslab-bold.eot?#iefix") format("embedded-opentype"),
url("../fonts/robotoslab-bold.eot?#iefix") format("embedded-opentype"),
url("../fonts/robotoslab-bold.woff2") format("woff2"), url("../fonts/robotoslab-bold.woff2") format("woff2"),
url("../fonts/robotoslab-bold.woff") format("woff"), url("../fonts/robotoslab-bold.woff") format("woff"),
url("../fonts/robotoslab-bold.ttf") format("truetype"), url("../fonts/robotoslab-bold.ttf") format("truetype"),
url("../fonts/robotoslab-bold.svg#roboto_slabbold") format("svg"); url("../fonts/robotoslab-bold.svg#roboto_slabbold") format("svg");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
} }

View File

@ -5,12 +5,18 @@
box-shadow: none !important; box-shadow: none !important;
} }
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
page-break-after: avoid; page-break-after: avoid;
page-break-before: auto; page-break-before: auto;
} }
pre, blockquote { pre,
blockquote {
border: 1px solid #999; border: 1px solid #999;
font-style: italic; font-style: italic;
page-break-inside: avoid; page-break-inside: avoid;
@ -22,16 +28,24 @@ img {
} }
a, a,
a:visited { text-decoration: underline; } a:visited {
text-decoration: underline;
}
abbr[title]:after { content: " (" attr(title) ")"; } abbr[title]:after {
content: " (" attr(title) ")";
}
q { q {
quotes: none; quotes: none;
&:before { content: ""; } &:before {
content: "";
}
&:after { content: " (" attr(cite) ")"; } &:after {
content: " (" attr(cite) ")";
}
} }
.PageBreak { .PageBreak {
@ -39,10 +53,14 @@ q {
page-break-before: always; page-break-before: always;
} }
.NoPrint { display: none; } .NoPrint {
display: none;
}
/* Hide the navigation */ /* Hide the navigation */
aside { display: none; } aside {
display: none;
}
a[href]:after { a[href]:after {
content: " (" attr(href) ")"; content: " (" attr(href) ")";

View File

@ -1,4 +1,9 @@
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-family-heading); font-family: var(--font-family-heading);
font-weight: 300; font-weight: 300;
} }
@ -11,7 +16,12 @@ h1, h2, h3, h4, h5, h6 {
font-size: 15px; font-size: 15px;
} }
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 300; font-weight: 300;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
cursor: text; cursor: text;
@ -19,7 +29,8 @@ h1, h2, h3, h4, h5, h6 {
margin-top: 0.3em; margin-top: 0.3em;
margin-bottom: 0.3em; margin-bottom: 0.3em;
tt, code { tt,
code {
font-size: inherit; font-size: inherit;
} }
@ -32,30 +43,36 @@ h1, h2, h3, h4, h5, h6 {
} }
} }
h1 { // 40px h1 {
// 40px
font-size: 2.6666666667em; font-size: 2.6666666667em;
color: black; color: black;
} }
h2 { // 30px h2 {
// 30px
font-size: 2em; font-size: 2em;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
color: black; color: black;
} }
h3 { // 26px h3 {
// 26px
font-size: 1.7333333333em; font-size: 1.7333333333em;
} }
h4 { // 22px h4 {
// 22px
font-size: 1.4666666667em; font-size: 1.4666666667em;
} }
h5 { // 18px h5 {
// 18px
font-size: 1.2em; font-size: 1.2em;
} }
h6 { // 16px h6 {
// 16px
font-size: 1.0666666667em; font-size: 1.0666666667em;
color: #555; color: #555;
} }
@ -64,12 +81,14 @@ h1, h2, h3, h4, h5, h6 {
text-decoration: underline; text-decoration: underline;
} }
p { // 15px p {
// 15px
line-height: 1.8em; line-height: 1.8em;
margin-bottom: 20px; margin-bottom: 20px;
} }
ul, ol { ul,
ol {
padding-left: 30px; padding-left: 30px;
} }
@ -169,7 +188,8 @@ h1, h2, h3, h4, h5, h6 {
font-family: var(--font-family-monospace); font-family: var(--font-family-monospace);
} }
code, tt { code,
tt {
margin: 0 2px; margin: 0 2px;
padding: 0 5px; padding: 0 5px;
white-space: nowrap; white-space: nowrap;
@ -192,7 +212,8 @@ h1, h2, h3, h4, h5, h6 {
white-space: pre; white-space: pre;
} }
code, tt { code,
tt {
background-color: transparent; background-color: transparent;
border: none; border: none;
} }

View File

@ -9,7 +9,8 @@
-webkit-touch-callout: none; -webkit-touch-callout: none;
} }
html, body { html,
body {
height: 100%; height: 100%;
} }
@ -25,7 +26,8 @@ a {
text-decoration: none; text-decoration: none;
} }
a:focus, a:hover { a:focus,
a:hover {
color: #23527c; color: #23527c;
text-decoration: underline; text-decoration: underline;
} }
@ -45,7 +47,9 @@ img {
max-width: 100% !important; max-width: 100% !important;
} }
.PageBreak { display: none; } .PageBreak {
display: none;
}
@media screen { @media screen {
body { body {

4365
yarn.lock

File diff suppressed because it is too large Load Diff