-
Notifications
You must be signed in to change notification settings - Fork 104
refactor: update option page theme #920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
wangyantong2000
merged 6 commits into
hypertrons:master
from
frank-zsy:refactor/refactor-option-page-theme
Nov 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
7330683
refactor: update option page theme
frank-zsy 442b22d
change css
wangyantong2000 c2cee45
Merge remote-tracking branch 'origin/master' into refactor/refactor-o…
wangyantong2000 bce7861
merge master
wangyantong2000 53f6a59
change css
wangyantong2000 7e07036
change
wangyantong2000 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,160 @@ | ||
| .header { | ||
| position: relative; | ||
| flex-shrink: 0; | ||
| background-color: #0084ff; | ||
| color: rgb(255, 255, 255); | ||
| padding: 50px 0px; | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| body { | ||
| font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', | ||
| sans-serif; | ||
| font-family: -apple-system, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'Helvetica Neue', Helvetica, Arial, | ||
| 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; | ||
| margin: 0px; | ||
| display: flex; | ||
| flex-direction: column; | ||
| background-color: #fafbfc; | ||
| background-color: #1e1e1e; | ||
| color: #d4d4d4; | ||
| padding: 0px; | ||
| transition: all 0.3s ease 0s; | ||
| } | ||
|
|
||
| input[type='text'], | ||
| textarea { | ||
| background-color: #252526; | ||
| border: 1px solid #3c3c3c; | ||
| color: #dcdcdc; | ||
| padding: 8px; | ||
| } | ||
|
|
||
| button { | ||
| background-color: #007acc; | ||
| color: white; | ||
| border: none; | ||
| padding: 10px 20px; | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| button:hover { | ||
| background-color: #005a9e; | ||
| } | ||
|
|
||
| label { | ||
| display: block; | ||
| margin-bottom: 5px; | ||
| color: #9cdcfe; | ||
| } | ||
|
|
||
| .container { | ||
| margin: 20px; | ||
| padding: 20px; | ||
| border: 1px solid #3c3c3c; | ||
| border-radius: 4px; | ||
| } | ||
|
|
||
| .Box { | ||
| width: 75vw; | ||
| min-width: 350px; | ||
| max-width: 600px; | ||
| border-radius: 6px; | ||
| } | ||
|
|
||
| .Box-header { | ||
| display: flex; | ||
| flex-direction: row; | ||
| justify-content: flex-start; | ||
| align-items: center; | ||
| padding: 0 25px; | ||
| margin: -1px -1px 0; | ||
| background-color: #242a2e; | ||
| color: white; | ||
| border-top-left-radius: 6px; | ||
| border-top-right-radius: 6px; | ||
| } | ||
|
|
||
| .Box-header svg.tooltip-icon { | ||
| margin-top: 4px; | ||
| } | ||
|
|
||
| .Box-title { | ||
| font-size: 18px; | ||
| font-weight: 600; | ||
| margin-right: 8px; | ||
| } | ||
|
|
||
| ul { | ||
| padding: 0 25px; | ||
| } | ||
|
|
||
| li { | ||
| padding: 5px 0; | ||
| list-style-type: none; | ||
| } | ||
|
|
||
| a { | ||
| color: #3694de; | ||
| } | ||
|
|
||
| .token-options { | ||
| width: 75vw; | ||
| min-width: 350px; | ||
| max-width: 600px; | ||
| border-radius: 6px; | ||
| margin-top: -10px; | ||
| } | ||
|
|
||
| .token-options p { | ||
| padding: 0 25px; | ||
| } | ||
|
|
||
| .token-options input { | ||
| width: calc(100% - 50px); | ||
| padding: 8px; | ||
| margin: 10px 25px; | ||
| border: 1px solid #ccc; | ||
| border-radius: 4px; | ||
| } | ||
|
|
||
| .ant-radio-wrapper { | ||
| color: #d4d4d4; | ||
| } | ||
|
|
||
| .ant-radio-inner { | ||
| background-color: #252526 !important; | ||
| border-color: #3a3d41 !important; | ||
| } | ||
|
|
||
| .ant-radio-inner::after { | ||
| background-color: #d4d4d4; | ||
| opacity: 0; | ||
| } | ||
|
|
||
| .ant-radio-checked .ant-radio-inner::after { | ||
| opacity: 1; | ||
| } | ||
|
|
||
| .ant-radio-checked .ant-radio-inner { | ||
| border-color: #3a3d41; | ||
| } | ||
|
|
||
| .ant-radio:hover .ant-radio-inner { | ||
| border-color: #606060; | ||
| } | ||
|
|
||
| .ant-checkbox-wrapper { | ||
| color: #d4d4d4; | ||
| } | ||
|
|
||
| .ant-checkbox-inner { | ||
| background-color: #252526 !important; | ||
| border-color: #3a3d41 !important; | ||
| } | ||
|
|
||
| .ant-checkbox-checked .ant-checkbox-inner { | ||
| background-color: #252526 !important; | ||
| border-color: #3a3d41 !important; | ||
| } | ||
|
|
||
| .ant-checkbox-checked:hover { | ||
| background-color: #252526; | ||
| border-color: #3a3d41; | ||
| } | ||
|
|
||
| .ant-checkbox-checked .ant-checkbox-inner::after { | ||
| border-color: #d4d4d4; | ||
| } | ||
|
|
||
| .ant-checkbox:hover .ant-checkbox-inner { | ||
| border-color: #606060; | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.