forked from microsoft/vscode-pull-request-github
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: kieferrm <kieferrm@gmail.com> Co-authored-by: rmacfarlane <ramacfar@microsoft.com> Co-authored-by: rebornix <penn.lv@gmail.com>
- Loading branch information
1 parent
8238292
commit e55556a
Showing
88 changed files
with
36,480 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "/Users/penlv/code/vscode/scripts/code.sh", | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceFolder}" | ||
], | ||
"trace": true, | ||
"protocol": "inspector", | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": ["${workspaceFolder}/client/out/**/*.js"], | ||
"preLaunchTask": "npm" | ||
} | ||
] | ||
} |
This file contains 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"version": "0.1.0", | ||
"command": "npm", | ||
"isShellCommand": true, | ||
"showOutput": "silent", | ||
"args": ["run", "compile"], | ||
"isBackground": true, | ||
"problemMatcher": "$tsc-watch" | ||
} |
This file contains 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
src/** | ||
tsconfig.json |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 |
---|---|---|
@@ -0,0 +1,360 @@ | ||
/*--------------------------------------------------------------------------------------------- | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*--------------------------------------------------------------------------------------------*/ | ||
|
||
.title { | ||
display: flex; | ||
align-items: flex-start; | ||
margin: 20px 0; | ||
} | ||
|
||
h2 { | ||
margin: 0; | ||
} | ||
|
||
body hr { | ||
display: block; | ||
height: 1px; | ||
border: 0; | ||
border-top: 1px solid #555; | ||
margin: 0 !important; | ||
padding: 0; | ||
|
||
} | ||
body .review-comment { | ||
padding: 10px; | ||
display: flex; | ||
} | ||
|
||
body .review-comment .avatar-container { | ||
padding: 4px; | ||
} | ||
|
||
body img.avatar { | ||
height: 28px; | ||
width: 28px; | ||
max-width: 28px; | ||
max-height: 28px; | ||
display: inline-block; | ||
overflow: hidden; | ||
line-height: 1; | ||
vertical-align: middle; | ||
border-radius: 3px; | ||
border-style: none; | ||
margin-right: 5px; | ||
} | ||
|
||
body .review-comment .review-comment-contents { | ||
margin-left: 20px; | ||
width: 100%; | ||
border-top: 1px solid var(--vscode-activityBar-background); | ||
} | ||
|
||
body .review-comment .review-comment-header { | ||
display: flex; | ||
align-items: center; | ||
width: 100%; | ||
padding: 4px; | ||
box-sizing: border-box; | ||
background-color: var(--vscode-editor-background); | ||
} | ||
|
||
body .review-comment .review-comment-contents .comment-body { | ||
padding: 10px; | ||
} | ||
|
||
body { | ||
margin: auto; | ||
width: 100%; | ||
max-width: 1200px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.prIcon { | ||
display: flex; | ||
border-radius: 10px; | ||
margin-right: 5px; | ||
margin-top: 18px; | ||
} | ||
|
||
.overview-title { | ||
display: flex; | ||
} | ||
|
||
#checkout { | ||
align-self: center; | ||
margin-left: auto; | ||
padding: 4px 8px; | ||
background-color: var(--vscode-button-background); | ||
color: var(--vscode-button-foreground); | ||
border-radius: 0px; | ||
border: 1px solid transparent; | ||
outline: none; | ||
display: flex; | ||
} | ||
|
||
#checkout .octicon { | ||
margin-right: 8px; | ||
} | ||
|
||
#checkout:hover:enabled, #checkout:focus:enabled { | ||
background-color: var(--vscode-button-hoverBackground); | ||
cursor: pointer; | ||
} | ||
|
||
.status { | ||
display: inline-block; | ||
height: 28px; | ||
box-sizing: border-box; | ||
line-height: 20px; | ||
border-radius: 3px; | ||
color: white; | ||
padding: 4px 8px; | ||
margin-right: 5px; | ||
} | ||
|
||
.commit, .review { | ||
display: flex; | ||
padding: 14px 4px 14px 10px; | ||
background-color: var(--vscode-editor-background); | ||
} | ||
|
||
.timestamp { | ||
margin-left: auto; | ||
} | ||
|
||
.details { | ||
display: flex; | ||
flex-direction: column; | ||
width: 100%; | ||
} | ||
|
||
body .comment-form { | ||
padding: 10px 10px 10px 30px; | ||
} | ||
|
||
body .comment-form textarea { | ||
display: block; | ||
box-sizing: border-box; | ||
padding: 10px; | ||
width: 100%; | ||
min-height: 100px; | ||
max-height: 500px; | ||
resize: vertical; | ||
border-radius: 3px; | ||
border: 2px; | ||
border-color: var(--vscode-activityBar-background); | ||
background-color: var(--vscode-peekViewEditor-background); | ||
color: var(--vscode-editor-foreground); | ||
} | ||
|
||
body .comment-form .form-actions { | ||
overflow: auto; | ||
padding: 10px 0; | ||
} | ||
body .comment-form .form-actions { | ||
overflow: auto; | ||
padding: 10px 0; | ||
} | ||
|
||
body .comment-form .form-actions button { | ||
width: auto; | ||
padding: 4px 10px; | ||
background-color: var(--vscode-button-background); | ||
color: var(--vscode-button-foreground); | ||
border-radius: 0px; | ||
border: 1px solid transparent; | ||
outline: none; | ||
} | ||
|
||
body .comment-form .form-actions button.close-button { | ||
float: left; | ||
} | ||
|
||
body .comment-form .form-actions button.reply-button { | ||
float: right; | ||
} | ||
|
||
body .comment-form .form-actions button:hover:enabled, | ||
body .comment-form .form-actions button:focus:enabled { | ||
background-color: var(--vscode-button-hoverBackground); | ||
cursor: pointer; | ||
} | ||
|
||
.comment-body img { | ||
max-width: 100%; | ||
max-height: 100%; | ||
} | ||
|
||
.comment-body a { | ||
text-decoration: none; | ||
} | ||
|
||
.comment-body a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.comment-body a:focus, | ||
.comment-body input:focus, | ||
.comment-body select:focus, | ||
.comment-body textarea:focus { | ||
outline: 1px solid -webkit-focus-ring-color; | ||
outline-offset: -1px; | ||
} | ||
|
||
.comment-body hr { | ||
border: 0; | ||
height: 2px; | ||
border-bottom: 2px solid; | ||
} | ||
|
||
.comment-body h1 { | ||
padding-bottom: 0.3em; | ||
line-height: 1.2; | ||
border-bottom-width: 1px; | ||
border-bottom-style: solid; | ||
} | ||
|
||
.comment-body h1, h2, h3 { | ||
font-weight: normal; | ||
} | ||
|
||
.comment-body h1 code, | ||
.comment-body h2 code, | ||
.comment-body h3 code, | ||
.comment-body h4 code, | ||
.comment-body h5 code, | ||
.comment-body h6 code { | ||
font-size: inherit; | ||
line-height: auto; | ||
} | ||
|
||
.comment-body table { | ||
border-collapse: collapse; | ||
} | ||
|
||
.comment-body table > thead > tr > th { | ||
text-align: left; | ||
border-bottom: 1px solid; | ||
} | ||
|
||
.comment-body table > thead > tr > th, | ||
.comment-body table > thead > tr > td, | ||
.comment-body table > tbody > tr > th, | ||
.comment-body table > tbody > tr > td { | ||
padding: 5px 10px; | ||
} | ||
|
||
.comment-body table > tbody > tr + tr > td { | ||
border-top: 1px solid; | ||
} | ||
|
||
.comment-body blockquote { | ||
margin: 0 7px 0 5px; | ||
padding: 0 16px 0 10px; | ||
border-left-width: 5px; | ||
border-left-style: solid; | ||
} | ||
|
||
.comment-body code { | ||
font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback"; | ||
font-size: 14px; | ||
line-height: 19px; | ||
} | ||
|
||
.comment-body body.wordWrap pre { | ||
white-space: pre-wrap; | ||
} | ||
|
||
.comment-body .mac code { | ||
font-size: 12px; | ||
line-height: 18px; | ||
} | ||
|
||
.comment-body pre:not(.hljs), | ||
.comment-body pre.hljs code > div { | ||
padding: 16px; | ||
border-radius: 3px; | ||
overflow: auto; | ||
} | ||
|
||
/** Theming */ | ||
|
||
.comment-body pre code { | ||
color: var(--vscode-editor-foreground); | ||
} | ||
|
||
|
||
.vscode-light .comment-body pre:not(.hljs), | ||
.vscode-light .comment-body code > div { | ||
background-color: rgba(220, 220, 220, 0.4); | ||
} | ||
|
||
.vscode-dark .comment-body pre:not(.hljs), | ||
.vscode-dark .comment-body code > div { | ||
background-color: rgba(10, 10, 10, 0.4); | ||
} | ||
|
||
.vscode-high-contrast .comment-body pre:not(.hljs), | ||
.vscode-high-contrast .comment-body code > div { | ||
background-color: rgb(0, 0, 0); | ||
} | ||
|
||
.vscode-high-contrast .comment-body h1 { | ||
border-color: rgb(0, 0, 0); | ||
} | ||
|
||
.vscode-light .comment-body table > thead > tr > th { | ||
border-color: rgba(0, 0, 0, 0.69); | ||
} | ||
|
||
.vscode-dark .comment-body table > thead > tr > th { | ||
border-color: rgba(255, 255, 255, 0.69); | ||
} | ||
|
||
.vscode-light .comment-body h1, | ||
.vscode-light .comment-body hr, | ||
.vscode-light .comment-body table > tbody > tr + tr > td { | ||
border-color: rgba(0, 0, 0, 0.18); | ||
} | ||
|
||
.vscode-dark .comment-body h1, | ||
.vscode-dark .comment-body hr, | ||
.vscode-dark .comment-body table > tbody > tr + tr > td { | ||
border-color: rgba(255, 255, 255, 0.18); | ||
} | ||
|
||
.diff { | ||
background-color: var(--vscode-peekViewEditor-background); | ||
margin: 8px; | ||
border: 1px; | ||
} | ||
|
||
.diff .diffHeader { | ||
padding: 2px 12px; | ||
border-bottom: solid 1px; | ||
line-height: 1.5; | ||
} | ||
|
||
.diff .diffLine.add { | ||
background-color: var(--vscode-diffEditor-insertedTextBackground); | ||
} | ||
|
||
.diff .diffLine.delete { | ||
background-color: var(--vscode-diffEditor-removedTextBackground); | ||
} | ||
|
||
.diff .diffLine .lineNumber { | ||
width: 1%; | ||
min-width: 50px; | ||
padding-right: 10px; | ||
padding-left: 10px; | ||
font-size: 12px; | ||
line-height: 20px; | ||
text-align: right; | ||
white-space: nowrap; | ||
vertical-align: top; | ||
box-sizing: border-box; | ||
display: inline-block; | ||
} |
Oops, something went wrong.