Skip to content

Commit 4c84cd5

Browse files
authored
Merge pull request #22 from Pascal-Institute/develop
merge v1.0.3
2 parents d302a5f + c0b928d commit 4c84cd5

File tree

7 files changed

+261
-61
lines changed

7 files changed

+261
-61
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
#### The Image Processing Tool based on Electron framework & sharp npm package
44

5-
![image](https://user-images.githubusercontent.com/65960990/150795299-103af483-4d5b-46ff-b00f-61f4cd5ca130.png)
5+
<img width="2556" height="1387" alt="image" src="https://github.com/user-attachments/assets/5d760047-deae-43a0-b227-58052a5fcfb4" />
6+
67

78
## 1. Requirements
89

@@ -13,6 +14,11 @@
1314
npm install --save electron electron-reload electron-rebuild electron-builder sharp sharp-ico sharp-bmp fs imgkit
1415
```
1516

17+
### when electron is not working
18+
```bash
19+
npm install -g electron
20+
```
21+
1622
### npm update (Recommended)
1723

1824
```bash
@@ -21,7 +27,7 @@ npm update
2127

2228
#### imgkit is local module.
2329

24-
## 2. How to execute
30+
## 2-1. How to execute
2531

2632
```bash
2733
electron .
@@ -33,6 +39,12 @@ or
3339
npm start
3440
```
3541

42+
## 2-2. How to build
43+
44+
```bash
45+
npm run build
46+
```
47+
3648
## 3. Application Specification
3749

3850
### Availiable file extension

css/styles.css

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,16 @@ body {
5959
}
6060

6161
select#extensionComboBox {
62-
border: none;
6362
position: absolute;
64-
color: rgba(0, 0, 0, 0.8);
65-
bottom: 45px;
66-
left: 45px;
67-
font-size: 15px;
68-
background: none;
63+
left: 8px;
64+
bottom: 8px;
65+
background: rgba(0, 0, 0, 0.3);
66+
color: #fff;
67+
padding: 2px 8px;
68+
border-radius: 8px;
69+
font-size: 0.95em;
70+
border: none;
71+
outline: none;
6972
}
7073

7174
#deleteBtn {
@@ -106,9 +109,15 @@ select#extensionComboBox {
106109
}
107110

108111
#imgInfoText {
109-
text-align: right;
110-
margin-top: 3px;
111-
color: rgba(0, 0, 0, 0.5);
112+
position: absolute;
113+
right: 8px;
114+
bottom: 8px;
115+
background: rgba(0, 0, 0, 0.3);
116+
color: #fff;
117+
padding: 2px 8px;
118+
border-radius: 8px;
119+
font-size: 0.95em;
120+
pointer-events: none;
112121
}
113122

114123
.previewImg {
@@ -156,3 +165,21 @@ select#extensionComboBox {
156165
bottom: 15px;
157166
text-align: center;
158167
}
168+
169+
#delete_msg,
170+
#error_msg {
171+
background-color: #f29999;
172+
}
173+
174+
#scroll-container {
175+
position: relative;
176+
width: auto !important;
177+
overflow-x: auto;
178+
overflow-y: hidden;
179+
white-space: nowrap;
180+
display: flex;
181+
align-items: center;
182+
box-sizing: border-box;
183+
padding: 48px 48px 48px 48px;
184+
scroll-behavior: smooth;
185+
}

0 commit comments

Comments
 (0)