Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 17, 2024
1 parent bd4a625 commit 3dc1151
Show file tree
Hide file tree
Showing 28 changed files with 1,534 additions and 1,166 deletions.
105 changes: 63 additions & 42 deletions dist/chrome/background.js

Large diffs are not rendered by default.

233 changes: 127 additions & 106 deletions dist/chrome/content_script.js

Large diffs are not rendered by default.

105 changes: 63 additions & 42 deletions dist/chrome/content_start.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/chrome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "__MSG_brandName__",
"description": "__MSG_brandDescription__",
"version": "1.1.5",
"version": "1.1.6",
"default_locale": "en",
"background": {
"service_worker": "background.js"
Expand Down
253 changes: 137 additions & 116 deletions dist/chrome/options.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/chrome/pdf/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@
></iframe>
<div id="loading" class="loading loading-fixed"></div>

<script src="../pdf/extension-entry.js"></script>
<script src="./extension-entry.js"></script>
</body>
</html>
229 changes: 125 additions & 104 deletions dist/chrome/popup.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/chrome/styles/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@
}

.immersive-translate-modal-body {
color: hsl(205, 20%, 32%)
color: hsl(205, 20%, 32%);
word-break: break-all;
}

.immersive-translate-close {
Expand Down
12 changes: 12 additions & 0 deletions dist/chrome/styles/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -624,3 +624,15 @@ article {
.code-editor {
font-family: var(--code-font-family);
}

.error-boundary {
background: #fff2f0;
border: 1px solid #ffccc7;
display: flex;
padding: 12px;
font-size: 14px;
color: rgba(0, 0, 0, 0.88);
word-break: break-all;
margin: 12px;
border-radius: 12px;
}
72 changes: 44 additions & 28 deletions dist/chrome/styles/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ body {
min-width: 316px;
}


.popup-content {
background-color: var(--popup-content-background-color);
border-radius: 0px 0px 12px 12px;
Expand Down Expand Up @@ -68,41 +67,41 @@ body {

[data-theme="light"],
:root:not([data-theme="dark"]) {
--popup-footer-background-color: #E8EAEB;
--popup-content-background-color: #FFFFFF;
--popup-item-background-color: #F3F5F6;
--popup-item-hover-background-color: #EAECED;
--popup-footer-background-color: #e8eaeb;
--popup-content-background-color: #ffffff;
--popup-item-background-color: #f3f5f6;
--popup-item-hover-background-color: #eaeced;
--text-black-2: #222222;
--text-gray-2: #222222;
--text-gray-6: #666666;
--text-gray-9: #999999;
--text-gray-c2: #C2C2C2;
--text-gray-c2: #c2c2c2;
}

@media only screen and (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--popup-footer-background-color: #0D0D0D;
--popup-footer-background-color: #0d0d0d;
--popup-content-background-color: #191919;
--popup-item-background-color: #272727;
--popup-item-hover-background-color: #333333;
--text-black-2: #FFFFFF;
--text-gray-2: #DBDBDB;
--text-gray-6: #B3B3B3;
--text-black-2: #ffffff;
--text-gray-2: #dbdbdb;
--text-gray-6: #b3b3b3;
--text-gray-9: #777777;
--text-gray-c2: #5B5B5B;
--text-gray-c2: #5b5b5b;
}
}

[data-theme="dark"] {
--popup-footer-background-color: #0D0D0D;
--popup-footer-background-color: #0d0d0d;
--popup-content-background-color: #191919;
--popup-item-background-color: #272727;
--popup-item-hover-background-color: #333333;
--text-black-2: #FFFFFF;
--text-gray-2: #DBDBDB;
--text-gray-6: #B3B3B3;
--text-black-2: #ffffff;
--text-gray-2: #dbdbdb;
--text-gray-6: #b3b3b3;
--text-gray-9: #777777;
--text-gray-c2: #5B5B5B;
--text-gray-c2: #5b5b5b;
}

.text-balck {
Expand Down Expand Up @@ -473,7 +472,6 @@ body {
flex-shrink: 0;
}


select.language-select,
select.translate-service,
select.min-select {
Expand All @@ -485,9 +483,8 @@ select.min-select {
font-size: 13px;
border: none;
border-radius: 8px;
/* padding: 6px 24px 6px 16px; */
padding-right: 30px;
padding-left: 0;
padding-left: 0px;
background-position: center right 12px;
background-size: 16px auto;
background-image: var(--icon-xia);
Expand All @@ -498,16 +495,26 @@ select.min-select {
cursor: pointer;
}

select.more {
background-position: center right;
padding-right: 20px;
}

select.transform-padding-left {
padding-left: 12px;
transform: translateX(-12px);
}

select.translate-service {
color: var(--text-black-2);
}

/* dark use black, for windows */
@media (prefers-color-scheme: dark) {
select.language-select *,
select.translate-service *,
select.min-select * {
color: #222;
select.language-select option,
select.translate-service option,
select.min-select option {
background-color: #666666;
}
}

Expand Down Expand Up @@ -554,7 +561,6 @@ select.min-select-left {
text-align: right;
}


.clickable {
cursor: pointer;
}
Expand Down Expand Up @@ -584,7 +590,6 @@ select.min-select-left {
color: #666;
}


.display-none {
display: none;
}
Expand All @@ -596,7 +601,6 @@ select.min-select-left {
}
}


.text-decoration-none {
text-decoration: none;
}
Expand Down Expand Up @@ -674,7 +678,7 @@ select.text-gray-6 {
justify-content: space-between;
}

.widgets-container> :not(:last-child) {
.widgets-container > :not(:last-child) {
margin-right: 8px;
}

Expand Down Expand Up @@ -717,10 +721,22 @@ select.text-gray-6 {
}

.main-button:hover {
background-color: #F5508F;
background-color: #f5508f;
}

.share-button-container:hover {
background-color: var(--popup-item-background-color);
border-radius: 6px;
}

.error-boundary {
background: #fff2f0;
border: 1px solid #ffccc7;
display: flex;
padding: 12px;
font-size: 14px;
color: rgba(0, 0, 0, 0.88);
word-break: break-all;
margin: 12px;
border-radius: 12px;
}
Loading

0 comments on commit 3dc1151

Please sign in to comment.