tileserver-gl-light 4.4.2 → 4.4.4

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.
@@ -45,7 +45,7 @@ jobs:
45
45
  prettier_extensions: js,cjs,ts,json
46
46
 
47
47
  - name: Run hadolint 🐳
48
- uses: hadolint/hadolint-action@v3.0.0
48
+ uses: hadolint/hadolint-action@v3.1.0
49
49
  with:
50
50
  dockerfile: Dockerfile
51
51
  ignore: DL3008,DL3015
@@ -60,7 +60,7 @@ jobs:
60
60
  uses: docker/setup-buildx-action@v2
61
61
 
62
62
  - name: Test Docker Build
63
- uses: docker/build-push-action@v3
63
+ uses: docker/build-push-action@v4
64
64
  with:
65
65
  context: .
66
66
  push: false
@@ -80,7 +80,7 @@ jobs:
80
80
  password: ${{ github.event.inputs.docker_token }}
81
81
 
82
82
  - name: Build and publish Full Version to Docker Hub
83
- uses: docker/build-push-action@v3
83
+ uses: docker/build-push-action@v4
84
84
  with:
85
85
  context: .
86
86
  push: true
@@ -106,7 +106,7 @@ jobs:
106
106
  NPM_TOKEN: ${{ github.event.inputs.npm_token }}
107
107
 
108
108
  - name: Build and publish Light Version to Docker Hub
109
- uses: docker/build-push-action@v3
109
+ uses: docker/build-push-action@v4
110
110
  with:
111
111
  context: ./light
112
112
  file: ./light/Dockerfile
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tileserver-gl-light",
3
- "version": "4.4.2",
3
+ "version": "4.4.4",
4
4
  "description": "Map tile server for JSON GL styles - serving vector tiles",
5
5
  "main": "src/main.js",
6
6
  "bin": "src/main.js",
@@ -17,38 +17,38 @@
17
17
  font-style: normal;
18
18
  }
19
19
 
