sitespeed.io 32.2.0 → 33.0.0

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.
Files changed (61) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/Dockerfile +1 -1
  3. package/bin/sitespeed.js +1 -3
  4. package/lib/cli/cli.js +7 -1
  5. package/lib/plugins/browsertime/index.js +46 -42
  6. package/lib/plugins/compare/index.js +10 -3
  7. package/lib/plugins/html/assets/css/index-dark.min.css +1 -0
  8. package/lib/plugins/html/defaultConfig.js +1 -0
  9. package/lib/plugins/html/src/sass/dark/components/buttons.scss +57 -0
  10. package/lib/plugins/html/src/sass/dark/components/groupitem.scss +24 -0
  11. package/lib/plugins/html/src/sass/dark/components/sortable.scss +21 -0
  12. package/lib/plugins/html/src/sass/dark/components/summarybox.scss +51 -0
  13. package/lib/plugins/html/src/sass/dark/components/tabs.scss +69 -0
  14. package/lib/plugins/html/src/sass/dark/components/waterfall.scss +240 -0
  15. package/lib/plugins/html/src/sass/dark/foundations/tables.scss +161 -0
  16. package/lib/plugins/html/src/sass/dark/foundations/typography.scss +109 -0
  17. package/lib/plugins/html/src/sass/dark/utilities/settings.scss +41 -0
  18. package/lib/plugins/html/src/sass/light/components/chartist-plugin-tooltip.scss +34 -0
  19. package/lib/plugins/html/src/sass/light/components/chartist.scss +646 -0
  20. package/lib/plugins/html/src/sass/light/components/chartistExtras.scss +155 -0
  21. package/lib/plugins/html/src/sass/light/components/filmstrip.scss +32 -0
  22. package/lib/plugins/html/src/sass/light/components/loader.scss +59 -0
  23. package/lib/plugins/html/src/sass/light/components/misc.scss +74 -0
  24. package/lib/plugins/html/src/sass/light/components/navigation.scss +133 -0
  25. package/lib/plugins/html/src/sass/light/components/screenshot.scss +11 -0
  26. package/lib/plugins/html/src/sass/light/components/waterfallExtras.scss +73 -0
  27. package/lib/plugins/html/src/sass/light/foundations/base.scss +66 -0
  28. package/lib/plugins/html/src/sass/light/foundations/grid.scss +198 -0
  29. package/lib/plugins/html/src/sass/light/foundations/normalize.scss +420 -0
  30. package/lib/plugins/html/src/sass/light/foundations/utilies.scss +31 -0
  31. package/lib/plugins/html/src/sass/main-dark.scss +44 -0
  32. package/lib/plugins/html/src/sass/main-light.scss +44 -0
  33. package/lib/plugins/html/templates/layout.pug +4 -1
  34. package/lib/plugins/html/templates/url/thirdparty/index.pug +83 -82
  35. package/lib/plugins/sustainable/index.js +1 -1
  36. package/npm-shrinkwrap.json +38 -38
  37. package/package.json +6 -4
  38. package/lib/plugins/html/src/sass/main.scss +0 -44
  39. /package/lib/plugins/html/assets/css/{index.min.css → index-light.min.css} +0 -0
  40. /package/lib/plugins/html/src/sass/{components → dark/components}/chartist-plugin-tooltip.scss +0 -0
  41. /package/lib/plugins/html/src/sass/{components → dark/components}/chartist.scss +0 -0
  42. /package/lib/plugins/html/src/sass/{components → dark/components}/chartistExtras.scss +0 -0
  43. /package/lib/plugins/html/src/sass/{components → dark/components}/filmstrip.scss +0 -0
  44. /package/lib/plugins/html/src/sass/{components → dark/components}/loader.scss +0 -0
  45. /package/lib/plugins/html/src/sass/{components → dark/components}/misc.scss +0 -0
  46. /package/lib/plugins/html/src/sass/{components → dark/components}/navigation.scss +0 -0
  47. /package/lib/plugins/html/src/sass/{components → dark/components}/screenshot.scss +0 -0
  48. /package/lib/plugins/html/src/sass/{components → dark/components}/waterfallExtras.scss +0 -0
  49. /package/lib/plugins/html/src/sass/{foundations → dark/foundations}/base.scss +0 -0
  50. /package/lib/plugins/html/src/sass/{foundations → dark/foundations}/grid.scss +0 -0
  51. /package/lib/plugins/html/src/sass/{foundations → dark/foundations}/normalize.scss +0 -0
  52. /package/lib/plugins/html/src/sass/{foundations → dark/foundations}/utilies.scss +0 -0
  53. /package/lib/plugins/html/src/sass/{components → light/components}/buttons.scss +0 -0
  54. /package/lib/plugins/html/src/sass/{components → light/components}/groupitem.scss +0 -0
  55. /package/lib/plugins/html/src/sass/{components → light/components}/sortable.scss +0 -0
  56. /package/lib/plugins/html/src/sass/{components → light/components}/summarybox.scss +0 -0
  57. /package/lib/plugins/html/src/sass/{components → light/components}/tabs.scss +0 -0
  58. /package/lib/plugins/html/src/sass/{components → light/components}/waterfall.scss +0 -0
  59. /package/lib/plugins/html/src/sass/{foundations → light/foundations}/tables.scss +0 -0
  60. /package/lib/plugins/html/src/sass/{foundations → light/foundations}/typography.scss +0 -0
  61. /package/lib/plugins/html/src/sass/{utilities → light/utilities}/settings.scss +0 -0
