Skip to content

Commit ef379f0

Browse files
authored
Merge pull request #143 from tkskto/develop
v.0.4.0
2 parents 39e55b0 + 1260451 commit ef379f0

File tree

17 files changed

+1061
-808
lines changed

17 files changed

+1061
-808
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node-version: [12.x, 14.x]
16+
node-version: [14.x, 16.x]
1717

1818
steps:
1919
- uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 0.4.0
4+
5+
### enhancement
6+
7+
- add screenshot feature (for only image mode)
8+
9+
### Chores
10+
11+
- \#119 update dependency `commander` to v8.3.0
12+
- \#132 update dependency `vue-eslint-parser` to v8
13+
- \#137 update dependency `ws` to v8.3.0
14+
15+
### Breaking Changes
16+
17+
- Dropped support for Node.js v12.x
18+
319
## 0.3.2
420

521
### enhancement

dist/style.css

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ body {
44
font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
55
background-color: #293D52;
66
}
7+
body.-dialog-show {
8+
height: 100%;
9+
overflow: hidden;
10+
}
711
main {
812
position: relative;
913
}
@@ -13,7 +17,7 @@ header {
1317
}
1418
.root {
1519
border-radius: 8px;
16-
margin-bottom: 20px;
20+
padding: 20px 0;
1721
}
1822
.GRAPH .root.text {
1923
display: none;
@@ -230,3 +234,56 @@ footer {
230234
footer a {
231235
color: #54eda9;
232236
}
237+
.dialog {
238+
position: fixed;
239+
top: 0;
240+
left: 0;
241+
width: 100%;
242+
height: 100%;
243+
visibility: hidden;
244+
opacity: 0;
245+
transition: visibility 0.2s ease, opacity 0.2s ease;
246+
z-index: 10;
247+
}
248+
.-dialog-show .dialog {
249+
visibility: visible;
250+
opacity: 1;
251+
}
252+
.dialog-header {
253+
display: flex;
254+
justify-content: flex-end;
255+
gap: 16px;
256+
margin-bottom: 16px;
257+
}
258+
.dialog-inner {
259+
position: absolute;
260+
top: 0;
261+
bottom: 0;
262+
left: 0;
263+
right: 0;
264+
margin: auto;
265+
width: 90%;
266+
height: 90%;
267+
z-index: 1;
268+
border-radius: 4px;
269+
padding: 20px;
270+
background: #fff;
271+
box-sizing: border-box;
272+
}
273+
.dialog-contents {
274+
width: 100%;
275+
height: calc(100% - 40px);
276+
overflow: auto;
277+
box-sizing: border-box;
278+
}
279+
.dialog-contents img {
280+
max-width: 100%;
281+
}
282+
.dialog .dialog-overlay {
283+
position: absolute;
284+
width: 100%;
285+
height: 100%;
286+
top: 0;
287+
background: rgba(0, 0, 0, 0.3);
288+
z-index: 0;
289+
}

0 commit comments

Comments
 (0)