20
- body{
20
+ body {
21
21
  background-color: #fff;
22
22
  color: #212121;
23
- font-family:'OpenSans', sans-serif, Arial;
23
+ font-family: 'OpenSans', sans-serif, Arial;
24
24
  font-size: 14px;
25
- margin:0;
26
- background-repeat:no-repeat !important;
25
+ margin: 0;
26
+ background-repeat: no-repeat !important;
27
27
  background-size: contain !important;
28
28
  background-image: url(/images/header-map-1280px.png);
29
29
  }
30
- a{
31
- color: #499DCE;
32
- transition: color .2s;
30
+ a {
31
+ color: #499dce;
32
+ transition: color 0.2s;
33
33
  }
34
34
  a:hover {
35
- color: #395D73;
35
+ color: #395d73;
36
36
  }
37
37
  .title {
38
38
  font-weight: bold;
39
39
  font-size: 32px;
40
- text-align:center;
41
- margin:90px 0 0 0;
42
- position:relative;
40
+ text-align: center;
41
+ margin: 90px 0 0 0;
42
+ position: relative;
43
43
  }
44
44
  .title.light:after {
45
- content: "light";
45
+ content: 'light';
46
46
  display: block;
47
47
  position: absolute;
48
48
  left: 50%;
49
49
  bottom: -5px;
50
- color: #499DCE;
51
- font-size:.8em;
50
+ color: #499dce;
51
+ font-size: 0.8em;
52
52
  }
53
53
  section {
54
54
  margin: 15px auto;
@@ -60,27 +60,27 @@ section {
60
60
  }
61
61
  .subtitle {
62
62
  font-size: 26px;
63
- font-weight:normal;
64
- text-align:center;
65
- margin:10px 0 95px 0;
63
+ font-weight: normal;
64
+ text-align: center;
65
+ margin: 10px 0 95px 0;
66
66
  }
67
67
  .box-header {
68
- text-align:left;
69
- text-transform:uppercase;
70
- border:1px solid #ededed;
71
- margin:25px 0 0 0;
72
- padding:12px 30px;
73
- font-size:20px;
74
- background:#fff;
68
+ text-align: left;
69
+ text-transform: uppercase;
70
+ border: 1px solid #ededed;
71
+ margin: 25px 0 0 0;
72
+ padding: 12px 30px;
73
+ font-size: 20px;
74
+ background: #fff;
75
75
  }
76
76
  .item {
77
- background:#fff;
77
+ background: #fff;
78
78
  height: 191px;
79
79
  border: 1px solid #ededed;
80
- border-top:none;
80
+ border-top: none;
81
81
  }
82
82
  .item:nth-child(odd) {
83
- background-color:#fbfbfb;
83
+ background-color: #fbfbfb;
84
84
  }
85
85
  .item img {
86
86
  position: absolute;
@@ -91,27 +91,27 @@ section {
91
91
  border: 1px solid #ccc;
92
92
  }
93
93
  .details {
94
- float:left;
94
+ float: left;
95
95
  height: 128px;
96
96
  padding: 20px 30px 20px 188px;
97
97
  }
98
98
  .details h3 {
99
- font-size:18px;
99
+ font-size: 18px;
100
100
  margin-top: 25px;
101
101
  }
102
102
  .details p {
103
- padding:0;
104
- margin:18px 0;
103
+ padding: 0;
104
+ margin: 18px 0;
105
105
  }
106
106
  .viewers {
107
- float:right;
108
- text-align:center;
107
+ float: right;
108
+ text-align: center;
109
109
  width: 120px;
110
110
  margin-top: 25px;
111
111
  padding-right: 30px;
112
112
  }
113
113
  .btn {
114
- display:block;
114
+ display: block;
115
115
  margin: 0;
116
116
  line-height: 36px;
117
117
  }
@@ -119,57 +119,58 @@ section {
119
119
  position: relative;
120
120
  padding: 0;
121
121
  overflow: hidden;
122
- border-radius:4px;
123
- background-color: #499DCE;
122
+ border-radius: 4px;
123
+ background-color: #499dce;
124
124
  background: linear-gradient(90deg, #5aaad8, #4a9ecf);
125
125
  color: #fff;
126
126
  text-decoration: none;
127
127
  font-weight: bold;
128
128
  }
129
129
  .btn:first-child:hover {
130
- background: #395D73;
130
+ background: #395d73;
131
131
  }
132
132
  footer {
133
- width:100%;
134
- border-top:1px solid #ededed;
135
- text-align:center;
136
- color:#d3d3d3;
137
- padding-top:10px;
138
- font-size:12px;
133
+ width: 100%;
134
+ border-top: 1px solid #ededed;
135
+ text-align: center;
136
+ color: #d3d3d3;
137
+ padding-top: 10px;
138
+ font-size: 12px;
139
139
  }
140
140
  footer img {
141
141
  width: 113px;
142
142
  height: 31px;
143
143
  }
144
144
  footer .t {
145
- display:none;
145
+ display: none;
146
146
  }
147
147
  footer p {
148
- margin-top:0;
148
+ margin-top: 0;
149
149
  }
150
150
  footer a {
151
151
  color: #787878;
152
152
  text-decoration: none;
153
153
  }
154
- .details h3, .identifier {
154
+ .details h3,
155
+ .identifier {
155
156
  max-width: 550px;
156
157
  word-break: break-all;
157
158
  }
158
159
 
159
160
  /* Responsive */
160
161
  @media (max-width: 950px) {
161
- section{
162
+ section {
162
163
  margin: 0;
163
164
  width: 96%;
164
165
  padding: 2%;
165
166
  }
166
167
  }
167
168
  @media (max-width: 600px) {
168
- .title{
169
+ .title {
169
170
  margin: 25px 0 0 0;
170
171
  }
171
172
  .title.light:after {
172
- font-size:.6em;
173
+ font-size: 0.6em;
173
174
  }
174
175
  .title img {
175
176
  width: 200px;