@@ -0,0 +1,155 @@
1
+
2
+ // chartist-plugin-tooltip
3
+ .chartist-tooltip {
4
+ background: $color--blue;
5
+ color: white;
6
+ }
7
+
8
+ .chartist-tooltip:before {
9
+ border-top-color: $color--blue;
10
+ }
11
+
12
+ // chartist
13
+ .ct-bar {
14
+ stroke-width: 16px;
15
+ }
16
+
17
+ .ct-series-a .ct-point, .ct-series-a .ct-line, .ct-series-a .ct-bar, .ct-series-a .ct-slice-donut {
18
+ stroke: #82b5fc;
19
+ }
20
+
21
+ .ct-series-a .ct-slice-pie, .ct-series-a .ct-slice-donut-solid, .ct-series-a .ct-area {
22
+ fill: #468847;
23
+ }
24
+
25
+
26
+ .ct-series-b .ct-point, .ct-series-b .ct-line, .ct-series-b .ct-bar, .ct-series-b .ct-slice-donut {
27
+ stroke: #b2ea94;
28
+ }
29
+
30
+ .ct-series-b .ct-slice-pie, .ct-series-b .ct-slice-donut-solid, .ct-series-b .ct-area {
31
+ fill: #c09853;
32
+ }
33
+
34
+ .ct-series-c .ct-point, .ct-series-c .ct-line, .ct-series-c .ct-bar, .ct-series-c .ct-slice-donut {
35
+ stroke: #fec584;
36
+ }
37
+
38
+ .ct-series-c .ct-slice-pie, .ct-series-c .ct-slice-donut-solid, .ct-series-c .ct-area {
39
+ fill: #b94a48;
40
+ }
41
+
42
+ .ct-series-d .ct-point, .ct-series-d .ct-line, .ct-series-d .ct-bar, .ct-series-d .ct-slice-donut {
43
+ stroke: #c49ae8;
44
+ }
45
+
46
+ .ct-series-d .ct-slice-pie, .ct-series-d .ct-slice-donut-solid, .ct-series-d .ct-area {
47
+ fill: #c49ae8;
48
+ }
49
+
50
+ .ct-series-e .ct-point, .ct-series-e .ct-line, .ct-series-e .ct-bar, .ct-series-e .ct-slice-donut {
51
+ stroke: #ff523e;
52
+ }
53
+
54
+ .ct-series-e .ct-slice-pie, .ct-series-e .ct-slice-donut-solid, .ct-series-e .ct-area {
55
+ fill: #ff523e;
56
+ }
57
+
58
+ .ct-series-f .ct-point, .ct-series-f .ct-line, .ct-series-f .ct-bar, .ct-series-f .ct-slice-donut {
59
+ stroke: #c4c4c4;
60
+ }
61
+
62
+ .ct-series-f .ct-slice-pie, .ct-series-f .ct-slice-donut-solid, .ct-series-f .ct-area {
63
+ fill: #c4c4c4;
64
+ }
65
+
66
+ .ct-series-g .ct-point, .ct-series-g .ct-line, .ct-series-g .ct-bar, .ct-series-g .ct-slice-donut {
67
+ stroke: #c4c4c4;
68
+ }
69
+
70
+ .ct-series-g .ct-slice-pie, .ct-series-g .ct-slice-donut-solid, .ct-series-g .ct-area {
71
+ fill: #c4c4c4;
72
+ }
73
+
74
+ .ct-series-h .ct-point, .ct-series-h .ct-line, .ct-series-h .ct-bar, .ct-series-h .ct-slice-donut {
75
+ stroke: #c4c4c4;
76
+ }
77
+
78
+ .ct-series-h .ct-slice-pie, .ct-series-h .ct-slice-donut-solid, .ct-series-h .ct-area {
79
+ fill: #c4c4c4;
80
+ }
81
+
82
+ .ct-series-i .ct-point, .ct-series-i .ct-line, .ct-series-i .ct-bar, .ct-series-i .ct-slice-donut {
83
+ stroke: #EAB839;
84
+ }
85
+
86
+ .ct-series-i .ct-slice-pie, .ct-series-i .ct-slice-donut-solid, .ct-series-i .ct-area {
87
+ fill: #EAB839;
88
+ }
89
+
90
+ .ct-chart {
91
+ .ct-legend {
92
+ position: relative;
93
+ z-index: 10;
94
+ list-style: none;
95
+ text-align: left;
96
+ line-height: 0.8;
97
+ font-size: 0.8em;
98
+
99
+ li {
100
+ padding-left: 23px;
101
+ margin-right: 10px;
102
+ margin-bottom: 3px;
103
+ cursor: pointer;
104
+
105
+ &:before {
106
+ width: 12px;
107
+ height: 12px;
108
+ position: absolute;
109
+ left: 0;
110
+ content: '';
111
+ border: 3px solid transparent;
112
+ border-radius: 2px;
113
+ }
114
+ .inactive:before {
115
+ background: transparent;
116
+ }
117
+
118
+ &:nth-child(1)::before{
119
+ background-color: #468847;
120
+ }
121
+
122
+ &:nth-child(2)::before{
123
+ background-color: #c09853;
124
+ }
125
+
126
+ &:nth-child(3)::before{
127
+ background-color: #b94a48;
128
+ }
129
+
130
+ }
131
+
132
+ .ct-legend-inside {
133
+ position: absolute;
134
+ top: 0;
135
+ right: 0;
136
+ }
137
+ }
138
+ g:not(.ct-grids):not(.ct-labels) g {
139
+ &:nth-child(1){
140
+ .ct-point,.ct-line {
141
+ stroke: #468847;
142
+ }
143
+ }
144
+ &:nth-child(2){
145
+ .ct-point,.ct-line {
146
+ stroke: #c09853;
147
+ }
148
+ }
149
+ &:nth-child(3){
150
+ .ct-point,.ct-line {
151
+ stroke: #b94a48;
152
+ }
153
+ }
154
+ }
155
+ }
@@ -0,0 +1,32 @@
1
+
2
+ .filmstrip {
3
+ padding-bottom: 20px;
4
+ }
5
+
6
+ .videoframe {
7
+ vertical-align: top;
8
+ display: inline-block;
9
+ padding: 4px;
10
+ background-color: #fff;
11
+ border: 1px solid #ddd;
12
+ border-radius: 4px;
13
+ width:100%;
14
+ }
15
+
16
+ .videoframe.blue {
17
+ border: 2px solid $color--blue;
18
+ }
19
+
20
+ .videoframetime {
21
+ text-align: center;
22
+ display: block;
23
+ }
24
+
25
+ .videoframetext {
26
+ text-align: left;
27
+ display: block;
28
+ line-height: 1.2em;
29
+ font-size: 0.8em;
30
+ white-space: nowrap;
31
+ margin-bottom: 0.2em;
32
+ }
@@ -0,0 +1,59 @@
1
+ .loader,
2
+ .loader:before,
3
+ .loader:after {
4
+ background: #000000;
5
+ -webkit-animation: load1 1s infinite ease-in-out;
6
+ animation: load1 1s infinite ease-in-out;
7
+ width: 1em;
8
+ height: 4em;
9
+ }
10
+ .loader {
11
+ color: #000000;
12
+ text-indent: -9999em;
13
+ margin: 88px auto;
14
+ position: relative;
15
+ font-size: 11px;
16
+ -webkit-transform: translateZ(0);
17
+ -ms-transform: translateZ(0);
18
+ transform: translateZ(0);
19
+ -webkit-animation-delay: -0.16s;
20
+ animation-delay: -0.16s;
21
+ }
22
+ .loader:before,
23
+ .loader:after {
24
+ position: absolute;
25
+ top: 0;
26
+ content: '';
27
+ }
28
+ .loader:before {
29
+ left: -1.5em;
30
+ -webkit-animation-delay: -0.32s;
31
+ animation-delay: -0.32s;
32
+ }
33
+ .loader:after {
34
+ left: 1.5em;
35
+ }
36
+ @-webkit-keyframes load1 {
37
+ 0%,
38
+ 80%,
39
+ 100% {
40
+ box-shadow: 0 0;
41
+ height: 4em;
42
+ }
43
+ 40% {
44
+ box-shadow: 0 -2em;
45
+ height: 5em;
46
+ }
47
+ }
48
+ @keyframes load1 {
49
+ 0%,
50
+ 80%,
51
+ 100% {
52
+ box-shadow: 0 0;
53
+ height: 4em;
54
+ }
55
+ 40% {
56
+ box-shadow: 0 -2em;
57
+ height: 5em;
58
+ }
59
+ }
@@ -0,0 +1,74 @@
1
+ //
2
+ // MISC STYLES
3
+ // ===============
4
+ // This is styles to be sorted into components
5
+ //
6
+
7
+ /** Labels */
8
+
9
+ .label {
10
+ display: inline;
11
+ padding: 0.2em 0.6em 0.3em;
12
+ font-size: 75%;
13
+ font-weight: bold;
14
+ line-height: 1;
15
+ color: #fff;
16
+ text-align: center;
17
+ white-space: nowrap;
18
+ vertical-align: baseline;
19
+ border-radius: 0.25em;
20
+ }
21
+
22
+ .normal {
23
+ font-size: 100%;
24
+ }
25
+
26
+ .ok {
27
+ background-color: #468847;
28
+ }
29
+ .warning {
30
+ background-color: #f0ad4e;
31
+ }
32
+ .error {
33
+ background-color: #d9534f;
34
+ }
35
+
36
+ .info {
37
+ background-color: $color--blue;
38
+ }
39
+
40
+ ul.menu {
41
+ list-style: none;
42
+ font-size: 125%;
43
+ text-transform: uppercase;
44
+ }
45
+
46
+ .errors {
47
+ margin-bottom: 1.333em;
48
+ background: lightpink;
49
+ padding-left: 1em;
50
+ }
51
+
52
+ .subtableheader {
53
+ background: #ffe3eb;
54
+ }
55
+
56
+ /* Large */
57
+
58
+ .large {
59
+ font-size: 1.333rem;
60
+ line-height: 1.8rem;
61
+ }
62
+
63
+ .hidden-small {
64
+ display: inline;
65
+ }
66
+
67
+ .url {
68
+ overflow-wrap: break-word;
69
+ word-wrap: break-word;
70
+ -webkit-hyphens: auto;
71
+ -ms-hyphens: auto;
72
+ -moz-hyphens: auto;
73
+ hyphens: auto;
74
+ }
@@ -0,0 +1,133 @@
1
+ //
2
+ // MAIN NAVIGATION
3
+ // ===============
4
+ //
5
+
6
+ .navgrid {
7
+ width: 100%;
8
+ min-width: 0;
9
+ margin-left: 0;
10
+ margin-right: 0;
11
+ padding-left: 0;
12
+ padding-right: 10px;
13
+ }
14
+
15
+ .nav {
16
+ background: $color--blue;
17
+ ul {
18
+ list-style: none;
19
+ text-align: center;
20
+ padding: 0;
21
+ margin: 0;
22
+ background-color: $color--blue;
23
+ }
24
+ li {
25
+ line-height: 40px;
26
+ height: 40px;
27
+ border-bottom: none;
28
+ margin-bottom: 0;
29
+ }
30
+ a {
31
+ text-decoration: none;
32
+ color: $color--white;
33
+ display: block;
34
+ &:hover {
35
+ background-color: #0073b0;
36
+ }
37
+ &.active {
38
+ background-color: #0073b0;
39
+ color: $color--white;
40
+ cursor: default;
41
+ }
42
+ }
43
+ }
44
+
45
+ .logo {
46
+ text-align: center;
47
+ background-color: $color--blue;
48
+ }
49
+
50
+ .navbar-brand {
51
+ padding: 0;
52
+ font-size: 18px;
53
+ max-width: 250px;
54
+ }
55
+
56
+ @media screen and (min-width: 820px) {
57
+ body {
58
+ padding-top: 50px;
59
+ }
60
+ .navgrid {
61
+ width: 100%;
62
+ max-width: 1140px;
63
+ min-width: 755px;
64
+ margin: 0 auto;
65
+ overflow: hidden;
66
+ }
67
+ .nav {
68
+ height: 50px;
69
+ width: 100%;
70
+ z-index: 1000;
71
+ position: fixed;
72
+ top: 0;
73
+ }
74
+ .navbar-brand {
75
+ padding: 0;
76
+ font-size: 18px;
77
+ float: left;
78
+ max-width: 250px;
79
+ }
80
+ .nav {
81
+ a {
82
+ padding-left: 20px;
83
+ padding-right: 20px;
84
+ }
85
+ z-index: 10;
86
+ top: 0;
87
+ background-color: $color--blue;
88
+ li {
89
+ border-bottom: none;
90
+ height: 50px;
91
+ line-height: 50px;
92
+ float: left;
93
+ display: inline-block;
94
+ margin-right: 0;
95
+ }
96
+ a {
97
+ text-decoration: none;
98
+ color: $color--white;
99
+ display: block;
100
+ }
101
+ ul {
102
+ list-style: none;
103
+ text-align: center;
104
+ padding: 0;
105
+ margin: 0;
106
+ background-color: $color--blue;
107
+ }
108
+ }
109
+
110
+ /* Fix for fixed navigation and links */
111
+ :target:before {
112
+ content: "";
113
+ display: block;
114
+ height: 50px; /* fixed header height*/
115
+ margin: -50px 0 0; /* negative fixed header height */
116
+ }
117
+ }
118
+
119
+ @media (min-width: 1550px) {
120
+ .nav {
121
+ li {
122
+ font-size: 1.2em;
123
+ }
124
+ }
125
+ }
126
+
127
+ @media (min-width: 1900px) {
128
+ .nav {
129
+ li {
130
+ font-size: 1.4em;
131
+ }
132
+ }
133
+ }
@@ -0,0 +1,11 @@
1
+ //
2
+ // Screenshots
3
+ // ===============
4
+ //
5
+
6
+ .screenshot {
7
+ padding: 4px;
8
+ background-color: #fff;
9
+ border: 1px solid #ddd;
10
+ border-radius: 4px;
11
+ }
@@ -0,0 +1,73 @@
1
+ .water-fall-chart .type-firstpaint .line-holder {
2
+ stroke: #42f46e;
3
+ stroke-opacity: 1;
4
+ stroke-width: 3;
5
+ }
6
+ .water-fall-chart .type-firstvisualchange .line-holder {
7
+ stroke: #42f46e;
8
+ stroke-opacity: 1;
9
+ stroke-width: 3;
10
+ }
11
+ .water-fall-chart .type-visualcomplete85 .line-holder {
12
+ stroke: #ee7777;
13
+ stroke-opacity: 1;
14
+ stroke-width: 3;
15
+ }
16
+ .water-fall-chart .type-lastvisualchange .line-holder {
17
+ stroke: #ee42f4;
18
+ stroke-opacity: 1;
19
+ stroke-width: 3;
20
+ }
21
+ .water-fall-chart .type-onload .line-holder {
22
+ stroke: #9c99e5;
23
+ stroke-opacity: 1;
24
+ stroke-width: 3;
25
+ }
26
+ .water-fall-chart .type-oncontentload .line-holder {
27
+ stroke: #9842f4;
28
+ stroke-opacity: 1;
29
+ stroke-width: 3;
30
+ }
31
+ .water-fall-chart .type-dominteractivetime .line-holder {
32
+ stroke: #1842f4;
33
+ stroke-opacity: 1;
34
+ stroke-width: 2;
35
+ }
36
+ .water-fall-chart .type-domcontentloadedtime .line-holder {
37
+ stroke: #1212f4;
38
+ stroke-opacity: 1;
39
+ stroke-width: 2;
40
+ }
41
+
42
+ .water-fall-chart .type-lastcpulongtask .line-holder {
43
+ stroke: #f41229;
44
+ stroke-opacity: 1;
45
+ stroke-width: 3;
46
+ }
47
+
48
+ .water-fall-chart .type-largestcontentfulpaint .line-holder {
49
+ stroke: #c7f412;
50
+ stroke-opacity: 1;
51
+ stroke-width: 3;
52
+ }
53
+
54
+ .water-fall-chart {
55
+ font-size: 14px;
56
+ }
57
+
58
+
59
+ #page-selector {
60
+ display: none;
61
+ clear: both;
62
+ margin: 1em 0;
63
+ }
64
+
65
+ * {
66
+ box-sizing: border-box;
67
+ }
68
+
69
+ @media screen and (max-width: 400px) {
70
+ select {
71
+ max-width: 100%;
72
+ }
73
+ }
@@ -0,0 +1,66 @@
1
+ //
2
+ // BASE STYLES
3
+ // ===============
4
+ //
5
+
6
+ *,
7
+ *:before,
8
+ *:after {
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ //
13
+ // LISTS
14
+ //
15
+
16
+ ul,
17
+ ol {
18
+ margin-bottom: 2.5rem;
19
+ }
20
+
21
+ ul {
22
+ margin-top: 0;
23
+ padding-left: 0;
24
+ list-style: circle inside;
25
+
26
+ ul,
27
+ ol {
28
+ margin: 1.5rem 0 1.5rem 3rem;
29
+ font-size: 0.9rem;
30
+ }
31
+ }
32
+
33
+ ol {
34
+ margin-top: 0;
35
+ padding-left: 0;
36
+ list-style: decimal inside;
37
+
38
+ ol,
39
+ ul {
40
+ margin: 1.5rem 0 1.5rem 3rem;
41
+ font-size: 0.9rem;
42
+ }
43
+ }
44
+
45
+ li {
46
+ margin-bottom: 0rem;
47
+ }
48
+
49
+ //
50
+ // MISC
51
+ //
52
+
53
+ figure {
54
+ margin-bottom: 2.5rem;
55
+ }
56
+
57
+ footer {
58
+ text-align: center;
59
+ }
60
+
61
+ hr {
62
+ margin-top: 3rem;
63
+ margin-bottom: 3.5rem;
64
+ border-width: 0;
65
+ border-top: 1px solid $color--grey;
66
+ }