Skip to content

Commit fbf6993

Browse files
committed
fix: optimize some styles
1 parent f07db9c commit fbf6993

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

_locales/en/messages.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@
131131
"message": "Statistics"
132132
},
133133
"optionAboutStatisticsName": {
134-
"message": "statistics name"
134+
"message": "Statistics Name"
135135
},
136136
"optionAboutVersion": {
137-
"message": "version information"
137+
"message": "Version Information"
138138
},
139139
"optionAboutAdBlockCount": {
140140
"message": "Total number of malicious ads and mining script blocks"
@@ -143,7 +143,7 @@
143143
"message": "Total number of malicious website blocks"
144144
},
145145
"optionAboutAccelerationCount": {
146-
"message": "total page acceleration"
146+
"message": "Total Page Acceleration"
147147
},
148148
"optionAboutContectTitle": {
149149
"message": "Join User Group"
@@ -365,7 +365,7 @@
365365
"message": "Ad Blocking"
366366
},
367367
"optionsSpeedup": {
368-
"message": "optimization acceleration"
368+
"message": "Optimization Acceleration"
369369
},
370370
"optionsOtherSettings": {
371371
"message": "Other Settings"
@@ -374,7 +374,7 @@
374374
"message": "Accessibility"
375375
},
376376
"optionsAboutUs": {
377-
"message": "About us"
377+
"message": "About Us"
378378
},
379379
"popupAdblockName": {
380380
"message": "Ad Blocking"
@@ -401,13 +401,13 @@
401401
"message": "Real-time security protection"
402402
},
403403
"popupSafeProtectSubtitle": {
404-
"message": "Access to this site will no longer be protected when closed"
404+
"message": "Protection on this site"
405405
},
406406
"popupAdblockTitle": {
407407
"message": "Malicious Ad Blocking"
408408
},
409409
"popupAdblockSubtitle": {
410-
"message": "Ads on this site will no longer be blocked when closed"
410+
"message": "Block ads on this site"
411411
},
412412
"popupGradeTitle": {
413413
"message": "Website Reputation Rating"
@@ -425,6 +425,6 @@
425425
"message": "More setting options"
426426
},
427427
"popupMoreSubtitle": {
428-
"message": "Click to go to the settings page for detailed settings"
428+
"message": "Click to go to detailed settings"
429429
}
430430
}

src/background/uninstall.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as tabs from '../core/tab'
22
chrome.runtime.onInstalled.addListener((details) => {
3+
tabs.open('/option.html')
34
tabs.open('/guide.html')
45
})
56
chrome.runtime.setUninstallURL('https://wj.qq.com/s2/3072248/dc7c/')

src/guide/guide.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
font-weight: bold;
2020
color: rgba(88, 143, 255, 1);
2121
border: 1px solid rgba(30, 111, 255, 1);
22+
text-transform: uppercase;
2223
&.btn-primary {
2324
background: rgba(19, 116, 255, 1);
2425
color: rgba(255, 255, 255, 1);

src/option/component/aboutUs/index.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
&>.table-info-container {
3333
.table-item {
34-
margin: 10px 0 30px 0;
34+
margin: 12px 0 30px 0;
3535
.title {
3636
font-size: 20px;
3737
font-weight: 500;
@@ -53,7 +53,7 @@
5353
display: flex;
5454
justify-content: space-between;
5555
.text {
56-
font-size: 12px;
56+
font-size: 13px;
5757
font-weight: 500;
5858
color: rgba(136, 152, 170, 1);
5959
}
@@ -69,7 +69,7 @@
6969
.left {
7070
span,
7171
a {
72-
font-size: 10px;
72+
font-size: 13px;
7373
font-weight: 400;
7474
color: rgba(23, 43, 77, 1) !important;
7575
text-decoration-line: none !important;

src/option/component/safe/index.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,19 @@
110110
color: #42b72a;
111111
.text.connected {
112112
margin-left: 8px;
113-
font-size: 9px;
113+
font-size: 12px;
114114
font-weight: 400;
115115
color: rgba(66, 183, 42, 1);
116116
}
117117
.text.disconnected {
118118
margin-left: 8px;
119-
font-size: 9px;
119+
font-size: 12px;
120120
font-weight: 400;
121121
color: rgba(219, 70, 76, 1);
122122
}
123123
}
124124
&>span {
125-
font-size: 9px;
125+
font-size: 12px;
126126
font-weight: 400;
127127
color: rgba(138, 145, 153, 1);
128128
}

0 commit comments

Comments
 (0)